Home
last modified time | relevance | path

Searched refs:resultsize (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/common/acl/
H A Dacl_common.c513 int resultsize = 0; in ln_aent_to_ace() local
524 resultsize = n * 2; in ln_aent_to_ace()
531 resultsize += numuser + numgroup; in ln_aent_to_ace()
533 resultsize -= 2; in ln_aent_to_ace()
540 if (cacl_malloc((void **)&result, resultsize * sizeof (ace_t)) != 0) in ln_aent_to_ace()
661 *rescount = resultsize; in ln_aent_to_ace()
665 if ((result != NULL) && (resultsize > 0)) { in ln_aent_to_ace()
666 cacl_free(result, resultsize * sizeof (ace_t)); in ln_aent_to_ace()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_acl.c571 int resultsize = 0; in ln_aent_to_ace4() local
582 resultsize = n * 2; in ln_aent_to_ace4()
589 resultsize += numuser + numgroup; in ln_aent_to_ace4()
591 resultsize -= 2; in ln_aent_to_ace4()
598 result = acep = kmem_zalloc(resultsize * sizeof (nfsace4), KM_SLEEP); in ln_aent_to_ace4()
775 *rescount = resultsize; in ln_aent_to_ace4()
780 if ((result != NULL) && (resultsize > 0)) { in ln_aent_to_ace4()
782 for (i = 0; i < resultsize; i++) { in ln_aent_to_ace4()
792 kmem_free(result, resultsize * sizeof (nfsace4)); in ln_aent_to_ace4()
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_hal.h961 void **result, uint32_t *resultsize);