Home
last modified time | relevance | path

Searched refs:buffer_size (Results 1 – 25 of 36) sorted by last modified time

12

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipseckey.c1304 boolean_t unspec_src, uint64_t *buffer, int buffer_size, uint32_t spi, in doaddresses() argument
1399 rc = read(keysock, buffer, buffer_size); in doaddresses()
1635 explicit_bzero(buffer, buffer_size); in doaddresses()
1638 rc = read(keysock, buffer, buffer_size); in doaddresses()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_mbx.h850 uint32_t buffer_size; member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c9689 mb_fcf_list.buffer_size = fcf_list.BufSize; in ql_get_fcf_list()
9710 cmd->ResponseLen = mb_fcf_list.buffer_size; in ql_get_fcf_list()
H A Dql_mbx.c4966 fcf_list->buffer_size)) != in ql_get_fcf_list_mbx()
4978 mcp->mb[8] = (uint16_t)fcf_list->buffer_size; in ql_get_fcf_list_mbx()
4987 fcf_list->buffer_size = (uint16_t)mcp->mb[1]; in ql_get_fcf_list_mbx()
/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c1249 au_pr->buffer_size); in show_audio_prinfo()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c11904 uint32_t buffer_size; in mptsas_diag_register() local
11912 buffer_size = diag_register->RequestedBufferSize; in mptsas_diag_register()
11963 pBuffer->buffer_data.size = buffer_size; in mptsas_diag_register()
11966 "diag buffer: size = %d bytes", buffer_size); in mptsas_diag_register()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Dio.c1089 ber_get_next_buffer( void *buffer, size_t buffer_size, ber_len_t *len, in ber_get_next_buffer() argument
1092 return (ber_get_next_buffer_ext( buffer, buffer_size, len, ber, in ber_get_next_buffer()
1098 ber_get_next_buffer_ext( void *buffer, size_t buffer_size, ber_len_t *len, in ber_get_next_buffer_ext() argument
1128 sb.length = buffer_size; in ber_get_next_buffer_ext()
/illumos-gate/usr/src/boot/i386/libi386/
H A Dpxe.h428 uint16_t buffer_size; /* Size of the packet buffer */ member
439 uint16_t buffer_size; /* Size of the packet buffer */ member
/illumos-gate/usr/src/uts/common/os/
H A Dzone.c5104 uint32_t buffer_size; in zone_log_refcounts() local
5128 buffer_size = 2; /* for the square brackets */ in zone_log_refcounts()
5135 buffer_size += strlen(zone_ref_subsys_names[index]) + in zone_log_refcounts()
5137 if (buffer_size == 2) { in zone_log_refcounts()
5157 buffer = kmem_alloc(buffer_size, KM_SLEEP); in zone_log_refcounts()
5176 ASSERT((uintptr_t)(buffer_position - buffer) < buffer_size); in zone_log_refcounts()
5187 kmem_free(buffer, buffer_size); in zone_log_refcounts()
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c5085 size_t buffer_size; in sd_get_devid() local
5116 dkdevid = kmem_alloc(buffer_size, KM_SLEEP); in sd_get_devid()
5163 kmem_free(dkdevid, buffer_size); in sd_get_devid()
5170 kmem_free(dkdevid, buffer_size); in sd_get_devid()
30441 size_t buffer_size = reqlength; local
30487 real_addr, buffer_size);
30492 dkl = kmem_zalloc(buffer_size, KM_SLEEP);
30514 buffer_size, real_addr, path_flag);
30520 rval = sd_send_scsi_READ(ssc, dkl, buffer_size,
30529 buffer_size, real_addr, path_flag);
[all …]
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dipp.h43 typedef ssize_t (*ipp_reader_t)(void *fd, void *buffer, size_t buffer_size);
44 typedef ssize_t (*ipp_writer_t)(void *fd, void *buffer, size_t buffer_size);
/illumos-gate/usr/src/lib/libldap5/include/ldap/
H A Dsolaris-int.h144 size_t buffer_size, ber_len_t *len, BerElement *ber,
147 size_t buffer_size, ber_len_t *len, BerElement *ber,
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dcmd.c288 int buffer_size = 1024; in cmd_retrieve_string() local
327 (size_t)(buffer_size + 1), in cmd_retrieve_string()
342 buffer_size); in cmd_retrieve_string()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c60 _nss_XbyY_buf_alloc(int struct_size, int buffer_size) in _nss_XbyY_buf_alloc() argument
66 malloc(ALIGN(sizeof (*b)) + struct_size + buffer_size); in _nss_XbyY_buf_alloc()
72 b->buflen = buffer_size; in _nss_XbyY_buf_alloc()
/illumos-gate/usr/src/uts/common/io/
H A Dcmlb.c1719 size_t buffer_size; local
1744 buffer_size = cl->cl_sys_blocksize;
1748 label_addr, buffer_size);
1750 if ((dkl = kmem_zalloc(buffer_size, KM_NOSLEEP)) == NULL)
1754 rval = DK_TG_READ(cl, dkl, label_addr, buffer_size, tg_cookie);
1778 kmem_free(dkl, buffer_size);
5077 size_t buffer_size; local
5091 buffer_size = cl->cl_sys_blocksize;
5094 "cmlb_dkio_get_mboot: allocation size: 0x%x\n", buffer_size);
5096 mboot = kmem_zalloc(buffer_size, KM_SLEEP);
[all …]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_sun.c265 prinfo->buffer_size = 8192; in devaudio_proc_alloc()
286 prinfo->buffer_size = 8192; in devaudio_proc_alloc()
408 play->buffer_size = 8192; in devaudio_proc_hold()
430 rec->buffer_size = 8192; in devaudio_proc_hold()
789 if ((npr->buffer_size % 4) != 0) { in devaudio_ioc_setinfo()
790 npr->buffer_size = (npr->buffer_size + 3) & ~3; in devaudio_ioc_setinfo()
793 if (npr->buffer_size > 16384) { in devaudio_ioc_setinfo()
794 npr->buffer_size = 16384; in devaudio_ioc_setinfo()
861 if (CHANGED(npr, opr, buffer_size)) { in devaudio_ioc_setinfo()
867 opr->buffer_size = npr->buffer_size; in devaudio_ioc_setinfo()
[all …]
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c101 const void *buffer, uint32_t buffer_size, dhcp_data_type_t data_type) in dhcp_ipc_alloc_request() argument
104 buffer_size); in dhcp_ipc_alloc_request()
110 request->data_length = buffer_size; in dhcp_ipc_alloc_request()
117 (void) memcpy(request->buffer, buffer, buffer_size); in dhcp_ipc_alloc_request()
135 const void *buffer, uint32_t buffer_size, dhcp_data_type_t data_type) in dhcp_ipc_alloc_reply() argument
137 dhcp_ipc_reply_t *reply = calloc(1, DHCP_IPC_REPLY_SIZE + buffer_size); in dhcp_ipc_alloc_reply()
145 reply->data_length = buffer_size; in dhcp_ipc_alloc_reply()
149 (void) memcpy(reply->buffer, buffer, buffer_size); in dhcp_ipc_alloc_reply()
/illumos-gate/usr/src/cmd/make/include/vroot/
H A Dargs.h74 char *buffer; int buffer_size; member
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c1063 int32_t buffer_size = (1 << logsz) + OVERHEAD; in malloc_internal() local
1072 create_cache(thiscache, buffer_size, thisrequest); in malloc_internal()
/illumos-gate/usr/src/head/
H A Dnss_dbdefs.h385 extern nss_XbyY_buf_t *_nss_XbyY_buf_alloc(int struct_size, int buffer_size);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dmain.c278 prompt_for_arg(char *buffer, int buffer_size, char *prompt) in prompt_for_arg() argument
283 if (strlcat(buffer, " ", buffer_size) >= buffer_size) { in prompt_for_arg()
295 if (strlcat(buffer, buf, buffer_size) >= buffer_size) { in prompt_for_arg()
/illumos-gate/usr/src/uts/sun/io/dada/targets/
H A Ddad.c4474 size_t buffer_size = reqlength; in dcd_send_lb_rw_cmd() local
4484 buffer_size, B_READ, NULL_FUNC, NULL); in dcd_send_lb_rw_cmd()
4503 bzero(bp->b_un.b_addr, buffer_size); in dcd_send_lb_rw_cmd()
4506 bcopy((caddr_t)bufaddr, bp->b_un.b_addr, buffer_size); in dcd_send_lb_rw_cmd()
4532 buffer_size, tmp, 0); in dcd_send_lb_rw_cmd()
/illumos-gate/usr/src/uts/common/sys/
H A Daudioio.h68 uint_t buffer_size; /* I/O buffer size */ member
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_lic.c43 __in_bcount(buffer_size)
45 __in size_t buffer_size,
52 __in_bcount(buffer_size)
54 __in size_t buffer_size,
62 __in_bcount(buffer_size)
80 __in_bcount(buffer_size)
94 __in_bcount(buffer_size)
106 __in_bcount(buffer_size)
118 __in_bcount(buffer_size)
120 __in size_t buffer_size
[all …]
H A Defx.h2306 __in size_t buffer_size,
2315 __in_bcount(buffer_size)
2324 __in_bcount(buffer_size)
2334 __in_bcount(buffer_size)
2352 __in_bcount(buffer_size)
2366 __in_bcount(buffer_size)
2378 __in_bcount(buffer_size)
2390 __in_bcount(buffer_size)
2392 __in size_t buffer_size
2398 __in_bcount(buffer_size)
[all …]

12