Searched refs:cap_new (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/os/ |
H A D | group.c | 158 uint_t cap_old, cap_new; in group_grow_set() local 167 if ((cap_new = (cap_old << 1)) == 0) { in group_grow_set() 172 cap_new = GRP_SET_SIZE_DEFAULT; in group_grow_set() 173 g->grp_set = kmem_zalloc(cap_new * sizeof (void *), KM_SLEEP); in group_grow_set() 174 g->grp_capacity = cap_new; in group_grow_set() 180 set_new = kmem_zalloc(cap_new * sizeof (void *), KM_SLEEP); in group_grow_set() 183 g->grp_capacity = cap_new; in group_grow_set() 189 ASSERT(((cap_new - 1) & cap_new) == 0); in group_grow_set() 198 uint_t cap_old, cap_new; in group_shrink_set() local 209 cap_new = cap_old >> 1; in group_shrink_set() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_capture.c | 707 static int cap_new; variable 733 cap_new = bcmp(cap_buffp, snoop_id, snoop_idlen) == 0; in cap_open_read() 739 if (cap_new) { in cap_open_read() 793 scan(cap_buffp, cap_len, filter, 1, !cap_new, proc, first, last, flags); in cap_read()
|