Searched defs:asize (Results 1 - 25 of 48) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dsetbuffer.c43 setbuffer(FILE *iop, char *abuf, size_t asize) argument
48 (void) setvbuf(iop, abuf, _IOFBF, asize);
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dsetbuffer.c50 setbuffer(FILE *iop, char *abuf, int asize) argument
54 int size = asize - _SMBFSZ;
/illumos-gate/usr/src/cmd/ibd_upgrade/
H A Dibd_delete_link.c38 ibd_dladm_door_call(dladm_handle_t handle, void *arg, size_t asize, void *rbuf, argument
46 darg.data_size = asize;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_root.c84 vdev_root_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, argument
115 *asize = 0;
H A Dvdev_indirect_births.c171 * birth txg). The specified offset+asize must be contiguously mapped
184 uint64_t asize)
204 ASSERT3U(offset + asize, <=, p->vibe_offset);
183 vdev_indirect_births_physbirth(vdev_indirect_births_t *vib, uint64_t offset, uint64_t asize) argument
H A Ddmu_tx.c937 uint64_t asize = spa_get_worst_case_asize(tx->tx_pool->dp_spa, towrite); local
941 if (tx->tx_dir != NULL && asize != 0) {
943 asize, tx->tx_netfree, &tx->tx_tempreserve_cookie, tx);
H A Dvdev_mirror.c356 vdev_mirror_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, argument
378 *asize = MIN(*asize - 1, cvd->vdev_asize - 1) + 1;
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dtrace_funcs.c113 ulong_t size, asize; local
169 asize = size + sizeof (tnf_ref32_t); /* one fwd ptr */
176 asize += sizeof (tnf_ref32_t);
189 buffer = ops->alloc(wcb, asize, ops->mode);
/illumos-gate/usr/src/uts/common/tnf/
H A Dtrace_funcs.c107 size_t size, asize; local
133 asize = size + sizeof (tnf_ref32_t); /* one fwd ptr */
141 asize += sizeof (tnf_ref32_t);
148 TNFW_B_ALLOC(wcb, asize, buffer, probe_event_prototype_t *);
/illumos-gate/usr/src/lib/libkvm/common/
H A Dkvm_getcmd.c84 size_t asize, esize; local
140 asize = aptrcount * sizeof (uintptr_t) + RoundUp(strpoolsz, uintptr_t);
141 if (arg && (argv = calloc(1, asize + sizeof (uintptr_t))) == NULL) {
207 char *argv_null = (char *)argv + asize;
216 str >= (char *)argv + asize)
261 size_t asize; local
300 asize = (size_t)proc->p_usrstack - (size_t)u->u_argv;
301 if ((argv = malloc(asize + sizeof (uintptr_t))) == NULL)
303 argv_null = (char *)argv + asize;
327 (uintptr_t)u->u_argv, argv, asize) !
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/common/piclevent/
H A Dpiclevent.c144 event_handler(void *cookie, char *argp, size_t asize, argument
154 cookie, argp, asize);
159 if (nvlist_unpack(argp, asize, &nvlp, 0))
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dutil.c111 size_t asize = size + HEAPALIGN; local
118 (((size_t)chp->lh_end - (size_t)chp->lh_free) <= asize)) {
121 size_t tsize = (size_t)S_ROUND((asize + hsize), HEAPALIGN);
150 chp->lh_free = (void *)S_ROUND((size_t)chp->lh_free + asize,
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_elfwrite.c64 size_t elfsize, asize; local
321 if ((err = ctf_compress(fp, &cdata, &asize, &elfsize)) != 0) {
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_bcast.c125 uint_t asize; /* Size of the addr buf */ member in struct:__anon3708
215 fdlist[fdlistno].asize = addrlen;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa_supplicant.c570 event_handler(void *cookie, char *argp, size_t asize, argument
/illumos-gate/usr/src/cmd/sed/
H A Dcompile.c464 int asize; local
476 asize = 2 * _POSIX2_LINE_MAX + 1;
477 if ((text = malloc(asize)) == NULL)
535 if (asize - size < _POSIX2_LINE_MAX + 1) {
536 asize *= 2;
537 if ((text = realloc(text, asize)) == NULL)
721 uintptr_t size, asize; local
725 asize = 2 * _POSIX2_LINE_MAX + 1;
726 if ((text = malloc(asize)) == NULL)
743 if (asize
[all...]
/illumos-gate/usr/src/lib/libipadm/common/
H A Dlibipadm.c879 ipadm_door_call(ipadm_handle_t iph, void *arg, size_t asize, void **rbufp, argument
894 darg.data_size = asize;
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlmgmt.c54 dladm_door_call(dladm_handle_t handle, void *arg, size_t asize, void *rbuf, argument
63 darg.data_size = asize;
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_asconf.c386 size_t asize = 0; local
479 asize = sizeof (in6_addr_t) * acount;
480 alist = kmem_alloc(asize, KM_NOSLEEP);
492 kmem_free(alist, asize);
533 kmem_free(alist, asize);
574 alist, asize,
H A Dsctp_common.c1468 size_t asize; local
1472 asize = sizeof (in6_addr_t) * sctp->sctp_nfaddrs;
1473 alist = kmem_alloc(asize, KM_NOSLEEP);
1489 kmem_free(alist, asize);
1494 sctp_get_faddr_list(sctp, alist, asize);
1495 (*cl_sctp_assoc_change)(connp->conn_family, alist, asize,
/illumos-gate/usr/src/lib/libnsl/nsl/
H A D_utility.c509 unsigned int csize, dsize, asize, osize; local
530 asize = _t_setsize(tsap->ADDR_size, B_FALSE);
549 + asize + (unsigned int)sizeof (t_scalar_t) +
551 asize + (unsigned int)sizeof (t_scalar_t) +
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kmem.c1270 size_t asize = P2ROUNDUP(size, kmemlp_qnt); local
1278 ASSERT(asize >= size);
1305 asize < (segkmem_heaplp_quantum - kmemlp_qnt)) {
1330 if (asize == kmemlp_qnt)
1331 asize += kmemlp_qnt;
1347 addr = vmem_alloc(kmem_lp_arena, asize,
1360 *sizep = asize;
/illumos-gate/usr/src/uts/common/os/
H A Dvmem.c1058 size_t aneeded, asize; local
1069 asize = P2ROUNDUP(aneeded, aquantum);
1071 if (asize < size) {
1092 if (size == asize && !(vmp->vm_cflags & VMC_XALLOC))
1106 size_t oasize = asize;
1113 &asize, align, vmflag & VM_KMFLAGS);
1114 ASSERT(asize >= oasize);
1115 ASSERT(P2PHASE(asize,
1121 asize, vmflag & VM_KMFLAGS);
1136 if (asize > aneede
[all...]
H A Dpool.c829 pool_pack_conf(void *kbuf, size_t kbufsz, size_t *asize) argument
842 *asize = ksize;
846 *asize = ea_pack_object(eo_system, kbuf, kbufsz);
/illumos-gate/usr/src/lib/libumem/common/
H A Dvmem.c939 size_t asize = P2ROUNDUP(size + phase, local
941 if (asize < size) { /* overflow */
955 resv = (size == asize) ?
962 vaddr = vmp->vm_source_alloc(vmp->vm_source, asize,
967 vbest = vmem_span_create(vmp, vaddr, asize, 1);

Completed in 405 milliseconds

12