/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | strftime.c | 61 strftime(buf, maxsize, format, tm) in strftime() argument 81 if (++size >= maxsize) 89 if (++size >= maxsize) 98 if (++size >= maxsize) 108 if (++size >= maxsize) 117 if (++size >= maxsize) 124 i = strftime(cp, maxsize - size, "%x %X", tm); 132 i = strftime(cp, maxsize - size, 141 if ((size += 2) >= maxsize) 147 i = strftime(cp, maxsize - size, "%m/%d/%y", [all …]
|
/titanic_41/usr/src/lib/libc/port/locale/ |
H A D | wcsftime.c | 61 __wcsftime_xpg5(wchar_t *wcs, size_t maxsize, const wchar_t *format, in __wcsftime_xpg5() argument 94 if (LONG_MAX / MB_CUR_MAX <= maxsize) { in __wcsftime_xpg5() 99 if ((dst = malloc(maxsize * MB_CUR_MAX)) == NULL) in __wcsftime_xpg5() 101 if (strftime(dst, maxsize, sformat, timeptr) == 0) in __wcsftime_xpg5() 105 n = mbsrtowcs(wcs, &dstp, maxsize, &mbs); in __wcsftime_xpg5() 122 wcsftime(wchar_t *wcs, size_t maxsize, const char *format, in wcsftime() argument 136 rv = __wcsftime_xpg5(wcs, maxsize, wfmt, timeptr); in wcsftime()
|
H A D | strfmon.c | 61 if (dst >= s + maxsize) \ 106 strfmon_impl(char *_RESTRICT_KYWD s, size_t maxsize, locale_t loc, in strfmon_impl() argument 205 if ((unsigned int)width >= maxsize - (dst - s)) in strfmon_impl() 214 if ((unsigned int)left_prec >= maxsize - (dst - s)) in strfmon_impl() 223 if ((unsigned int)right_prec >= maxsize - (dst - s) - in strfmon_impl() 407 strfmon(char *_RESTRICT_KYWD s, size_t maxsize, in strfmon() argument 414 ret = strfmon_impl(s, maxsize, uselocale(NULL), format, ap); in strfmon() 420 strfmon_l(char *_RESTRICT_KYWD s, size_t maxsize, locale_t loc, in strfmon_l() argument 426 ret = strfmon_impl(s, maxsize, loc, format, ap); in strfmon_l()
|
H A D | strftime.c | 69 strftime_l(char *_RESTRICT_KYWD s, size_t maxsize, in strftime_l() argument 76 p = _fmt(loc, ((format == NULL) ? "%c" : format), t, s, s + maxsize); in strftime_l() 77 if (p == s + maxsize) in strftime_l() 84 strftime(char *_RESTRICT_KYWD s, size_t maxsize, in strftime() argument 87 return (strftime_l(s, maxsize, format, t, uselocale(NULL))); in strftime()
|
/titanic_41/usr/src/uts/sun4/os/ |
H A D | memlist.c | 436 size_t maxsize; /* max buffer */ member 520 tmp->maxsize = len; in init_boot_memlists() 534 tmp->maxsize = len; in init_boot_memlists() 539 tmp->maxsize = len; in init_boot_memlists() 568 if (plen > pl->maxsize) { in copy_boot_memlists() 570 move = plen - pl->maxsize; in copy_boot_memlists() 571 pl->maxsize = plen; in copy_boot_memlists() 573 vl->maxsize -= move; in copy_boot_memlists() 574 } else if (vlen > vl->maxsize) { in copy_boot_memlists() 576 move = vlen - vl->maxsize; in copy_boot_memlists() [all …]
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/rsend/ |
H A D | rsend.kshlib | 389 maxsize=$2 395 of=/$fs/file-$maxsize-$((i+$file_id_offset)) \ 396 bs=$(($RANDOM * $RANDOM % $maxsize)) \ 398 "Failed to create /$fs/file-$maxsize-$((i+$file_id_offset))" 400 $ECHO Created $nfiles files of random sizes up to $maxsize bytes 414 maxsize=$2 419 $RM -f /$fs/file-$maxsize-$((i+$file_id_offset)) 421 $ECHO Removed $nfiles files of random sizes up to $maxsize bytes
|
/titanic_41/usr/src/cmd/keyserv/ |
H A D | keyserv_cache.c | 93 size_t maxsize; /* don't grow beyond this */ member 195 #define MAXRECS(ck_header) (((ck_header)->maxsize - \ 210 size_t maxsize; in create_cache_file_ch() local 246 maxsize = ALIGN8(sizeof (struct cachekey_header)) + in create_cache_file_ch() 250 maxsize = sizespec*1024*1024; in create_cache_file_ch() 254 if (length > maxsize) { in create_cache_file_ch() 259 if (maxsize > ALIGN8(sizeof (struct cachekey_header)+reclength)) in create_cache_file_ch() 260 length = maxsize; in create_cache_file_ch() 264 maxsize = length; in create_cache_file_ch() 298 ch->maxsize < ch->length || in create_cache_file_ch() [all …]
|
/titanic_41/usr/src/cmd/avs/ncall/ |
H A D | ncalladm.c | 504 int maxsize; in getnodelist() local 525 maxsize = ioctl(ifd, NC_IOC_GETNETNODES, 0); in getnodelist() 526 if (maxsize < 1) { in getnodelist() 527 maxsize = 1; in getnodelist() 530 nodelist = malloc(sizeof (*nodelist) * maxsize); in getnodelist()
|
/titanic_41/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, in xdr_array() argument 72 if ((c > maxsize || LASTUNSIGNED / elsize < c) && in xdr_array()
|
H A D | xdr.c | 460 xdr_bytes(XDR *xdrs, char **cpp, uint_t *sizep, const uint_t maxsize) in xdr_bytes() argument 472 if ((nodesize > maxsize) && (xdrs->x_op != XDR_FREE)) { in xdr_bytes() 566 xdr_string(XDR *xdrs, char **cpp, const uint_t maxsize) in xdr_string() argument 589 if (size > maxsize) { in xdr_string()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | output.c | 139 int size, i, maxsize; in supply() local 149 maxsize = ifp->int_mtu - sizeof (ip6_t) - sizeof (struct udphdr); in supply() 198 if (size > maxsize - sizeof (struct netinfo6)) { in supply()
|
/titanic_41/usr/src/lib/auditd_plugins/binfile/ |
H A D | binfile.c | 694 save_maxsize(char *maxsize) { in save_maxsize() argument 701 if (maxsize != NULL) { in save_maxsize() 707 proposed_maxsize = strtol(maxsize, (char **)NULL, 10); in save_maxsize() 720 "range: %s\n", maxsize)); in save_maxsize() 950 char *maxsize; local 975 maxsize = NULL; 979 maxsize = kva_match(kv, "p_fsize"); 990 save_maxsize(maxsize);
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | fssnap_if.h | 54 u_offset_t maxsize; /* IN maximum size of backing file */ member 63 u_offset_t maxsize; /* IN max size of entire backing store */ member
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_cmd.c | 418 size_t nents, size_t maxsize, char **ndata) in nfscmd_convdirplus() argument 440 newdata = kmem_zalloc(maxsize, KM_SLEEP); in nfscmd_convdirplus() 451 if ((maxsize - nsize) < dp->d_reclen) in nfscmd_convdirplus() 458 olen = MIN(MAXNAMELEN, maxsize - nsize); in nfscmd_convdirplus() 473 ilen = MIN(MAXNAMELEN, maxsize - nsize) - olen; in nfscmd_convdirplus()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | fssnap_if.c | 62 fssnap_create(chunknumber_t nchunks, uint_t chunksz, u_offset_t maxsize, in fssnap_create() argument 69 snapid = (snapops.fssnap_create)(nchunks, chunksz, maxsize, in fssnap_create()
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | xdr_array.c | 65 xdr_array(XDR *xdrs, caddr_t *addrp, uint_t *sizep, const uint_t maxsize, in xdr_array() argument 78 if ((c > maxsize || LASTUNSIGNED / elsize < c) && in xdr_array()
|
H A D | xdr.c | 418 xdr_bytes(XDR *xdrs, char **cpp, uint_t *sizep, const uint_t maxsize) in xdr_bytes() argument 432 if ((nodesize > maxsize) && (xdrs->x_op != XDR_FREE)) in xdr_bytes() 526 xdr_string(XDR *xdrs, char **cpp, const uint_t maxsize) in xdr_string() argument 551 if (size > maxsize) in xdr_string()
|
/titanic_41/usr/src/cmd/fs.d/ufs/fssnap/ |
H A D | fssnap.c | 115 u_offset_t maxsize = 0; in main() local 171 maxsize = spec_to_bytes(value); in main() 222 create_snap(mountfd, backpath, maxsize, chunksize, in main() 230 create_snap(int mountfd, char *backpath, u_offset_t maxsize, uint_t chunksize, in create_snap() argument 281 enable->maxsize = maxsize; in create_snap()
|
/titanic_41/usr/src/uts/common/io/bge/ |
H A D | bge_recv2.c | 82 uint_t maxsize; in bge_receive_packet() local 142 maxsize = bgep->chipid.ethmax_size + ETHERFCSL; in bge_receive_packet() 150 maxsize = bgep->chipid.ethmax_size + VLAN_TAGSZ + ETHERFCSL; in bge_receive_packet() 151 if (len > maxsize) { in bge_receive_packet()
|
/titanic_41/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 298 size_t maxsize; in elf_read() local 306 if ((maxsize = memsize) < size) in elf_read() 307 maxsize = size; in elf_read() 313 if ((p = malloc(maxsize)) == 0) { in elf_read()
|
/titanic_41/usr/src/cmd/boot/common/ |
H A D | bblk_einfo.c | 266 uint32_t maxsize, uint32_t *used_space) in prepare_and_write_einfo() argument 282 if (hash_off + hash_size > maxsize) { in prepare_and_write_einfo() 313 if (einfo->str_off + einfo->str_size > maxsize) { in prepare_and_write_einfo()
|
/titanic_41/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_scsi.c | 173 uint32_t maxsize, minsize, old_minsize; in sbd_do_read_xfer() local 175 maxsize = (scmd->len > (128*1024)) ? 128*1024 : scmd->len; in sbd_do_read_xfer() 176 minsize = maxsize >> 2; in sbd_do_read_xfer() 184 dbuf = stmf_alloc_dbuf(task, maxsize, &minsize, 0); in sbd_do_read_xfer() 476 uint32_t maxsize, minsize, old_minsize; in sbd_handle_read_xfer_completion() local 479 maxsize = (scmd->len > (128*1024)) ? 128*1024 : scmd->len; in sbd_handle_read_xfer_completion() 480 minsize = maxsize >> 2; in sbd_handle_read_xfer_completion() 483 dbuf = stmf_alloc_dbuf(task, maxsize, &minsize, 0); in sbd_handle_read_xfer_completion() 953 uint32_t maxsize, minsize, old_minsize; in sbd_handle_read() local 955 maxsize = (len > (128*1024)) ? 128*1024 : len; in sbd_handle_read() [all …]
|
/titanic_41/usr/src/uts/common/io/nge/ |
H A D | nge_rx.c | 148 uint32_t maxsize; in nge_recv_packet() local 158 maxsize = ngep->max_sdu; in nge_recv_packet() 178 if (len > maxsize || len < minsize) { in nge_recv_packet()
|
/titanic_41/usr/src/lib/sasl_plugins/cram/ |
H A D | cram.c | 602 int maxsize; in crammd5_client_mech_step() local 714 maxsize = 32+1+strlen(oparams->authid)+30; in crammd5_client_mech_step() 716 &(text->out_buf_len), maxsize); in crammd5_client_mech_step() 719 snprintf(text->out_buf, maxsize, "%s %s", oparams->authid, in16); in crammd5_client_mech_step()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | dumpsubr.c | 416 size_t maxsize; /* memory size needed at dump time */ member 646 new->maxsize = 0; in dump_update_clevel() 658 new->maxsize += 2 * PAGESIZE; in dump_update_clevel() 660 new->maxsize += PAGESIZE; in dump_update_clevel() 663 new->maxsize += bz2size; in dump_update_clevel() 674 new->maxsize += cp->size; in dump_update_clevel() 687 if (new->maxsize > 0) { in dump_update_clevel() 688 new->maxsize = P2ROUNDUP(new->maxsize, PAGESIZE); in dump_update_clevel() 689 new->maxvmsize = P2ROUNDUP(new->maxsize, CBUF_MAPSIZE); in dump_update_clevel() 925 if (cfg->maxsize == 0 || cfg->clevel < DUMP_CLEVEL_LZJB || in dumpsys_get_maxmem() [all …]
|