Searched defs:bufsize (Results 101 - 125 of 305) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libpctx/common/
H A Dlibpctx.c871 int cmd, id_t lwpid, void *data1, void *data2, void *data3, int bufsize)
933 adp->arg_size = bufsize;
870 __pctx_cpc(pctx_t *pctx, cpc_t *cpc, int cmd, id_t lwpid, void *data1, void *data2, void *data3, int bufsize) argument
/illumos-gate/usr/src/lib/libtsol/common/
H A Dprivate.c240 size_t bufsize = sizeof (labeld_data_t); local
252 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == NOSERVER) {
276 (void) munmap((void *)callp, bufsize);
292 (void) munmap((void *)callp, bufsize);
331 size_t bufsize = sizeof (labeld_data_t); local
344 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == NOSERVER) {
362 (void) munmap((void *)callp, bufsize);
370 (void) munmap((void *)callp, bufsize);
417 size_t bufsize = sizeof (labeld_data_t); local
429 if ((rval = __call_labeld(&callp, &bufsize,
511 size_t bufsize = sizeof (labeld_data_t); local
578 size_t bufsize = sizeof (labeld_data_t); local
644 size_t bufsize = sizeof (labeld_data_t); local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard.c96 ssize_t bufsize = 0; local
121 bufsize = ldom_get_core_md(lhp, &bufp);
123 bufsize = ldom_get_local_md(lhp, &bufp);
125 if (bufsize < 1) {
126 topo_mod_dprintf(mod, "Failed to get pri/md, bufsize=%d\n",
127 bufsize);
131 topo_mod_dprintf(mod, "pri/md bufsize=%d\n", bufsize);
137 cpuboard_topo_free(bufp, (size_t)bufsize);
146 cpuboard_topo_free(bufp, (size_t)bufsize);
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/xaui/
H A Dxaui.c285 ssize_t bufsize = 0; local
309 bufsize = ldom_get_core_md(hdlp, &bufp);
311 bufsize = ldom_get_local_md(hdlp, &bufp);
313 if (bufsize < 1) {
314 topo_mod_dprintf(mod, "failed to get pri/md (%d)\n", bufsize);
322 xaui_topo_free(bufp, (size_t)bufsize);
330 xaui_topo_free(bufp, (size_t)bufsize);
342 xaui_topo_free(bufp, (size_t)bufsize);
377 xaui_topo_free(bufp, (size_t)bufsize);
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DOption.java481 public static final String bufsize = "bufsize"; field in class:Option
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-io.c47 static int LDAP_CALLBACK prldap_read( int s, void *buf, int bufsize,
181 prldap_read( int s, void *buf, int bufsize, argument
188 return( PR_Recv( PRLDAP_GET_PRFD(socketarg), buf, bufsize, 0, prit ));
/illumos-gate/usr/src/lib/liblgrp/common/
H A Dlgrp.c134 lgrp_snapshot(void *buf, size_t bufsize) argument
136 return (_lgrpsys(LGRP_SYS_SNAPSHOT, bufsize, buf));
395 ssize_t bufsize; local
421 bufsize = lgrp_snapshot(NULL, 0);
422 if (bufsize <= 0) {
433 snap = malloc(bufsize);
436 bzero(snap, bufsize);
441 bufsize = lgrp_snapshot(snap, bufsize);
442 if (bufsize <
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetxby_door.c82 * int _nsc_trydoorcall(void *dptr, size_t *bufsize, size_t *actualsize);
85 * *bufsize IN: overall size of buffer OUT: overall size of buffer
88 * Note that *dptr may change if provided space as defined by *bufsize is
636 _nsc_getdoorbuf(void **doorptr, size_t *bufsize) argument
642 if (doorptr == NULL || bufsize == NULL)
652 dsize = _nsc_getdoorbsize(*bufsize);
662 if (*bufsize) {
663 dsize = _nsc_getdoorbsize(*bufsize);
680 *bufsize = tsdbuf->buflen;
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap.c42 ap_symid(apd_t *a, char *apid, char *symid, size_t bufsize) argument
79 (void) snprintf(symid, bufsize, "%s", dp->d_name);
/illumos-gate/usr/src/common/exacct/
H A Dexacct_core.c469 ea_pack_object(ea_object_t *obj, void *buf, size_t bufsize) argument
511 estack[curr_frame].esf_offset, bufsize,
530 ea_cond_memcpy_at_offset(buf, curr_pos, bufsize,
551 ea_cond_memcpy_at_offset(buf, curr_pos, bufsize,
570 ea_cond_memcpy_at_offset(buf, curr_pos, bufsize,
595 ea_cond_memcpy_at_offset(buf, curr_pos, bufsize,
607 ea_cond_memcpy_at_offset(buf, curr_pos, bufsize,
702 ea_cond_memcpy_at_offset(buf, curr_pos, bufsize, src, size);
715 ea_cond_memcpy_at_offset(buf, curr_pos, bufsize,
726 estack[curr_frame].esf_offset, bufsize,
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Doutput.c197 sendtoif(int fd, const void *buf, uint_t bufsize, uint_t flags, argument
206 iov.iov_len = bufsize;
H A Dparms.c453 uint_t bufsize)
457 if (0 > parse_quote(valp, "| ,", delimp, buf, bufsize) ||
458 buf[bufsize-1] != '\0' || buf[bufsize-2] != '\0') {
459 (void) snprintf(buf, bufsize, "bad timestamp %.25s", val0);
462 (void) strlcat(buf, "\n", bufsize);
470 (void) snprintf(buf, bufsize, "bad timestamp %.25s", val0);
482 (void) snprintf(buf, bufsize, "bad timestamp %.25s", val0);
448 parse_ts(time_t *tp, char **valp, char *val0, char *delimp, char *buf, uint_t bufsize) argument
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c311 int bufsize = 1024; local
323 if (pread(fd, buf, bufsize, (off_t)sec * secsz) != bufsize) {
/illumos-gate/usr/src/cmd/hal/utils/
H A Dcdutils.c189 get_configuration(int fd, uint16_t feature, int bufsize, uchar_t *buf) argument
201 scmd.uscsi_cdb[7] = (bufsize >> 8) & 0xff; /* allocation length */
202 scmd.uscsi_cdb[8] = bufsize & 0xff;
205 scmd.uscsi_buflen = bufsize;
369 int bufsize = sizeof (buf); local
371 bzero(buf, bufsize);
376 scmd.uscsi_cdb[7] = (bufsize >> 8) & 0xff; /* allocation length */
377 scmd.uscsi_cdb[8] = bufsize & 0xff;
380 scmd.uscsi_buflen = bufsize;
415 int bufsize local
[all...]
/illumos-gate/usr/src/cmd/bart/
H A Dcreate.c33 static int sanitize_reloc_root(char *root, size_t bufsize);
44 size_t bufsize);
175 sanitize_reloc_root(char *root, size_t bufsize) argument
193 (void) getcwd(root, bufsize);
685 read_filelist(char *reloc_root, char **argv, char *buf, size_t bufsize) argument
722 (void) snprintf(buf, bufsize,
/illumos-gate/usr/src/cmd/cdrw/
H A Dmmc.c246 get_configuration(int fd, uint16_t feature, int bufsize, uchar_t *buf) argument
268 scmd->uscsi_cdb[7] = (bufsize >> 8) & 0xff;
269 scmd->uscsi_cdb[8] = bufsize & 0xff;
273 scmd->uscsi_buflen = bufsize;
281 uint32_t bufsize)
294 scmd->uscsi_buflen = bufsize;
302 uint32_t bufsize)
320 scmd->uscsi_buflen = bufsize;
399 uchar_t *buf, uint32_t bufsize)
417 scmd->uscsi_buflen = bufsize;
280 read10(int fd, uint32_t start_blk, uint16_t nblk, uchar_t *buf, uint32_t bufsize) argument
301 write10(int fd, uint32_t start_blk, uint16_t nblk, uchar_t *buf, uint32_t bufsize) argument
398 read_cd(int fd, uint32_t start_blk, uint16_t nblk, uchar_t sector_type, uchar_t *buf, uint32_t bufsize) argument
[all...]
/illumos-gate/usr/src/cmd/ipcs/
H A Dipcs.c464 static size_t bufsize; local
471 buf = malloc(bufsize = sizeof (struct msgsnap_head));
478 if (msgsnap(msqid, buf, bufsize, mtype) != 0) {
485 if (bufsize >= buf->msgsnap_size) {
490 buf = realloc(buf, bufsize = buf->msgsnap_size);
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dmount.c565 int bufsize; local
771 bufsize = NFSBUF_SIZE;
773 bufsize = NFS3BUF_SIZE;
782 roothandle.version, wait, &fd, bufsize, bufsize);
804 roothandle.version, wait, &fd, bufsize, bufsize);
/illumos-gate/usr/src/uts/common/io/usb/clients/video/usbvc/
H A Dusbvc_v4l2.c243 uint_t bufsize; local
325 LE_TO_UINT32(strm_if->ctrl_pc.dwMaxVideoFrameSize, 0, bufsize);
328 reqbuf.count, bufsize)) == 0) {
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Ddwarf.c150 * buf, bufsize - Buffer to receive the formatted result string
158 dwarf_regname(Half mach, int regno, char *buf, size_t bufsize) argument
172 (void) snprintf(buf, bufsize, MSG_ORIG(MSG_REG_FMT_NAME),
175 (void) snprintf(buf, bufsize, MSG_ORIG(MSG_REG_FMT_BASIC),
/illumos-gate/usr/src/cmd/pcidr/
H A Dpcidr.c362 int bufsize = sizeof (buf) / sizeof (buf[0]); local
387 sz = strlcat(buf, pathp, bufsize);
388 assert(sz < bufsize);
402 sz = strlcat(buf, sibuf, bufsize);
403 assert(sz < bufsize);
413 sz = strlcat(buf, pathp, bufsize);
414 assert(sz < bufsize);
/illumos-gate/usr/src/tools/aw/
H A Daw.c174 static size_t bufsize = 0; local
186 if (bufcnt >= bufsize) {
187 bufsize = (bufsize == 0) ? MAXPATHLEN : (bufsize * 2);
188 buf = realloc(buf, bufsize + 1); /* + room for NULL */
/illumos-gate/usr/src/lib/libfcoe/common/
H A Dlibfcoe.c728 int bufsize; local
746 bufsize = sizeof (fcoe_port_instance_t) * (size - 1) +
748 inportlist = (fcoe_port_list_t *)malloc(bufsize);
750 fcoeio.fcoeio_olen = bufsize;
847 int bufsize, retry; local
891 bufsize = sizeof (FCOE_SMF_PORT_INSTANCE) * (size - 1) +
893 *portlist = (PFCOE_SMF_PORT_LIST)malloc(bufsize);
/illumos-gate/usr/src/uts/common/brand/solaris10/
H A Ds10_brand.c145 s10_getattr(zone_t *zone, int attr, void *buf, size_t *bufsize) argument
149 if (buf == NULL || *bufsize != sizeof (s10_emul_bitmap_t))
161 s10_setattr(zone_t *zone, int attr, void *buf, size_t bufsize) argument
165 if (buf == NULL || bufsize != sizeof (s10_emul_bitmap_t))
/illumos-gate/usr/src/cmd/prstat/
H A Dprutil.c329 stripfname(char *buf, size_t bufsize, const char *pname) argument
336 (void) strlcpy(buf, pname, bufsize);

Completed in 358 milliseconds

1234567891011>>