Searched defs:maxsize (Results 1 - 25 of 46) sorted by relevance

12

/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr_array.c58 xdr_array(XDR *xdrs, caddr_t *addrp, uint_t *sizep, const uint_t maxsize, argument
72 if ((c > maxsize || LASTUNSIGNED / elsize < c) &&
H A Dxdr.c452 * 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 Dxdr_array.c67 xdr_array(XDR *xdrs, caddr_t *addrp, uint_t *sizep, const uint_t maxsize, argument
80 if ((c > maxsize || LASTUNSIGNED / elsize < c) &&
H A Dxdr.c420 * 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 Dwcsftime.c61 __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 Dstrfmon.c61 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 Dstrftime.c69 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 Doutput.c139 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 Dfssnap_if.c62 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 Dbge_recv2.c82 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 Dncalladm.c504 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 Dnfs_cmd.c411 * 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 Dnlist.c298 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 Drge_rxtx.c175 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 Dfssnap_if.h54 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 Dnge_rx.c148 uint32_t maxsize; local
158 maxsize = ngep->max_sdu;
178 if (len > maxsize || len < minsize) {
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_xdr.c45 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 Dbblk_einfo.c266 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 Dcram.c602 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 Dmemlist.c436 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 Dmalloc.c1352 int maxsize; local
1379 maxsize = heapsize();
/illumos-gate/usr/src/cmd/vscan/vscanadm/
H A Dvscanadm.c990 * 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 Dfssnap.c84 "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 Dkeyserv_cache.c93 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 Dseg_kp.c238 segkp_cache_init(struct seg *seg, int maxsize, size_t len, uint_t flags) argument
250 segkp_cache[i].kpf_max = maxsize;

Completed in 116 milliseconds

12