bin/ps/ps.c
1098
descendant_sort(KINFO *ki, int items)
bin/ps/ps.c
1110
while (src < items) {
bin/ps/ps.c
1115
for (nsrc = 1; src + nsrc < items; nsrc++)
bin/ps/ps.c
1119
for (dst = 0; dst < items; dst++) {
bin/ps/ps.c
1126
if (dst == items) {
bin/ps/ps.c
1131
for (ndst = 1; dst + ndst < items; ndst++)
bin/ps/ps.c
1171
for (src = 0; src < items; src++) {
bin/ps/ps.c
1185
for (siblings = 0, dst = src + 1; dst < items; dst++) {
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
102
ctx->rctx.items);
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
107
if (!k5_response_items_empty(ctx->rctx.items)) {
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
121
&ctx->as_key, ctx->gak_data, ctx->rctx.items);
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
521
k5_response_items_free(ctx->rctx.items);
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
892
code = k5_response_items_new(&ctx->rctx.items);
crypto/krb5/src/lib/krb5/krb/init_creds_ctx.h
12
k5_response_items *items;
crypto/krb5/src/lib/krb5/krb/preauth2.c
1012
if (responder != NULL && !k5_response_items_empty(ctx->rctx.items)) {
crypto/krb5/src/lib/krb5/krb/preauth2.c
451
ctx->rctx.items);
crypto/krb5/src/lib/krb5/krb/preauth2.c
487
return k5_response_items_ask_question(ctx->rctx.items, question,
crypto/krb5/src/lib/krb5/krb/preauth2.c
500
return k5_response_items_get_answer(ctx->rctx.items, question);
crypto/krb5/src/lib/krb5/krb/preauth2.c
510
NULL, NULL, ctx->gak_data, ctx->rctx.items);
crypto/krb5/src/lib/krb5/krb/preauth2.c
601
return k5_response_items_list_questions(rctx->items);
crypto/krb5/src/lib/krb5/krb/preauth2.c
611
return k5_response_items_get_challenge(rctx->items, question);
crypto/krb5/src/lib/krb5/krb/preauth2.c
621
return k5_response_items_set_answer(rctx->items, question, answer);
crypto/krb5/src/lib/krb5/krb/preauth2.c
949
k5_response_items_reset(ctx->rctx.items);
crypto/krb5/src/lib/krb5/krb/preauth_pkinit.c
141
old_answer = k5_response_items_get_answer(rctx->items,
crypto/krb5/src/lib/krb5/krb/preauth_sam2.c
155
&ctx->as_key, ctx->gak_data, ctx->rctx.items);
crypto/openssl/apps/storeutl.c
368
int ret = 1, items = 0;
crypto/openssl/apps/storeutl.c
434
indent_printf(indent, bio_out, "%d: %s: %s\n", items, infostr,
crypto/openssl/apps/storeutl.c
439
indent_printf(indent, bio_out, "%d: %s\n", items, infostr);
crypto/openssl/apps/storeutl.c
504
items++;
crypto/openssl/apps/storeutl.c
507
indent_printf(indent, out, "Total found: %d\n", items);
crypto/openssl/crypto/rsa/rsa_schemes.c
19
const OSSL_ITEM *items, size_t items_n)
crypto/openssl/crypto/rsa/rsa_schemes.c
25
if (meth_is_a(meth, items[i].ptr))
crypto/openssl/crypto/rsa/rsa_schemes.c
26
return (int)items[i].id;
crypto/openssl/crypto/rsa/rsa_schemes.c
30
static const char *nid2name(int meth, const OSSL_ITEM *items, size_t items_n)
crypto/openssl/crypto/rsa/rsa_schemes.c
35
if (meth == (int)items[i].id)
crypto/openssl/crypto/rsa/rsa_schemes.c
36
return items[i].ptr;
crypto/openssl/crypto/threads_none.c
63
struct rcu_cb_item *items = lock->cb_items;
crypto/openssl/crypto/threads_none.c
68
while (items != NULL) {
crypto/openssl/crypto/threads_none.c
69
tmp = items->next;
crypto/openssl/crypto/threads_none.c
70
items->fn(items->data);
crypto/openssl/crypto/threads_none.c
71
OPENSSL_free(items);
crypto/openssl/crypto/threads_none.c
72
items = tmp;
crypto/openssl/demos/http3/ossl-nghttp3-demo-server.c
467
SSL_POLL_ITEM items[MAXSSL_IDS] = { 0 }, *item = items;
crypto/openssl/demos/http3/ossl-nghttp3-demo-server.c
498
ret = SSL_poll(items, numitem, sizeof(SSL_POLL_ITEM), &nz_timeout,
crypto/openssl/demos/http3/ossl-nghttp3-demo-server.c
517
for (i = 0, item = items; i < numitem; i++, item++) {
crypto/openssl/include/openssl/ssl.h
2577
__owur int SSL_poll(SSL_POLL_ITEM *items,
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
285
ILE3 *items,
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
290
for (; items_input_num-- > 0; items_input++, items++) {
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
292
items->ile3$w_code = items_input->code;
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
294
if (items->ile3$w_code == JPI$_FINALEXC)
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
295
items->ile3$w_length = 4;
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
297
items->ile3$w_length = items_input->length;
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
299
items->ile3$ps_bufaddr = databuffer;
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
300
items->ile3$ps_retlen_addr = 0;
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
306
items->ile3$w_length = items->ile3$w_code = 0;
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
307
items->ile3$ps_bufaddr = items->ile3$ps_retlen_addr = NULL;
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
312
static void massage_JPI(ILE3 *items)
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
319
for (; items->ile3$w_length != 0; items++) {
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
320
if (items->ile3$w_code == JPI$_FINALEXC) {
crypto/openssl/providers/implementations/rands/seeding/rand_vms.c
321
uint32_t *data = items->ile3$ps_bufaddr;
crypto/openssl/ssl/pqueue.c
104
if (pq->items == NULL)
crypto/openssl/ssl/pqueue.c
107
for (next = pq->items; next->next != NULL; next = next->next) {
crypto/openssl/ssl/pqueue.c
14
pitem *items;
crypto/openssl/ssl/pqueue.c
145
pitem *item = pq->items;
crypto/openssl/ssl/pqueue.c
52
if (pq->items == NULL) {
crypto/openssl/ssl/pqueue.c
53
pq->items = item;
crypto/openssl/ssl/pqueue.c
57
for (curr = NULL, next = pq->items;
crypto/openssl/ssl/pqueue.c
67
pq->items = item;
crypto/openssl/ssl/pqueue.c
86
return pq->items;
crypto/openssl/ssl/pqueue.c
91
pitem *item = pq->items;
crypto/openssl/ssl/pqueue.c
93
if (pq->items != NULL)
crypto/openssl/ssl/pqueue.c
94
pq->items = pq->items->next;
crypto/openssl/ssl/rio/poll_immediate.c
162
static void postpoll_translation_cleanup(SSL_POLL_ITEM *items,
crypto/openssl/ssl/rio/poll_immediate.c
172
item = &ITEM_N(items, stride, i);
crypto/openssl/ssl/rio/poll_immediate.c
198
static int poll_translate(SSL_POLL_ITEM *items,
crypto/openssl/ssl/rio/poll_immediate.c
217
item = &ITEM_N(items, stride, i);
crypto/openssl/ssl/rio/poll_immediate.c
275
postpoll_translation_cleanup(items, i, stride, wctx);
crypto/openssl/ssl/rio/poll_immediate.c
28
#define ITEM_N(items, stride, n) \
crypto/openssl/ssl/rio/poll_immediate.c
282
static int poll_block(SSL_POLL_ITEM *items,
crypto/openssl/ssl/rio/poll_immediate.c
29
(*(SSL_POLL_ITEM *)((char *)(items) + (n) * (stride)))
crypto/openssl/ssl/rio/poll_immediate.c
317
if (!poll_translate(items, num_items, stride, &wctx, &rpb,
crypto/openssl/ssl/rio/poll_immediate.c
331
postpoll_translation_cleanup(items, num_items, stride, &wctx);
crypto/openssl/ssl/rio/poll_immediate.c
340
static int poll_readout(SSL_POLL_ITEM *items,
crypto/openssl/ssl/rio/poll_immediate.c
356
item = &ITEM_N(items, stride, i);
crypto/openssl/ssl/rio/poll_immediate.c
36
ITEM_N(items, stride, j).revents = 0; \
crypto/openssl/ssl/rio/poll_immediate.c
414
int SSL_poll(SSL_POLL_ITEM *items,
crypto/openssl/ssl/rio/poll_immediate.c
446
if (!poll_readout(items, num_items, stride, do_tick, &result_count)) {
crypto/openssl/ssl/rio/poll_immediate.c
46
ITEM_N(items, stride, idx_).revents = SSL_POLL_EVENT_F; \
crypto/openssl/ssl/rio/poll_immediate.c
466
if (!poll_block(items, num_items, stride, deadline, &result_count)) {
crypto/openssl/test/quic_cfq_test.c
151
for (i = 0; i < OSSL_NELEM(items[0]); ++i)
crypto/openssl/test/quic_cfq_test.c
152
if (items[pn_space][i] != NULL)
crypto/openssl/test/quic_cfq_test.c
153
ossl_quic_cfq_mark_lost(cfq, items[pn_space][i], UINT32_MAX);
crypto/openssl/test/quic_cfq_test.c
159
for (i = 0; i < OSSL_NELEM(items[0]); ++i)
crypto/openssl/test/quic_cfq_test.c
160
if (items[pn_space][i] != NULL)
crypto/openssl/test/quic_cfq_test.c
161
ossl_quic_cfq_release(cfq, items[pn_space][i]);
crypto/openssl/test/quic_cfq_test.c
55
static QUIC_CFQ_ITEM *items[QUIC_PN_SPACE_NUM][10];
crypto/openssl/test/quic_cfq_test.c
84
items[pn_space][i] = item;
crypto/openssl/test/quic_multistream_test.c
5572
SSL_POLL_ITEM items[5] = { 0 }, *item = items;
crypto/openssl/test/quic_multistream_test.c
5609
ret = SSL_poll(items, OSSL_NELEM(items), sizeof(SSL_POLL_ITEM),
crypto/openssl/test/quic_multistream_test.c
5641
for (i = 0; i < OSSL_NELEM(items); ++i)
crypto/openssl/test/quic_multistream_test.c
5642
if (!TEST_uint64_t_eq(items[i].revents, expected_revents[i])) {
crypto/openssl/test/radix/quic_tests.c
101
items[i + 1].desc = SSL_as_poll_descriptor(Lax[i]);
crypto/openssl/test/radix/quic_tests.c
102
items[i + 1].events = SSL_POLL_EVENT_R | SSL_POLL_EVENT_I;
crypto/openssl/test/radix/quic_tests.c
103
items[i + 1].revents = 0;
crypto/openssl/test/radix/quic_tests.c
106
items[5].desc = SSL_as_poll_descriptor(SSL_get0_listener(La));
crypto/openssl/test/radix/quic_tests.c
115
items[0].events = SSL_POLL_EVENT_OS;
crypto/openssl/test/radix/quic_tests.c
121
items[i + 1].events |= SSL_POLL_EVENT_W;
crypto/openssl/test/radix/quic_tests.c
136
items[5].events = SSL_POLL_EVENT_IC;
crypto/openssl/test/radix/quic_tests.c
146
if (!TEST_true(SSL_poll(items, OSSL_NELEM(items), sizeof(SSL_POLL_ITEM),
crypto/openssl/test/radix/quic_tests.c
154
for (i = 0; i < OSSL_NELEM(items); ++i)
crypto/openssl/test/radix/quic_tests.c
155
if (!TEST_uint64_t_eq(items[i].revents, expected_items[i].revents))
crypto/openssl/test/radix/quic_tests.c
85
SSL_POLL_ITEM items[6] = { 0 }, expected_items[6] = { 0 };
crypto/openssl/test/radix/quic_tests.c
96
items[0].desc = SSL_as_poll_descriptor(La);
crypto/openssl/test/radix/quic_tests.c
97
items[0].events = 0;
crypto/openssl/test/radix/quic_tests.c
98
items[0].revents = 0;
lib/libnv/tests/nvlist_append_test.c
106
items = nvlist_take_nvlist_array(nvl, "nvl/nvl_array", &nitems);
lib/libnv/tests/nvlist_append_test.c
107
CHECK(nvlist_get_number(items[0], "key1") == 10);
lib/libnv/tests/nvlist_append_test.c
108
CHECK(nvlist_get_number(items[1], "key1") == 20);
lib/libnv/tests/nvlist_append_test.c
109
CHECK(nvlist_error(items[0]) == 0);
lib/libnv/tests/nvlist_append_test.c
110
CHECK(nvlist_error(items[1]) == 0);
lib/libnv/tests/nvlist_append_test.c
112
nvlist_move_nvlist_array(nvl, "nvl/nvl_new_array", items, nitems);
lib/libnv/tests/nvlist_append_test.c
51
nvlist_t *nvl, *nvl1, *nvl2, **items;
sbin/ipf/libipf/parseipfexpr.c
104
for (s = arg, items = 1; *s != '\0'; s++)
sbin/ipf/libipf/parseipfexpr.c
106
items++;
sbin/ipf/libipf/parseipfexpr.c
108
if ((e->ipoe_maxarg != 0) && (items > e->ipoe_maxarg)) {
sbin/ipf/libipf/parseipfexpr.c
118
asize += 4 + (items * e->ipoe_nbasearg * e->ipoe_argsize);
sbin/ipf/libipf/parseipfexpr.c
131
ipfe->ipfe_narg = items * e->ipoe_nbasearg;
sbin/ipf/libipf/parseipfexpr.c
132
ipfe->ipfe_size = items * e->ipoe_nbasearg * e->ipoe_argsize;
sbin/ipf/libipf/parseipfexpr.c
37
int not, items, asize, *oplist, osize, i;
sys/cddl/boot/zfs/gzip.c
35
zfs_zcalloc(void *opaque __unused, uint_t items, uint_t size)
sys/cddl/boot/zfs/gzip.c
38
return (calloc(items, size));
sys/dev/cxgbe/crypto/t6_kern_tls.c
1035
items[0] = m;
sys/dev/cxgbe/crypto/t6_kern_tls.c
1036
return (mp_ring_enqueue(tlsp->txq->r, items, 1, 256));
sys/dev/cxgbe/crypto/t6_kern_tls.c
316
void *items[1];
sys/dev/cxgbe/crypto/t6_kern_tls.c
365
items[0] = m;
sys/dev/cxgbe/crypto/t6_kern_tls.c
366
error = mp_ring_enqueue(txq->r, items, 1, 1);
sys/dev/cxgbe/crypto/t6_kern_tls.c
592
void *items[1];
sys/dev/cxgbe/crypto/t6_kern_tls.c
628
items[0] = m;
sys/dev/cxgbe/crypto/t6_kern_tls.c
629
error = mp_ring_enqueue(txq->r, items, 1, 1);
sys/dev/cxgbe/crypto/t6_kern_tls.c
896
void *items[1];
sys/dev/cxgbe/crypto/t7_kern_tls.c
357
void *items[1];
sys/dev/cxgbe/crypto/t7_kern_tls.c
393
items[0] = m;
sys/dev/cxgbe/crypto/t7_kern_tls.c
394
error = mp_ring_enqueue(txq->r, items, 1, 1);
sys/dev/cxgbe/crypto/t7_kern_tls.c
732
void *items[1];
sys/dev/cxgbe/crypto/t7_kern_tls.c
756
items[0] = m;
sys/dev/cxgbe/crypto/t7_kern_tls.c
758
rc = mp_ring_enqueue_only(tlsp->txq->r, items, 1);
sys/dev/cxgbe/crypto/t7_kern_tls.c
761
rc = mp_ring_enqueue(tlsp->txq->r, items, 1, 256);
sys/dev/cxgbe/crypto/t7_kern_tls.c
782
void *items[1];
sys/dev/cxgbe/crypto/t7_kern_tls.c
912
items[0] = m;
sys/dev/cxgbe/crypto/t7_kern_tls.c
913
error = mp_ring_enqueue(tlsp->txq->r, items, 1, 256);
sys/dev/cxgbe/t4_main.c
3338
void *items[1];
sys/dev/cxgbe/t4_main.c
3373
items[0] = m;
sys/dev/cxgbe/t4_main.c
3374
rc = mp_ring_enqueue(txq->r, items, 1, 256);
sys/dev/cxgbe/t4_mp_ring.c
273
r = malloc(__offsetof(struct mp_ring, items[size]), mt, flags | M_ZERO);
sys/dev/cxgbe/t4_mp_ring.c
343
mp_ring_enqueue(struct mp_ring *r, void **items, int n, int budget)
sys/dev/cxgbe/t4_mp_ring.c
350
MPASS(items != NULL);
sys/dev/cxgbe/t4_mp_ring.c
409
r->items[i] = *items++;
sys/dev/cxgbe/t4_mp_ring.c
434
r->items[i] = *items++;
sys/dev/cxgbe/t4_mp_ring.c
481
mp_ring_enqueue_only(struct mp_ring *r, void **items, int n)
sys/dev/cxgbe/t4_mp_ring.c
487
MPASS(items != NULL);
sys/dev/cxgbe/t4_mp_ring.c
534
r->items[i] = *items++;
sys/dev/cxgbe/t4_mp_ring.h
58
void * volatile items[] __aligned(CACHE_LINE_SIZE);
sys/dev/cxgbe/t4_sge.c
3208
m0 = r->items[cidx];
sys/dev/cxgbe/t4_sge.c
3234
m0 = r->items[cidx];
sys/dev/hid/hidmap.c
448
uint32_t i, items = 0;
sys/dev/hid/hidmap.c
467
items++;
sys/dev/hid/hidmap.c
476
items++;
sys/dev/hid/hidmap.c
481
if (items != 0) {
sys/dev/hid/hidmap.c
487
items = 0;
sys/dev/hid/hidmap.c
496
return (items);
sys/dev/hid/hidmap.c
504
uint32_t items;
sys/dev/hid/hidmap.c
522
items = hidmap_probe_hid_descr(d_ptr, d_len, tlc_index, map,
sys/dev/hid/hidmap.c
524
if (items == 0)
sys/dev/hid/hidmap.c
529
hm->nhid_items += items;
sys/dev/sfxge/common/ef10_tlv_layout.h
261
} items[];
sys/dev/sfxge/common/ef10_tlv_layout.h
273
} items[];
sys/dev/zlib/zcalloc.c
13
zcalloc_waitok(void *nil, u_int items, u_int size)
sys/dev/zlib/zcalloc.c
16
return mallocarray(items, size, M_ZLIB, M_WAITOK);
sys/dev/zlib/zcalloc.c
20
zcalloc_nowait(void *nil, u_int items, u_int size)
sys/dev/zlib/zcalloc.c
23
return mallocarray(items, size, M_ZLIB, M_NOWAIT);
sys/dev/zlib/zcalloc.c
27
zcalloc(void *nil, u_int items, u_int size)
sys/dev/zlib/zcalloc.c
30
return zcalloc_nowait(nil, items, size);
sys/net/iflib.c
3795
struct mbuf **items;
sys/net/iflib.c
3799
items = __DEVOLATILE(struct mbuf **, &r->items[0]);
sys/net/iflib.c
3801
prefetch(items[(cidx + offset) & (size - 1)]);
sys/net/iflib.c
3803
prefetch2cachelines(&items[next]);
sys/net/iflib.c
3804
prefetch2cachelines(items[(cidx + offset + 1) & (size - 1)]);
sys/net/iflib.c
3805
prefetch2cachelines(items[(cidx + offset + 2) & (size - 1)]);
sys/net/iflib.c
3806
prefetch2cachelines(items[(cidx + offset + 3) & (size - 1)]);
sys/net/iflib.c
3808
return (__DEVOLATILE(struct mbuf **, &r->items[(cidx + offset) & (size - 1)]));
sys/net/iflib.c
3858
if (__predict_true(r->items[(cidx + i) & (r->size - 1)] != (void *)txq))
sys/net/iflib.c
3859
m_freem(r->items[(cidx + i) & (r->size - 1)]);
sys/net/iflib.c
3860
r->items[(cidx + i) & (r->size - 1)] = NULL;
sys/net/mp_ring.c
260
r = malloc(__offsetof(struct ifmp_ring, items[size]), mt, flags | M_ZERO);
sys/net/mp_ring.c
318
ifmp_ring_enqueue(struct ifmp_ring *r, void **items, int n, int budget, int abdicate)
sys/net/mp_ring.c
324
MPASS(items != NULL);
sys/net/mp_ring.c
360
r->items[i] = *items++;
sys/net/mp_ring.c
393
ifmp_ring_enqueue(struct ifmp_ring *r, void **items, int n, int budget, int abdicate)
sys/net/mp_ring.c
399
MPASS(items != NULL);
sys/net/mp_ring.c
439
r->items[i] = *items++;
sys/net/mp_ring.h
62
void * volatile items[] __aligned(CACHE_LINE_SIZE);
sys/net/route/nhop_utils.c
100
_bitmask_init_idx(void *_idx, uint32_t items)
sys/net/route/nhop_utils.c
102
size_t size = bitmask_get_size(items);
sys/net/route/nhop_utils.c
46
static void _bitmask_init_idx(void *index, uint32_t items);
sys/net/route/nhop_utils.c
78
_bitmask_get_blocks(uint32_t items)
sys/net/route/nhop_utils.c
81
return (items / BLOCK_ITEMS);
sys/net/route/nhop_utils.c
86
bitmask_get_size(uint32_t items)
sys/net/route/nhop_utils.c
89
KASSERT((items % BLOCK_ITEMS) == 0,
sys/net/route/nhop_utils.c
93
assert((items % BLOCK_ITEMS) == 0);
sys/net/route/nhop_utils.c
96
return (items / 8);
sys/net/route/nhop_utils.h
173
size_t bitmask_get_size(uint32_t items);
sys/net80211/ieee80211_radiotap.c
262
} items[] = {
sys/net80211/ieee80211_radiotap.c
337
if (items[i].align == 0) {
sys/net80211/ieee80211_radiotap.c
342
off = roundup2(off, items[i].align);
sys/net80211/ieee80211_radiotap.c
344
if (off + items[i].width > le16toh(rh->it_len)) {
sys/net80211/ieee80211_radiotap.c
348
off, items[i].width, le16toh(rh->it_len));
sys/net80211/ieee80211_radiotap.c
353
off += items[i].width;
sys/netlink/netlink_snl.h
714
void **items;
sys/netlink/netlink_snl.h
729
array->items = (void **)snl_allocz(ss, size * sizeof(void *));
sys/netlink/netlink_snl.h
730
if (array->items == NULL)
sys/netlink/netlink_snl.h
761
memcpy(new_array, array->items, size * sizeof(void *));
sys/netlink/netlink_snl.h
762
array->items = new_array;
sys/netlink/netlink_snl.h
765
array->items[count++] = item;
sys/netpfil/ipfilter/netinet/ip_log.c
507
ipf_log_items(ipf_main_softc_t *softc, int unit, fr_info_t *fin, void **items,
sys/netpfil/ipfilter/netinet/ip_log.c
561
bcopy(items[i], ptr, itemsz[i]);
sys/netpfil/ipfilter/netinet/ip_log.c
563
COPYDATA(items[i], 0, itemsz[i], ptr);
sys/netpfil/ipfilter/netinet/ip_nat.c
6067
void *items[1];
sys/netpfil/ipfilter/netinet/ip_nat.c
6109
items[0] = &natl;
sys/netpfil/ipfilter/netinet/ip_nat.c
6113
(void) ipf_log_items(softc, IPL_LOGNAT, NULL, items, sizes, types, 1);
sys/netpfil/ipfilter/netinet/ip_state.c
4276
void *items[1];
sys/netpfil/ipfilter/netinet/ip_state.c
4317
items[0] = &ipsl;
sys/netpfil/ipfilter/netinet/ip_state.c
4321
(void) ipf_log_items(softc, IPL_LOGSTATE, NULL, items, sizes, types, 1);
sys/netpfil/ipfilter/netinet/ip_sync.c
1206
int i, items;
sys/netpfil/ipfilter/netinet/ip_sync.c
1208
items = 0;
sys/netpfil/ipfilter/netinet/ip_sync.c
1228
items++;
sys/netpfil/ipfilter/netinet/ip_sync.c
1232
return (items);
sys/netpfil/ipfw/ip_fw_sockopt.c
3310
ipfw_objhash_bitmap_alloc(uint32_t items, void **idx, int *pblocks)
sys/netpfil/ipfw/ip_fw_sockopt.c
3316
KASSERT((items % BLOCK_ITEMS) == 0,
sys/netpfil/ipfw/ip_fw_sockopt.c
3320
max_blocks = items / BLOCK_ITEMS;
sys/netpfil/ipfw/ip_fw_sockopt.c
3321
size = items / 8;
sys/netpfil/ipfw/ip_fw_sockopt.c
3384
ipfw_objhash_create(uint32_t items, size_t hash_size)
sys/netpfil/ipfw/ip_fw_sockopt.c
3412
ipfw_objhash_bitmap_alloc(items, (void*)&ni->idx_mask, &ni->max_blocks);
sys/netpfil/ipfw/ip_fw_table_algo.c
3092
size_t items;
sys/netpfil/ipfw/ip_fw_table_algo.c
3342
tinfo->count4 = cfg->items;
sys/netpfil/ipfw/ip_fw_table_algo.c
3569
cfg->items++;
sys/netpfil/ipfw/ip_fw_table_algo.c
3617
cfg->items--;
sys/netpfil/ipfw/ip_fw_table_algo.c
3649
if (cfg->items > cfg->size && cfg->size < 65536) {
sys/netpfil/pf/pf_nv.c
1146
size_t items;
sys/netpfil/pf/pf_nv.c
1149
strs = nvlist_get_string_array(nvl, "labels", &items);
sys/netpfil/pf/pf_nv.c
1150
if (items > PF_RULE_MAX_LABEL_COUNT)
sys/netpfil/pf/pf_nv.c
1153
for (size_t i = 0; i < items; i++) {
sys/netpfil/pf/pf_nv.c
533
size_t items;
sys/netpfil/pf/pf_nv.c
536
strs = nvlist_get_string_array(nvl, "labels", &items);
sys/netpfil/pf/pf_nv.c
537
if (items > PF_RULE_MAX_LABEL_COUNT)
sys/netpfil/pf/pf_nv.c
540
for (size_t i = 0; i < items; i++) {
sys/vm/uma_core.c
5174
uma_zone_reserve(uma_zone_t zone, int items)
sys/vm/uma_core.c
5180
keg->uk_reserve = items;
sys/vm/uma_core.c
5226
uma_prealloc(uma_zone_t zone, int items)
sys/vm/uma_core.c
5235
slabs = howmany(items, keg->uk_ipers);
sys/vm/uma_core.c
5550
uint64_t items;
sys/vm/uma_core.c
5593
items = UZ_ITEMS_COUNT(z->uz_items);
sys/vm/uma_core.c
5594
uth.uth_pages = (items / kz->uk_ipers) *
usr.sbin/bhyve/qemu_fwcfg.c
101
struct qemu_fwcfg_item items[QEMU_FWCFG_MAX_ARCHS]
usr.sbin/bhyve/qemu_fwcfg.c
159
&fwcfg_sc.items[fwcfg_sc.selector.architecture]
usr.sbin/bhyve/qemu_fwcfg.c
196
struct qemu_fwcfg_item *const fwcfg_item = &fwcfg_sc.items[arch][idx];
usr.sbin/bhyve/qemu_fwcfg.c
377
fwcfg_sc.items[0][QEMU_FWCFG_INDEX_FILE_DIR].data =
usr.sbin/bhyve/qemu_fwcfg.c
400
fwcfg_sc.items[0][QEMU_FWCFG_INDEX_FILE_DIR].size =
usr.sbin/bsdinstall/partedit/diskmenu.c
37
diskmenu_show(const char *title, const char *text, struct partedit_item *items,
usr.sbin/bsdinstall/partedit/diskmenu.c
51
bsditems[i].depth = 2 * items[i].indentation;
usr.sbin/bsdinstall/partedit/diskmenu.c
53
bsditems[i].name = items[i].name;
usr.sbin/bsdinstall/partedit/diskmenu.c
54
humanize_number(size, 7, items[i].size, "B",
usr.sbin/bsdinstall/partedit/diskmenu.c
56
mp = items[i].mountpoint != NULL ? items[i].mountpoint : "";
usr.sbin/bsdinstall/partedit/diskmenu.c
58
" %-9s %-15s %s", size, items[i].type, mp);
usr.sbin/bsdinstall/partedit/diskmenu.h
50
struct partedit_item *items, int nitems, int *selected);
usr.sbin/bsdinstall/partedit/gpart_ops.c
103
struct bsddialog_menuitem items[] = {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1046
struct bsddialog_formitem items[] = {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1119
items[1].init = sizestr;
usr.sbin/bsdinstall/partedit/gpart_ops.c
1123
items[0].init = "freebsd";
usr.sbin/bsdinstall/partedit/gpart_ops.c
1124
items[0].bottomdesc = "Filesystem type (e.g. freebsd, fat32)";
usr.sbin/bsdinstall/partedit/gpart_ops.c
1130
items[0].init = (char *)default_type;
usr.sbin/bsdinstall/partedit/gpart_ops.c
1132
items[1].init = (char *)default_size;
usr.sbin/bsdinstall/partedit/gpart_ops.c
1134
items[2].init = (char *)default_mountpoint;
usr.sbin/bsdinstall/partedit/gpart_ops.c
1137
strncpy(options_fstype, items[0].init,
usr.sbin/bsdinstall/partedit/gpart_ops.c
1148
choice = bsddialog_form(&conf, "", 0, 0, 0, nitems, items, NULL);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1159
strncpy(options_fstype, items[0].value,
usr.sbin/bsdinstall/partedit/gpart_ops.c
1162
for (i = 0; i < nitems(items); i++) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1164
free((char*)items[i].init);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1165
items[i].init = items[i].value;
usr.sbin/bsdinstall/partedit/gpart_ops.c
1171
items[0].value = strdup(items[0].init);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1172
items[1].value = strdup(items[1].init);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1173
items[2].value = strdup(items[2].init);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1175
items[3].value = strdup(items[3].init);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1182
if (strcmp(options_fstype, items[0].value) != 0) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1184
strncpy(options_fstype, items[0].value, sizeof(options_fstype));
usr.sbin/bsdinstall/partedit/gpart_ops.c
1189
if (strlen(items[1].value) > 0) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1190
if (expand_number(items[1].value, &bytes) != 0) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1203
if (items[3].value != NULL && strchr(items[3].value, '/') != NULL) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
121
nitems(items), items, NULL);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1211
if (strcmp(items[0].value, "freebsd-ufs") == 0 &&
usr.sbin/bsdinstall/partedit/gpart_ops.c
1212
items[2].value[0] != '/') {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1233
if (strcmp(items[0].value, "freebsd") == 0 &&
usr.sbin/bsdinstall/partedit/gpart_ops.c
1234
strlen(items[2].value) > 0) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1244
if (strcmp(items[2].value, "/") == 0 && !is_scheme_bootable(scheme)) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1260
if (strcmp(items[2].value, "/") == 0 && !is_fs_bootable(scheme,
usr.sbin/bsdinstall/partedit/gpart_ops.c
1261
items[0].value)) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1267
items[0].value);
usr.sbin/bsdinstall/partedit/gpart_ops.c
127
for (i = 0; i < (int)nitems(items); i++) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
128
if (items[i].on == false)
usr.sbin/bsdinstall/partedit/gpart_ops.c
1281
if ((strcmp(items[0].value, "freebsd") == 0 ||
usr.sbin/bsdinstall/partedit/gpart_ops.c
1282
strcmp(items[2].value, "/") == 0) && bootpart_size(scheme) > 0) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
130
if (strcmp(items[i].name, "UFS1") == 0)
usr.sbin/bsdinstall/partedit/gpart_ops.c
1304
gctl_ro_param(r, "type", -1, items[0].value);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1309
if (items[3].value != NULL && items[3].value[0] != '\0')
usr.sbin/bsdinstall/partedit/gpart_ops.c
1310
gctl_ro_param(r, "label", -1, items[3].value);
usr.sbin/bsdinstall/partedit/gpart_ops.c
132
else if (strcmp(items[i].name, "SU") == 0)
usr.sbin/bsdinstall/partedit/gpart_ops.c
1337
if (strcmp(items[0].value, "freebsd") == 0)
usr.sbin/bsdinstall/partedit/gpart_ops.c
134
else if (strcmp(items[i].name, "SUJ") == 0)
usr.sbin/bsdinstall/partedit/gpart_ops.c
1341
items[0].value, items[2].value, newfs);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1344
for (i = 0; i < nitems(items); i++) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1345
if (items[i].value != NULL) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1346
free(items[i].value);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1347
if (init_allocated && items[i].init != NULL)
usr.sbin/bsdinstall/partedit/gpart_ops.c
1348
free((char*)items[i].init);
usr.sbin/bsdinstall/partedit/gpart_ops.c
136
else if (strcmp(items[i].name, "TRIM") == 0)
usr.sbin/bsdinstall/partedit/gpart_ops.c
141
struct bsddialog_menuitem items[] = {
usr.sbin/bsdinstall/partedit/gpart_ops.c
159
nitems(items), items, NULL);
usr.sbin/bsdinstall/partedit/gpart_ops.c
175
for (i = 0; i < (int)nitems(items); i++) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
176
if (items[i].on == false)
usr.sbin/bsdinstall/partedit/gpart_ops.c
178
if (strcmp(items[i].name, "fletcher4") == 0)
usr.sbin/bsdinstall/partedit/gpart_ops.c
180
else if (strcmp(items[i].name, "fletcher2") == 0)
usr.sbin/bsdinstall/partedit/gpart_ops.c
182
else if (strcmp(items[i].name, "sha256") == 0)
usr.sbin/bsdinstall/partedit/gpart_ops.c
184
else if (strcmp(items[i].name, "atime") == 0)
usr.sbin/bsdinstall/partedit/gpart_ops.c
190
struct bsddialog_menuitem items[] = {
usr.sbin/bsdinstall/partedit/gpart_ops.c
203
nitems(items), items, NULL);
usr.sbin/bsdinstall/partedit/gpart_ops.c
209
for (i = 0; i < (int)nitems(items); i++) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
210
if (items[i].on == false)
usr.sbin/bsdinstall/partedit/gpart_ops.c
212
if (strcmp(items[i].name, "FAT32") == 0)
usr.sbin/bsdinstall/partedit/gpart_ops.c
214
else if (strcmp(items[i].name, "FAT16") == 0)
usr.sbin/bsdinstall/partedit/gpart_ops.c
216
else if (strcmp(items[i].name, "FAT12") == 0)
usr.sbin/bsdinstall/partedit/gpart_ops.c
239
struct bsddialog_menuitem items[] = {
usr.sbin/bsdinstall/partedit/gpart_ops.c
250
for (i = 0; i < (int)nitems(items); i++)
usr.sbin/bsdinstall/partedit/gpart_ops.c
251
if (strcmp(items[i].name, def_scheme) == 0)
usr.sbin/bsdinstall/partedit/gpart_ops.c
260
nitems(items), items, &choice);
usr.sbin/bsdinstall/partedit/gpart_ops.c
265
if (!is_scheme_bootable(items[choice].name)) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
271
"to proceed?", items[choice].name);
usr.sbin/bsdinstall/partedit/gpart_ops.c
280
scheme = items[choice].name;
usr.sbin/bsdinstall/partedit/gpart_ops.c
562
struct bsddialog_formitem items[] = {
usr.sbin/bsdinstall/partedit/gpart_ops.c
633
items[0].init = gc->lg_val;
usr.sbin/bsdinstall/partedit/gpart_ops.c
637
items[3].init = gc->lg_val;
usr.sbin/bsdinstall/partedit/gpart_ops.c
646
items[2].init = md->fstab->fs_file;
usr.sbin/bsdinstall/partedit/gpart_ops.c
653
items[1].init = sizestr;
usr.sbin/bsdinstall/partedit/gpart_ops.c
658
choice = bsddialog_form(&conf, "", 0, 0, 0, nitems, items, NULL);
usr.sbin/bsdinstall/partedit/gpart_ops.c
665
if (strcmp(items[2].value, "/") == 0 && !is_fs_bootable(scheme,
usr.sbin/bsdinstall/partedit/gpart_ops.c
666
items[0].value)) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
672
items[0].value);
usr.sbin/bsdinstall/partedit/gpart_ops.c
682
if (items[3].value != NULL && strchr(items[3].value, '/') != NULL) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
695
if (items[3].value != NULL && (hadlabel || items[3].value[0] != '\0'))
usr.sbin/bsdinstall/partedit/gpart_ops.c
696
gctl_ro_param(r, "label", -1, items[3].value);
usr.sbin/bsdinstall/partedit/gpart_ops.c
697
gctl_ro_param(r, "type", -1, items[0].value);
usr.sbin/bsdinstall/partedit/gpart_ops.c
706
newfs = newfs_command(items[0].value, 1);
usr.sbin/bsdinstall/partedit/gpart_ops.c
707
set_default_part_metadata(pp->lg_name, scheme, items[0].value,
usr.sbin/bsdinstall/partedit/gpart_ops.c
708
items[2].value, (strcmp(oldtype, items[0].value) != 0) ?
usr.sbin/bsdinstall/partedit/gpart_ops.c
713
if (strcmp(oldtype, items[0].value) != 0 && cp != NULL)
usr.sbin/bsdinstall/partedit/gpart_ops.c
715
if (strcmp(oldtype, items[0].value) != 0 && strcmp(items[0].value,
usr.sbin/bsdinstall/partedit/gpart_ops.c
719
for (i = 0; i < nitems(items); i++)
usr.sbin/bsdinstall/partedit/gpart_ops.c
720
if (items[i].value != NULL)
usr.sbin/bsdinstall/partedit/gpart_ops.c
721
free(items[i].value);
usr.sbin/bsdinstall/partedit/partedit.c
132
items = read_geom_mesh(&mesh, &nitems);
usr.sbin/bsdinstall/partedit/partedit.c
133
if (error || items == NULL) {
usr.sbin/bsdinstall/partedit/partedit.c
141
get_mount_points(items, nitems);
usr.sbin/bsdinstall/partedit/partedit.c
145
op = diskmenu_show("Partition Editor", prompt, items, nitems,
usr.sbin/bsdinstall/partedit/partedit.c
150
gpart_create((struct gprovider *)(items[i].cookie),
usr.sbin/bsdinstall/partedit/partedit.c
154
gpart_delete((struct gprovider *)(items[i].cookie));
usr.sbin/bsdinstall/partedit/partedit.c
157
gpart_edit((struct gprovider *)(items[i].cookie));
usr.sbin/bsdinstall/partedit/partedit.c
213
free(items);
usr.sbin/bsdinstall/partedit/partedit.c
504
struct partedit_item *items;
usr.sbin/bsdinstall/partedit/partedit.c
507
items = NULL;
usr.sbin/bsdinstall/partedit/partedit.c
520
add_geom_children(gp, 0, &items, nitems);
usr.sbin/bsdinstall/partedit/partedit.c
523
return (items);
usr.sbin/bsdinstall/partedit/partedit.c
527
add_geom_children(struct ggeom *gp, int recurse, struct partedit_item **items,
usr.sbin/bsdinstall/partedit/partedit.c
53
struct partedit_item **items, int *nitems);
usr.sbin/bsdinstall/partedit/partedit.c
538
(*items)[*nitems-1].type = gc->lg_val;
usr.sbin/bsdinstall/partedit/partedit.c
55
static void get_mount_points(struct partedit_item *items, int nitems);
usr.sbin/bsdinstall/partedit/partedit.c
553
*items = realloc(*items,
usr.sbin/bsdinstall/partedit/partedit.c
555
(*items)[*nitems].indentation = recurse;
usr.sbin/bsdinstall/partedit/partedit.c
556
(*items)[*nitems].name = pp->lg_name;
usr.sbin/bsdinstall/partedit/partedit.c
557
(*items)[*nitems].size = pp->lg_mediasize;
usr.sbin/bsdinstall/partedit/partedit.c
558
(*items)[*nitems].mountpoint = NULL;
usr.sbin/bsdinstall/partedit/partedit.c
559
(*items)[*nitems].type = "";
usr.sbin/bsdinstall/partedit/partedit.c
560
(*items)[*nitems].cookie = pp;
usr.sbin/bsdinstall/partedit/partedit.c
564
(*items)[*nitems].type = gc->lg_val;
usr.sbin/bsdinstall/partedit/partedit.c
569
strcmp((*items)[*nitems].type, "swap") == 0)
usr.sbin/bsdinstall/partedit/partedit.c
575
add_geom_children(cp->lg_geom, recurse+1, items,
usr.sbin/bsdinstall/partedit/partedit.c
614
get_mount_points(struct partedit_item *items, int nitems)
usr.sbin/bsdinstall/partedit/partedit.c
622
strcmp(md->name, items[i].name) == 0) {
usr.sbin/bsdinstall/partedit/partedit.c
623
items[i].mountpoint = md->fstab->fs_file;
usr.sbin/bsdinstall/partedit/partedit.c
79
struct partedit_item *items = NULL;
usr.sbin/kbdmap/kbdmap.c
562
int mark, num_keymaps, items, i;
usr.sbin/kbdmap/kbdmap.c
744
items = 0;
usr.sbin/kbdmap/kbdmap.c
746
km_sorted[items++] = km;
usr.sbin/nscd/cachelib.c
1083
&mp_entry->completed_write_session->items);
usr.sbin/nscd/cachelib.c
1207
HASHTABLE_FOREACH(&(common_entry->items), ht_item) {
usr.sbin/nscd/cachelib.c
193
while (!TAILQ_EMPTY(&ws->items)) {
usr.sbin/nscd/cachelib.c
194
data_item = TAILQ_FIRST(&ws->items);
usr.sbin/nscd/cachelib.c
195
TAILQ_REMOVE(&ws->items, data_item, entries);
usr.sbin/nscd/cachelib.c
230
HASHTABLE_FOREACH(&(common_entry->items), ht_item) {
usr.sbin/nscd/cachelib.c
239
HASHTABLE_DESTROY(&(common_entry->items), data);
usr.sbin/nscd/cachelib.c
299
HASHTABLE_FOREACH(&(common_entry->items), ht_item) {
usr.sbin/nscd/cachelib.c
396
hash = HASHTABLE_CALCULATE_HASH(cache_ht_, &entry->items,
usr.sbin/nscd/cachelib.c
398
assert(hash < HASHTABLE_ENTRIES_COUNT(&entry->items));
usr.sbin/nscd/cachelib.c
400
ht_item = HASHTABLE_GET_ENTRY(&(entry->items), hash);
usr.sbin/nscd/cachelib.c
574
HASHTABLE_INIT(&(new_common_entry->items),
usr.sbin/nscd/cachelib.c
717
hash = HASHTABLE_CALCULATE_HASH(cache_ht_, &common_entry->items,
usr.sbin/nscd/cachelib.c
719
assert(hash < HASHTABLE_ENTRIES_COUNT(&common_entry->items));
usr.sbin/nscd/cachelib.c
721
item = HASHTABLE_GET_ENTRY(&(common_entry->items), hash);
usr.sbin/nscd/cachelib.c
826
hash = HASHTABLE_CALCULATE_HASH(cache_ht_, &common_entry->items,
usr.sbin/nscd/cachelib.c
828
assert(hash < HASHTABLE_ENTRIES_COUNT(&common_entry->items));
usr.sbin/nscd/cachelib.c
830
item = HASHTABLE_GET_ENTRY(&(common_entry->items), hash);
usr.sbin/nscd/cachelib.c
943
TAILQ_INIT(&retval->items);
usr.sbin/nscd/cachelib.c
983
TAILQ_INSERT_TAIL(&ws->items, new_item, entries);
usr.sbin/nscd/cachelib.h
136
HASHTABLE_HEAD(cache_ht_, cache_ht_item_) items;
usr.sbin/nscd/cachelib.h
165
TAILQ_HEAD(cache_mp_data_item_head, cache_mp_data_item_) items;
usr.sbin/pmcstat/pmcpl_calltree.c
229
pmcpl_ct_arc_grow(int cursize, int *maxsize, struct pmcpl_ct_arc **items)
usr.sbin/pmcstat/pmcpl_calltree.c
237
*items = reallocarray(*items, nmaxsize, sizeof(struct pmcpl_ct_arc));
usr.sbin/pmcstat/pmcpl_calltree.c
238
if (*items == NULL)
usr.sbin/pmcstat/pmcpl_calltree.c
240
bzero((char *)*items + *maxsize * sizeof(struct pmcpl_ct_arc),
usr.sbin/pmcstat/pmcpl_calltree.c
250
pmcpl_ct_instr_grow(int cursize, int *maxsize, struct pmcpl_ct_instr **items)
usr.sbin/pmcstat/pmcpl_calltree.c
258
*items = reallocarray(*items, nmaxsize, sizeof(struct pmcpl_ct_instr));
usr.sbin/pmcstat/pmcpl_calltree.c
259
if (*items == NULL)
usr.sbin/pmcstat/pmcpl_calltree.c
261
bzero((char *)*items + *maxsize * sizeof(struct pmcpl_ct_instr),