/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_overflow.c | 358 u_int32_t bufsize, cmp_bytes, key_left; local 369 bufsize = 0; 372 &local_dbt, tlen, pgno, &buf, &bufsize)) != 0) 375 __os_free(buf, bufsize);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | parseaddr.c | 3073 size_t bufsize; local 3098 if (bufsize > sizeof(buf0)) 3103 bufsize = sizeof(buf0); 3109 bufsize = strlen(p1) + 1; 3110 if (bufsize > sizeof(buf0)) 3115 bufsize = sizeof(buf0); 3294 size_t bufsize; local 3314 if (bufsize > sizeof(buf0)) 3319 bufsize = sizeof(buf0); 3325 bufsize = strlen(p1) + 1; [all …]
|
/illumos-gate/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.c | 728 int bufsize; in FCOE_GetPortList() local 746 bufsize = sizeof (fcoe_port_instance_t) * (size - 1) + in FCOE_GetPortList() 748 inportlist = (fcoe_port_list_t *)malloc(bufsize); in FCOE_GetPortList() 750 fcoeio.fcoeio_olen = bufsize; in FCOE_GetPortList() 847 int bufsize, retry; in FCOE_LoadConfig() local 891 bufsize = sizeof (FCOE_SMF_PORT_INSTANCE) * (size - 1) + in FCOE_LoadConfig() 893 *portlist = (PFCOE_SMF_PORT_LIST)malloc(bufsize); in FCOE_LoadConfig()
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlflow.c | 736 uint_t i, bufsize; in dladm_walk_flow() local 757 bufsize = MIN_INFO_SIZE; in dladm_walk_flow() 758 if ((ioc = calloc(1, bufsize)) == NULL) { in dladm_walk_flow() 764 ioc->wf_len = bufsize - sizeof (*ioc); in dladm_walk_flow() 768 bufsize *= 2; in dladm_walk_flow() 769 ioc = realloc(ioc, bufsize); in dladm_walk_flow() 772 ioc->wf_len = bufsize - sizeof (*ioc); in dladm_walk_flow()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | klpd.h | 105 #define PFEXEC_ARG_SIZE(bufsize) \ argument 106 (offsetof(pfexec_arg_t, pfa_data) + (bufsize))
|
/illumos-gate/usr/src/cmd/sgs/common/ |
H A D | string_table.c | 690 st_setstrbuf(Str_tbl *stp, char *stbuf, size_t bufsize) in st_setstrbuf() argument 695 if (bufsize < stp->st_fullstrsize) in st_setstrbuf() 698 if (bufsize < stp->st_strsize) in st_setstrbuf() 709 memset(stbuf, 0xff, bufsize); in st_setstrbuf() 712 memset(stbuf, 0x0, bufsize); in st_setstrbuf()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | parms.c | 453 uint_t bufsize) in parse_ts() argument 457 if (0 > parse_quote(valp, "| ,", delimp, buf, bufsize) || in parse_ts() 458 buf[bufsize-1] != '\0' || buf[bufsize-2] != '\0') { in parse_ts() 459 (void) snprintf(buf, bufsize, "bad timestamp %.25s", val0); in parse_ts() 462 (void) strlcat(buf, "\n", bufsize); in parse_ts() 470 (void) snprintf(buf, bufsize, "bad timestamp %.25s", val0); in parse_ts() 482 (void) snprintf(buf, bufsize, "bad timestamp %.25s", val0); in parse_ts()
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_autohome.c | 400 int bufsize = buflen; in smb_autohome_keysub() local 424 bufsize = buflen - (ampersand - buf); in smb_autohome_keysub() 425 (void) strlcpy(ampersand, key, bufsize); in smb_autohome_keysub() 426 (void) strlcat(ampersand, tmp, bufsize); in smb_autohome_keysub()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fs_subr.c | 936 size_t *bufsize) in reparse_kderef() argument 946 bufsize == NULL) in reparse_kderef() 955 if (*bufsize < dlen) { in reparse_kderef() 972 door_args.rsize = *bufsize; in reparse_kderef() 1022 if (res_len > *bufsize) in reparse_kderef() 1026 *bufsize = res_len; in reparse_kderef()
|
/illumos-gate/usr/src/uts/common/brand/solaris10/ |
H A D | s10_brand.c | 145 s10_getattr(zone_t *zone, int attr, void *buf, size_t *bufsize) in s10_getattr() argument 149 if (buf == NULL || *bufsize != sizeof (s10_emul_bitmap_t)) in s10_getattr() 161 s10_setattr(zone_t *zone, int attr, void *buf, size_t bufsize) in s10_setattr() argument 165 if (buf == NULL || bufsize != sizeof (s10_emul_bitmap_t)) in s10_setattr()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.c | 1292 int bufsize; in fru_add_segment() local 1376 segment_buf = alloca(bufsize); in fru_add_segment() 1439 retval = pwrite(fd, segment_buf, bufsize, offset + in fru_add_segment() 1441 if (retval != bufsize) { in fru_add_segment() 1564 int bufsize; in fru_delete_segment() local 1610 bufsize = (sizeof (segment_layout_t) * num_of_seg); in fru_delete_segment() 1612 seg_buf = alloca(bufsize); in fru_delete_segment() 1652 retval = pread(fd, seg_buf, bufsize, in fru_delete_segment() 1654 if (retval != bufsize) { in fru_delete_segment() 1696 retval = pwrite(fd, seg_buf, bufsize, in fru_delete_segment() [all …]
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcb_check.c | 85 sgen_toa(struct sockaddr_gen *addr, char *buf, size_t bufsize) in sgen_toa() argument 87 return (inet_ntop(SGFAM(addr), SGADDRP(addr), buf, bufsize)); in sgen_toa()
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | printf.c | 79 size_t bufsize = LOG_MSGSIZE; in fakekernel_cprintf() local 93 bufend = bufp + bufsize; in fakekernel_cprintf()
|
/illumos-gate/usr/src/uts/common/io/overlay/ |
H A D | overlay_target.c | 795 overlay_target_pkt_copyout(void *ubuf, void *buf, size_t bufsize, in overlay_target_pkt_copyout() argument 807 if (ddi_copyout(buf, ubuf, bufsize, flags & FKIOCTL) != 0) in overlay_target_pkt_copyout() 1586 size_t bufsize; in overlay_target_ioctl() local 1595 bufsize = ioc->oti_size; in overlay_target_ioctl() 1596 buf = kmem_alloc(bufsize, KM_SLEEP); in overlay_target_ioctl() 1597 if (ddi_copyin((void *)(uintptr_t)arg, buf, bufsize, in overlay_target_ioctl() 1599 kmem_free(buf, bufsize); in overlay_target_ioctl() 1604 (void **)&buf, &bufsize, mode)) != 0) in overlay_target_ioctl() 1613 bufsize, mode & FKIOCTL) != 0) in overlay_target_ioctl() 1617 buf, bufsize, mode); in overlay_target_ioctl() [all …]
|
/illumos-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4.c | 351 bufsize = atoi(&arg[2]); in getflags() 352 if (bufsize <= 0) { in getflags() 353 bufsize = DEF_BUFSIZE; in getflags() 462 ipstk[0] = ipflr = ip = ibuf = xcalloc(bufsize+1, sizeof (wchar_t)); in initalloc() 463 op = obuf = xcalloc(bufsize+1, sizeof (wchar_t)); in initalloc() 467 ibuflm = &ibuf[bufsize]; in initalloc() 468 obuflm = &obuf[bufsize]; in initalloc()
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_xdr.c | 408 int bufsize; in xdr_autofs_putrddirres() local 411 bufsize = 1 * BYTES_PER_XDR_UNIT; in xdr_autofs_putrddirres() 427 if (bufsize + tofit > reqsize) { in xdr_autofs_putrddirres() 437 bufsize += entrysz; in xdr_autofs_putrddirres()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_xdr.c | 399 int bufsize; local 402 bufsize = 1 * BYTES_PER_XDR_UNIT; 420 if (bufsize + tofit > reqsize) { 430 bufsize += entrysz;
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/buffering/ |
H A D | err.zerobuf.d | 36 #pragma D option bufsize=0
|
H A D | tst.resize1.d | 38 #pragma D option bufsize=100t
|
H A D | err.resize1.d | 39 #pragma D option bufsize=100t
|
H A D | err.end.d | 41 #pragma D option bufsize=32
|
/illumos-gate/usr/src/cmd/boot/common/ |
H A D | bblk_einfo.c | 216 print_einfo(uint8_t flags, bblk_einfo_t *einfo, unsigned long bufsize) in print_einfo() argument 223 if (einfo->str_off + einfo->str_size > bufsize) { in print_einfo() 232 if (einfo->hash_off + einfo->hash_size > bufsize) { in print_einfo()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/drops/ |
H A D | drp.DTRACEDROP_PRINCIPAL.d | 28 #pragma D option bufsize=512
|
H A D | drp.DTRACEDROP_PRINCIPAL.end.d | 28 #pragma D option bufsize=512
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | corenote.c | 1516 conv_arg.bufsize = conv_buf_size; in conv_bitmaskset() 1521 conv_arg.bufsize -= 2; in conv_bitmaskset() 1553 conv_arg.bufsize--; in conv_bitmaskset() 1559 conv_arg.bufsize -= n; in conv_bitmaskset() 1573 conv_arg.bufsize--; in conv_bitmaskset() 1576 n = snprintf(conv_arg.buf, conv_arg.bufsize, in conv_bitmaskset() 1580 conv_arg.bufsize -= n; in conv_bitmaskset() 2474 char *buf, size_t bufsize) in conv_cnote_fileflags() argument 2502 arg.bufsize = bufsize; in conv_cnote_fileflags() 2530 char *buf, size_t bufsize) in conv_cnote_filemode() argument [all …]
|