Home
last modified time | relevance | path

Searched refs:buffer_size (Results 1 – 25 of 34) sorted by relevance

12

/titanic_41/usr/src/cmd/make/lib/vroot/
H A Dreadlink.cc36 vroot_result= readlink(path, vroot_args.readlink.buffer, vroot_args.readlink.buffer_size); in readlink_thunk()
40 int readlink_vroot(char *path, char *buffer, int buffer_size, pathpt vroot_path, pathpt vroot_vroot) in readlink_vroot() argument
43 vroot_args.readlink.buffer_size= buffer_size; in readlink_vroot()
/titanic_41/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()
530 unsigned nbytes = dc->dc_proc->p_info.record.buffer_size; in devaudio_input()
783 if (reader && CHANGED(npr, opr, buffer_size)) { in devaudio_ioc_setinfo()
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()
[all …]
/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_doorclt.c246 size_t buffer_size; in kgetipnodebyname() local
252 buffer_size = msg_size + hostent_size + sizeof (mybuffer_t); in kgetipnodebyname()
253 buffer = (mybuffer_t *)kmem_zalloc(buffer_size, KM_SLEEP); in kgetipnodebyname()
282 buffer->size = buffer_size; in kgetipnodebyname()
/titanic_41/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c98 const void *buffer, uint32_t buffer_size, dhcp_data_type_t data_type) in dhcp_ipc_alloc_request() argument
101 buffer_size); in dhcp_ipc_alloc_request()
107 request->data_length = buffer_size; in dhcp_ipc_alloc_request()
114 (void) memcpy(request->buffer, buffer, buffer_size); in dhcp_ipc_alloc_request()
132 const void *buffer, uint32_t buffer_size, dhcp_data_type_t data_type) in dhcp_ipc_alloc_reply() argument
134 dhcp_ipc_reply_t *reply = calloc(1, DHCP_IPC_REPLY_SIZE + buffer_size); in dhcp_ipc_alloc_reply()
142 reply->data_length = buffer_size; in dhcp_ipc_alloc_reply()
146 (void) memcpy(reply->buffer, buffer, buffer_size); in dhcp_ipc_alloc_reply()
/titanic_41/usr/src/lib/libfsmgt/common/
H A Dcmd.c290 int buffer_size = 1024; in cmd_retrieve_string() local
329 (size_t)(buffer_size + 1), in cmd_retrieve_string()
344 buffer_size); in cmd_retrieve_string()
/titanic_41/usr/src/lib/print/libipp-core/common/
H A Dipp.h45 typedef ssize_t (*ipp_reader_t)(void *fd, void *buffer, size_t buffer_size);
46 typedef ssize_t (*ipp_writer_t)(void *fd, void *buffer, size_t buffer_size);
/titanic_41/usr/src/cmd/make/include/vroot/
H A Dargs.h54 struct { char *buffer; int buffer_size;} readlink; member
H A Dvroot.h59 extern int readlink_vroot(char *path, char *buffer, int buffer_size, pathpt vroot_path, pathpt vro…
/titanic_41/usr/src/uts/common/sys/
H A Dtnf.h65 int buffer_size; member
H A Daudioio.h68 uint_t buffer_size; /* I/O buffer size */ member
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dmain.c205 prompt_for_arg(char *buffer, int buffer_size, char *prompt) in prompt_for_arg() argument
209 if (strlcat(buffer, " ", buffer_size) >= buffer_size) { in prompt_for_arg()
214 if (fgets(buffer + strlen(buffer), buffer_size - strlen(buffer), in prompt_for_arg()
/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Dpxe.h434 uint16_t buffer_size; /* Size of the packet buffer */ member
445 uint16_t buffer_size; /* Size of the packet buffer */ member
/titanic_41/usr/src/lib/libldap5/include/ldap/
H A Dsolaris-int.h146 size_t buffer_size, ber_len_t *len, BerElement *ber,
149 size_t buffer_size, ber_len_t *len, BerElement *ber,
/titanic_41/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()
/titanic_41/usr/src/uts/common/avs/ns/rdc/
H A Drdc_bitmap.c839 size_t buffer_size; in rdc_write_bitmap_pattern() local
869 buffer_size = FBA_SIZE(1); in rdc_write_bitmap_pattern()
870 ASSERT(buffer_size < INT32_MAX); in rdc_write_bitmap_pattern()
871 buffer = kmem_alloc(buffer_size, KM_SLEEP); in rdc_write_bitmap_pattern()
873 for (i = 0; i < buffer_size; i++) { in rdc_write_bitmap_pattern()
927 iolen = (size_t)min(len, buffer_size); in rdc_write_bitmap_pattern()
958 kmem_free(buffer, buffer_size); in rdc_write_bitmap_pattern()
/titanic_41/usr/src/uts/common/io/
H A Dcmlb.c1688 size_t buffer_size; local
1713 buffer_size = cl->cl_sys_blocksize;
1717 label_addr, buffer_size);
1719 if ((dkl = kmem_zalloc(buffer_size, KM_NOSLEEP)) == NULL)
1723 rval = DK_TG_READ(cl, dkl, label_addr, buffer_size, tg_cookie);
1747 kmem_free(dkl, buffer_size);
5028 size_t buffer_size; local
5042 buffer_size = cl->cl_sys_blocksize;
5045 "cmlb_dkio_get_mboot: allocation size: 0x%x\n", buffer_size);
5047 mboot = kmem_zalloc(buffer_size, KM_SLEEP);
[all …]
/titanic_41/usr/src/uts/common/tnf/
H A Dtnf.c567 tstate.buffer_size = 0; in tnf_getstate()
581 tstate.buffer_size = tnf_trace_file_size; in tnf_getstate()
/titanic_41/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c157 tnf_bufsize = tstate.buffer_size; in live_kernel_init()
/titanic_41/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()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dump.c3697 uint32_t buffer_size; in emlxs_dump_tigershark_log() local
3760 buffer_size = fat->params.response.log_size; in emlxs_dump_tigershark_log()
3765 if (buffer_size == 0) { in emlxs_dump_tigershark_log()
3770 buffer_size, KM_NOSLEEP)) == NULL) { in emlxs_dump_tigershark_log()
3777 bzero(buffer, buffer_size); in emlxs_dump_tigershark_log()
3849 log_size = buffer_size - sizeof (uint32_t); in emlxs_dump_tigershark_log()
3864 kmem_free(buffer, buffer_size); in emlxs_dump_tigershark_log()
/titanic_41/usr/src/lib/libtnfctl/
H A Dkernel_int.c334 hdl->trace_buf_size = bufstat.buffer_size; in prbk_get_buf_attrs()
/titanic_41/usr/src/head/
H A Dnss_dbdefs.h376 extern nss_XbyY_buf_t *_nss_XbyY_buf_alloc(int struct_size, int buffer_size);
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dcmds.c68 prompt_for_arg(char *buffer, int buffer_size, char *prompt) in prompt_for_arg() argument
70 if (strlen(buffer) > buffer_size - 2) { in prompt_for_arg()
77 if (fgets(buffer + strlen(buffer), buffer_size - strlen(buffer), stdin) in prompt_for_arg()
/titanic_41/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()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipseckey.c1200 boolean_t unspec_src, uint64_t *buffer, int buffer_size, uint32_t spi, in doaddresses() argument
1295 rc = read(keysock, buffer, buffer_size); in doaddresses()
1531 bzero(buffer, buffer_size); in doaddresses()
1534 rc = read(keysock, buffer, buffer_size); in doaddresses()

12