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

/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_preselect.c52 static uint_t alloc_count; /* number of entries currently allocated */ variable
137 alloc_count = ALLOC_INIT;
153 if (event_count > alloc_count)
174 rsize = sizeof (event_map_t) * (alloc_count + ALLOC_INCR);
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c958 ulong_t alloc_count; local
978 alloc_count = iovp->iov_len;
983 dp = outbuf = kmem_zalloc(alloc_count, KM_SLEEP);
1001 rda.rda_count = rd.rd_rddir.rddir_size = (uint_t)alloc_count;
1082 * alloc_count not large enough for one
1109 if (alloc_count < this_reclen) {
1125 if (alloc_count < outcount + this_reclen) {
1157 if (outcount + reclen > alloc_count) {
1222 kmem_free(outbuf, alloc_count);
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_subr.c2430 ulong_t alloc_count; local
2467 alloc_count = iovp->iov_len;
2468 dp = outbuf = kmem_alloc(alloc_count, KM_SLEEP);
2525 alloc_count, cred);
2537 if (alloc_count < this_reclen) {
2555 if (alloc_count < outcount + this_reclen) {
2620 if (outcount + reclen > alloc_count) {
2656 kmem_free(outbuf, alloc_count);
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_ndd.c393 uint64_t alloc_count; local
411 alloc_count = HXGE_PARAM_ARRAY_INIT_SIZE;
412 alloc_size = alloc_count * sizeof (uint64_t);
427 (alloc_count << HXGE_PARAM_ARRAY_ALLOC_SHIFT);
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_ndd.c739 uint64_t alloc_count; local
757 alloc_count = NXGE_PARAM_ARRAY_INIT_SIZE;
758 alloc_size = alloc_count * sizeof (uint64_t);
774 (alloc_count << NXGE_PARAM_ARRAY_ALLOC_SHIFT);

Completed in 80 milliseconds