Home
last modified time | relevance | path

Searched refs:byte_count (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_util.c53 int byte_count; in ddump() local
70 for (byte_count = 0; byte_count < length; byte_count += i) { in ddump()
72 (void) snprintf(linep, bufleft, "0x%08x ", byte_count); in ddump()
81 for (i = 0; (i < 16) && ((byte_count + i) < length); i++) { in ddump()
83 (unsigned char) start[byte_count + i]); in ddump()
122 for (i = 0; (i < 16) && ((byte_count + i) < length); i++) { in ddump()
123 int subscript = byte_count + i; in ddump()
/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_open.c152 int byte_count; /* bytes in the record */ in au_close() local
185 byte_count = sizeof (char) * 2 + sizeof (short) * 2 + in au_close()
190 byte_count += record->tt_size; in au_close()
217 byte_count += sizeof (int32_t) + host_info->at_type; in au_close()
224 if ((buffer = malloc((size_t)byte_count)) == NULL) { in au_close()
240 adr_int32(&adr, (int32_t *)&byte_count, 1); in au_close()
269 v = audit((caddr_t)buffer, byte_count); in au_close()
H A Dau_to.c83 int32_t byte_count; in au_to_header() local
101 adr_int32(&adr, &byte_count, 1); /* length of audit record */ in au_to_header()
124 int32_t byte_count; in au_to_header_ex() local
160 adr_int32(&adr, &byte_count, 1); /* length of audit record */ in au_to_header_ex()
187 int32_t byte_count; in au_to_trailer() local
315 int byte_count; /* number of bytes */ in au_to_data() local
328 byte_count = unit_count * sizeof (short); in au_to_data()
331 byte_count = unit_count * sizeof (int32_t); in au_to_data()
334 byte_count = unit_count * sizeof (int64_t); in au_to_data()
338 byte_count = unit_count * sizeof (char); in au_to_data()
[all …]
/illumos-gate/usr/src/cmd/split/
H A Dsplit.c65 long long byte_count = 0; in main() local
155 byte_count = (long long) strtoll(optarg, in main()
158 byte_count *= ONE_K; in main()
160 byte_count *= ONE_M; in main()
224 if (line_count && byte_count) { in main()
257 if (byte_count) { in main()
258 for (out = 0; out < byte_count; out++) { in main()
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_passes_array_size.c47 char byte_count[8]; in match_call() local
50 snprintf(byte_count, sizeof(byte_count), "%d", BYTE_COUNT); in match_call()
76 sql_insert_caller_info(expr, BYTE_COUNT, i, buf, byte_count); in match_call()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_io.c235 int byte_count; in au_close_time() local
269 byte_count = au_token_size(dchain); in au_close_time()
274 byte_count += sizeof (char) + sizeof (int32_t) + in au_close_time()
278 byte_count += sizeof (int32_t) + in au_close_time()
286 byte_count += zone_length; in au_close_time()
292 byte_count += 7; in au_close_time()
296 byte_count += 5; in au_close_time()
300 record = au_to_header_ex(byte_count, e_type, e_mod); in au_close_time()
302 record = au_to_header(byte_count, e_type, e_mod); in au_close_time()
348 (void) au_append_rec(record, au_to_trailer(byte_count), in au_close_time()
[all …]
H A Daudit_token.c66 au_to_header(int byte_count, au_event_t e_type, au_emod_t e_mod) in au_to_header() argument
83 adr_int32(&adr, (int32_t *)&byte_count, 1); /* length of */ in au_to_header()
99 au_to_header_ex(int byte_count, au_event_t e_type, au_emod_t e_mod) in au_to_header_ex() argument
118 adr_int32(&adr, (int32_t *)&byte_count, 1); /* length of */ in au_to_header_ex()
142 au_to_trailer(int byte_count) in au_to_trailer() argument
154 adr_int32(&adr, (int32_t *)&byte_count, 1); /* length of */ in au_to_trailer()
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi_fsm.c409 int byte_count = xfer_words * 2; in atapi_pio_data_in() local
414 ata_pktp->ap_v_addr += byte_count; in atapi_pio_data_in()
415 drive_bytes -= byte_count; in atapi_pio_data_in()
487 int byte_count = xfer_words * 2; in atapi_pio_data_out() local
491 ata_pktp->ap_v_addr += byte_count; in atapi_pio_data_out()
H A Data_disk.c1479 uint_t byte_count; in ata_disk_iosetup() local
1562 byte_count = sec_count << SCTRSHFT; in ata_disk_iosetup()
1564 byte_count, ATA_DMA_NSEGS, &byte_count) == FALSE) || in ata_disk_iosetup()
1565 (byte_count == 0)) { in ata_disk_iosetup()
1617 byte_count = RWCMDP(pktp)->buflen; in ata_disk_iosetup()
1618 pktp->cp_bytexfer = byte_count; in ata_disk_iosetup()
1619 pktp->cp_resid = byte_count; in ata_disk_iosetup()
1620 ata_pktp->ap_resid = byte_count; in ata_disk_iosetup()
1632 pktp->cp_bytexfer = byte_count; in ata_disk_iosetup()
1633 pktp->cp_resid = byte_count; in ata_disk_iosetup()
[all …]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_iocb.h83 uint32_t byte_count; /* Total byte count. */ member
210 uint32_t byte_count; /* Total byte count. */ member
237 uint32_t byte_count; /* Total byte count. */ member
930 uint32_t byte_count; member
938 uint32_t byte_count; member
1098 uint32_t byte_count; /* Total byte count. */ member
1122 uint32_t byte_count; /* Total byte count. */ member
1146 uint32_t byte_count; /* Total byte count. */ member
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_dispatch.c650 uint32_t byte_count; in smb1sr_work() local
761 byte_count = max_bytes; in smb1sr_work()
764 byte_count = max_bytes; in smb1sr_work()
767 byte_count = (uint32_t)sr->smb_bcc; in smb1sr_work()
771 sr->command.chain_offset, byte_count); in smb1sr_work()
773 sr->command.chain_offset += byte_count; in smb1sr_work()
/illumos-gate/usr/src/cmd/fm/modules/common/ses-log-transport/
H A Dses_log_transport.c247 check_file_size(ses_log_monitor_t *slmp, char *file, int byte_count) in check_file_size() argument
262 if (size + byte_count < slmp->slt_max_log_size) { in check_file_size()
407 int byte_count) in create_filename() argument
464 check_file_size(slmp, fileName, byte_count); in create_filename()
/illumos-gate/usr/src/uts/common/io/skd/
H A Dskd.c672 sgd->byte_count = cnt; in skd_blkdev_preop_sg_list()
1305 sgd->byte_count = 0; in skd_format_internal_skspcl()
1359 sgd->byte_count = 0; in skd_send_internal_skspcl()
1379 sgd->byte_count = SKD_N_READ_CAP_EXT_BYTES; in skd_send_internal_skspcl()
1380 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); in skd_send_internal_skspcl()
1395 sgd->byte_count = SKD_N_INTERNAL_BYTES; in skd_send_internal_skspcl()
1405 sgd->byte_count = 16; /* SKD_N_INQ_BYTES */; in skd_send_internal_skspcl()
1406 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); in skd_send_internal_skspcl()
1415 sgd->byte_count = 36; /* SKD_N_INQ_BYTES */; in skd_send_internal_skspcl()
1429 sgd->byte_count = 0; in skd_send_internal_skspcl()
[all …]
H A Dskd_s1120.h224 uint32_t byte_count; member
/illumos-gate/usr/src/uts/common/sys/fc4/
H A Dfcal_linkapp.h279 uint_t byte_count; member
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_tdc_hw.h558 uint32_t byte_count:32; member
560 uint32_t byte_count:32;
H A Dhxge_txdma.c656 tdc_stats->obytes_with_pad += byte_cnt.bits.byte_count; in hxge_txdma_reclaim()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_init.c2176 uint32_t byte_count; in ql_check_isp_firmware() local
2223 byte_count = in ql_check_isp_firmware()
2226 byte_count = fw_size; in ql_check_isp_firmware()
2230 (uint16_t)(byte_count >> 1); in ql_check_isp_firmware()
2245 0, byte_count, in ql_check_isp_firmware()
2254 fw_size -= byte_count; in ql_check_isp_firmware()
2255 bufp += byte_count; in ql_check_isp_firmware()
2295 size_t byte_count; in ql_load_isp_firmware() local
2334 byte_count = word_count << 2; in ql_load_isp_firmware()
2347 byte_count = word_count << 1; in ql_load_isp_firmware()
[all …]
H A Dql_iocb.c529 ddi_put32(req_q->req_ring.acc_handle, &pkt->byte_count, in ql_command_iocb()
1274 ddi_put32(req_q->req_ring.acc_handle, &pkt->byte_count, in ql_ip_iocb()
1365 ddi_put32(req_q->req_ring.acc_handle, &pkt->byte_count, in ql_ip_24xx_iocb()
H A Dql_xioctl.c2399 pkt->cmd3.byte_count = LE_32(pld_size); in ql_scsi_passthru()
2424 pkt->cmd.byte_count = LE_32(pld_size); in ql_scsi_passthru()
4240 pkt->cmd3.byte_count = in ql_report_lun()
4269 pkt->cmd.byte_count = in ql_report_lun()
4584 pkt->cmd3.byte_count = LE_32(inq_len); in ql_inq()
4608 pkt->cmd.byte_count = LE_32(inq_len); in ql_inq()
/illumos-gate/usr/src/uts/common/io/iwh/
H A Diwh_hw.h1617 uint16_t byte_count; member
1634 uint16_t byte_count; /* frame's byte-count */ member
1639 uint16_t byte_count; member
/illumos-gate/usr/src/uts/common/io/iwp/
H A Diwp_hw.h1617 uint16_t byte_count; member
1634 uint16_t byte_count; /* frame's byte-count */ member
1639 uint16_t byte_count; member
/illumos-gate/usr/src/uts/common/io/iwk/
H A Diwk_hw.h2403 uint16_t byte_count; /* frame's byte-count */ member
2408 uint16_t byte_count; member
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_dfclib.h576 uint32_t byte_count:8; member
585 uint32_t byte_count:8; member
/illumos-gate/usr/src/cmd/svc/configd/
H A Drc_node.c3675 size_t byte_count = 0; in generate_value_list() local
3699 byte_count += (*cp == '"') ? 2 : 1; in generate_value_list()
3701 byte_count += 3; /* surrounding quotes & space */ in generate_value_list()
3703 byte_count++; /* nul terminator */ in generate_value_list()
3704 values = malloc(byte_count); in generate_value_list()
3716 (void) strlcat(values, "\"", byte_count); in generate_value_list()
3727 str_size = strlcat(values, "\" ", byte_count); in generate_value_list()
3728 assert(str_size < byte_count); in generate_value_list()

12