Home
last modified time | relevance | path

Searched refs:alloc_count (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_preselect.c55 static uint_t alloc_count; /* number of entries currently allocated */ variable
140 alloc_count = ALLOC_INIT; in alloc_map()
156 if (event_count == alloc_count && realloc_map() == -1) { in load_map()
178 new_alloc_count = alloc_count + ALLOC_INCR; in realloc_map()
179 if (new_alloc_count <= alloc_count) { in realloc_map()
184 if ((new_event_map = recallocarray(event_map, alloc_count, in realloc_map()
188 alloc_count = new_alloc_count; in realloc_map()
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c959 ulong_t alloc_count; in auto_readdir() local
979 alloc_count = iovp->iov_len; in auto_readdir()
984 dp = outbuf = kmem_zalloc(alloc_count, KM_SLEEP); in auto_readdir()
1002 rda.rda_count = rd.rd_rddir.rddir_size = (uint_t)alloc_count; in auto_readdir()
1110 if (alloc_count < this_reclen) { in auto_readdir()
1126 if (alloc_count < outcount + this_reclen) { in auto_readdir()
1158 if (outcount + reclen > alloc_count) { in auto_readdir()
1223 kmem_free(outbuf, alloc_count); in auto_readdir()
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_subr.c2298 ulong_t alloc_count; in devname_readdir_func() local
2335 alloc_count = iovp->iov_len; in devname_readdir_func()
2336 dp = outbuf = kmem_alloc(alloc_count, KM_SLEEP); in devname_readdir_func()
2393 alloc_count, cred); in devname_readdir_func()
2405 if (alloc_count < this_reclen) { in devname_readdir_func()
2423 if (alloc_count < outcount + this_reclen) { in devname_readdir_func()
2488 if (outcount + reclen > alloc_count) { in devname_readdir_func()
2524 kmem_free(outbuf, alloc_count); in devname_readdir_func()
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_ndd.c388 uint64_t alloc_count; in hxge_init_param() local
406 alloc_count = HXGE_PARAM_ARRAY_INIT_SIZE; in hxge_init_param()
407 alloc_size = alloc_count * sizeof (uint64_t); in hxge_init_param()
413 (alloc_count << HXGE_PARAM_ARRAY_ALLOC_SHIFT); in hxge_init_param()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_ndd.c734 uint64_t alloc_count; in nxge_init_param() local
752 alloc_count = NXGE_PARAM_ARRAY_INIT_SIZE; in nxge_init_param()
753 alloc_size = alloc_count * sizeof (uint64_t); in nxge_init_param()
759 (alloc_count << NXGE_PARAM_ARRAY_ALLOC_SHIFT); in nxge_init_param()