Home
last modified time | relevance | path

Searched refs:num_bytes (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam_ring_buff.c68 size_t num_bytes; in ring_buff_create() local
70 num_bytes = sizeof (ring_buff_t); in ring_buff_create()
72 ring_buff_p = (ring_buff_t *)kmem_alloc(num_bytes, KM_SLEEP); in ring_buff_create()
84 num_bytes = num_buffs * sizeof (buff_info_t); in ring_buff_create()
87 (buff_info_t *)kmem_alloc(num_bytes, KM_SLEEP); in ring_buff_create()
H A Ddcam_frame.c171 size_t num_bytes, num_bytes_left; in dcam_frame_rcv_init() local
268 num_bytes = min(num_bytes_left, in dcam_frame_rcv_init()
308 new_ixl_xfbp->size = (uint16_t)num_bytes; in dcam_frame_rcv_init()
317 num_bytes_left -= num_bytes; in dcam_frame_rcv_init()
318 ixl_buff_kaddr += num_bytes; in dcam_frame_rcv_init()
319 ixl_buff_vaddr += num_bytes; in dcam_frame_rcv_init()
H A Ddcam.c86 size_t num_bytes, int start_index, int *end_index);
88 size_t num_bytes, int start_index, int *end_index);
1170 byte_copy_to_user_buff(uchar_t *src_addr_p, struct uio *uio_p, size_t num_bytes, in byte_copy_to_user_buff() argument
1180 while (num_bytes) { in byte_copy_to_user_buff()
1182 len = num_bytes; in byte_copy_to_user_buff()
1190 num_bytes -= len; in byte_copy_to_user_buff()
1204 size_t num_bytes, int start_index, int *end_index_p) in byte_copy_from_user_buff() argument
1213 while (num_bytes) { in byte_copy_from_user_buff()
1214 len = num_bytes; in byte_copy_from_user_buff()
1223 num_bytes -= len; in byte_copy_from_user_buff()
/titanic_41/usr/src/lib/libtnfctl/
H A Dinternal.c139 tnf_long, num_bytes, size, in inprocess_read()
154 tnf_long, num_bytes, size, in inprocess_write()
H A Dprb_proc.c848 tnf_long, num_bytes, size, in prb_proc_read()
878 tnf_long, num_bytes, size, in prb_proc_write()
/titanic_41/usr/src/cmd/dcs/sparc/sun4u/
H A Drdr_messages.c1466 int num_bytes; in rdr_snd_raw() local
1500 num_bytes = write(fd, bufp, bytes_left); in rdr_snd_raw()
1502 if (num_bytes == -1) { in rdr_snd_raw()
1516 if (num_bytes == 0) { in rdr_snd_raw()
1524 bytes_left -= num_bytes; in rdr_snd_raw()
1525 bufp += num_bytes; in rdr_snd_raw()
1600 int num_bytes; in rdr_rcv_raw() local
1643 num_bytes = read(fd, bufp, bytes_left); in rdr_rcv_raw()
1645 if (num_bytes == -1) { in rdr_rcv_raw()
1659 if (num_bytes == 0) { in rdr_rcv_raw()
[all …]
/titanic_41/usr/src/cmd/hal/hald/
H A Ddevice_info.c1537 int num_bytes; in scan_fdi_files() local
1544 num_bytes = len + strlen (dir) + 1 + 1; in scan_fdi_files()
1545 dirname = (char *) malloc (num_bytes); in scan_fdi_files()
1548 num_bytes)); in scan_fdi_files()
1552 snprintf (dirname, num_bytes, "%s/%s", dir, in scan_fdi_files()
/titanic_41/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c723 s10_pwrite(sysret_t *rval, int fd, const void *bufferp, size_t num_bytes, in s10_pwrite() argument
732 num_bytes)); in s10_pwrite()
733 return (__systemcall(rval, SYS_pwrite + 1024, fd, bufferp, num_bytes, in s10_pwrite()
744 s10_pwrite64(sysret_t *rval, int fd, const void *bufferp, size32_t num_bytes, in s10_pwrite64() argument
753 num_bytes)); in s10_pwrite64()
755 num_bytes, offset_1, offset_2)); in s10_pwrite64()
/titanic_41/usr/src/uts/sun4v/io/px/
H A Dpx_lib4v.h139 size_t num_bytes, io_sync_direction_t io_sync_direction,
H A Dpx_hcall.s78 hvio_dma_sync(devhandle_t dev_hdl, r_addr_t ra, size_t num_bytes,
/titanic_41/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c365 int32_t which_bit, num_bytes; in free() local
428 num_bytes = i >> 3; in free()
437 which_bit = i - (num_bytes << 3); in free()
441 freeblocks += num_bytes; in free()
/titanic_41/usr/src/uts/common/io/usb/clients/usbser/
H A Dusbser.c3458 uint_t num_bytes; in usbser_ischar() local
3463 if (usb_console_read(console_input, &num_bytes) != USB_SUCCESS) in usbser_ischar()
3467 console_input_end = console_input_buf + num_bytes; in usbser_ischar()
3469 return (num_bytes != 0); in usbser_ischar()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c795 int num_bytes; in frudata_read_payload() local
814 num_bytes = fru_get_payload(pkt_acc_hdl, buf, in frudata_read_payload()
816 if (num_bytes != hash_obj->u.pkt_node->paylen) { in frudata_read_payload()
/titanic_41/usr/src/uts/common/io/usb/clients/hid/
H A Dhid.c3356 uint_t num_bytes; in hid_polled_read() local
3365 &num_bytes) != USB_SUCCESS) { in hid_polled_read()
3380 return (num_bytes); in hid_polled_read()