/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdr_array.c | 58 xdr_array(XDR *xdrs, caddr_t *addrp, uint_t *sizep, const uint_t maxsize, argument 72 if ((c > maxsize || LASTUNSIGNED / elsize < c) &&
|
H A D | xdr.c | 452 * If *cpp is NULL maxsize bytes are allocated 460 xdr_bytes(XDR *xdrs, char **cpp, uint_t *sizep, const uint_t maxsize) argument 472 if ((nodesize > maxsize) && (xdrs->x_op != XDR_FREE)) { 566 xdr_string(XDR *xdrs, char **cpp, const uint_t maxsize) argument 589 if (size > maxsize) {
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr_array.c | 67 xdr_array(XDR *xdrs, caddr_t *addrp, uint_t *sizep, const uint_t maxsize, argument 80 if ((c > maxsize || LASTUNSIGNED / elsize < c) &&
|
H A D | xdr.c | 420 * If *cpp is NULL maxsize bytes are allocated 426 xdr_bytes(XDR *xdrs, char **cpp, uint_t *sizep, const uint_t maxsize) argument 440 if ((nodesize > maxsize) && (xdrs->x_op != XDR_FREE)) 534 xdr_string(XDR *xdrs, char **cpp, const uint_t maxsize) argument 559 if (size > maxsize)
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | wcsftime.c | 61 __wcsftime_xpg5(wchar_t *wcs, size_t maxsize, const wchar_t *format, argument 94 if (LONG_MAX / MB_CUR_MAX <= maxsize) { 95 /* maxsize is prepostorously large - avoid int. overflow. */ 99 if ((dst = malloc(maxsize * MB_CUR_MAX)) == NULL) 101 if (strftime(dst, maxsize, sformat, timeptr) == 0) 105 n = mbsrtowcs(wcs, &dstp, maxsize, &mbs); 122 wcsftime(wchar_t *wcs, size_t maxsize, const char *format, argument 136 rv = __wcsftime_xpg5(wcs, maxsize, wfmt, timeptr);
|
H A D | strfmon.c | 61 if (dst >= s + maxsize) \ 106 strfmon_impl(char *_RESTRICT_KYWD s, size_t maxsize, locale_t loc, argument 205 if ((unsigned int)width >= maxsize - (dst - s)) 214 if ((unsigned int)left_prec >= maxsize - (dst - s)) 223 if ((unsigned int)right_prec >= maxsize - (dst - s) - 407 strfmon(char *_RESTRICT_KYWD s, size_t maxsize, argument 414 ret = strfmon_impl(s, maxsize, uselocale(NULL), format, ap); 420 strfmon_l(char *_RESTRICT_KYWD s, size_t maxsize, locale_t loc, argument 426 ret = strfmon_impl(s, maxsize, loc, format, ap);
|
H A D | strftime.c | 69 strftime_l(char *_RESTRICT_KYWD s, size_t maxsize, argument 76 p = _fmt(loc, ((format == NULL) ? "%c" : format), t, s, s + maxsize); 77 if (p == s + maxsize) 84 strftime(char *_RESTRICT_KYWD s, size_t maxsize, argument 87 return (strftime_l(s, maxsize, format, t, uselocale(NULL)));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | output.c | 139 int size, i, maxsize; local 146 * Initialize maxsize to the size of the largest RIPng packet supported 149 maxsize = ifp->int_mtu - sizeof (ip6_t) - sizeof (struct udphdr); 198 if (size > maxsize - sizeof (struct netinfo6)) {
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | fssnap_if.c | 62 fssnap_create(chunknumber_t nchunks, uint_t chunksz, u_offset_t maxsize, argument 69 snapid = (snapops.fssnap_create)(nchunks, chunksz, maxsize,
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_recv2.c | 82 uint_t maxsize; local 142 maxsize = bgep->chipid.ethmax_size + ETHERFCSL; 150 maxsize = bgep->chipid.ethmax_size + VLAN_TAGSZ + ETHERFCSL; 151 if (len > maxsize) {
|
/illumos-gate/usr/src/cmd/avs/ncall/ |
H A D | ncalladm.c | 504 int maxsize; local 525 maxsize = ioctl(ifd, NC_IOC_GETNETNODES, 0); 526 if (maxsize < 1) { 527 maxsize = 1; 530 nodelist = malloc(sizeof (*nodelist) * maxsize);
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_cmd.c | 411 * nfscmd_convdirplus(addr, export, data, nents, maxsize, ndata) 418 size_t nents, size_t maxsize, char **ndata) 440 newdata = kmem_zalloc(maxsize, KM_SLEEP); 451 if ((maxsize - nsize) < dp->d_reclen) 458 olen = MIN(MAXNAMELEN, maxsize - nsize); 473 ilen = MIN(MAXNAMELEN, maxsize - nsize) - olen; 417 nfscmd_convdirplus(struct sockaddr *ca, struct exportinfo *exi, char *data, size_t nents, size_t maxsize, char **ndata) argument
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 298 size_t maxsize; local 306 if ((maxsize = memsize) < size) 307 maxsize = size; 313 if ((p = malloc(maxsize)) == 0) {
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 175 uint_t maxsize; local 222 maxsize = rgep->ethmax_size; 223 if (packet_len < minsize || packet_len > maxsize) {
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fssnap_if.h | 54 u_offset_t maxsize; /* IN maximum size of backing file */ member in struct:fiosnapcreate 63 u_offset_t maxsize; /* IN max size of entire backing store */ member in struct:fiosnapcreate_multi 114 #define FSSNAP_KSTAT_NUM_MAXSIZE "maxsize"
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_rx.c | 148 uint32_t maxsize; local 158 maxsize = ngep->max_sdu; 178 if (len > maxsize || len < minsize) {
|
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_xdr.c | 45 uint_t maxsize = SMB_XDRMAX32_SZ; local 49 maxsize = size = (uint_t)objp->len; 51 if (xdr_bytes(xdrs, (char **)&objp->val, &size, maxsize)) {
|
/illumos-gate/usr/src/cmd/boot/common/ |
H A D | bblk_einfo.c | 266 uint32_t maxsize, uint32_t *used_space) 282 if (hash_off + hash_size > maxsize) { 313 if (einfo->str_off + einfo->str_size > maxsize) { 265 prepare_and_write_einfo(unsigned char *dest, char *infostr, bblk_hs_t *hs, uint32_t maxsize, uint32_t *used_space) argument
|
/illumos-gate/usr/src/lib/sasl_plugins/cram/ |
H A D | cram.c | 602 int maxsize; local 714 maxsize = 32+1+strlen(oparams->authid)+30; 716 &(text->out_buf_len), maxsize); 719 snprintf(text->out_buf, maxsize, "%s %s", oparams->authid, in16);
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | memlist.c | 436 size_t maxsize; /* max buffer */ member in struct:bootmem_props 520 tmp->maxsize = len; 534 tmp->maxsize = len; 539 tmp->maxsize = len; 568 if (plen > pl->maxsize) { 570 move = plen - pl->maxsize; 571 pl->maxsize = plen; 573 vl->maxsize -= move; 574 } else if (vlen > vl->maxsize) { 576 move = vlen - vl->maxsize; [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | malloc.c | 1352 int maxsize; local 1379 maxsize = heapsize();
|
/illumos-gate/usr/src/cmd/vscan/vscanadm/ |
H A D | vscanadm.c | 990 * Parses a user-supplied string into a maxsize (decimal) value for 998 uint64_t maxsize; local 1002 maxsize = strtoll(valstr, &end, 10); 1006 "%llu%s", maxsize, end); 1015 * Parses a user-supplied string into a maxsize action value for the
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/ |
H A D | fssnap.c | 84 "maxsize", 115 u_offset_t maxsize = 0; local 171 maxsize = spec_to_bytes(value); 222 create_snap(mountfd, backpath, maxsize, chunksize, 230 create_snap(int mountfd, char *backpath, u_offset_t maxsize, uint_t chunksize, argument 281 enable->maxsize = maxsize;
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keyserv_cache.c | 93 size_t maxsize; /* don't grow beyond this */ member in struct:cachekey_header 194 /* Max number of records the file will hold if extended to the maxsize */ 195 #define MAXRECS(ck_header) (((ck_header)->maxsize - \ 210 size_t maxsize; local 246 maxsize = ALIGN8(sizeof (struct cachekey_header)) + 250 maxsize = sizespec*1024*1024; 254 if (length > maxsize) { 259 if (maxsize > ALIGN8(sizeof (struct cachekey_header)+reclength)) 260 length = maxsize; 264 maxsize [all...] |
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_kp.c | 238 segkp_cache_init(struct seg *seg, int maxsize, size_t len, uint_t flags) argument 250 segkp_cache[i].kpf_max = maxsize;
|