Home
last modified time | relevance | path

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

12

/titanic_50/usr/src/lib/fm/libdiskstatus/common/
H A Dds_util.c55 int byte_count; in ddump() local
72 for (byte_count = 0; byte_count < length; byte_count += i) { in ddump()
74 (void) snprintf(linep, bufleft, "0x%08x ", byte_count); in ddump()
83 for (i = 0; (i < 16) && ((byte_count + i) < length); i++) { in ddump()
85 (unsigned char) start[byte_count + i]); in ddump()
124 for (i = 0; (i < 16) && ((byte_count + i) < length); i++) { in ddump()
125 int subscript = byte_count + i; in ddump()
/titanic_50/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
195 adr_int32(&adr, &byte_count, 1); /* length of audit record */ in au_to_trailer()
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()
[all …]
/titanic_50/usr/src/cmd/split/
H A Dsplit.c67 long long byte_count = 0; in main() local
157 byte_count = (long long) strtoll(optarg, in main()
160 byte_count *= ONE_K; in main()
162 byte_count *= ONE_M; in main()
226 if (line_count && byte_count) { in main()
259 if (byte_count) { in main()
260 for (out = 0; out < byte_count; out++) { in main()
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/drm/
H A Ddrm_bufs.c408 int byte_count; in drm_do_addbufs_agp() local
422 byte_count = 0; in drm_do_addbufs_agp()
449 buf->offset = (dma->byte_count + offset); in drm_do_addbufs_agp()
467 byte_count += PAGE_SIZE << page_order; in drm_do_addbufs_agp()
491 dma->byte_count += byte_count; in drm_do_addbufs_agp()
493 dma->page_count += byte_count >> PAGE_SHIFT; in drm_do_addbufs_agp()
516 int byte_count; in drm_do_addbufs_sg() local
528 byte_count = 0; in drm_do_addbufs_sg()
549 buf->offset = (dma->byte_count + offset); in drm_do_addbufs_sg()
568 byte_count += PAGE_SIZE << page_order; in drm_do_addbufs_sg()
[all …]
H A DdrmP.h534 unsigned long byte_count; member
/titanic_50/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.c1484 uint_t byte_count; in ata_disk_iosetup() local
1567 byte_count = sec_count << SCTRSHFT; in ata_disk_iosetup()
1569 byte_count, ATA_DMA_NSEGS, &byte_count) == FALSE) || in ata_disk_iosetup()
1570 (byte_count == 0)) { in ata_disk_iosetup()
1574 sec_count = byte_count >> SCTRSHFT; in ata_disk_iosetup()
1622 byte_count = RWCMDP(pktp)->buflen; in ata_disk_iosetup()
1623 pktp->cp_bytexfer = byte_count; in ata_disk_iosetup()
1624 pktp->cp_resid = byte_count; in ata_disk_iosetup()
1625 ata_pktp->ap_resid = byte_count; in ata_disk_iosetup()
1636 byte_count = sec_count << SCTRSHFT; in ata_disk_iosetup()
[all …]
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_iocb.h73 uint32_t byte_count; /* Total byte count. */ member
207 uint32_t byte_count; /* Total byte count. */ member
237 uint32_t byte_count; /* Total byte count. */ member
958 uint32_t byte_count; member
971 uint32_t byte_count; member
1142 uint32_t byte_count; /* Total byte count. */ member
1171 uint32_t byte_count; /* Total byte count. */ member
1198 uint32_t byte_count; /* Total byte count. */ member
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_dispatch.c613 uint32_t byte_count; in smb1sr_work() local
721 byte_count = max_bytes; in smb1sr_work()
724 byte_count = max_bytes; in smb1sr_work()
727 byte_count = (uint32_t)sr->smb_bcc; in smb1sr_work()
731 sr->command.chain_offset, byte_count); in smb1sr_work()
733 sr->command.chain_offset += byte_count; in smb1sr_work()
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/skd/
H A Dskd.c670 sgd->byte_count = cnt; in skd_blkdev_preop_sg_list()
1303 sgd->byte_count = 0; in skd_format_internal_skspcl()
1357 sgd->byte_count = 0; in skd_send_internal_skspcl()
1377 sgd->byte_count = SKD_N_READ_CAP_EXT_BYTES; in skd_send_internal_skspcl()
1378 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); in skd_send_internal_skspcl()
1393 sgd->byte_count = SKD_N_INTERNAL_BYTES; in skd_send_internal_skspcl()
1403 sgd->byte_count = 16; /* SKD_N_INQ_BYTES */; in skd_send_internal_skspcl()
1404 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); in skd_send_internal_skspcl()
1413 sgd->byte_count = 36; /* SKD_N_INQ_BYTES */; in skd_send_internal_skspcl()
1414 scsi->hdr.sg_list_len_bytes = cpu_to_be32(sgd->byte_count); in skd_send_internal_skspcl()
[all …]
H A Dskd_s1120.h224 uint32_t byte_count; member
/titanic_50/usr/src/uts/common/sys/fc4/
H A Dfcal_linkapp.h281 uint_t byte_count; member
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_init.c2093 uint32_t byte_count; in ql_check_isp_firmware() local
2129 byte_count = in ql_check_isp_firmware()
2132 byte_count = fw_size; in ql_check_isp_firmware()
2136 (uint16_t)(byte_count >> 1); in ql_check_isp_firmware()
2151 byte_count, in ql_check_isp_firmware()
2159 fw_size -= byte_count; in ql_check_isp_firmware()
2160 bufp += byte_count; in ql_check_isp_firmware()
2316 size_t byte_count; in ql_load_isp_firmware() local
2346 byte_count = word_count << 2; in ql_load_isp_firmware()
2357 byte_count = word_count << 1; in ql_load_isp_firmware()
[all …]
H A Dql_iocb.c504 ddi_put32(ha->hba_buf.acc_handle, &pkt->byte_count, fcp->fcp_data_len); in ql_command_iocb()
1171 ddi_put32(ha->hba_buf.acc_handle, &pkt->byte_count, in ql_ip_iocb()
1250 ddi_put32(ha->hba_buf.acc_handle, &pkt->byte_count, in ql_ip_24xx_iocb()
H A Dql_xioctl.c2294 pkt->cmd3.byte_count = LE_32(pld_size); in ql_scsi_passthru()
2319 pkt->cmd.byte_count = LE_32(pld_size); in ql_scsi_passthru()
4123 pkt->cmd3.byte_count = in ql_report_lun()
4152 pkt->cmd.byte_count = in ql_report_lun()
4449 pkt->cmd3.byte_count = LE_32(inq_len); in ql_inq()
4473 pkt->cmd.byte_count = LE_32(inq_len); in ql_inq()
/titanic_50/usr/src/uts/common/io/hxge/
H A Dhxge_tdc_hw.h560 uint32_t byte_count:32; member
562 uint32_t byte_count:32;
/titanic_50/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
/titanic_50/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
/titanic_50/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
/titanic_50/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
/titanic_50/usr/src/cmd/svc/configd/
H A Drc_node.c3681 size_t byte_count = 0; in generate_value_list() local
3705 byte_count += (*cp == '"') ? 2 : 1; in generate_value_list()
3707 byte_count += 3; /* surrounding quotes & space */ in generate_value_list()
3709 byte_count++; /* nul terminator */ in generate_value_list()
3710 values = malloc(byte_count); in generate_value_list()
3722 (void) strlcat(values, "\"", byte_count); in generate_value_list()
3733 str_size = strlcat(values, "\" ", byte_count); in generate_value_list()
3734 assert(str_size < byte_count); in generate_value_list()

12