Home
last modified time | relevance | path

Searched refs:a_size (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_argvec.c46 vec->a_size = 0; in mdb_argvec_create()
54 mdb_free(vec->a_data, sizeof (mdb_arg_t) * vec->a_size); in mdb_argvec_destroy()
61 if (vec->a_nelems >= vec->a_size) { in mdb_argvec_append()
62 size_t size = vec->a_size ? vec->a_size * AV_GROW : AV_DEFSZ; in mdb_argvec_append()
70 bcopy(vec->a_data, data, sizeof (mdb_arg_t) * vec->a_size); in mdb_argvec_append()
71 mdb_free(vec->a_data, sizeof (mdb_arg_t) * vec->a_size); in mdb_argvec_append()
74 vec->a_size = size; in mdb_argvec_append()
100 for (i = 0; i < vec->a_size; i++) { in mdb_argvec_zero()
113 if (src->a_nelems > dst->a_size) { in mdb_argvec_copy()
123 mdb_free(dst->a_data, sizeof (mdb_arg_t) * dst->a_size); in mdb_argvec_copy()
[all …]
H A Dmdb_argvec.h41 size_t a_size; /* Array size */ member
H A Dmdb_modapi.c758 args.a_nelems = args.a_size = argc; in i_mdb_pwalk_dcmd()
867 args.a_nelems = args.a_size = argc; in mdb_call_dcmd()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dvfpops.c598 vfpSetSize(VFP_T *a_vfp, size_t a_size) in vfpSetSize() argument
617 a_size += getpagesize(); in vfpSetSize()
621 if (a_size <= a_vfp->_vfpSize) { in vfpSetSize()
628 a_vfp->_vfpSize = a_size; in vfpSetSize()
H A Dpkglib.h524 extern int vfpSetSize(VFP_T *a_vfp, size_t a_size);
/illumos-gate/usr/src/uts/common/syscall/
H A Drlimit.c201 if (as->a_size < size) in ulimit()
202 size -= as->a_size; in ulimit()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_as.c644 as->a_size = 0; in as_alloc()
805 newas->a_size += seg->s_size; in as_dup()
1403 as->a_size -= ssize; in as_unmap()
1445 as->a_size += size; in as_map_segvn_segs()
1483 as->a_size += segsize; in as_map_segvn_segs()
1516 as->a_size += segsize; in as_map_segvn_segs()
1569 as->a_size += size; in as_map_vnsegs()
1683 if ((raddr + rsize < raddr) || (as->a_size > (ULONG_MAX - size))) { in as_map_locked()
1698 if (as->a_size + rsize > (size_t)p->p_vmem_ctl && in as_map_locked()
1769 as->a_size += rsize; in as_map_locked()
H A Das.h117 size_t a_size; /* total size of address space */ member
H A Dseg_kmem.c831 kas.a_size += seg->s_size; in segkmem_create()
/illumos-gate/usr/src/tools/smatch/src/
H A Dflow.c316 unsigned int a_size = a->size; in overlapping_memop() local
319 if (a_size + a_start <= b_start) in overlapping_memop()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c5427 size_t a_size; in au_acl() local
5440 a_size = nentries * sizeof (aclent_t); in au_acl()
5442 if ((aclbufp = kmem_alloc(a_size, KM_SLEEP)) == NULL) in au_acl()
5444 if (copyin(bufp, aclbufp, a_size)) { in au_acl()
5445 kmem_free(aclbufp, a_size); in au_acl()
5451 kmem_free(aclbufp, a_size); in au_acl()
5458 a_size = nentries * sizeof (ace_t); in au_acl()
5459 if ((acebufp = kmem_alloc(a_size, KM_SLEEP)) == NULL) in au_acl()
5461 if (copyin(bufp, acebufp, a_size)) { in au_acl()
5462 kmem_free(acebufp, a_size); in au_acl()
[all …]