bin/cpdup/hclink.c
325
struct HCLeaf *item;
bin/cpdup/hclink.c
328
item = (void *)(trans->wbuf + trans->windex);
bin/cpdup/hclink.c
329
assert(trans->windex + sizeof(*item) + bytes < HC_BUFSIZE);
bin/cpdup/hclink.c
330
item->leafid = leafid;
bin/cpdup/hclink.c
331
item->reserved = 0;
bin/cpdup/hclink.c
332
item->bytes = sizeof(*item) + bytes;
bin/cpdup/hclink.c
333
bcopy(str, item + 1, bytes);
bin/cpdup/hclink.c
334
trans->windex = HCC_ALIGN(trans->windex + item->bytes);
bin/cpdup/hclink.c
340
struct HCLeaf *item;
bin/cpdup/hclink.c
342
item = (void *)(trans->wbuf + trans->windex);
bin/cpdup/hclink.c
343
assert(trans->windex + sizeof(*item) + bytes < HC_BUFSIZE);
bin/cpdup/hclink.c
344
item->leafid = leafid;
bin/cpdup/hclink.c
345
item->reserved = 0;
bin/cpdup/hclink.c
346
item->bytes = sizeof(*item) + bytes;
bin/cpdup/hclink.c
347
bcopy(ptr, item + 1, bytes);
bin/cpdup/hclink.c
348
trans->windex = HCC_ALIGN(trans->windex + item->bytes);
bin/cpdup/hclink.c
354
struct HCLeaf *item;
bin/cpdup/hclink.c
356
item = (void *)(trans->wbuf + trans->windex);
bin/cpdup/hclink.c
357
assert(trans->windex + sizeof(*item) + sizeof(value) < HC_BUFSIZE);
bin/cpdup/hclink.c
358
item->leafid = leafid;
bin/cpdup/hclink.c
359
item->reserved = 0;
bin/cpdup/hclink.c
360
item->bytes = sizeof(*item) + sizeof(value);
bin/cpdup/hclink.c
361
*(int32_t *)(item + 1) = value;
bin/cpdup/hclink.c
362
trans->windex = HCC_ALIGN(trans->windex + item->bytes);
bin/cpdup/hclink.c
368
struct HCLeaf *item;
bin/cpdup/hclink.c
370
item = (void *)(trans->wbuf + trans->windex);
bin/cpdup/hclink.c
371
assert(trans->windex + sizeof(*item) + sizeof(value) < HC_BUFSIZE);
bin/cpdup/hclink.c
372
item->leafid = leafid;
bin/cpdup/hclink.c
373
item->reserved = 0;
bin/cpdup/hclink.c
374
item->bytes = sizeof(*item) + sizeof(value);
bin/cpdup/hclink.c
375
*(int64_t *)(item + 1) = value;
bin/cpdup/hclink.c
376
trans->windex = HCC_ALIGN(trans->windex + item->bytes);
bin/cpdup/hclink.c
464
hcc_nextitem(hctransaction_t trans, struct HCHead *head, struct HCLeaf *item)
bin/cpdup/hclink.c
468
if (item == NULL)
bin/cpdup/hclink.c
469
item = (void *)(head + 1);
bin/cpdup/hclink.c
471
item = (void *)((char *)item + HCC_ALIGN(item->bytes));
bin/cpdup/hclink.c
472
offset = (char *)item - (char *)head;
bin/cpdup/hclink.c
479
item->leafid = hc_bswap16(item->leafid);
bin/cpdup/hclink.c
480
item->bytes = hc_bswap32(item->bytes);
bin/cpdup/hclink.c
481
switch (item->leafid & LCF_TYPEMASK) {
bin/cpdup/hclink.c
483
i32ptr = (void *)(item + 1);
bin/cpdup/hclink.c
487
i64ptr = (void *)(item + 1);
bin/cpdup/hclink.c
492
assert(head->bytes >= offset + (int)sizeof(*item));
bin/cpdup/hclink.c
493
assert(head->bytes >= offset + item->bytes);
bin/cpdup/hclink.c
494
assert(item->bytes >= (int)sizeof(*item) && item->bytes < HC_BUFSIZE);
bin/cpdup/hclink.c
495
return (item);
bin/cpdup/hclink.c
502
struct HCLeaf *item = hcc_currentchaineditem(hc, head);
bin/cpdup/hclink.c
504
while ((item = hcc_nextitem(trans, head, item)) == NULL) {
bin/cpdup/hclink.c
511
trans->windex = (char *)item - (char *)head;
bin/cpdup/hclink.c
512
return (item);
bin/cpdup/hclink.c
531
struct HCLeaf *item;
bin/cpdup/hclink.c
538
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hclink.c
539
fprintf(stderr, " ITEM %04x DATA ", item->leafid);
bin/cpdup/hclink.c
540
switch(item->leafid & LCF_TYPEMASK) {
bin/cpdup/hclink.c
542
fprintf(stderr, "int32 %d\n", HCC_INT32(item));
bin/cpdup/hclink.c
545
fprintf(stderr, "int64 %lld\n", HCC_INT64(item));
bin/cpdup/hclink.c
548
fprintf(stderr, "\"%s\"\n", HCC_STRING(item));
bin/cpdup/hclink.h
105
struct HCLeaf *hcc_nextitem(hctransaction_t trans, struct HCHead *head, struct HCLeaf *item);
bin/cpdup/hclink.h
77
#define HCC_STRING(item) ((const char *)((item) + 1))
bin/cpdup/hclink.h
78
#define HCC_INT32(item) (*(int32_t *)((item) + 1))
bin/cpdup/hclink.h
79
#define HCC_INT64(item) (*(int64_t *)((item) + 1))
bin/cpdup/hclink.h
80
#define HCC_BINARYDATA(item) ((void *)((item) + 1))
bin/cpdup/hclink.h
82
#define FOR_EACH_ITEM(item, trans, head) \
bin/cpdup/hclink.h
83
for (item = hcc_firstitem(trans, head); item; \
bin/cpdup/hclink.h
84
item = hcc_nextitem(trans, head, item))
bin/cpdup/hcproto.c
1005
struct HCLeaf *item;
bin/cpdup/hcproto.c
1030
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1031
if (item->leafid == LC_BYTES)
bin/cpdup/hcproto.c
1032
x = HCC_INT32(item);
bin/cpdup/hcproto.c
1051
struct HCLeaf *item;
bin/cpdup/hcproto.c
1056
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1057
switch(item->leafid) {
bin/cpdup/hcproto.c
1059
fdp = hcc_get_descriptor(trans->hc, HCC_INT32(item), HC_DESC_FD);
bin/cpdup/hcproto.c
1062
buf = HCC_BINARYDATA(item);
bin/cpdup/hcproto.c
1063
n = item->bytes - sizeof(*item);
bin/cpdup/hcproto.c
1115
struct HCLeaf *item;
bin/cpdup/hcproto.c
1118
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1119
if (item->leafid == LC_PATH1)
bin/cpdup/hcproto.c
1120
path = HCC_STRING(item);
bin/cpdup/hcproto.c
1158
struct HCLeaf *item;
bin/cpdup/hcproto.c
1162
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1163
switch(item->leafid) {
bin/cpdup/hcproto.c
1165
path = HCC_STRING(item);
bin/cpdup/hcproto.c
1168
mode = HCC_INT32(item);
bin/cpdup/hcproto.c
12
static int hc_decode_stat_item(struct stat *st, struct HCLeaf *item);
bin/cpdup/hcproto.c
1207
struct HCLeaf *item;
bin/cpdup/hcproto.c
1210
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1211
if (item->leafid == LC_PATH1)
bin/cpdup/hcproto.c
1212
path = HCC_STRING(item);
bin/cpdup/hcproto.c
1261
struct HCLeaf *item;
bin/cpdup/hcproto.c
1267
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1268
switch(item->leafid) {
bin/cpdup/hcproto.c
1270
path = HCC_STRING(item);
bin/cpdup/hcproto.c
1273
uid = HCC_INT32(item);
bin/cpdup/hcproto.c
1276
gid = HCC_INT32(item);
bin/cpdup/hcproto.c
1328
struct HCLeaf *item;
bin/cpdup/hcproto.c
1334
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1335
switch(item->leafid) {
bin/cpdup/hcproto.c
1337
path = HCC_STRING(item);
bin/cpdup/hcproto.c
1340
uid = HCC_INT32(item);
bin/cpdup/hcproto.c
1343
gid = HCC_INT32(item);
bin/cpdup/hcproto.c
139
struct HCLeaf *item;
bin/cpdup/hcproto.c
1407
struct HCLeaf *item;
bin/cpdup/hcproto.c
1411
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1412
switch(item->leafid) {
bin/cpdup/hcproto.c
1414
path = HCC_STRING(item);
bin/cpdup/hcproto.c
1417
mode = HCC_INT32(item);
bin/cpdup/hcproto.c
1467
struct HCLeaf *item;
bin/cpdup/hcproto.c
1472
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1473
switch(item->leafid) {
bin/cpdup/hcproto.c
1475
path = HCC_STRING(item);
bin/cpdup/hcproto.c
1478
mode = HCC_INT32(item);
bin/cpdup/hcproto.c
1481
rdev = HCC_INT32(item);
bin/cpdup/hcproto.c
1521
struct HCLeaf *item;
bin/cpdup/hcproto.c
1525
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1526
switch(item->leafid) {
bin/cpdup/hcproto.c
1528
name1 = HCC_STRING(item);
bin/cpdup/hcproto.c
1531
name2 = HCC_STRING(item);
bin/cpdup/hcproto.c
1607
struct HCLeaf *item;
bin/cpdup/hcproto.c
1612
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1613
switch(item->leafid) {
bin/cpdup/hcproto.c
1615
path = HCC_STRING(item);
bin/cpdup/hcproto.c
1618
flags = (u_long)HCC_INT64(item);
bin/cpdup/hcproto.c
1647
struct HCLeaf *item;
bin/cpdup/hcproto.c
1661
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1662
if (item->leafid == LC_DATA) {
bin/cpdup/hcproto.c
1663
r = item->bytes - sizeof(*item);
bin/cpdup/hcproto.c
1668
bcopy(HCC_BINARYDATA(item), buf, r);
bin/cpdup/hcproto.c
1677
struct HCLeaf *item;
bin/cpdup/hcproto.c
168
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1682
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1683
if (item->leafid == LC_PATH1)
bin/cpdup/hcproto.c
1684
path = HCC_STRING(item);
bin/cpdup/hcproto.c
169
switch(item->leafid) {
bin/cpdup/hcproto.c
1703
struct HCLeaf *item;
bin/cpdup/hcproto.c
1718
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1719
if (item->leafid == LC_MODE)
bin/cpdup/hcproto.c
172
fprintf(stderr, "Handshaked with %s\n", HCC_STRING(item));
bin/cpdup/hcproto.c
1720
numask = HCC_INT32(item);
bin/cpdup/hcproto.c
1728
struct HCLeaf *item;
bin/cpdup/hcproto.c
1731
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1732
if (item->leafid == LC_MODE)
bin/cpdup/hcproto.c
1733
numask = HCC_INT32(item);
bin/cpdup/hcproto.c
176
hc->version = HCC_INT32(item);
bin/cpdup/hcproto.c
1767
struct HCLeaf *item;
bin/cpdup/hcproto.c
1771
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1772
switch(item->leafid) {
bin/cpdup/hcproto.c
1774
name1 = HCC_STRING(item);
bin/cpdup/hcproto.c
1777
name2 = HCC_STRING(item);
bin/cpdup/hcproto.c
1817
struct HCLeaf *item;
bin/cpdup/hcproto.c
1821
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1822
switch(item->leafid) {
bin/cpdup/hcproto.c
1824
name1 = HCC_STRING(item);
bin/cpdup/hcproto.c
1827
name2 = HCC_STRING(item);
bin/cpdup/hcproto.c
1900
struct HCLeaf *item;
bin/cpdup/hcproto.c
1907
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1908
switch(item->leafid) {
bin/cpdup/hcproto.c
1910
path = HCC_STRING(item);
bin/cpdup/hcproto.c
1913
times[0].tv_sec = HCC_INT64(item);
bin/cpdup/hcproto.c
1916
times[1].tv_sec = HCC_INT64(item);
bin/cpdup/hcproto.c
1920
times[0].tv_usec = HCC_INT32(item) / 1000;
bin/cpdup/hcproto.c
1923
times[1].tv_usec = HCC_INT32(item) / 1000;
bin/cpdup/hcproto.c
1945
struct HCLeaf *item;
bin/cpdup/hcproto.c
1959
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
1960
if (item->leafid == LC_UID)
bin/cpdup/hcproto.c
1961
return (HCC_INT32(item));
bin/cpdup/hcproto.c
197
struct HCLeaf *item;
bin/cpdup/hcproto.c
1997
struct HCLeaf *item;
bin/cpdup/hcproto.c
200
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
201
if (item->leafid == LC_PATH1)
bin/cpdup/hcproto.c
2014
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
2015
switch(item->leafid) {
bin/cpdup/hcproto.c
2017
count = HCC_INT32(item);
bin/cpdup/hcproto.c
202
UseCpFile = strdup(HCC_STRING(item));
bin/cpdup/hcproto.c
2033
(*gidlist)[i++] = HCC_INT32(item);
bin/cpdup/hcproto.c
258
struct HCLeaf *item;
bin/cpdup/hcproto.c
261
FOR_EACH_ITEM(item, trans, head)
bin/cpdup/hcproto.c
262
hc_decode_stat_item(st, item);
bin/cpdup/hcproto.c
267
hc_decode_stat_item(struct stat *st, struct HCLeaf *item)
bin/cpdup/hcproto.c
269
switch(item->leafid) {
bin/cpdup/hcproto.c
271
st->st_dev = HCC_INT32(item);
bin/cpdup/hcproto.c
274
st->st_ino = HCC_INT64(item);
bin/cpdup/hcproto.c
277
st->st_mode = HCC_INT32(item);
bin/cpdup/hcproto.c
280
st->st_nlink = HCC_INT32(item);
bin/cpdup/hcproto.c
283
st->st_uid = HCC_INT32(item);
bin/cpdup/hcproto.c
286
st->st_gid = HCC_INT32(item);
bin/cpdup/hcproto.c
289
st->st_rdev = HCC_INT32(item);
bin/cpdup/hcproto.c
292
st->st_atime = (time_t)HCC_INT64(item);
bin/cpdup/hcproto.c
295
st->st_mtime = (time_t)HCC_INT64(item);
bin/cpdup/hcproto.c
298
st->st_ctime = (time_t)HCC_INT64(item);
bin/cpdup/hcproto.c
302
st->st_atim.tv_nsec = HCC_INT32(item);
bin/cpdup/hcproto.c
305
st->st_mtim.tv_nsec = HCC_INT32(item);
bin/cpdup/hcproto.c
308
st->st_ctim.tv_nsec = HCC_INT32(item);
bin/cpdup/hcproto.c
312
st->st_size = HCC_INT64(item);
bin/cpdup/hcproto.c
315
st->st_blocks = HCC_INT64(item);
bin/cpdup/hcproto.c
318
st->st_blksize = HCC_INT32(item);
bin/cpdup/hcproto.c
322
st->st_flags = (uint32_t)HCC_INT64(item);
bin/cpdup/hcproto.c
332
struct HCLeaf *item;
bin/cpdup/hcproto.c
336
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
337
if (item->leafid == LC_PATH1)
bin/cpdup/hcproto.c
338
path = HCC_STRING(item);
bin/cpdup/hcproto.c
350
struct HCLeaf *item;
bin/cpdup/hcproto.c
354
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
355
if (item->leafid == LC_PATH1)
bin/cpdup/hcproto.c
356
path = HCC_STRING(item);
bin/cpdup/hcproto.c
412
struct HCLeaf *item;
bin/cpdup/hcproto.c
422
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
423
if (item->leafid == LC_DESCRIPTOR)
bin/cpdup/hcproto.c
424
desc = HCC_INT32(item);
bin/cpdup/hcproto.c
447
struct HCLeaf *item;
bin/cpdup/hcproto.c
452
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
453
if (item->leafid == LC_PATH1)
bin/cpdup/hcproto.c
454
path = HCC_STRING(item);
bin/cpdup/hcproto.c
475
struct HCLeaf *item;
bin/cpdup/hcproto.c
502
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
503
if (item->leafid == LC_PATH1)
bin/cpdup/hcproto.c
504
strlcpy(den->d_name, HCC_STRING(item), MAXNAMLEN + 1);
bin/cpdup/hcproto.c
514
while ((item = hcc_nextchaineditem(hc, head)) != NULL) {
bin/cpdup/hcproto.c
515
if (item->leafid == LC_PATH1) { /* this must be the last item */
bin/cpdup/hcproto.c
516
strlcpy(denbuf.d_name, HCC_STRING(item), MAXNAMLEN + 1);
bin/cpdup/hcproto.c
520
hc_decode_stat_item(*statpp, item);
bin/cpdup/hcproto.c
535
struct HCLeaf *item;
bin/cpdup/hcproto.c
539
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
540
if (item->leafid == LC_DESCRIPTOR)
bin/cpdup/hcproto.c
541
dir = hcc_get_descriptor(trans->hc, HCC_INT32(item), HC_DESC_DIR);
bin/cpdup/hcproto.c
596
struct HCLeaf *item;
bin/cpdup/hcproto.c
599
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
600
if (item->leafid == LC_DESCRIPTOR) {
bin/cpdup/hcproto.c
601
dir = hcc_get_descriptor(trans->hc, HCC_INT32(item), HC_DESC_DIR);
bin/cpdup/hcproto.c
603
hcc_set_descriptor(trans->hc, HCC_INT32(item),
bin/cpdup/hcproto.c
619
struct HCLeaf *item;
bin/cpdup/hcproto.c
626
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
627
if (item->leafid == LC_PATH1)
bin/cpdup/hcproto.c
628
path = HCC_STRING(item);
bin/cpdup/hcproto.c
669
struct HCLeaf *item;
bin/cpdup/hcproto.c
710
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
711
if (item->leafid == LC_DESCRIPTOR)
bin/cpdup/hcproto.c
712
desc = HCC_INT32(item);
bin/cpdup/hcproto.c
728
struct HCLeaf *item;
bin/cpdup/hcproto.c
737
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
738
switch(item->leafid) {
bin/cpdup/hcproto.c
740
path = HCC_STRING(item);
bin/cpdup/hcproto.c
743
nflags = HCC_INT32(item);
bin/cpdup/hcproto.c
746
mode = HCC_INT32(item);
bin/cpdup/hcproto.c
826
struct HCLeaf *item;
bin/cpdup/hcproto.c
831
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
832
if (item->leafid == LC_DESCRIPTOR)
bin/cpdup/hcproto.c
833
desc = HCC_INT32(item);
bin/cpdup/hcproto.c
859
struct HCLeaf *item;
bin/cpdup/hcproto.c
872
item = hcc_currentchaineditem(hc, head);
bin/cpdup/hcproto.c
874
item = hcc_nextchaineditem(hc, head);
bin/cpdup/hcproto.c
876
if (item == NULL) {
bin/cpdup/hcproto.c
881
if (item->leafid != LC_DATA)
bin/cpdup/hcproto.c
883
x = item->bytes - sizeof(*item) - offset;
bin/cpdup/hcproto.c
890
bcopy((char *)HCC_BINARYDATA(item) + offset, buf, x);
bin/cpdup/hcproto.c
911
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
912
if (item->leafid == LC_DATA) {
bin/cpdup/hcproto.c
913
x = item->bytes - sizeof(*item);
bin/cpdup/hcproto.c
916
bcopy(HCC_BINARYDATA(item), buf, x);
bin/cpdup/hcproto.c
934
struct HCLeaf *item;
bin/cpdup/hcproto.c
940
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
941
switch(item->leafid) {
bin/cpdup/hcproto.c
943
fdp = hcc_get_descriptor(trans->hc, HCC_INT32(item), HC_DESC_FD);
bin/cpdup/hcproto.c
946
bytes = HCC_INT32(item);
bin/cpdup/hcproto.c
967
struct HCLeaf *item;
bin/cpdup/hcproto.c
973
FOR_EACH_ITEM(item, trans, head) {
bin/cpdup/hcproto.c
974
if (item->leafid == LC_PATH1)
bin/cpdup/hcproto.c
975
path = HCC_STRING(item);
crypto/libressl/crypto/asn1/a_type.c
74
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/asn1/a_type.c
79
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/asn1/nsseq.c
85
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/asn1/nsseq.c
91
.item = &X509_it,
crypto/libressl/crypto/asn1/p5_pbe.c
73
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/asn1/p5_pbe.c
78
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/asn1/p5_pbev2.c
123
.item = &ASN1_ANY_it,
crypto/libressl/crypto/asn1/p5_pbev2.c
128
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/asn1/p5_pbev2.c
134
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/asn1/p5_pbev2.c
140
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/p5_pbev2.c
75
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/p5_pbev2.c
80
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/p8_pkey.c
103
.item = &X509_ATTRIBUTE_it,
crypto/libressl/crypto/asn1/p8_pkey.c
87
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/asn1/p8_pkey.c
92
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/p8_pkey.c
97
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/asn1/tasn_dec.c
1012
ASN1_item_ex_free(&aval, at->item);
crypto/libressl/crypto/asn1/tasn_dec.c
1084
if (!asn1_item_d2i(&aval, &cbs_object_content, at->item, -1, 0,
crypto/libressl/crypto/asn1/tasn_dec.c
1115
ASN1_item_ex_free(&aval, at->item);
crypto/libressl/crypto/asn1/tasn_dec.c
1142
ret = asn1_item_d2i(pval, cbs, at->item, tag_number, tag_class,
crypto/libressl/crypto/asn1/tasn_enc.c
354
tt->item, -1, iclass);
crypto/libressl/crypto/asn1/tasn_enc.c
373
asn1_set_seq_out(sk, out, skcontlen, tt->item,
crypto/libressl/crypto/asn1/tasn_enc.c
387
i = ASN1_item_ex_i2d(pval, NULL, tt->item,
crypto/libressl/crypto/asn1/tasn_enc.c
396
ASN1_item_ex_i2d(pval, out, tt->item,
crypto/libressl/crypto/asn1/tasn_enc.c
405
return ASN1_item_ex_i2d(pval, out, tt->item,
crypto/libressl/crypto/asn1/tasn_enc.c
434
const ASN1_ITEM *item, int do_sort, int iclass)
crypto/libressl/crypto/asn1/tasn_enc.c
460
ASN1_item_ex_i2d(&skitem, out, item, -1, iclass);
crypto/libressl/crypto/asn1/tasn_enc.c
470
tder->length = ASN1_item_ex_i2d(&skitem, &p, item, -1, iclass);
crypto/libressl/crypto/asn1/tasn_enc.c
72
int skcontlen, const ASN1_ITEM *item, int do_sort, int iclass);
crypto/libressl/crypto/asn1/tasn_fre.c
179
asn1_item_free(&vtmp, tt->item);
crypto/libressl/crypto/asn1/tasn_fre.c
184
asn1_item_free(pval, tt->item);
crypto/libressl/crypto/asn1/tasn_new.c
218
const ASN1_ITEM *it = tt->item;
crypto/libressl/crypto/asn1/tasn_new.c
257
asn1_item_clear(pval, tt->item);
crypto/libressl/crypto/asn1/tasn_prn.c
339
sname = tt->item->sname;
crypto/libressl/crypto/asn1/tasn_prn.c
371
tt->item, NULL, NULL, 1, pctx))
crypto/libressl/crypto/asn1/tasn_prn.c
382
return asn1_item_print_ctx(out, fld, indent, tt->item,
crypto/libressl/crypto/asn1/tasn_typ.c
605
.item = &ASN1_ANY_it,
crypto/libressl/crypto/asn1/tasn_typ.c
623
.item = &ASN1_ANY_it,
crypto/libressl/crypto/asn1/tasn_utl.c
254
adb = (const ASN1_ADB *)tt->item;
crypto/libressl/crypto/asn1/x_algor.c
68
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/asn1/x_algor.c
74
.item = &ASN1_ANY_it,
crypto/libressl/crypto/asn1/x_algor.c
92
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/x_attrib.c
86
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/asn1/x_attrib.c
93
.item = &ASN1_ANY_it,
crypto/libressl/crypto/asn1/x_crl.c
147
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/asn1/x_crl.c
152
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/x_crl.c
157
.item = &X509_NAME_it,
crypto/libressl/crypto/asn1/x_crl.c
162
.item = &ASN1_TIME_it,
crypto/libressl/crypto/asn1/x_crl.c
168
.item = &ASN1_TIME_it,
crypto/libressl/crypto/asn1/x_crl.c
174
.item = &X509_REVOKED_it,
crypto/libressl/crypto/asn1/x_crl.c
180
.item = &X509_EXTENSION_it,
crypto/libressl/crypto/asn1/x_crl.c
414
.item = &X509_CRL_INFO_it,
crypto/libressl/crypto/asn1/x_crl.c
419
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/x_crl.c
424
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/asn1/x_crl.c
79
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/asn1/x_crl.c
84
.item = &ASN1_TIME_it,
crypto/libressl/crypto/asn1/x_crl.c
90
.item = &X509_EXTENSION_it,
crypto/libressl/crypto/asn1/x_exten.c
70
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/asn1/x_exten.c
76
.item = &ASN1_BOOLEAN_it,
crypto/libressl/crypto/asn1/x_exten.c
81
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/asn1/x_exten.c
99
.item = &X509_EXTENSION_it,
crypto/libressl/crypto/asn1/x_name.c
100
.item = &ASN1_PRINTABLE_it,
crypto/libressl/crypto/asn1/x_name.c
154
.item = &X509_NAME_ENTRY_it,
crypto/libressl/crypto/asn1/x_name.c
172
.item = &X509_NAME_ENTRIES_it,
crypto/libressl/crypto/asn1/x_name.c
95
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/asn1/x_pubkey.c
101
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/asn1/x_pubkey.c
96
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/x_req.c
106
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/asn1/x_req.c
111
.item = &X509_NAME_it,
crypto/libressl/crypto/asn1/x_req.c
116
.item = &X509_PUBKEY_it,
crypto/libressl/crypto/asn1/x_req.c
125
.item = &X509_ATTRIBUTE_it,
crypto/libressl/crypto/asn1/x_req.c
175
.item = &X509_REQ_INFO_it,
crypto/libressl/crypto/asn1/x_req.c
180
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/x_req.c
185
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/asn1/x_sig.c
70
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/x_sig.c
75
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/asn1/x_spki.c
122
.item = &NETSCAPE_SPKAC_it,
crypto/libressl/crypto/asn1/x_spki.c
129
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/x_spki.c
136
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/asn1/x_spki.c
72
.item = &X509_PUBKEY_it,
crypto/libressl/crypto/asn1/x_spki.c
77
.item = &ASN1_IA5STRING_it,
crypto/libressl/crypto/asn1/x_val.c
68
.item = &ASN1_TIME_it,
crypto/libressl/crypto/asn1/x_val.c
73
.item = &ASN1_TIME_it,
crypto/libressl/crypto/asn1/x_x509.c
104
.item = &X509_NAME_it,
crypto/libressl/crypto/asn1/x_x509.c
109
.item = &X509_PUBKEY_it,
crypto/libressl/crypto/asn1/x_x509.c
116
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/asn1/x_x509.c
123
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/asn1/x_x509.c
131
.item = &X509_EXTENSION_it,
crypto/libressl/crypto/asn1/x_x509.c
234
.item = &X509_CINF_it,
crypto/libressl/crypto/asn1/x_x509.c
239
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/x_x509.c
244
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/asn1/x_x509.c
79
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/asn1/x_x509.c
84
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/asn1/x_x509.c
89
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/x_x509.c
94
.item = &X509_NAME_it,
crypto/libressl/crypto/asn1/x_x509.c
99
.item = &X509_VAL_it,
crypto/libressl/crypto/asn1/x_x509a.c
101
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/asn1/x_x509a.c
109
.item = &X509_ALGOR_it,
crypto/libressl/crypto/asn1/x_x509a.c
81
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/asn1/x_x509a.c
89
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/asn1/x_x509a.c
95
.item = &ASN1_UTF8STRING_it,
crypto/libressl/crypto/bn/bn_ctx.c
163
BN_POOL_ITEM *item = ctx->pool.head;
crypto/libressl/crypto/bn/bn_ctx.c
169
item->vals[bnidx++ % BN_CTX_POOL_SIZE].dmax);
crypto/libressl/crypto/bn/bn_ctx.c
171
item = item->next;
crypto/libressl/crypto/bn/bn_ctx.c
416
BN_POOL_ITEM *item = p->head;
crypto/libressl/crypto/bn/bn_ctx.c
417
while (item) {
crypto/libressl/crypto/bn/bn_ctx.c
419
BIGNUM *bn = item->vals;
crypto/libressl/crypto/bn/bn_ctx.c
425
item = item->next;
crypto/libressl/crypto/bn/bn_ctx.c
438
BN_POOL_ITEM *item = malloc(sizeof(BN_POOL_ITEM));
crypto/libressl/crypto/bn/bn_ctx.c
439
if (!item)
crypto/libressl/crypto/bn/bn_ctx.c
442
bn = item->vals;
crypto/libressl/crypto/bn/bn_ctx.c
445
item->prev = p->tail;
crypto/libressl/crypto/bn/bn_ctx.c
446
item->next = NULL;
crypto/libressl/crypto/bn/bn_ctx.c
449
p->head = p->current = p->tail = item;
crypto/libressl/crypto/bn/bn_ctx.c
451
p->tail->next = item;
crypto/libressl/crypto/bn/bn_ctx.c
452
p->tail = item;
crypto/libressl/crypto/bn/bn_ctx.c
453
p->current = item;
crypto/libressl/crypto/bn/bn_ctx.c
458
return item->vals;
crypto/libressl/crypto/cms/cms_asn1.c
1006
.item = &LONG_it,
crypto/libressl/crypto/cms/cms_asn1.c
1013
.item = &CMS_OriginatorInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
102
.item = &ASN1_ANY_it,
crypto/libressl/crypto/cms/cms_asn1.c
1020
.item = &CMS_RecipientInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
1027
.item = &CMS_EncryptedContentInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
1034
.item = &X509_ATTRIBUTE_it,
crypto/libressl/crypto/cms/cms_asn1.c
1054
.item = &LONG_it,
crypto/libressl/crypto/cms/cms_asn1.c
1061
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
1068
.item = &CMS_EncapsulatedContentInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
1075
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
1095
.item = &LONG_it,
crypto/libressl/crypto/cms/cms_asn1.c
1102
.item = &CMS_EncryptedContentInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
1109
.item = &X509_ATTRIBUTE_it,
crypto/libressl/crypto/cms/cms_asn1.c
1129
.item = &LONG_it,
crypto/libressl/crypto/cms/cms_asn1.c
1136
.item = &CMS_OriginatorInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
1143
.item = &CMS_RecipientInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
1150
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
1157
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
1164
.item = &CMS_EncapsulatedContentInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
1171
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
1178
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
1185
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
1205
.item = &LONG_it,
crypto/libressl/crypto/cms/cms_asn1.c
1212
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
1219
.item = &CMS_EncapsulatedContentInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
122
.item = &X509_it,
crypto/libressl/crypto/cms/cms_asn1.c
1240
.item = &ASN1_ANY_it,
crypto/libressl/crypto/cms/cms_asn1.c
1251
.item = &ASN1_OCTET_STRING_NDEF_it,
crypto/libressl/crypto/cms/cms_asn1.c
1262
.item = &CMS_SignedData_it,
crypto/libressl/crypto/cms/cms_asn1.c
1273
.item = &CMS_EnvelopedData_it,
crypto/libressl/crypto/cms/cms_asn1.c
1284
.item = &CMS_DigestedData_it,
crypto/libressl/crypto/cms/cms_asn1.c
129
.item = &ASN1_SEQUENCE_it,
crypto/libressl/crypto/cms/cms_asn1.c
1295
.item = &CMS_EncryptedData_it,
crypto/libressl/crypto/cms/cms_asn1.c
1306
.item = &CMS_AuthenticatedData_it,
crypto/libressl/crypto/cms/cms_asn1.c
1317
.item = &CMS_CompressedData_it,
crypto/libressl/crypto/cms/cms_asn1.c
136
.item = &ASN1_SEQUENCE_it,
crypto/libressl/crypto/cms/cms_asn1.c
1378
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/cms/cms_asn1.c
1385
.item = (const ASN1_ITEM *)&CMS_ContentInfo_adb,
crypto/libressl/crypto/cms/cms_asn1.c
1411
.item = &X509_ATTRIBUTE_it,
crypto/libressl/crypto/cms/cms_asn1.c
143
.item = &ASN1_SEQUENCE_it,
crypto/libressl/crypto/cms/cms_asn1.c
1434
.item = &X509_ATTRIBUTE_it,
crypto/libressl/crypto/cms/cms_asn1.c
1455
.item = &LONG_it,
crypto/libressl/crypto/cms/cms_asn1.c
1462
.item = &GENERAL_NAMES_it,
crypto/libressl/crypto/cms/cms_asn1.c
1482
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
1489
.item = &CMS_ReceiptsFrom_it,
crypto/libressl/crypto/cms/cms_asn1.c
1496
.item = &GENERAL_NAMES_it,
crypto/libressl/crypto/cms/cms_asn1.c
150
.item = &CMS_OtherCertificateFormat_it,
crypto/libressl/crypto/cms/cms_asn1.c
1516
.item = &LONG_it,
crypto/libressl/crypto/cms/cms_asn1.c
1523
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/cms/cms_asn1.c
1530
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
1537
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
1568
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
1575
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
1582
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
170
.item = &CMS_IssuerAndSerialNumber_it,
crypto/libressl/crypto/cms/cms_asn1.c
177
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
197
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/cms/cms_asn1.c
204
.item = &ASN1_OCTET_STRING_NDEF_it,
crypto/libressl/crypto/cms/cms_asn1.c
245
.item = &LONG_it,
crypto/libressl/crypto/cms/cms_asn1.c
252
.item = &CMS_SignerIdentifier_it,
crypto/libressl/crypto/cms/cms_asn1.c
259
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
266
.item = &X509_ATTRIBUTE_it,
crypto/libressl/crypto/cms/cms_asn1.c
273
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
280
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
287
.item = &X509_ATTRIBUTE_it,
crypto/libressl/crypto/cms/cms_asn1.c
307
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/cms/cms_asn1.c
314
.item = &ASN1_ANY_it,
crypto/libressl/crypto/cms/cms_asn1.c
334
.item = &X509_CRL_it,
crypto/libressl/crypto/cms/cms_asn1.c
341
.item = &CMS_OtherRevocationInfoFormat_it,
crypto/libressl/crypto/cms/cms_asn1.c
361
.item = &LONG_it,
crypto/libressl/crypto/cms/cms_asn1.c
368
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
375
.item = &CMS_EncapsulatedContentInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
382
.item = &CMS_CertificateChoices_it,
crypto/libressl/crypto/cms/cms_asn1.c
389
.item = &CMS_RevocationInfoChoice_it,
crypto/libressl/crypto/cms/cms_asn1.c
396
.item = &CMS_SignerInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
416
.item = &CMS_CertificateChoices_it,
crypto/libressl/crypto/cms/cms_asn1.c
423
.item = &CMS_RevocationInfoChoice_it,
crypto/libressl/crypto/cms/cms_asn1.c
443
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/cms/cms_asn1.c
450
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
457
.item = &ASN1_OCTET_STRING_NDEF_it,
crypto/libressl/crypto/cms/cms_asn1.c
477
.item = &LONG_it,
crypto/libressl/crypto/cms/cms_asn1.c
484
.item = &CMS_SignerIdentifier_it,
crypto/libressl/crypto/cms/cms_asn1.c
491
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
498
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
518
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/cms/cms_asn1.c
525
.item = &ASN1_ANY_it,
crypto/libressl/crypto/cms/cms_asn1.c
545
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
552
.item = &ASN1_GENERALIZEDTIME_it,
crypto/libressl/crypto/cms/cms_asn1.c
559
.item = &CMS_OtherKeyAttribute_it,
crypto/libressl/crypto/cms/cms_asn1.c
579
.item = &CMS_IssuerAndSerialNumber_it,
crypto/libressl/crypto/cms/cms_asn1.c
586
.item = &CMS_RecipientKeyIdentifier_it,
crypto/libressl/crypto/cms/cms_asn1.c
624
.item = &CMS_KeyAgreeRecipientIdentifier_it,
crypto/libressl/crypto/cms/cms_asn1.c
631
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
651
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
658
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
678
.item = &CMS_IssuerAndSerialNumber_it,
crypto/libressl/crypto/cms/cms_asn1.c
68
.item = &X509_NAME_it,
crypto/libressl/crypto/cms/cms_asn1.c
685
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
692
.item = &CMS_OriginatorPublicKey_it,
crypto/libressl/crypto/cms/cms_asn1.c
737
.item = &LONG_it,
crypto/libressl/crypto/cms/cms_asn1.c
744
.item = &CMS_OriginatorIdentifierOrKey_it,
crypto/libressl/crypto/cms/cms_asn1.c
75
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/cms/cms_asn1.c
751
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
758
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
765
.item = &CMS_RecipientEncryptedKey_it,
crypto/libressl/crypto/cms/cms_asn1.c
785
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
792
.item = &ASN1_GENERALIZEDTIME_it,
crypto/libressl/crypto/cms/cms_asn1.c
799
.item = &CMS_OtherKeyAttribute_it,
crypto/libressl/crypto/cms/cms_asn1.c
819
.item = &LONG_it,
crypto/libressl/crypto/cms/cms_asn1.c
826
.item = &CMS_KEKIdentifier_it,
crypto/libressl/crypto/cms/cms_asn1.c
833
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
840
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
860
.item = &LONG_it,
crypto/libressl/crypto/cms/cms_asn1.c
867
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
874
.item = &X509_ALGOR_it,
crypto/libressl/crypto/cms/cms_asn1.c
881
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/cms/cms_asn1.c
901
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/cms/cms_asn1.c
908
.item = &ASN1_ANY_it,
crypto/libressl/crypto/cms/cms_asn1.c
95
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/cms/cms_asn1.c
958
.item = &CMS_KeyTransRecipientInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
965
.item = &CMS_KeyAgreeRecipientInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
972
.item = &CMS_KEKRecipientInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
979
.item = &CMS_PasswordRecipientInfo_it,
crypto/libressl/crypto/cms/cms_asn1.c
986
.item = &CMS_OtherRecipientInfo_it,
crypto/libressl/crypto/dh/dh_asn1.c
106
.item = &BIGNUM_it,
crypto/libressl/crypto/dh/dh_asn1.c
113
.item = &ZLONG_it,
crypto/libressl/crypto/dh/dh_asn1.c
99
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
100
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
107
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
189
.item = &LONG_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
196
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
203
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
210
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
217
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
224
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
266
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
273
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
280
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
346
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
353
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
360
.item = &BIGNUM_it,
crypto/libressl/crypto/dsa/dsa_asn1.c
367
.item = &BIGNUM_it,
crypto/libressl/crypto/ec/ec_asn1.c
210
.item = &LONG_it,
crypto/libressl/crypto/ec/ec_asn1.c
217
.item = &LONG_it,
crypto/libressl/crypto/ec/ec_asn1.c
224
.item = &LONG_it,
crypto/libressl/crypto/ec/ec_asn1.c
258
.item = &ASN1_ANY_it,
crypto/libressl/crypto/ec/ec_asn1.c
269
.item = &ASN1_NULL_it,
crypto/libressl/crypto/ec/ec_asn1.c
280
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ec/ec_asn1.c
291
.item = &X9_62_PENTANOMIAL_it,
crypto/libressl/crypto/ec/ec_asn1.c
312
.item = &LONG_it,
crypto/libressl/crypto/ec/ec_asn1.c
319
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/ec/ec_asn1.c
326
.item = (const ASN1_ITEM *)&X9_62_CHARACTERISTIC_TWO_adb,
crypto/libressl/crypto/ec/ec_asn1.c
360
.item = &ASN1_ANY_it,
crypto/libressl/crypto/ec/ec_asn1.c
371
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ec/ec_asn1.c
382
.item = &X9_62_CHARACTERISTIC_TWO_it,
crypto/libressl/crypto/ec/ec_asn1.c
403
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/ec/ec_asn1.c
410
.item = (const ASN1_ITEM *)&X9_62_FIELDID_adb,
crypto/libressl/crypto/ec/ec_asn1.c
430
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/ec/ec_asn1.c
437
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/ec/ec_asn1.c
444
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/ec/ec_asn1.c
464
.item = &LONG_it,
crypto/libressl/crypto/ec/ec_asn1.c
471
.item = &X9_62_FIELDID_it,
crypto/libressl/crypto/ec/ec_asn1.c
478
.item = &X9_62_CURVE_it,
crypto/libressl/crypto/ec/ec_asn1.c
485
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/ec/ec_asn1.c
492
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ec/ec_asn1.c
499
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ec/ec_asn1.c
534
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/ec/ec_asn1.c
541
.item = &ECPARAMETERS_it,
crypto/libressl/crypto/ec/ec_asn1.c
548
.item = &ASN1_NULL_it,
crypto/libressl/crypto/ec/ec_asn1.c
598
.item = &LONG_it,
crypto/libressl/crypto/ec/ec_asn1.c
605
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/ec/ec_asn1.c
612
.item = &ECPKPARAMETERS_it,
crypto/libressl/crypto/ec/ec_asn1.c
619
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/ecdsa/ecs_asn1.c
66
.item = &BIGNUM_it,
crypto/libressl/crypto/ecdsa/ecs_asn1.c
73
.item = &BIGNUM_it,
crypto/libressl/crypto/engine/eng_lib.c
167
ENGINE_CLEANUP_ITEM *item = malloc(sizeof(ENGINE_CLEANUP_ITEM));
crypto/libressl/crypto/engine/eng_lib.c
169
if (!item)
crypto/libressl/crypto/engine/eng_lib.c
171
item->cb = cb;
crypto/libressl/crypto/engine/eng_lib.c
172
return item;
crypto/libressl/crypto/engine/eng_lib.c
178
ENGINE_CLEANUP_ITEM *item;
crypto/libressl/crypto/engine/eng_lib.c
182
item = int_cleanup_item(cb);
crypto/libressl/crypto/engine/eng_lib.c
183
if (item)
crypto/libressl/crypto/engine/eng_lib.c
184
sk_ENGINE_CLEANUP_ITEM_insert(cleanup_stack, item, 0);
crypto/libressl/crypto/engine/eng_lib.c
190
ENGINE_CLEANUP_ITEM *item;
crypto/libressl/crypto/engine/eng_lib.c
194
item = int_cleanup_item(cb);
crypto/libressl/crypto/engine/eng_lib.c
195
if (item)
crypto/libressl/crypto/engine/eng_lib.c
196
sk_ENGINE_CLEANUP_ITEM_push(cleanup_stack, item);
crypto/libressl/crypto/engine/eng_lib.c
200
engine_cleanup_cb_free(ENGINE_CLEANUP_ITEM *item)
crypto/libressl/crypto/engine/eng_lib.c
202
(*(item->cb))();
crypto/libressl/crypto/engine/eng_lib.c
203
free(item);
crypto/libressl/crypto/ex_data.c
302
EX_CLASS_ITEM *item = (EX_CLASS_ITEM *)a_void;
crypto/libressl/crypto/ex_data.c
303
sk_CRYPTO_EX_DATA_FUNCS_pop_free(item->meth, def_cleanup_util_cb);
crypto/libressl/crypto/ex_data.c
304
free(item);
crypto/libressl/crypto/ex_data.c
344
def_add_index(EX_CLASS_ITEM *item, long argl, void *argp,
crypto/libressl/crypto/ex_data.c
360
while (sk_CRYPTO_EX_DATA_FUNCS_num(item->meth) <= item->meth_num) {
crypto/libressl/crypto/ex_data.c
361
if (!sk_CRYPTO_EX_DATA_FUNCS_push(item->meth, NULL)) {
crypto/libressl/crypto/ex_data.c
367
toret = item->meth_num++;
crypto/libressl/crypto/ex_data.c
368
(void)sk_CRYPTO_EX_DATA_FUNCS_set(item->meth, toret, a);
crypto/libressl/crypto/ex_data.c
403
EX_CLASS_ITEM *item = def_get_class(class_index);
crypto/libressl/crypto/ex_data.c
405
if (!item)
crypto/libressl/crypto/ex_data.c
407
return def_add_index(item, argl, argp, new_func, dup_func, free_func);
crypto/libressl/crypto/ex_data.c
420
EX_CLASS_ITEM *item = def_get_class(class_index);
crypto/libressl/crypto/ex_data.c
422
if (!item)
crypto/libressl/crypto/ex_data.c
427
mx = sk_CRYPTO_EX_DATA_FUNCS_num(item->meth);
crypto/libressl/crypto/ex_data.c
434
item->meth, i);
crypto/libressl/crypto/ex_data.c
460
EX_CLASS_ITEM *item;
crypto/libressl/crypto/ex_data.c
465
if ((item = def_get_class(class_index)) == NULL)
crypto/libressl/crypto/ex_data.c
468
mx = sk_CRYPTO_EX_DATA_FUNCS_num(item->meth);
crypto/libressl/crypto/ex_data.c
478
item->meth, i);
crypto/libressl/crypto/ex_data.c
502
EX_CLASS_ITEM *item;
crypto/libressl/crypto/ex_data.c
506
if ((item = def_get_class(class_index)) == NULL)
crypto/libressl/crypto/ex_data.c
509
mx = sk_CRYPTO_EX_DATA_FUNCS_num(item->meth);
crypto/libressl/crypto/ex_data.c
516
item->meth, i);
crypto/libressl/crypto/gost/gost_asn1.c
130
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/gost/gost_asn1.c
137
.item = &X509_PUBKEY_it,
crypto/libressl/crypto/gost/gost_asn1.c
144
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/gost/gost_asn1.c
190
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/gost/gost_asn1.c
197
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/gost/gost_asn1.c
204
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/gost/gost_asn1.c
249
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/gost/gost_asn1.c
256
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/gost/gost_asn1.c
26
.item = &GOST_KEY_INFO_it,
crypto/libressl/crypto/gost/gost_asn1.c
33
.item = &GOST_KEY_AGREEMENT_INFO_it,
crypto/libressl/crypto/gost/gost_asn1.c
78
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/gost/gost_asn1.c
85
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
130
.item = &X509_ALGOR_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
137
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
144
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
151
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
197
.item = &OCSP_CERTID_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
204
.item = &X509_EXTENSION_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
250
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
257
.item = &GENERAL_NAME_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
264
.item = &OCSP_ONEREQ_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
271
.item = &X509_EXTENSION_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
317
.item = &OCSP_REQINFO_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
324
.item = &OCSP_SIGNATURE_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
383
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
390
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
436
.item = &ASN1_ENUMERATED_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
443
.item = &OCSP_RESPBYTES_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
501
.item = &X509_NAME_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
508
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
554
.item = &ASN1_GENERALIZEDTIME_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
561
.item = &ASN1_ENUMERATED_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
607
.item = &ASN1_NULL_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
614
.item = &OCSP_REVOKEDINFO_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
621
.item = &ASN1_NULL_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
667
.item = &OCSP_CERTID_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
674
.item = &OCSP_CERTSTATUS_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
681
.item = &ASN1_GENERALIZEDTIME_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
688
.item = &ASN1_GENERALIZEDTIME_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
695
.item = &X509_EXTENSION_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
70
.item = &X509_ALGOR_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
741
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
748
.item = &OCSP_RESPID_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
755
.item = &ASN1_GENERALIZEDTIME_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
762
.item = &OCSP_SINGLERESP_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
769
.item = &X509_EXTENSION_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
77
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
815
.item = &OCSP_RESPDATA_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
822
.item = &X509_ALGOR_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
829
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
836
.item = &X509_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
84
.item = &X509_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
882
.item = &ASN1_IA5STRING_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
889
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
896
.item = &ASN1_GENERALIZEDTIME_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
942
.item = &X509_NAME_it,
crypto/libressl/crypto/ocsp/ocsp_asn.c
949
.item = &ACCESS_DESCRIPTION_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
134
.item = &X509_SIG_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
141
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
148
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
193
.item = &ASN1_ANY_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
204
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
215
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
226
.item = &ASN1_IA5STRING_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
247
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
254
.item = (const ASN1_ITEM *)&PKCS12_BAGS_adb,
crypto/libressl/crypto/pkcs12/p12_asn.c
299
.item = &ASN1_ANY_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
310
.item = &PKCS8_PRIV_KEY_INFO_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
321
.item = &X509_SIG_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
332
.item = &PKCS12_SAFEBAG_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
342
.item = &PKCS12_BAGS_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
353
.item = &PKCS12_BAGS_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
364
.item = &PKCS12_BAGS_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
385
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
392
.item = (const ASN1_ITEM *)&PKCS12_SAFEBAG_adb,
crypto/libressl/crypto/pkcs12/p12_asn.c
399
.item = &X509_ATTRIBUTE_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
445
.item = &PKCS12_SAFEBAG_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
464
.item = &PKCS7_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
74
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
81
.item = &PKCS7_it,
crypto/libressl/crypto/pkcs12/p12_asn.c
88
.item = &PKCS12_MAC_DATA_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
107
.item = &PKCS7_ENVELOPE_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
118
.item = &PKCS7_SIGN_ENVELOPE_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
129
.item = &PKCS7_DIGEST_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
140
.item = &PKCS7_ENCRYPT_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
196
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
203
.item = (const ASN1_ITEM *)&PKCS7_adb,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
261
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
268
.item = &X509_ALGOR_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
275
.item = &PKCS7_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
282
.item = &X509_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
289
.item = &X509_CRL_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
296
.item = &PKCS7_SIGNER_INFO_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
361
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
368
.item = &PKCS7_ISSUER_AND_SERIAL_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
375
.item = &X509_ALGOR_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
387
.item = &X509_ATTRIBUTE_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
394
.item = &X509_ALGOR_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
401
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
408
.item = &X509_ATTRIBUTE_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
454
.item = &X509_NAME_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
461
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
507
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
514
.item = &PKCS7_RECIP_INFO_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
521
.item = &PKCS7_ENC_CONTENT_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
586
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
593
.item = &PKCS7_ISSUER_AND_SERIAL_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
600
.item = &X509_ALGOR_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
607
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
653
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
660
.item = &X509_ALGOR_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
667
.item = &ASN1_OCTET_STRING_NDEF_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
713
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
720
.item = &PKCS7_RECIP_INFO_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
727
.item = &X509_ALGOR_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
734
.item = &PKCS7_ENC_CONTENT_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
74
.item = &ASN1_ANY_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
741
.item = &X509_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
748
.item = &X509_CRL_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
755
.item = &PKCS7_SIGNER_INFO_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
801
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
808
.item = &PKCS7_ENC_CONTENT_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
85
.item = &ASN1_OCTET_STRING_NDEF_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
854
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
861
.item = &X509_ALGOR_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
868
.item = &PKCS7_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
875
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
926
.item = &X509_ATTRIBUTE_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
948
.item = &X509_ATTRIBUTE_it,
crypto/libressl/crypto/pkcs7/pk7_asn1.c
96
.item = &PKCS7_SIGNED_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
106
.item = &BIGNUM_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
113
.item = &BIGNUM_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
120
.item = &BIGNUM_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
127
.item = &BIGNUM_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
134
.item = &BIGNUM_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
141
.item = &BIGNUM_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
148
.item = &BIGNUM_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
155
.item = &BIGNUM_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
184
.item = &BIGNUM_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
191
.item = &BIGNUM_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
231
.item = &X509_ALGOR_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
238
.item = &X509_ALGOR_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
245
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
252
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
317
.item = &X509_ALGOR_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
324
.item = &X509_ALGOR_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
331
.item = &X509_ALGOR_it,
crypto/libressl/crypto/rsa/rsa_asn1.c
99
.item = &LONG_it,
crypto/libressl/crypto/ts/ts_asn1.c
157
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ts/ts_asn1.c
164
.item = &TS_MSG_IMPRINT_it,
crypto/libressl/crypto/ts/ts_asn1.c
171
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/ts/ts_asn1.c
178
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ts/ts_asn1.c
185
.item = &ASN1_FBOOLEAN_it,
crypto/libressl/crypto/ts/ts_asn1.c
192
.item = &X509_EXTENSION_it,
crypto/libressl/crypto/ts/ts_asn1.c
270
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ts/ts_asn1.c
277
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ts/ts_asn1.c
284
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ts/ts_asn1.c
336
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ts/ts_asn1.c
343
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/ts/ts_asn1.c
350
.item = &TS_MSG_IMPRINT_it,
crypto/libressl/crypto/ts/ts_asn1.c
357
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ts/ts_asn1.c
364
.item = &ASN1_GENERALIZEDTIME_it,
crypto/libressl/crypto/ts/ts_asn1.c
371
.item = &TS_ACCURACY_it,
crypto/libressl/crypto/ts/ts_asn1.c
378
.item = &ASN1_FBOOLEAN_it,
crypto/libressl/crypto/ts/ts_asn1.c
385
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ts/ts_asn1.c
392
.item = &GENERAL_NAME_it,
crypto/libressl/crypto/ts/ts_asn1.c
399
.item = &X509_EXTENSION_it,
crypto/libressl/crypto/ts/ts_asn1.c
477
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ts/ts_asn1.c
484
.item = &ASN1_UTF8STRING_it,
crypto/libressl/crypto/ts/ts_asn1.c
491
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/ts/ts_asn1.c
595
.item = &TS_STATUS_INFO_it,
crypto/libressl/crypto/ts/ts_asn1.c
602
.item = &PKCS7_it,
crypto/libressl/crypto/ts/ts_asn1.c
680
.item = &GENERAL_NAME_it,
crypto/libressl/crypto/ts/ts_asn1.c
687
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/ts/ts_asn1.c
72
.item = &X509_ALGOR_it,
crypto/libressl/crypto/ts/ts_asn1.c
739
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/ts/ts_asn1.c
746
.item = &ESS_ISSUER_SERIAL_it,
crypto/libressl/crypto/ts/ts_asn1.c
79
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/ts/ts_asn1.c
798
.item = &ESS_CERT_ID_it,
crypto/libressl/crypto/ts/ts_asn1.c
805
.item = &POLICYINFO_it,
crypto/libressl/crypto/ts/ts_asn1.c
857
.item = &X509_ALGOR_it,
crypto/libressl/crypto/ts/ts_asn1.c
864
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/ts/ts_asn1.c
871
.item = &ESS_ISSUER_SERIAL_it,
crypto/libressl/crypto/ts/ts_asn1.c
922
.item = &ESS_CERT_ID_V2_it,
crypto/libressl/crypto/ts/ts_asn1.c
929
.item = &POLICYINFO_it,
crypto/libressl/crypto/x509/x509_addr.c
119
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/x509/x509_addr.c
126
.item = &IPAddressRange_it,
crypto/libressl/crypto/x509/x509_addr.c
146
.item = &ASN1_NULL_it,
crypto/libressl/crypto/x509/x509_addr.c
153
.item = &IPAddressOrRange_it,
crypto/libressl/crypto/x509/x509_addr.c
173
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/x509/x509_addr.c
180
.item = &IPAddressChoice_it,
crypto/libressl/crypto/x509/x509_addr.c
199
.item = &IPAddressFamily_it,
crypto/libressl/crypto/x509/x509_addr.c
92
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/x509/x509_addr.c
99
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/x509/x509_akeya.c
72
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/x509/x509_akeya.c
79
.item = &GENERAL_NAME_it,
crypto/libressl/crypto/x509/x509_akeya.c
86
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/x509/x509_asid.c
113
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/x509/x509_asid.c
120
.item = &ASRange_it,
crypto/libressl/crypto/x509/x509_asid.c
140
.item = &ASN1_NULL_it,
crypto/libressl/crypto/x509/x509_asid.c
147
.item = &ASIdOrRange_it,
crypto/libressl/crypto/x509/x509_asid.c
167
.item = &ASIdentifierChoice_it,
crypto/libressl/crypto/x509/x509_asid.c
174
.item = &ASIdentifierChoice_it,
crypto/libressl/crypto/x509/x509_asid.c
86
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/x509/x509_asid.c
93
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/x509/x509_bcons.c
103
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/x509/x509_bcons.c
96
.item = &ASN1_FBOOLEAN_it,
crypto/libressl/crypto/x509/x509_cpols.c
108
.item = &POLICYINFO_it,
crypto/libressl/crypto/x509/x509_cpols.c
153
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/x509/x509_cpols.c
160
.item = &POLICYQUALINFO_it,
crypto/libressl/crypto/x509/x509_cpols.c
205
.item = &ASN1_ANY_it,
crypto/libressl/crypto/x509/x509_cpols.c
216
.item = &ASN1_IA5STRING_it,
crypto/libressl/crypto/x509/x509_cpols.c
227
.item = &USERNOTICE_it,
crypto/libressl/crypto/x509/x509_cpols.c
248
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/x509/x509_cpols.c
255
.item = (const ASN1_ITEM *)&POLICYQUALINFO_adb,
crypto/libressl/crypto/x509/x509_cpols.c
301
.item = &NOTICEREF_it,
crypto/libressl/crypto/x509/x509_cpols.c
308
.item = &DISPLAYTEXT_it,
crypto/libressl/crypto/x509/x509_cpols.c
354
.item = &DISPLAYTEXT_it,
crypto/libressl/crypto/x509/x509_cpols.c
361
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/x509/x509_crld.c
400
.item = &GENERAL_NAME_it,
crypto/libressl/crypto/x509/x509_crld.c
407
.item = &X509_NAME_ENTRY_it,
crypto/libressl/crypto/x509/x509_crld.c
454
.item = &DIST_POINT_NAME_it,
crypto/libressl/crypto/x509/x509_crld.c
461
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/x509/x509_crld.c
468
.item = &GENERAL_NAME_it,
crypto/libressl/crypto/x509/x509_crld.c
513
.item = &DIST_POINT_it,
crypto/libressl/crypto/x509/x509_crld.c
558
.item = &DIST_POINT_NAME_it,
crypto/libressl/crypto/x509/x509_crld.c
565
.item = &ASN1_FBOOLEAN_it,
crypto/libressl/crypto/x509/x509_crld.c
572
.item = &ASN1_FBOOLEAN_it,
crypto/libressl/crypto/x509/x509_crld.c
579
.item = &ASN1_BIT_STRING_it,
crypto/libressl/crypto/x509/x509_crld.c
586
.item = &ASN1_FBOOLEAN_it,
crypto/libressl/crypto/x509/x509_crld.c
593
.item = &ASN1_FBOOLEAN_it,
crypto/libressl/crypto/x509/x509_extku.c
111
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/x509/x509_genn.c
127
.item = &DIRECTORYSTRING_it,
crypto/libressl/crypto/x509/x509_genn.c
134
.item = &DIRECTORYSTRING_it,
crypto/libressl/crypto/x509/x509_genn.c
180
.item = &OTHERNAME_it,
crypto/libressl/crypto/x509/x509_genn.c
187
.item = &ASN1_IA5STRING_it,
crypto/libressl/crypto/x509/x509_genn.c
194
.item = &ASN1_IA5STRING_it,
crypto/libressl/crypto/x509/x509_genn.c
202
.item = &ASN1_SEQUENCE_it,
crypto/libressl/crypto/x509/x509_genn.c
210
.item = &X509_NAME_it,
crypto/libressl/crypto/x509/x509_genn.c
217
.item = &EDIPARTYNAME_it,
crypto/libressl/crypto/x509/x509_genn.c
224
.item = &ASN1_IA5STRING_it,
crypto/libressl/crypto/x509/x509_genn.c
231
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/x509/x509_genn.c
238
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/x509/x509_genn.c
283
.item = &GENERAL_NAME_it,
crypto/libressl/crypto/x509/x509_genn.c
72
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/x509/x509_genn.c
80
.item = &ASN1_ANY_it,
crypto/libressl/crypto/x509/x509_info.c
114
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/x509/x509_info.c
121
.item = &GENERAL_NAME_it,
crypto/libressl/crypto/x509/x509_info.c
166
.item = &ACCESS_DESCRIPTION_it,
crypto/libressl/crypto/x509/x509_ncons.c
107
.item = &GENERAL_NAME_it,
crypto/libressl/crypto/x509/x509_ncons.c
114
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/x509/x509_ncons.c
121
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/x509/x509_ncons.c
141
.item = &GENERAL_SUBTREE_it,
crypto/libressl/crypto/x509/x509_ncons.c
148
.item = &GENERAL_SUBTREE_it,
crypto/libressl/crypto/x509/x509_pcia.c
100
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/x509/x509_pcia.c
107
.item = &PROXY_POLICY_it,
crypto/libressl/crypto/x509/x509_pcia.c
47
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/x509/x509_pcia.c
54
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/x509/x509_pcons.c
104
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/x509/x509_pcons.c
97
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/x509/x509_pku.c
91
.item = &ASN1_GENERALIZEDTIME_it,
crypto/libressl/crypto/x509/x509_pku.c
98
.item = &ASN1_GENERALIZEDTIME_it,
crypto/libressl/crypto/x509/x509_pmaps.c
102
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/x509/x509_pmaps.c
121
.item = &POLICY_MAPPING_it,
crypto/libressl/crypto/x509/x509_pmaps.c
95
.item = &ASN1_OBJECT_it,
crypto/libressl/crypto/x509/x509_sxnet.c
106
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/x509/x509_sxnet.c
113
.item = &ASN1_OCTET_STRING_it,
crypto/libressl/crypto/x509/x509_sxnet.c
159
.item = &ASN1_INTEGER_it,
crypto/libressl/crypto/x509/x509_sxnet.c
166
.item = &SXNETID_it,
crypto/libressl/include/openssl/asn1t.h
465
ASN1_ITEM_EXP *item; /* Relevant ASN1_ITEM or ASN1_ADB */
crypto/libressl/include/pqueue.h
77
void pitem_free(pitem *item);
crypto/libressl/include/pqueue.h
82
pitem *pqueue_insert(pqueue pq, pitem *item);
crypto/libressl/ssl/d1_both.c
1013
item = pqueue_find(s->d1->sent_messages, seq64be);
crypto/libressl/ssl/d1_both.c
1014
if (item == NULL) {
crypto/libressl/ssl/d1_both.c
1023
frag = (hm_fragment *)item->data;
crypto/libressl/ssl/d1_both.c
1070
pitem *item;
crypto/libressl/ssl/d1_both.c
1072
for(item = pqueue_pop(s->d1->sent_messages); item != NULL;
crypto/libressl/ssl/d1_both.c
1073
item = pqueue_pop(s->d1->sent_messages)) {
crypto/libressl/ssl/d1_both.c
1074
frag = item->data;
crypto/libressl/ssl/d1_both.c
1079
pitem_free(item);
crypto/libressl/ssl/d1_both.c
492
pitem *item;
crypto/libressl/ssl/d1_both.c
497
item = pqueue_peek(s->d1->buffered_messages);
crypto/libressl/ssl/d1_both.c
498
if (item == NULL)
crypto/libressl/ssl/d1_both.c
501
frag = (hm_fragment *)item->data;
crypto/libressl/ssl/d1_both.c
521
pitem_free(item);
crypto/libressl/ssl/d1_both.c
556
pitem *item = NULL;
crypto/libressl/ssl/d1_both.c
574
item = pqueue_find(s->d1->buffered_messages, seq64be);
crypto/libressl/ssl/d1_both.c
576
if (item == NULL) {
crypto/libressl/ssl/d1_both.c
584
frag = (hm_fragment*)item->data;
crypto/libressl/ssl/d1_both.c
586
item = NULL;
crypto/libressl/ssl/d1_both.c
628
if (item == NULL) {
crypto/libressl/ssl/d1_both.c
633
item = pitem_new(seq64be, frag);
crypto/libressl/ssl/d1_both.c
634
if (item == NULL) {
crypto/libressl/ssl/d1_both.c
639
pqueue_insert(s->d1->buffered_messages, item);
crypto/libressl/ssl/d1_both.c
645
if (item == NULL && frag != NULL)
crypto/libressl/ssl/d1_both.c
657
pitem *item = NULL;
crypto/libressl/ssl/d1_both.c
668
item = pqueue_find(s->d1->buffered_messages, seq64be);
crypto/libressl/ssl/d1_both.c
674
if (item != NULL && frag_len < msg_hdr->msg_len)
crypto/libressl/ssl/d1_both.c
675
item = NULL;
crypto/libressl/ssl/d1_both.c
684
msg_hdr->seq > s->d1->handshake_read_seq + 10 || item != NULL ||
crypto/libressl/ssl/d1_both.c
722
item = pitem_new(seq64be, frag);
crypto/libressl/ssl/d1_both.c
723
if (item == NULL)
crypto/libressl/ssl/d1_both.c
726
pqueue_insert(s->d1->buffered_messages, item);
crypto/libressl/ssl/d1_both.c
732
if (item == NULL && frag != NULL)
crypto/libressl/ssl/d1_both.c
915
pitem *item;
crypto/libressl/ssl/d1_both.c
921
for (item = pqueue_next(&iter); item != NULL;
crypto/libressl/ssl/d1_both.c
922
item = pqueue_next(&iter)) {
crypto/libressl/ssl/d1_both.c
923
frag = (hm_fragment *)item->data;
crypto/libressl/ssl/d1_both.c
941
pitem *item;
crypto/libressl/ssl/d1_both.c
981
item = pitem_new(seq64be, frag);
crypto/libressl/ssl/d1_both.c
982
if (item == NULL) {
crypto/libressl/ssl/d1_both.c
987
pqueue_insert(s->d1->sent_messages, item);
crypto/libressl/ssl/d1_both.c
997
pitem *item;
crypto/libressl/ssl/d1_lib.c
110
pitem *item;
crypto/libressl/ssl/d1_lib.c
116
while ((item = pqueue_pop(queue)) != NULL) {
crypto/libressl/ssl/d1_lib.c
117
rdata = (DTLS1_RECORD_DATA_INTERNAL *)item->data;
crypto/libressl/ssl/d1_lib.c
119
free(item->data);
crypto/libressl/ssl/d1_lib.c
120
pitem_free(item);
crypto/libressl/ssl/d1_lib.c
127
pitem *item;
crypto/libressl/ssl/d1_lib.c
132
while ((item = pqueue_pop(queue)) != NULL) {
crypto/libressl/ssl/d1_lib.c
133
dtls1_hm_fragment_free(item->data);
crypto/libressl/ssl/d1_lib.c
134
pitem_free(item);
crypto/libressl/ssl/d1_pkt.c
208
pitem *item;
crypto/libressl/ssl/d1_pkt.c
215
item = pitem_new(priority, rdata);
crypto/libressl/ssl/d1_pkt.c
216
if (rdata == NULL || item == NULL)
crypto/libressl/ssl/d1_pkt.c
224
item->data = rdata;
crypto/libressl/ssl/d1_pkt.c
235
if (pqueue_insert(queue->q, item) == NULL)
crypto/libressl/ssl/d1_pkt.c
246
pitem_free(item);
crypto/libressl/ssl/d1_pkt.c
254
pitem *item;
crypto/libressl/ssl/d1_pkt.c
256
item = pqueue_pop(queue->q);
crypto/libressl/ssl/d1_pkt.c
257
if (item) {
crypto/libressl/ssl/d1_pkt.c
258
dtls1_copy_record(s, item->data);
crypto/libressl/ssl/d1_pkt.c
260
free(item->data);
crypto/libressl/ssl/d1_pkt.c
261
pitem_free(item);
crypto/libressl/ssl/pqueue.c
105
pqueue_insert(pqueue_s *pq, pitem *item)
crypto/libressl/ssl/pqueue.c
110
pq->items = item;
crypto/libressl/ssl/pqueue.c
111
return item;
crypto/libressl/ssl/pqueue.c
118
int cmp = memcmp(next->priority, item->priority,
crypto/libressl/ssl/pqueue.c
119
sizeof(item->priority));
crypto/libressl/ssl/pqueue.c
121
item->next = next;
crypto/libressl/ssl/pqueue.c
124
pq->items = item;
crypto/libressl/ssl/pqueue.c
126
curr->next = item;
crypto/libressl/ssl/pqueue.c
128
return item;
crypto/libressl/ssl/pqueue.c
133
item->next = NULL;
crypto/libressl/ssl/pqueue.c
134
curr->next = item;
crypto/libressl/ssl/pqueue.c
136
return item;
crypto/libressl/ssl/pqueue.c
148
pitem *item = pq->items;
crypto/libressl/ssl/pqueue.c
153
return item;
crypto/libressl/ssl/pqueue.c
176
pqueue_next(pitem **item)
crypto/libressl/ssl/pqueue.c
180
if (item == NULL || *item == NULL)
crypto/libressl/ssl/pqueue.c
184
ret = *item;
crypto/libressl/ssl/pqueue.c
185
*item = (*item)->next;
crypto/libressl/ssl/pqueue.c
193
pitem *item = pq->items;
crypto/libressl/ssl/pqueue.c
196
while (item != NULL) {
crypto/libressl/ssl/pqueue.c
198
item = item->next;
crypto/libressl/ssl/pqueue.c
73
pitem *item = malloc(sizeof(pitem));
crypto/libressl/ssl/pqueue.c
75
if (item == NULL)
crypto/libressl/ssl/pqueue.c
78
memcpy(item->priority, prio64be, sizeof(item->priority));
crypto/libressl/ssl/pqueue.c
80
item->data = data;
crypto/libressl/ssl/pqueue.c
81
item->next = NULL;
crypto/libressl/ssl/pqueue.c
83
return item;
crypto/libressl/ssl/pqueue.c
87
pitem_free(pitem *item)
crypto/libressl/ssl/pqueue.c
89
free(item);
crypto/openssh/servconf.c
1268
struct include_item *item;
crypto/openssh/servconf.c
2254
TAILQ_FOREACH(item, includes, entry) {
crypto/openssh/servconf.c
2255
if (strcmp(item->selector, arg) != 0)
crypto/openssh/servconf.c
2257
if (item->filename != NULL) {
crypto/openssh/servconf.c
2259
item->filename, item->contents,
crypto/openssh/servconf.c
2288
item = xcalloc(1, sizeof(*item));
crypto/openssh/servconf.c
2289
item->selector = strdup(arg);
crypto/openssh/servconf.c
2291
item, entry);
crypto/openssh/servconf.c
2298
item = xcalloc(1, sizeof(*item));
crypto/openssh/servconf.c
2299
item->selector = strdup(arg);
crypto/openssh/servconf.c
2300
item->filename = strdup(gbuf.gl_pathv[n]);
crypto/openssh/servconf.c
2301
if ((item->contents = sshbuf_new()) == NULL)
crypto/openssh/servconf.c
2303
load_server_config(item->filename,
crypto/openssh/servconf.c
2304
item->contents);
crypto/openssh/servconf.c
2306
item->filename, item->contents,
crypto/openssh/servconf.c
2313
TAILQ_INSERT_TAIL(includes, item, entry);
crypto/openssh/sshd-session.c
740
struct include_item *item;
crypto/openssh/sshd-session.c
762
item = xcalloc(1, sizeof(*item));
crypto/openssh/sshd-session.c
763
if ((item->contents = sshbuf_new()) == NULL)
crypto/openssh/sshd-session.c
765
if ((r = sshbuf_get_cstring(inc, &item->selector, NULL)) != 0 ||
crypto/openssh/sshd-session.c
766
(r = sshbuf_get_cstring(inc, &item->filename, NULL)) != 0 ||
crypto/openssh/sshd-session.c
767
(r = sshbuf_get_stringb(inc, item->contents)) != 0)
crypto/openssh/sshd-session.c
769
TAILQ_INSERT_TAIL(&includes, item, entry);
crypto/openssh/sshd.c
680
struct include_item *item = NULL;
crypto/openssh/sshd.c
691
TAILQ_FOREACH(item, &includes, entry) {
crypto/openssh/sshd.c
692
if ((r = sshbuf_put_cstring(inc, item->selector)) != 0 ||
crypto/openssh/sshd.c
693
(r = sshbuf_put_cstring(inc, item->filename)) != 0 ||
crypto/openssh/sshd.c
694
(r = sshbuf_put_stringb(inc, item->contents)) != 0)
games/hunt/hunt/otto.c
117
static struct item flbr[NUMDIRECTIONS];
games/hunt/hunt/otto.c
129
static void attack(int, struct item *);
games/hunt/hunt/otto.c
133
static void ottolook(int, struct item *);
games/hunt/hunt/otto.c
135
static int stop_look(struct item *, char, int, int);
games/hunt/hunt/otto.c
195
stop_look(struct item *itemp, char c, int dist, int side)
games/hunt/hunt/otto.c
262
ottolook(int rel_dir, struct item *itemp)
games/hunt/hunt/otto.c
386
struct item items[NUMDIRECTIONS];
games/hunt/hunt/otto.c
412
attack(int rel_dir, struct item *itemp)
games/larn/create.c
119
item[j][i] = tmp;
games/larn/create.c
124
item[33][MAXY - 1] = 0;
games/larn/create.c
146
item[i][j] = 0;
games/larn/create.c
155
item[i][my] = 0;
games/larn/create.c
175
if ((item[xx - 1][yy] != OWALL) || (item[xx - 2][yy] != OWALL))
games/larn/create.c
177
item[xx - 1][yy] = item[xx - 2][yy] = 0;
games/larn/create.c
184
if ((item[xx + 1][yy] != OWALL) || (item[xx + 2][yy] != OWALL))
games/larn/create.c
186
item[xx + 1][yy] = item[xx + 2][yy] = 0;
games/larn/create.c
193
if ((item[xx][yy - 1] != OWALL) || (item[xx][yy - 2] != OWALL))
games/larn/create.c
195
item[xx][yy - 1] = item[xx][yy - 2] = 0;
games/larn/create.c
202
if ((item[xx][yy + 1] != OWALL) || (item[xx][yy + 2] != OWALL))
games/larn/create.c
204
item[xx][yy + 1] = item[xx][yy + 2] = 0;
games/larn/create.c
282
item[j][i] = it;
games/larn/create.c
332
item[i][j] = 0;
games/larn/create.c
335
item[i][j] = OWALL;
games/larn/create.c
340
item[i][j] = 0;
games/larn/create.c
344
item[i = tx + rund(xsize)][j = ty + (ysize - 1) * rund(2)] = OCLOSEDDOOR;
games/larn/create.c
348
item[i = tx + (xsize - 1) * rund(2)][j = ty + rund(ysize)] = OCLOSEDDOOR;
games/larn/create.c
501
while (item[x][y]) {
games/larn/create.c
517
item[x][y] = what;
games/larn/create.c
532
if ((item[x][y] == 0) && (mitem[x][y] == 0) &&
games/larn/data.c
111
char item[MAXX][MAXY]; /* objects in maze if any */
games/larn/diag.c
142
if (cell[p * MAXX * MAXY + i * MAXY + j].item == l)
games/larn/diag.c
161
lprc(objnamelist[item[j][i]]);
games/larn/display.c
296
else if ((l = item[j][i]) == OWALL)
games/larn/display.c
335
if ((l = item[j][i]) != 0)
games/larn/display.c
402
switch (l = item[i][j]) {
games/larn/display.c
437
switch (k = item[x][y]) {
games/larn/display.c
500
i = item[l][n];
games/larn/display.c
511
if (item[l][n] == OENTRANCE) {
games/larn/global.c
226
while ((item[playerx][playery] || mitem[playerx][playery]) && (try))
games/larn/global.c
494
if (item[playerx][playery]) {
games/larn/global.c
501
item[playerx][playery] = itm;
games/larn/header.h
335
extern char item[MAXX][MAXY], iven[], know[MAXX][MAXY], larnlevels[], lastmonst[];
games/larn/header.h
565
#define forget() (item[playerx][playery]=know[playerx][playery]=0)
games/larn/header.h
64
char item; /* the object's ID */
games/larn/main.c
1078
p = &item[playerx][playery];
games/larn/main.c
778
switch (item[i][j]) {
games/larn/main.c
784
lprcat(objectname[(int)item[i][j]]);
games/larn/main.c
834
item[i][0] = OSCROLL;
games/larn/main.c
839
item[i][0] = OPOTION;
games/larn/main.c
843
item[0][i] = i;
games/larn/main.c
847
item[i - MAXY][MAXY - 1] = i;
games/larn/main.c
851
item[MAXX - 1][i - MAXX - MAXY] = i;
games/larn/monster.c
1769
if (item[x][y] == OANNIHILATION) { /* collision of spheres detonates spheres */
games/larn/monster.c
1784
item[x][y] = OANNIHILATION;
games/larn/monster.c
181
if (item[x][y] != OWALL) /* can't make anything on walls */
games/larn/monster.c
1817
item[x][y] = mitem[x][y] = 0;
games/larn/monster.c
183
if (itm == 0 || (item[x][y] == 0))
games/larn/monster.c
1850
item[j][i] = mitem[j][i] = 0;
games/larn/monster.c
212
item[x][y] = it;
games/larn/monster.c
419
switch (*(p = &item[i][j])) {
games/larn/monster.c
569
xl = item[i][j];
games/larn/monster.c
572
save[sc].id = item[i][j];
games/larn/monster.c
580
item[i][j] = OWALL;
games/larn/monster.c
589
item[33][MAXY - 1] = 0;
games/larn/monster.c
591
item[i][j] = 0;
games/larn/monster.c
596
for (trys = 100, i = j = 1; --trys > 0 && item[i][j]; i = rnd(MAXX - 1), j = rnd(MAXY - 1))
games/larn/monster.c
599
item[i][j] = save[sc].id;
games/larn/monster.c
604
for (trys = 100, i = j = 1; --trys > 0 && (item[i][j] == OWALL || mitem[i][j]); i = rnd(MAXX - 1), j = rnd(MAXY - 1))
games/larn/monster.c
724
if (item[x][y] == OMIRROR) {
games/larn/monster.c
827
switch (*(p = &item[x][y])) {
games/larn/moreobj.c
149
item[playerx][playery] = ODEADTHRONE;
games/larn/moreobj.c
153
item[playerx][playery] = OTHRONE2;
games/larn/moreobj.c
164
item[playerx][playery] = OTHRONE2;
games/larn/moreobj.c
252
item[playerx][playery] = know[playerx][playery] = 0;
games/larn/moreobj.c
265
item[playerx][playery] = know[playerx][playery] = 0;
games/larn/moreobj.c
312
item[playerx][playery] = ODEADFOUNTAIN; /* dead fountain */
games/larn/movem.c
152
if ((tmp = item[xl][yl]) != OWALL)
games/larn/movem.c
170
switch (item[m][k]) {
games/larn/movem.c
241
tmpitem = item[k][m];
games/larn/movem.c
280
i = item[cc][dd];
games/larn/movem.c
326
item[cc][dd] = 0; /* leprechaun takes gold */
games/larn/movem.c
419
if (item[x][y] != OANNIHILATION) /* not really there */
games/larn/object.c
1235
item[playerx][playery] = know[playerx][playery] = 0;
games/larn/object.c
140
item[playerx][playery] = OTELEPORTER;
games/larn/object.c
236
item[playerx][playery] = OCLOSEDDOOR;
games/larn/object.c
287
item[playerx][playery] = OOPENDOOR;
games/larn/object.c
304
item[33][MAXY - 1] = know[33][MAXY - 1] = mitem[33][MAXY - 1] = 0;
games/larn/object.c
31
i = item[playerx][playery];
games/larn/object.c
340
if (item[j][i] == OVOLUP) {
games/larn/object.c
381
if (item[j][i] == OVOLDOWN) {
games/larn/object.c
395
item[playerx][playery] = OTRAPARROW;
games/larn/object.c
410
item[playerx][playery] = ODARTRAP;
games/larn/object.c
427
item[playerx][playery] = OTRAPDOOR;
games/larn/object.c
688
if ((item[j][i] == OGOLDPILE) || (item[j][i] == OMAXGOLD)) {
games/larn/object.c
700
k = item[j][i];
games/larn/regen.c
171
if (item[playerx][playery] == 0) /* only if nothing there */
games/larn/savelev.c
18
pitem = item[0];
games/larn/savelev.c
26
pcel->item = *pitem++;
games/larn/savelev.c
44
pitem = item[0];
games/larn/savelev.c
52
*pitem++ = pcel->item;
games/phantasia/misc.c
208
printw("(%d) %-12s: %6.0f\n", loop + 1, Menu[loop].item, cost);
games/phantasia/phantstruct.h
124
const char *item; /* menu item name */
games/sail/pl_7.c
218
mvaddselstr(int y, int x0, int item, int curitem,
games/sail/pl_7.c
226
if (curitem == item) {
games/sail/pl_7.c
230
if (curitem == item) {
games/sail/pl_7.c
242
mvselprintw(int y, int x0, int item, int curitem,
games/sail/pl_7.c
249
if (curitem == item) {
games/sail/pl_7.c
255
if (curitem == item) {
lib/libc/db/test/hash.tests/tcreat3.c
50
DBT item, key;
lib/libc/db/test/hash.tests/tcreat3.c
73
item.data = wp2;
lib/libc/db/test/hash.tests/tcreat3.c
81
item.size = strlen(wp2);
lib/libc/db/test/hash.tests/tcreat3.c
86
if ((dbp->put)(dbp, &key, &item, R_NOOVERWRITE) != NULL) {
lib/libc/db/test/hash.tests/tcreat3.c
88
item.data);
lib/libc/db/test/hash.tests/tdel.c
51
DBT item, key;
lib/libc/db/test/hash.tests/tdel.c
75
item.data = wp2;
lib/libc/db/test/hash.tests/tdel.c
83
item.size = strlen(wp2);
lib/libc/db/test/hash.tests/tdel.c
88
if ((dbp->put)(dbp, &key, &item, R_NOOVERWRITE) != NULL) {
lib/libc/db/test/hash.tests/tdel.c
90
item.data);
lib/libc/db/test/hash.tests/thash4.c
53
DBT item, key, res;
lib/libc/db/test/hash.tests/thash4.c
78
item.data = wp2;
lib/libc/db/test/hash.tests/thash4.c
86
item.size = strlen(wp2);
lib/libc/db/test/hash.tests/thash4.c
91
if ((dbp->put)(dbp, &key, &item, R_NOOVERWRITE) != NULL) {
lib/libc/db/test/hash.tests/thash4.c
93
item.data);
lib/libc/db/test/hash.tests/tread2.c
54
DBT item, key, res;
lib/libc/db/test/hash.tests/tread2.c
74
item.data = wp2;
lib/libc/db/test/hash.tests/tread2.c
82
item.size = strlen(wp2);
lib/libc/db/test/hash.tests/tseq.c
51
DBT item, key, res;
lib/libc/db/test/hash.tests/tseq.c
65
for ( stat = (dbp->seq) (dbp, &res, &item, 1 );
lib/libc/db/test/hash.tests/tseq.c
67
stat = (dbp->seq) (dbp, &res, &item, 0 ) ) {
lib/libc/db/test/hash.tests/tseq.c
71
bcopy ( item.data, cp, item.size );
lib/libc/db/test/hash.tests/tseq.c
72
cp[item.size] = 0;
lib/libc/locale/nl_langinfo.c
204
nl_langinfo(nl_item item)
lib/libc/locale/nl_langinfo.c
206
return nl_langinfo_l(item, __get_locale());
lib/libc/locale/nl_langinfo.c
49
#define _REL(BASE) ((int)item-BASE)
lib/libc/locale/nl_langinfo.c
52
nl_langinfo_l(nl_item item, locale_t loc)
lib/libc/locale/nl_langinfo.c
58
switch (item) {
lib/libc/stdlib/hcreate.c
148
hsearch(ENTRY item, ACTION action)
lib/libc/stdlib/hcreate.c
155
len = strlen(item.key);
lib/libc/stdlib/hcreate.c
156
hashval = (*__default_hash)(item.key, len);
lib/libc/stdlib/hcreate.c
161
if (strcmp(ie->ent.key, item.key) == 0)
lib/libc/stdlib/hcreate.c
174
ie->ent.key = item.key;
lib/libc/stdlib/hcreate.c
175
ie->ent.data = item.data;
lib/libpam/modules/pam_echo/pam_echo.c
54
int err, i, item;
lib/libpam/modules/pam_echo/pam_echo.c
69
item = PAM_RHOST;
lib/libpam/modules/pam_echo/pam_echo.c
73
item = -1;
lib/libpam/modules/pam_echo/pam_echo.c
76
item = PAM_SERVICE;
lib/libpam/modules/pam_echo/pam_echo.c
79
item = PAM_TTY;
lib/libpam/modules/pam_echo/pam_echo.c
82
item = PAM_RUSER;
lib/libpam/modules/pam_echo/pam_echo.c
85
item = PAM_USER;
lib/libpam/modules/pam_echo/pam_echo.c
88
item = -1;
lib/libpam/modules/pam_echo/pam_echo.c
92
if (item == -1)
lib/libpam/modules/pam_echo/pam_echo.c
94
err = pam_get_item(pamh, item, &str);
lib/libpam/modules/pam_exec/pam_exec.c
150
const void *item;
lib/libpam/modules/pam_exec/pam_exec.c
152
pam_err = pam_get_item(pamh, env_items[i].item, &item);
lib/libpam/modules/pam_exec/pam_exec.c
153
if (pam_err != PAM_SUCCESS || item == NULL)
lib/libpam/modules/pam_exec/pam_exec.c
156
(const char *)item);
lib/libpam/modules/pam_exec/pam_exec.c
54
int item;
lib/libpam/modules/pam_login_access/login_access.c
107
list_match(char *list, const char *item,
lib/libpam/modules/pam_login_access/login_access.c
123
if ((match = (*match_fn)(tok, item)) != 0) /* YES */
lib/libpam/modules/pam_login_access/login_access.c
131
if (tok == NULL || list_match(NULL, item, match_fn) == NO)
lib/libtelnet/sra.c
528
const void *item;
lib/libtelnet/sra.c
570
&item)) == PAM_SUCCESS)
lib/libtelnet/sra.c
571
strlcpy(name, item, SMALL_LEN);
libexec/ftpd/ftpd.c
1233
const void *item;
libexec/ftpd/ftpd.c
1280
if ((e = pam_get_item(pamh, PAM_USER, &item)) ==
libexec/ftpd/ftpd.c
1282
tmpl_user = (const char *) item;
sbin/vquota/vquota.c
494
prop_dictionary_t item;
sbin/vquota/vquota.c
527
while ((item = prop_object_iterator_next(iter)) != NULL) {
sbin/vquota/vquota.c
528
rv = prop_dictionary_get_uint64(item, "space used", &space);
sbin/vquota/vquota.c
529
rv = prop_dictionary_get_uint64(item, "limit", &limit);
sbin/vquota/vquota.c
530
if (prop_dictionary_get_uint32(item, "uid", &id))
sbin/vquota/vquota.c
532
else if (prop_dictionary_get_uint32(item, "gid", &id))
sbin/vquota/vquota.c
564
prop_dictionary_t res, item;
sbin/vquota/vquota.c
579
item = prop_dictionary_create();
sbin/vquota/vquota.c
580
if (item == NULL)
sbin/vquota/vquota.c
582
(void) prop_dictionary_set_uint64(item, "space used", global_size);
sbin/vquota/vquota.c
583
prop_array_add_and_rel(args, item);
sbin/vquota/vquota.c
588
item = prop_dictionary_create();
sbin/vquota/vquota.c
589
(void) prop_dictionary_set_uint32(item, "uid",
sbin/vquota/vquota.c
591
(void) prop_dictionary_set_uint64(item, "space used",
sbin/vquota/vquota.c
593
prop_array_add_and_rel(args, item);
sbin/vquota/vquota.c
600
item = prop_dictionary_create();
sbin/vquota/vquota.c
601
(void) prop_dictionary_set_uint32(item, "gid",
sbin/vquota/vquota.c
603
(void) prop_dictionary_set_uint64(item, "space used",
sbin/vquota/vquota.c
605
prop_array_add_and_rel(args, item);
sys/bus/u4b/wlan/if_mtw.c
3830
mtw_update_beacon(struct ieee80211vap *vap, int item)
sys/bus/u4b/wlan/if_mtw.c
3840
switch (item) {
sys/bus/u4b/wlan/if_mtw.c
3854
setbit(bo->bo_flags, item);
sys/bus/u4b/wlan/if_rum.c
2793
rum_update_beacon(struct ieee80211vap *vap, int item)
sys/bus/u4b/wlan/if_rum.c
2815
switch (item) {
sys/bus/u4b/wlan/if_rum.c
2827
setbit(bo->bo_flags, item);
sys/bus/u4b/wlan/if_run.c
4862
run_update_beacon(struct ieee80211vap *vap, int item)
sys/bus/u4b/wlan/if_run.c
4872
switch (item) {
sys/bus/u4b/wlan/if_run.c
4886
setbit(bo->bo_flags, item);
sys/bus/u4b/wlan/if_urtwn.c
1588
struct urtwn_cmdq *item;
sys/bus/u4b/wlan/if_urtwn.c
1602
item = &sc->cmdq[sc->cmdq_first];
sys/bus/u4b/wlan/if_urtwn.c
1606
item->func(sc, &item->data);
sys/bus/u4b/wlan/if_urtwn.c
1609
memset(item, 0, sizeof (*item));
sys/bus/u4b/wlan/if_urtwn.c
2188
urtwn_update_beacon(struct ieee80211vap *vap, int item)
sys/bus/u4b/wlan/if_urtwn.c
2208
if (item == IEEE80211_BEACON_TIM)
sys/bus/u4b/wlan/if_urtwn.c
2211
setbit(bo->bo_flags, item);
sys/dev/disk/nvme/nvme_chipset.h
1728
nvme_subq_item_t item;
sys/dev/disk/nvme/nvme_chipset.h
1765
nvme_comq_item_t item;
sys/dev/drm/amd/display/dc/basics/vector.c
238
const void *item)
sys/dev/drm/amd/display/dc/basics/vector.c
240
return dal_vector_insert_at(vector, item, vector->count);
sys/dev/drm/amd/display/include/vector.h
124
type_t item) \
sys/dev/drm/amd/display/include/vector.h
126
return dal_vector_append(vector, item); \
sys/dev/drm/amd/display/include/vector.h
79
const void *item);
sys/dev/drm/drm_global.c
106
mutex_unlock(&item->mutex);
sys/dev/drm/drm_global.c
124
struct drm_global_item *item = &glob[ref->global_type];
sys/dev/drm/drm_global.c
126
mutex_lock(&item->mutex);
sys/dev/drm/drm_global.c
127
BUG_ON(item->refcount == 0);
sys/dev/drm/drm_global.c
128
BUG_ON(ref->object != item->object);
sys/dev/drm/drm_global.c
129
if (--item->refcount == 0) {
sys/dev/drm/drm_global.c
131
item->object = NULL;
sys/dev/drm/drm_global.c
133
mutex_unlock(&item->mutex);
sys/dev/drm/drm_global.c
48
struct drm_global_item *item = &glob[i];
sys/dev/drm/drm_global.c
49
lockinit(&item->mutex, "drmgi", 0, LK_CANRECURSE);
sys/dev/drm/drm_global.c
50
item->object = NULL;
sys/dev/drm/drm_global.c
51
item->refcount = 0;
sys/dev/drm/drm_global.c
59
struct drm_global_item *item = &glob[i];
sys/dev/drm/drm_global.c
60
BUG_ON(item->object != NULL);
sys/dev/drm/drm_global.c
61
BUG_ON(item->refcount != 0);
sys/dev/drm/drm_global.c
80
struct drm_global_item *item = &glob[ref->global_type];
sys/dev/drm/drm_global.c
82
mutex_lock(&item->mutex);
sys/dev/drm/drm_global.c
83
if (item->refcount == 0) {
sys/dev/drm/drm_global.c
93
item->object = ref->object;
sys/dev/drm/drm_global.c
95
ref->object = item->object;
sys/dev/drm/drm_global.c
98
++item->refcount;
sys/dev/drm/drm_global.c
99
mutex_unlock(&item->mutex);
sys/dev/drm/drm_hashtab.c
109
int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item)
sys/dev/drm/drm_hashtab.c
115
unsigned long key = item->key;
sys/dev/drm/drm_hashtab.c
128
hlist_add_behind_rcu(&item->head, parent);
sys/dev/drm/drm_hashtab.c
130
hlist_add_head_rcu(&item->head, h_list);
sys/dev/drm/drm_hashtab.c
140
int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,
sys/dev/drm/drm_hashtab.c
151
item->key = (unshifted_key << shift) + add;
sys/dev/drm/drm_hashtab.c
152
ret = drm_ht_insert_item(ht, item);
sys/dev/drm/drm_hashtab.c
166
struct drm_hash_item **item)
sys/dev/drm/drm_hashtab.c
174
*item = hlist_entry(list, struct drm_hash_item, head);
sys/dev/drm/drm_hashtab.c
191
int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item)
sys/dev/drm/drm_hashtab.c
193
hlist_del_init_rcu(&item->head);
sys/dev/drm/i915/i915_query.c
106
struct drm_i915_query_item item;
sys/dev/drm/i915/i915_query.c
110
if (copy_from_user(&item, user_item_ptr, sizeof(item)))
sys/dev/drm/i915/i915_query.c
113
if (item.query_id == 0)
sys/dev/drm/i915/i915_query.c
116
if (overflows_type(item.query_id - 1, unsigned long))
sys/dev/drm/i915/i915_query.c
119
func_idx = item.query_id - 1;
sys/dev/drm/i915/i915_query.c
125
ret = i915_query_funcs[func_idx](dev_priv, &item);
sys/dev/drm/i915/i915_query.c
129
if (ret != item.length && put_user(ret, &user_item_ptr->length))
sys/dev/drm/include/drm/drm_hashtab.h
53
int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item);
sys/dev/drm/include/drm/drm_hashtab.h
54
int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,
sys/dev/drm/include/drm/drm_hashtab.h
57
int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item);
sys/dev/drm/include/drm/drm_hashtab.h
61
int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
sys/dev/drm/linux_radix.c
119
void *item;
sys/dev/drm/linux_radix.c
123
item = NULL;
sys/dev/drm/linux_radix.c
137
item = node->slots[idx];
sys/dev/drm/linux_radix.c
141
if (item)
sys/dev/drm/linux_radix.c
158
return (item);
sys/dev/drm/linux_radix.c
169
radix_tree_insert(struct radix_tree_root *root, unsigned long index, void *item)
sys/dev/drm/linux_radix.c
177
if (item == NULL)
sys/dev/drm/linux_radix.c
256
node->slots[idx] = item;
sys/dev/drm/linux_radix.c
58
void *item;
sys/dev/drm/linux_radix.c
61
item = NULL;
sys/dev/drm/linux_radix.c
69
item = node->slots[radix_pos(index, 0)];
sys/dev/drm/linux_radix.c
72
return (item);
sys/dev/drm/radeon/radeon_cs.c
54
struct list_head *item, unsigned priority)
sys/dev/drm/radeon/radeon_cs.c
61
list_add_tail(item, &b->bucket[min(priority, RADEON_CS_MAX_PRIORITY)]);
sys/dev/netif/ath/ath/if_ath_beacon.c
384
ath_beacon_update(struct ieee80211vap *vap, int item)
sys/dev/netif/ath/ath/if_ath_beacon.c
388
setbit(bo->bo_flags, item);
sys/dev/netif/ath/ath/if_ath_beacon.h
44
extern void ath_beacon_update(struct ieee80211vap *vap, int item);
sys/dev/netif/ath/ath_hal/ah_osdep.h
72
#define OS_DATA_SET(set, item) DATA_SET(set, item)
sys/dev/netif/ral/rt2560.c
118
static void rt2560_beacon_update(struct ieee80211vap *, int item);
sys/dev/netif/ral/rt2560.c
1333
rt2560_beacon_update(struct ieee80211vap *vap, int item)
sys/dev/netif/ral/rt2560.c
1337
setbit(bo->bo_flags, item);
sys/dev/netif/wpi/if_wpi.c
4477
wpi_update_beacon(struct ieee80211vap *vap, int item)
sys/dev/netif/wpi/if_wpi.c
4504
if (item == IEEE80211_BEACON_TIM)
sys/dev/netif/wpi/if_wpi.c
4507
setbit(bo->bo_flags, item);
sys/dev/raid/twa/tw_cl_share.h
275
#define TW_CL_Q_INSERT_HEAD(head, item) do { \
sys/dev/raid/twa/tw_cl_share.h
276
(item)->next = (head)->next; \
sys/dev/raid/twa/tw_cl_share.h
277
(item)->prev = head; \
sys/dev/raid/twa/tw_cl_share.h
278
(head)->next->prev = item; \
sys/dev/raid/twa/tw_cl_share.h
279
(head)->next = item; \
sys/dev/raid/twa/tw_cl_share.h
284
#define TW_CL_Q_INSERT_TAIL(head, item) do { \
sys/dev/raid/twa/tw_cl_share.h
285
(item)->next = head; \
sys/dev/raid/twa/tw_cl_share.h
286
(item)->prev = (head)->prev; \
sys/dev/raid/twa/tw_cl_share.h
287
(head)->prev->next = item; \
sys/dev/raid/twa/tw_cl_share.h
288
(head)->prev = item; \
sys/dev/raid/twa/tw_cl_share.h
293
#define TW_CL_Q_REMOVE_ITEM(head, item) do { \
sys/dev/raid/twa/tw_cl_share.h
294
(item)->prev->next = (item)->next; \
sys/dev/raid/twa/tw_cl_share.h
295
(item)->next->prev = (item)->prev; \
sys/dev/raid/twa/tw_cl_share.h
310
#define TW_CL_Q_NEXT_ITEM(head, item) \
sys/dev/raid/twa/tw_cl_share.h
311
(((item)->next != head) ? ((item)->next) : TW_CL_NULL)
sys/dev/raid/twa/tw_cl_share.h
315
#define TW_CL_Q_PREV_ITEM(head, item) \
sys/dev/raid/twa/tw_cl_share.h
316
(((item)->prev != head) ? ((item)->prev) : TW_CL_NULL)
sys/kern/kern_usched.c
107
TAILQ_FOREACH(item, &usched_list, entry) {
sys/kern/kern_usched.c
108
KKASSERT(item != usched);
sys/kern/kern_usched.c
127
TAILQ_FOREACH(item, &usched_list, entry) {
sys/kern/kern_usched.c
128
if (item == usched)
sys/kern/kern_usched.c
131
if (item) {
sys/kern/kern_usched.c
132
if (item->usched_unregister)
sys/kern/kern_usched.c
133
item->usched_unregister();
sys/kern/kern_usched.c
134
TAILQ_REMOVE(&usched_list, item, entry);
sys/kern/kern_usched.c
154
struct usched *item;
sys/kern/kern_usched.c
156
TAILQ_FOREACH(item, &usched_list, entry) {
sys/kern/kern_usched.c
157
if (lp && lp->lwp_proc->p_usched == item)
sys/kern/kern_usched.c
158
item->schedulerclock(lp, periodic, time);
sys/kern/kern_usched.c
160
item->schedulerclock(NULL, periodic, time);
sys/kern/kern_usched.c
187
struct usched *item; /* temporaly for TAILQ processing */
sys/kern/kern_usched.c
207
TAILQ_FOREACH(item, &usched_list, entry) {
sys/kern/kern_usched.c
208
if ((strcmp(item->name, buffer) == 0))
sys/kern/kern_usched.c
225
if (item && item != p->p_usched) {
sys/kern/kern_usched.c
229
p->p_usched = item;
sys/kern/kern_usched.c
230
} else if (item == NULL) {
sys/kern/kern_usched.c
98
struct usched *item; /* temporaly for TAILQ processing */
sys/kern/subr_unit.c
550
free_unrl(struct unrhdr *uh, u_int item, void **p1, void **p2)
sys/kern/subr_unit.c
556
KASSERT(item >= uh->low && item <= uh->high,
sys/kern/subr_unit.c
558
item, uh->low, uh->high));
sys/kern/subr_unit.c
560
item -= uh->low;
sys/kern/subr_unit.c
565
if (item + 1 == uh->first && upp == NULL) {
sys/kern/subr_unit.c
576
if (item < uh->first) {
sys/kern/subr_unit.c
579
up->len = uh->first - item;
sys/kern/subr_unit.c
584
item -= uh->first;
sys/kern/subr_unit.c
588
if (up->len > item)
sys/kern/subr_unit.c
590
item -= up->len;
sys/kern/subr_unit.c
597
KASSERT(bit_test(ub->map, item) != 0,
sys/kern/subr_unit.c
598
("UNR: Freeing free item %d (bitmap)\n", item));
sys/kern/subr_unit.c
599
bit_clear(ub->map, item);
sys/kern/subr_unit.c
606
KASSERT(up->ptr == uh, ("UNR Freeing free item %d (run))\n", item));
sys/kern/subr_unit.c
618
if (item == 0 && upp != NULL && upp->ptr == NULL) {
sys/kern/subr_unit.c
628
if (item == up->len - 1 && upn != NULL && upn->ptr == NULL) {
sys/kern/subr_unit.c
637
pl = up->len - (1 + item);
sys/kern/subr_unit.c
646
if (item > 0) {
sys/kern/subr_unit.c
648
upp->len = item;
sys/kern/subr_unit.c
659
free_unr(struct unrhdr *uh, u_int item)
sys/kern/subr_unit.c
666
free_unrl(uh, item, &p1, &p2);
sys/kern/vfs_quota.c
180
prop_dictionary_t item;
sys/kern/vfs_quota.c
182
item = prop_dictionary_create();
sys/kern/vfs_quota.c
183
(void) prop_dictionary_set_uint64(item, "space used", mp->mnt_acct.ac_bytes);
sys/kern/vfs_quota.c
184
(void) prop_dictionary_set_uint64(item, "limit", mp->mnt_acct.ac_limit);
sys/kern/vfs_quota.c
185
prop_array_add_and_rel(dict_out, item);
sys/kern/vfs_quota.c
190
item = prop_dictionary_create();
sys/kern/vfs_quota.c
191
(void) prop_dictionary_set_uint32(item, "uid",
sys/kern/vfs_quota.c
193
(void) prop_dictionary_set_uint64(item, "space used",
sys/kern/vfs_quota.c
195
(void) prop_dictionary_set_uint64(item, "limit",
sys/kern/vfs_quota.c
197
prop_array_add_and_rel(dict_out, item);
sys/kern/vfs_quota.c
205
item = prop_dictionary_create();
sys/kern/vfs_quota.c
206
(void) prop_dictionary_set_uint32(item, "gid",
sys/kern/vfs_quota.c
208
(void) prop_dictionary_set_uint64(item, "space used",
sys/kern/vfs_quota.c
210
(void) prop_dictionary_set_uint64(item, "limit",
sys/kern/vfs_quota.c
212
prop_array_add_and_rel(dict_out, item);
sys/kern/vfs_quota.c
223
prop_dictionary_t item;
sys/kern/vfs_quota.c
248
while ((item = prop_object_iterator_next(iter)) != NULL) {
sys/kern/vfs_quota.c
249
prop_dictionary_get_uint64(item, "space used", &space);
sys/kern/vfs_quota.c
250
if (prop_dictionary_get_uint32(item, "uid", &id)) {
sys/kern/vfs_quota.c
256
} else if (prop_dictionary_get_uint32(item, "gid", &id)) {
sys/netgraph7/UI/ng_UI.c
138
ng_UI_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/UI/ng_UI.c
144
msg = NGI_MSG(item); /* only peeking */
sys/netgraph7/UI/ng_UI.c
148
NG_FWD_ITEM_HOOK(error, item, priv->uplink);
sys/netgraph7/UI/ng_UI.c
153
NG_FWD_ITEM_HOOK(error, item, priv->downlink);
sys/netgraph7/UI/ng_UI.c
159
NG_FREE_ITEM(item);
sys/netgraph7/UI/ng_UI.c
170
ng_UI_rcvdata(hook_p hook, item_p item)
sys/netgraph7/UI/ng_UI.c
177
NGI_GET_M(item, m);
sys/netgraph7/UI/ng_UI.c
191
NG_FWD_NEW_DATA(error, item, priv->uplink, m); /* m -> NULL */
sys/netgraph7/UI/ng_UI.c
197
NG_FWD_NEW_DATA(error, item, priv->downlink, m); /* m -> NULL */
sys/netgraph7/UI/ng_UI.c
203
if (item)
sys/netgraph7/UI/ng_UI.c
204
NG_FREE_ITEM(item);
sys/netgraph7/async/ng_async.c
105
static int nga_rcv_sync(const sc_p sc, item_p item);
sys/netgraph7/async/ng_async.c
106
static int nga_rcv_async(const sc_p sc, item_p item);
sys/netgraph7/async/ng_async.c
289
nga_rcvdata(hook_p hook, item_p item)
sys/netgraph7/async/ng_async.c
294
return (nga_rcv_sync(sc, item));
sys/netgraph7/async/ng_async.c
296
return (nga_rcv_async(sc, item));
sys/netgraph7/async/ng_async.c
304
nga_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/async/ng_async.c
311
NGI_GET_MSG(item, msg);
sys/netgraph7/async/ng_async.c
379
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/async/ng_async.c
451
nga_rcv_sync(const sc_p sc, item_p item)
sys/netgraph7/async/ng_async.c
465
NG_FWD_ITEM_HOOK(error, item, sc->async );
sys/netgraph7/async/ng_async.c
468
NGI_GET_M(item, m);
sys/netgraph7/async/ng_async.c
492
NG_FREE_ITEM(item);
sys/netgraph7/async/ng_async.c
529
NG_FREE_ITEM(item);
sys/netgraph7/async/ng_async.c
532
NG_FWD_NEW_DATA(error, item, sc->async, m);
sys/netgraph7/async/ng_async.c
543
nga_rcv_async(const sc_p sc, item_p item)
sys/netgraph7/async/ng_async.c
550
NG_FWD_ITEM_HOOK(error, item, sc->sync);
sys/netgraph7/async/ng_async.c
553
NGI_GET_M(item, m);
sys/netgraph7/async/ng_async.c
594
if (item) { /* sets NULL -> item */
sys/netgraph7/async/ng_async.c
595
NG_FWD_NEW_DATA(error, item,
sys/netgraph7/async/ng_async.c
637
if (item)
sys/netgraph7/async/ng_async.c
638
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
361
ng_bt3c_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
368
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
372
NGI_GET_MSG(item, msg);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
528
NG_RESPOND_MSG(error, node, item, rsp);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
539
ng_bt3c_rcvdata(hook_p hook, item_p item)
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
555
NGI_GET_M(item, m);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
570
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
788
ng_h4_rcvdata(hook_p hook, item_p item)
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
800
NGI_GET_M(item, m);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
801
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
842
ng_h4_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
851
NGI_GET_MSG(item, msg);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
967
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/bluetooth/drivers/ubt/ng_ubt.c
1560
ng_ubt_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/bluetooth/drivers/ubt/ng_ubt.c
1567
NGI_GET_MSG(item, msg);
sys/netgraph7/bluetooth/drivers/ubt/ng_ubt.c
1721
NG_RESPOND_MSG(error, node, item, rsp);
sys/netgraph7/bluetooth/drivers/ubt/ng_ubt.c
1733
ng_ubt_rcvdata(hook_p hook, item_p item)
sys/netgraph7/bluetooth/drivers/ubt/ng_ubt.c
1746
NGI_GET_M(item, m);
sys/netgraph7/bluetooth/drivers/ubt/ng_ubt.c
1813
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
252
item_p item = NULL, item2;
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
286
NG_BT_ITEMQ_DEQUEUE(&winner->conq, item);
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
287
if (item == NULL)
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
289
item2 = item;
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
294
winner->con_handle, NGI_M(item)->m_pkthdr.len);
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
306
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
309
v = NGI_M(item)->m_pkthdr.len;
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
312
ng_hci_mtap(unit, NGI_M(item));
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
315
NG_FWD_ITEM_HOOK(error, item, unit->drv);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
1000
if (item != NULL)
sys/netgraph7/bluetooth/hci/ng_hci_main.c
1001
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
1014
ng_hci_raw_rcvdata(hook_p hook, item_p item)
sys/netgraph7/bluetooth/hci/ng_hci_main.c
1020
NGI_GET_M(item, m);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
1021
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
280
ng_hci_default_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/bluetooth/hci/ng_hci_main.c
286
NGI_GET_MSG(item, msg);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
635
NG_RESPOND_MSG(error, node, item, rsp);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
647
ng_hci_upper_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/bluetooth/hci/ng_hci_main.c
652
switch (NGI_MSG(item)->header.typecookie) {
sys/netgraph7/bluetooth/hci/ng_hci_main.c
654
switch (NGI_MSG(item)->header.cmd) {
sys/netgraph7/bluetooth/hci/ng_hci_main.c
656
error = ng_hci_lp_con_req(unit, item, lasthook);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
660
error = ng_hci_lp_discon_req(unit, item, lasthook);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
664
error = ng_hci_lp_con_rsp(unit, item, lasthook);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
668
error = ng_hci_lp_qos_req(unit, item, lasthook);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
672
error = ng_hci_default_rcvmsg(node, item, lasthook);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
678
error = ng_hci_default_rcvmsg(node, item, lasthook);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
691
ng_hci_drv_rcvdata(hook_p hook, item_p item)
sys/netgraph7/bluetooth/hci/ng_hci_main.c
698
m = NGI_M(item); /* item still has mbuf, just peeking */
sys/netgraph7/bluetooth/hci/ng_hci_main.c
723
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
725
NG_FWD_ITEM_HOOK(error, item, unit->acl);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
738
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
740
NG_FWD_ITEM_HOOK(error, item, unit->sco);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
747
NGI_GET_M(item, m);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
748
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
759
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
774
ng_hci_acl_rcvdata(hook_p hook, item_p item)
sys/netgraph7/bluetooth/hci/ng_hci_main.c
785
NGI_GET_M(item, m);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
872
NGI_M(item) = m;
sys/netgraph7/bluetooth/hci/ng_hci_main.c
873
ng_ref_item(item);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
874
NG_BT_ITEMQ_ENQUEUE(&con->conq, item);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
875
item = NULL;
sys/netgraph7/bluetooth/hci/ng_hci_main.c
880
if (item != NULL)
sys/netgraph7/bluetooth/hci/ng_hci_main.c
881
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
894
ng_hci_sco_rcvdata(hook_p hook, item_p item)
sys/netgraph7/bluetooth/hci/ng_hci_main.c
905
NGI_GET_M(item, m);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
992
NGI_M(item) = m;
sys/netgraph7/bluetooth/hci/ng_hci_main.c
993
ng_ref_item(item);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
994
NG_BT_ITEMQ_ENQUEUE(&con->conq, item);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
995
item = NULL;
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
101
return (ng_hci_lp_sco_con_req(unit, item, hook));
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
1037
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
109
ng_hci_lp_acl_con_req(ng_hci_unit_p unit, item_p item, hook_p hook)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
121
ep = (ng_hci_lp_con_req_ep *)(NGI_MSG(item)->data);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
169
NGI_GET_MSG(item, msg);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
188
_NGI_MSG(item) = msg;
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
189
NG_FWD_ITEM_HOOK(error, item, hook);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
298
if (item != NULL)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
299
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
309
ng_hci_lp_sco_con_req(ng_hci_unit_p unit, item_p item, hook_p hook)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
320
ep = (ng_hci_lp_con_req_ep *)(NGI_MSG(item)->data);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
467
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
477
ng_hci_lp_discon_req(ng_hci_unit_p unit, item_p item, hook_p hook)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
498
if (NGI_MSG(item)->header.arglen != sizeof(*ep)) {
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
502
NGI_MSG(item)->header.arglen);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
508
ep = (ng_hci_lp_discon_req_ep *)(NGI_MSG(item)->data);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
558
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
65
ng_hci_lp_con_req(ng_hci_unit_p unit, item_p item, hook_p hook)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
682
ng_hci_lp_con_rsp(ng_hci_unit_p unit, item_p item, hook_p hook)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
706
if (NGI_MSG(item)->header.arglen != sizeof(*ep)) {
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
710
NGI_MSG(item)->header.arglen);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
716
ep = (ng_hci_lp_con_rsp_ep *)(NGI_MSG(item)->data);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
72
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
77
if (NGI_MSG(item)->header.arglen != sizeof(ng_hci_lp_con_req_ep)) {
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
81
NGI_MSG(item)->header.arglen);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
83
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
866
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
88
if (((ng_hci_lp_con_req_ep *)(NGI_MSG(item)->data))->link_type == NG_HCI_LINK_ACL)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
89
return (ng_hci_lp_acl_con_req(unit, item, hook));
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
934
ng_hci_lp_qos_req(ng_hci_unit_p unit, item_p item, hook_p hook)
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
955
if (NGI_MSG(item)->header.arglen != sizeof(*ep)) {
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
959
NGI_MSG(item)->header.arglen);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
96
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c
965
ep = (ng_hci_lp_qos_req_ep *)(NGI_MSG(item)->data);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
258
ng_l2cap_lower_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
261
struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
364
return (ng_l2cap_default_rcvmsg(node, item, lasthook));
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
368
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
378
ng_l2cap_upper_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
381
struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
453
return (ng_l2cap_default_rcvmsg(node, item, lasthook));
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
459
return (ng_l2cap_default_rcvmsg(node, item, lasthook));
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
463
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
473
ng_l2cap_default_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
480
NGI_GET_MSG(item, msg);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
673
NG_RESPOND_MSG(error, node, item, rsp);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
704
ng_l2cap_rcvdata(hook_p hook, item_p item)
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
711
NGI_GET_M(item, m);
sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c
712
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
250
ng_btsocket_hci_raw_node_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
252
struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
266
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
276
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
279
ng_ref_item(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
280
NG_BT_ITEMQ_ENQUEUE(&ng_btsocket_hci_raw_queue, item);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
285
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
299
ng_btsocket_hci_raw_node_rcvdata(hook_p hook, item_p item)
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
321
NGI_GET_M(item, nam->m_next);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
322
NGI_M(item) = nam;
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
330
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
333
ng_ref_item(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
334
NG_BT_ITEMQ_ENQUEUE(&ng_btsocket_hci_raw_queue, item);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
342
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
586
item_p item = NULL;
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
590
NG_BT_ITEMQ_DEQUEUE(&ng_btsocket_hci_raw_queue, item);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
593
if (item == NULL)
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
596
switch(item->el_flags & NGQF_TYPE) {
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
600
NGI_GET_M(item, m);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
607
NGI_GET_MSG(item, msg);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
613
("%s: invalid item type=%ld\n", __func__, (item->el_flags & NGQF_TYPE)));
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
617
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
618
ng_unref_item(item, 0);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
1673
item_p item = NULL;
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
1678
NG_BT_ITEMQ_DEQUEUE(&ng_btsocket_l2cap_queue, item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
1681
if (item == NULL)
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
1684
NGI_GET_HOOK(item, hook);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
1688
switch(item->el_flags & NGQF_TYPE) {
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
1692
NGI_GET_M(item, m);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
1699
NGI_GET_MSG(item, msg);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
1723
("%s: invalid item type=%ld\n", __func__, (item->el_flags & NGQF_TYPE)));
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
1730
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
1731
ng_unref_item(item, 0);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
322
ng_btsocket_l2cap_node_rcvmsg(node_p node, item_p item, hook_p hook)
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
324
struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
334
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
339
NGI_SET_HOOK(item, hook);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
342
ng_ref_item(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
343
NG_BT_ITEMQ_ENQUEUE(&ng_btsocket_l2cap_queue, item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
348
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
360
ng_btsocket_l2cap_node_rcvdata(hook_p hook, item_p item)
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
370
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
374
NGI_SET_HOOK(item, hook);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
376
ng_ref_item(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c
377
NG_BT_ITEMQ_ENQUEUE(&ng_btsocket_l2cap_queue, item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
269
ng_btsocket_l2cap_raw_node_rcvmsg(node_p node, item_p item, hook_p hook)
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
271
struct ng_mesg *msg = NGI_MSG(item); /* item still has message */
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
285
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
296
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
301
NGI_SET_HOOK(item, hook);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
304
ng_ref_item(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
305
NG_BT_ITEMQ_ENQUEUE(&ng_btsocket_l2cap_raw_queue, item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
310
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
322
ng_btsocket_l2cap_raw_node_rcvdata(hook_p hook, item_p item)
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
324
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
342
item_p item = NULL;
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
348
NG_BT_ITEMQ_DEQUEUE(&ng_btsocket_l2cap_raw_queue, item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
351
if (item == NULL)
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
354
KASSERT((item->el_flags & NGQF_TYPE) == NGQF_MESG,
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
355
("%s: invalid item type=%ld\n", __func__, (item->el_flags & NGQF_TYPE)));
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
357
NGI_GET_MSG(item, msg);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
358
NGI_GET_HOOK(item, hook);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
359
NG_FREE_ITEM(item);
sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap_raw.c
360
ng_unref_item(item, 0);
sys/netgraph7/bpf/ng_bpf.c
299
ng_bpf_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/bpf/ng_bpf.c
305
NGI_GET_MSG(item, msg);
sys/netgraph7/bpf/ng_bpf.c
398
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/bpf/ng_bpf.c
409
ng_bpf_rcvdata(hook_p hook, item_p item)
sys/netgraph7/bpf/ng_bpf.c
420
m = NGI_M(item); /* 'item' still owns it.. we are peeking */
sys/netgraph7/bpf/ng_bpf.c
444
NG_FREE_ITEM(item);
sys/netgraph7/bpf/ng_bpf.c
452
NGI_M(item) = m = m_pullup(m, totlen);
sys/netgraph7/bpf/ng_bpf.c
454
NG_FREE_ITEM(item);
sys/netgraph7/bpf/ng_bpf.c
492
NG_FREE_ITEM(item);
sys/netgraph7/bpf/ng_bpf.c
500
NG_FWD_ITEM_HOOK(error, item, dest);
sys/netgraph7/bridge/ng_bridge.c
382
ng_bridge_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/bridge/ng_bridge.c
389
NGI_GET_MSG(item, msg);
sys/netgraph7/bridge/ng_bridge.c
508
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/bridge/ng_bridge.c
517
ng_bridge_rcvdata(hook_p hook, item_p item)
sys/netgraph7/bridge/ng_bridge.c
529
NGI_GET_M(item, m);
sys/netgraph7/bridge/ng_bridge.c
540
NG_FREE_ITEM(item);
sys/netgraph7/bridge/ng_bridge.c
546
NG_FREE_ITEM(item);
sys/netgraph7/bridge/ng_bridge.c
552
NG_FREE_ITEM(item);
sys/netgraph7/bridge/ng_bridge.c
560
NG_FREE_ITEM(item);
sys/netgraph7/bridge/ng_bridge.c
617
NG_FREE_ITEM(item);
sys/netgraph7/bridge/ng_bridge.c
629
NG_FREE_ITEM(item);
sys/netgraph7/bridge/ng_bridge.c
657
NG_FREE_ITEM(item);
sys/netgraph7/bridge/ng_bridge.c
665
NG_FWD_NEW_DATA(error, item, destLink->hook, m);
sys/netgraph7/bridge/ng_bridge.c
686
NG_FREE_ITEM(item);
sys/netgraph7/bridge/ng_bridge.c
716
NG_FREE_ITEM(item);
sys/netgraph7/bridge/ng_bridge.c
742
NG_FWD_NEW_DATA(error, item, destLink->hook, m);
sys/netgraph7/cisco/ng_cisco.c
121
static int cisco_input(sc_p sc, item_p item);
sys/netgraph7/cisco/ng_cisco.c
241
cisco_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/cisco/ng_cisco.c
248
NGI_GET_MSG(item, msg);
sys/netgraph7/cisco/ng_cisco.c
328
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/cisco/ng_cisco.c
337
cisco_rcvdata(hook_p hook, item_p item)
sys/netgraph7/cisco/ng_cisco.c
350
return (cisco_input(sc, item));
sys/netgraph7/cisco/ng_cisco.c
354
m = NGI_M(item); /* still associated with item */
sys/netgraph7/cisco/ng_cisco.c
380
NG_FWD_NEW_DATA(error, item, sc->downstream.hook, m);
sys/netgraph7/cisco/ng_cisco.c
384
NG_FREE_ITEM(item);
sys/netgraph7/cisco/ng_cisco.c
432
cisco_input(sc_p sc, item_p item)
sys/netgraph7/cisco/ng_cisco.c
441
m = NGI_M(item);
sys/netgraph7/cisco/ng_cisco.c
557
NG_FWD_NEW_DATA(error, item, pep->hook, m);
sys/netgraph7/cisco/ng_cisco.c
561
NG_FREE_ITEM(item);
sys/netgraph7/deflate/ng_deflate.c
214
ng_deflate_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/deflate/ng_deflate.c
221
NGI_GET_MSG(item, msg);
sys/netgraph7/deflate/ng_deflate.c
285
priv->ctrlnode = NGI_RETADDR(item);
sys/netgraph7/deflate/ng_deflate.c
317
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/deflate/ng_deflate.c
326
ng_deflate_rcvdata(hook_p hook, item_p item)
sys/netgraph7/deflate/ng_deflate.c
334
NG_FREE_ITEM(item);
sys/netgraph7/deflate/ng_deflate.c
338
NGI_GET_M(item, m);
sys/netgraph7/deflate/ng_deflate.c
342
NG_FREE_ITEM(item);
sys/netgraph7/deflate/ng_deflate.c
349
NG_FREE_ITEM(item);
sys/netgraph7/deflate/ng_deflate.c
366
NG_FWD_NEW_DATA(error, item, hook, out);
sys/netgraph7/echo/ng_echo.c
102
nge_rcvdata(hook_p hook, item_p item)
sys/netgraph7/echo/ng_echo.c
106
NG_FWD_ITEM_HOOK(error, item, hook);
sys/netgraph7/echo/ng_echo.c
87
nge_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/echo/ng_echo.c
92
NGI_GET_MSG(item, msg);
sys/netgraph7/echo/ng_echo.c
94
NG_RESPOND_MSG(error, node, item, msg);
sys/netgraph7/eiface/ng_eiface.c
416
ng_eiface_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/eiface/ng_eiface.c
424
NGI_GET_MSG(item, msg);
sys/netgraph7/eiface/ng_eiface.c
519
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/eiface/ng_eiface.c
528
ng_eiface_rcvdata(hook_p hook, item_p item)
sys/netgraph7/eiface/ng_eiface.c
534
NGI_GET_M(item, m);
sys/netgraph7/eiface/ng_eiface.c
535
NG_FREE_ITEM(item);
sys/netgraph7/etf/ng_etf.c
251
ng_etf_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/etf/ng_etf.c
258
NGI_GET_MSG(item, msg);
sys/netgraph7/etf/ng_etf.c
346
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/etf/ng_etf.c
368
ng_etf_rcvdata(hook_p hook, item_p item )
sys/netgraph7/etf/ng_etf.c
378
NG_FREE_ITEM(item);
sys/netgraph7/etf/ng_etf.c
388
NGI_GET_M(item, m);
sys/netgraph7/etf/ng_etf.c
392
NG_FREE_ITEM(item);
sys/netgraph7/etf/ng_etf.c
408
NG_FWD_NEW_DATA(error, item, fil->match_hook, m);
sys/netgraph7/etf/ng_etf.c
410
NG_FWD_NEW_DATA(error, item,etfp->nomatch_hook.hook, m);
sys/netgraph7/etf/ng_etf.c
421
NG_FREE_ITEM(item);
sys/netgraph7/etf/ng_etf.c
425
NG_FWD_NEW_DATA( error, item, etfp->downstream_hook.hook, m);
sys/netgraph7/ether/ng_ether.c
413
ng_ether_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ether/ng_ether.c
420
NGI_GET_MSG(item, msg);
sys/netgraph7/ether/ng_ether.c
564
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ether/ng_ether.c
573
ng_ether_rcvdata(hook_p hook, item_p item)
sys/netgraph7/ether/ng_ether.c
579
NGI_GET_M(item, m);
sys/netgraph7/ether/ng_ether.c
580
NG_FREE_ITEM(item);
sys/netgraph7/frame_relay/ng_frame_relay.c
135
static int ngfrm_decode(node_p node, item_p item);
sys/netgraph7/frame_relay/ng_frame_relay.c
329
ngfrm_rcvdata(hook_p hook, item_p item)
sys/netgraph7/frame_relay/ng_frame_relay.c
348
return (ngfrm_decode(NG_HOOK_NODE(hook), item));
sys/netgraph7/frame_relay/ng_frame_relay.c
350
NGI_GET_M(item, m);
sys/netgraph7/frame_relay/ng_frame_relay.c
403
NG_FWD_NEW_DATA(error, item, sc->downstream.hook, m);
sys/netgraph7/frame_relay/ng_frame_relay.c
407
NG_FREE_ITEM(item);
sys/netgraph7/frame_relay/ng_frame_relay.c
416
ngfrm_decode(node_p node, item_p item)
sys/netgraph7/frame_relay/ng_frame_relay.c
426
NGI_GET_M(item, m);
sys/netgraph7/frame_relay/ng_frame_relay.c
464
NG_FWD_NEW_DATA(error, item, sc->channel[ctxnum].hook, m);
sys/netgraph7/frame_relay/ng_frame_relay.c
470
NG_FREE_ITEM(item);
sys/netgraph7/hole/ng_hole.c
147
ngh_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/hole/ng_hole.c
155
NGI_GET_MSG(item, msg);
sys/netgraph7/hole/ng_hole.c
197
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/hole/ng_hole.c
206
ngh_rcvdata(hook_p hook, item_p item)
sys/netgraph7/hole/ng_hole.c
211
hip->stats.octets += NGI_M(item)->m_pkthdr.len;
sys/netgraph7/hole/ng_hole.c
212
NG_FREE_ITEM(item);
sys/netgraph7/hub/ng_hub.c
62
ng_hub_rcvdata(hook_p hook, item_p item)
sys/netgraph7/hub/ng_hub.c
67
struct mbuf * const m = NGI_M(item), *m2;
sys/netgraph7/hub/ng_hub.c
71
NG_FREE_ITEM(item);
sys/netgraph7/hub/ng_hub.c
78
NG_FWD_ITEM_HOOK(error, item, hook2);
sys/netgraph7/hub/ng_hub.c
81
NG_FREE_ITEM(item);
sys/netgraph7/iface/ng_iface.c
654
ng_iface_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/iface/ng_iface.c
662
NGI_GET_MSG(item, msg);
sys/netgraph7/iface/ng_iface.c
763
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/iface/ng_iface.c
772
ng_iface_rcvdata(hook_p hook, item_p item)
sys/netgraph7/iface/ng_iface.c
780
NGI_GET_M(item, m);
sys/netgraph7/iface/ng_iface.c
781
NG_FREE_ITEM(item);
sys/netgraph7/ksocket/ng_ksocket.c
659
ng_ksocket_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ksocket/ng_ksocket.c
668
NGI_GET_MSG(item, msg);
sys/netgraph7/ksocket/ng_ksocket.c
725
priv->response_addr = NGI_RETADDR(item);
sys/netgraph7/ksocket/ng_ksocket.c
755
priv->response_addr = NGI_RETADDR(item);
sys/netgraph7/ksocket/ng_ksocket.c
875
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ksocket/ng_ksocket.c
884
ng_ksocket_rcvdata(hook_p hook, item_p item)
sys/netgraph7/ksocket/ng_ksocket.c
896
NGI_GET_M(item, m);
sys/netgraph7/ksocket/ng_ksocket.c
897
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
1005
NG_FREE_ITEM(item); /* duplicate or out of order */
sys/netgraph7/l2tp/ng_l2tp.c
1015
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
1021
NG_FWD_NEW_DATA(error, item, hook, m);
sys/netgraph7/l2tp/ng_l2tp.c
1032
ng_l2tp_rcvdata_ctrl(hook_p hook, item_p item)
sys/netgraph7/l2tp/ng_l2tp.c
1047
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
1052
NGI_GET_M(item, m);
sys/netgraph7/l2tp/ng_l2tp.c
1053
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
1114
ng_l2tp_rcvdata(hook_p hook, item_p item)
sys/netgraph7/l2tp/ng_l2tp.c
1128
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
1133
NGI_GET_M(item, m);
sys/netgraph7/l2tp/ng_l2tp.c
1138
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
1150
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
1177
NG_FWD_NEW_DATA(error, item, priv->lower, m);
sys/netgraph7/l2tp/ng_l2tp.c
450
ng_l2tp_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/l2tp/ng_l2tp.c
457
NGI_GET_MSG(item, msg);
sys/netgraph7/l2tp/ng_l2tp.c
485
priv->ftarget = NGI_RETADDR(item);
sys/netgraph7/l2tp/ng_l2tp.c
658
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/l2tp/ng_l2tp.c
761
ng_l2tp_rcvdata_lower(hook_p h, item_p item)
sys/netgraph7/l2tp/ng_l2tp.c
785
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
790
NGI_GET_M(item, m);
sys/netgraph7/l2tp/ng_l2tp.c
802
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
808
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
819
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
828
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
837
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
844
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
855
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
865
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
875
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
886
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
906
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
915
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
932
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
949
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
965
NG_FREE_ITEM(item);
sys/netgraph7/l2tp/ng_l2tp.c
971
NG_FWD_NEW_DATA(error, item, priv->ctrl, m);
sys/netgraph7/lmi/ng_lmi.c
443
nglmi_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/lmi/ng_lmi.c
450
NGI_GET_MSG(item, msg);
sys/netgraph7/lmi/ng_lmi.c
539
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/lmi/ng_lmi.c
555
nglmi_rcvdata(hook_p hook, item_p item)
sys/netgraph7/lmi/ng_lmi.c
564
NGI_GET_M(item, m);
sys/netgraph7/lmi/ng_lmi.c
565
NG_FREE_ITEM(item);
sys/netgraph7/mppc/ng_mppc.c
247
ng_mppc_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/mppc/ng_mppc.c
254
NGI_GET_MSG(item, msg);
sys/netgraph7/mppc/ng_mppc.c
287
priv->ctrlnode = NGI_RETADDR(item);
sys/netgraph7/mppc/ng_mppc.c
348
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/mppc/ng_mppc.c
357
ng_mppc_rcvdata(hook_p hook, item_p item)
sys/netgraph7/mppc/ng_mppc.c
364
NGI_GET_M(item, m);
sys/netgraph7/mppc/ng_mppc.c
369
NG_FREE_ITEM(item);
sys/netgraph7/mppc/ng_mppc.c
373
NG_FREE_ITEM(item);
sys/netgraph7/mppc/ng_mppc.c
376
NG_FWD_NEW_DATA(error, item, priv->xmit.hook, m);
sys/netgraph7/mppc/ng_mppc.c
384
NG_FREE_ITEM(item);
sys/netgraph7/mppc/ng_mppc.c
388
NG_FREE_ITEM(item);
sys/netgraph7/mppc/ng_mppc.c
402
NG_FWD_NEW_DATA(error, item, priv->recv.hook, m);
sys/netgraph7/netflow/netflow.c
147
item_p item = NULL;
sys/netgraph7/netflow/netflow.c
151
item = priv->export_item;
sys/netgraph7/netflow/netflow.c
156
if (item == NULL) {
sys/netgraph7/netflow/netflow.c
163
item = ng_package_data(m, NG_NOFLAGS);
sys/netgraph7/netflow/netflow.c
164
if (item == NULL)
sys/netgraph7/netflow/netflow.c
172
return (item);
sys/netgraph7/netflow/netflow.c
179
return_export_dgram(priv_p priv, item_p item, int flags)
sys/netgraph7/netflow/netflow.c
188
priv->export_item = item;
sys/netgraph7/netflow/netflow.c
192
export_send(priv, item, flags);
sys/netgraph7/netflow/netflow.c
201
expire_flow(priv_p priv, item_p *item, struct flow_entry *fle, int flags)
sys/netgraph7/netflow/netflow.c
203
if (*item == NULL)
sys/netgraph7/netflow/netflow.c
204
*item = get_export_dgram(priv);
sys/netgraph7/netflow/netflow.c
205
if (*item == NULL) {
sys/netgraph7/netflow/netflow.c
210
if (export_add(*item, fle) > 0) {
sys/netgraph7/netflow/netflow.c
211
export_send(priv, *item, flags);
sys/netgraph7/netflow/netflow.c
212
*item = NULL;
sys/netgraph7/netflow/netflow.c
353
item_p item = NULL;
sys/netgraph7/netflow/netflow.c
364
expire_flow(priv, &item, fle, NG_QUEUE);
sys/netgraph7/netflow/netflow.c
367
if (item != NULL)
sys/netgraph7/netflow/netflow.c
368
export_send(priv, item, NG_QUEUE);
sys/netgraph7/netflow/netflow.c
391
item_p item = NULL;
sys/netgraph7/netflow/netflow.c
470
expire_flow(priv, &item, fle, NG_QUEUE);
sys/netgraph7/netflow/netflow.c
491
expire_flow(priv, &item, fle, NG_QUEUE);
sys/netgraph7/netflow/netflow.c
509
if (item != NULL)
sys/netgraph7/netflow/netflow.c
510
return_export_dgram(priv, item, NG_QUEUE);
sys/netgraph7/netflow/netflow.c
581
export_send(priv_p priv, item_p item, int flags)
sys/netgraph7/netflow/netflow.c
583
struct mbuf *m = NGI_M(item);
sys/netgraph7/netflow/netflow.c
607
NG_FWD_ITEM_HOOK_FLAGS(error, item, priv->export, flags);
sys/netgraph7/netflow/netflow.c
609
NG_FREE_ITEM(item);
sys/netgraph7/netflow/netflow.c
617
export_add(item_p item, struct flow_entry *fle)
sys/netgraph7/netflow/netflow.c
619
struct netflow_v5_export_dgram *dgram = mtod(NGI_M(item),
sys/netgraph7/netflow/netflow.c
664
item_p item = NULL;
sys/netgraph7/netflow/netflow.c
697
expire_flow(priv, &item, fle, NG_NOFLAGS);
sys/netgraph7/netflow/netflow.c
705
if (item != NULL)
sys/netgraph7/netflow/netflow.c
706
return_export_dgram(priv, item, NG_NOFLAGS);
sys/netgraph7/netflow/ng_netflow.c
288
ng_netflow_rcvmsg (node_p node, item_p item, hook_p lasthook)
sys/netgraph7/netflow/ng_netflow.c
295
NGI_GET_MSG(item, msg);
sys/netgraph7/netflow/ng_netflow.c
433
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/netflow/ng_netflow.c
441
ng_netflow_rcvdata (hook_p hook, item_p item)
sys/netgraph7/netflow/ng_netflow.c
467
NG_FWD_ITEM_HOOK(error, item, iface->hook);
sys/netgraph7/netflow/ng_netflow.c
471
NGI_GET_M(item, m);
sys/netgraph7/netflow/ng_netflow.c
598
NG_FWD_NEW_DATA(error, item, iface->out, m);
sys/netgraph7/netflow/ng_netflow.c
602
if (item)
sys/netgraph7/netflow/ng_netflow.c
603
NG_FREE_ITEM(item);
sys/netgraph7/netgraph.h
100
typedef int ng_rcvdata_t(hook_p hook, item_p item);
sys/netgraph7/netgraph.h
1001
ng_ID_t _dest = NGI_RETADDR(item); \
sys/netgraph7/netgraph.h
1002
NGI_RETADDR(item) = 0; \
sys/netgraph7/netgraph.h
1003
NGI_MSG(item) = resp; \
sys/netgraph7/netgraph.h
1004
if ((error = ng_address_ID((here), (item), \
sys/netgraph7/netgraph.h
1006
SAVE_LINE(item); \
sys/netgraph7/netgraph.h
1007
(error) = ng_snd_item((item), NG_QUEUE);\
sys/netgraph7/netgraph.h
1010
NG_FREE_ITEM(item); \
sys/netgraph7/netgraph.h
1012
(item) = NULL; \
sys/netgraph7/netgraph.h
102
typedef int ng_rcvitem (node_p node, hook_p hook, item_p item);
sys/netgraph7/netgraph.h
1117
int ng_address_ID(node_p here, item_p item, ng_ID_t ID, ng_ID_t retaddr);
sys/netgraph7/netgraph.h
1118
int ng_address_hook(node_p here, item_p item, hook_p hook, ng_ID_t retaddr);
sys/netgraph7/netgraph.h
1119
int ng_address_path(node_p here, item_p item, char *address, ng_ID_t raddr);
sys/netgraph7/netgraph.h
1130
void ng_replace_retaddr(node_p here, item_p item, ng_ID_t retaddr);
sys/netgraph7/netgraph.h
1134
int ng_snd_item(item_p item, int queue);
sys/netgraph7/netgraph.h
1159
void ng_free_item(item_p item); /* Use NG_FREE_ITEM instead */
sys/netgraph7/netgraph.h
594
typedef int ng_item_fn2(node_p node, struct ng_item *item, hook_p hook);
sys/netgraph7/netgraph.h
687
void dumpitem(item_p item, char *file, int line);
sys/netgraph7/netgraph.h
688
static __inline void _ngi_check(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
689
static __inline struct mbuf ** _ngi_m(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
690
static __inline ng_ID_t * _ngi_retaddr(item_p item, char *file, int line);
sys/netgraph7/netgraph.h
691
static __inline struct ng_mesg ** _ngi_msg(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
692
static __inline ng_item_fn ** _ngi_fn(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
693
static __inline ng_item_fn2 ** _ngi_fn2(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
694
static __inline void ** _ngi_arg1(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
695
static __inline int * _ngi_arg2(item_p item, char *file, int line) ;
sys/netgraph7/netgraph.h
696
static __inline node_p _ngi_node(item_p item, char *file, int line);
sys/netgraph7/netgraph.h
697
static __inline hook_p _ngi_hook(item_p item, char *file, int line);
sys/netgraph7/netgraph.h
700
_ngi_check(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
702
(item)->lastline = line;
sys/netgraph7/netgraph.h
703
(item)->lastfile = file;
sys/netgraph7/netgraph.h
707
_ngi_m(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
709
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
710
return (&_NGI_M(item));
sys/netgraph7/netgraph.h
714
_ngi_msg(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
716
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
717
return (&_NGI_MSG(item));
sys/netgraph7/netgraph.h
721
_ngi_retaddr(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
723
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
724
return (&_NGI_RETADDR(item));
sys/netgraph7/netgraph.h
728
_ngi_fn(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
730
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
731
return (&_NGI_FN(item));
sys/netgraph7/netgraph.h
735
_ngi_fn2(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
737
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
738
return (&_NGI_FN2(item));
sys/netgraph7/netgraph.h
742
_ngi_arg1(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
744
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
745
return (&_NGI_ARG1(item));
sys/netgraph7/netgraph.h
749
_ngi_arg2(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
751
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
752
return (&_NGI_ARG2(item));
sys/netgraph7/netgraph.h
756
_ngi_node(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
758
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
759
return (_NGI_NODE(item));
sys/netgraph7/netgraph.h
763
_ngi_hook(item_p item, char *file, int line)
sys/netgraph7/netgraph.h
765
_ngi_check(item, file, line);
sys/netgraph7/netgraph.h
766
return (_NGI_HOOK(item));
sys/netgraph7/netgraph.h
787
#define NG_FREE_ITEM(item) \
sys/netgraph7/netgraph.h
789
_ngi_check(item, _NN_); \
sys/netgraph7/netgraph.h
790
item->el_flags |= NGQF_FREE; \
sys/netgraph7/netgraph.h
791
item = NULL; \
sys/netgraph7/netgraph.h
794
#define SAVE_LINE(item) \
sys/netgraph7/netgraph.h
796
(item)->lastline = __LINE__; \
sys/netgraph7/netgraph.h
797
(item)->lastfile = __FILE__; \
sys/netgraph7/netgraph.h
816
#define NG_FREE_ITEM(item) \
sys/netgraph7/netgraph.h
818
KKASSERT(!(item->el_flags & NGQF_FREE)); \
sys/netgraph7/netgraph.h
819
item->el_flags |= NGQF_FREE; \
sys/netgraph7/netgraph.h
821
#define SAVE_LINE(item) do {} while (0)
sys/netgraph7/netgraph.h
861
#define NG_FWD_ITEM_HOOK_FLAGS(error, item, hook, flags) \
sys/netgraph7/netgraph.h
864
ng_address_hook(NULL, (item), (hook), NG_NOFLAGS); \
sys/netgraph7/netgraph.h
866
SAVE_LINE(item); \
sys/netgraph7/netgraph.h
867
(error) = ng_snd_item((item), (flags)); \
sys/netgraph7/netgraph.h
869
(item) = NULL; \
sys/netgraph7/netgraph.h
871
#define NG_FWD_ITEM_HOOK(error, item, hook) \
sys/netgraph7/netgraph.h
872
NG_FWD_ITEM_HOOK_FLAGS(error, item, hook, NG_NOFLAGS)
sys/netgraph7/netgraph.h
881
#define NG_FWD_NEW_DATA_FLAGS(error, item, hook, m, flags) \
sys/netgraph7/netgraph.h
883
NGI_M(item) = (m); \
sys/netgraph7/netgraph.h
885
NG_FWD_ITEM_HOOK_FLAGS(error, item, hook, flags); \
sys/netgraph7/netgraph.h
887
#define NG_FWD_NEW_DATA(error, item, hook, m) \
sys/netgraph7/netgraph.h
888
NG_FWD_NEW_DATA_FLAGS(error, item, hook, m, NG_NOFLAGS)
sys/netgraph7/netgraph.h
984
#define NG_FWD_MSG_HOOK(error, here, item, hook, retaddr) \
sys/netgraph7/netgraph.h
986
if (((error) = ng_address_hook((here), (item), \
sys/netgraph7/netgraph.h
988
SAVE_LINE(item); \
sys/netgraph7/netgraph.h
989
(error) = ng_snd_item((item), 0); \
sys/netgraph7/netgraph.h
99
typedef int ng_rcvmsg_t(node_p node, item_p item, hook_p lasthook);
sys/netgraph7/netgraph.h
991
(item) = NULL; \
sys/netgraph7/netgraph.h
998
#define NG_RESPOND_MSG(error, here, item, resp) \
sys/netgraph7/netgraph/ng_base.c
1305
ng_con_part3(node_p node, item_p item, hook_p hook)
sys/netgraph7/netgraph/ng_base.c
1343
NG_FREE_ITEM(item);
sys/netgraph7/netgraph/ng_base.c
1348
ng_con_part2(node_p node, item_p item, hook_p hook)
sys/netgraph7/netgraph/ng_base.c
1424
if ((error = ng_send_fn2(peer->hk_node, peer, item, &ng_con_part3,
sys/netgraph7/netgraph/ng_base.c
1433
NG_FREE_ITEM(item);
sys/netgraph7/netgraph/ng_base.c
1442
ng_con_nodes(item_p item, node_p node, const char *name,
sys/netgraph7/netgraph/ng_base.c
1476
if ((error = ng_send_fn2(node2, hook2, item, &ng_con_part2, NULL, 0,
sys/netgraph7/netgraph/ng_base.c
1878
item_p item = (void *)msg;
sys/netgraph7/netgraph/ng_base.c
1880
ng_apply_item(item);
sys/netgraph7/netgraph/ng_base.c
1909
ng_snd_item(item_p item, int flags)
sys/netgraph7/netgraph/ng_base.c
1916
KASSERT(item != NULL, ("ng_snd_item: item is NULL"));
sys/netgraph7/netgraph/ng_base.c
1919
_ngi_check(item, __FILE__, __LINE__);
sys/netgraph7/netgraph/ng_base.c
1926
ng_ref_item(item);
sys/netgraph7/netgraph/ng_base.c
1931
node = NGI_NODE(item);
sys/netgraph7/netgraph/ng_base.c
1937
hook = NGI_HOOK(item);
sys/netgraph7/netgraph/ng_base.c
1938
if ((item->el_flags & NGQF_TYPE) == NGQF_DATA) {
sys/netgraph7/netgraph/ng_base.c
1940
if (NGI_M(item) == NULL)
sys/netgraph7/netgraph/ng_base.c
1942
CHECK_DATA_MBUF(NGI_M(item));
sys/netgraph7/netgraph/ng_base.c
1948
if (item->refs == 1) {
sys/netgraph7/netgraph/ng_base.c
1949
struct lwkt_msg *msg = &item->el_lmsg;
sys/netgraph7/netgraph/ng_base.c
1961
error = ng_apply_item(item);
sys/netgraph7/netgraph/ng_base.c
1974
ng_apply_item(item_p item)
sys/netgraph7/netgraph/ng_base.c
1983
KASSERT(item != NULL, ("ng_apply_item: item is NULL"));
sys/netgraph7/netgraph/ng_base.c
1984
NGI_GET_NODE(item, node); /* zaps stored node */
sys/netgraph7/netgraph/ng_base.c
1986
NGI_GET_HOOK(item, hook); /* clears stored hook */
sys/netgraph7/netgraph/ng_base.c
1993
if (((item->el_flags & NGQF_RW) == NGQF_WRITER) ||
sys/netgraph7/netgraph/ng_base.c
2002
_ngi_check(item, __FILE__, __LINE__);
sys/netgraph7/netgraph/ng_base.c
2005
switch (item->el_flags & NGQF_TYPE) {
sys/netgraph7/netgraph/ng_base.c
2014
NG_FREE_ITEM(item);
sys/netgraph7/netgraph/ng_base.c
2024
NG_FREE_ITEM(item);
sys/netgraph7/netgraph/ng_base.c
2027
error = (*rcvdata)(hook, item);
sys/netgraph7/netgraph/ng_base.c
2046
NG_FREE_ITEM(item);
sys/netgraph7/netgraph/ng_base.c
2059
if ((NGI_MSG(item)->header.typecookie == NGM_GENERIC_COOKIE) &&
sys/netgraph7/netgraph/ng_base.c
2060
((NGI_MSG(item)->header.flags & NGF_RESP) == 0)) {
sys/netgraph7/netgraph/ng_base.c
2061
error = ng_generic_msg(node, item, hook);
sys/netgraph7/netgraph/ng_base.c
2068
NG_FREE_ITEM(item);
sys/netgraph7/netgraph/ng_base.c
2071
error = (*rcvmsg)(node, item, hook);
sys/netgraph7/netgraph/ng_base.c
2083
&& (NGI_FN(item) != &ng_rmnode)) {
sys/netgraph7/netgraph/ng_base.c
2086
NG_FREE_ITEM(item);
sys/netgraph7/netgraph/ng_base.c
2089
if ((item->el_flags & NGQF_TYPE) == NGQF_FN) {
sys/netgraph7/netgraph/ng_base.c
2090
(*NGI_FN(item))(node, hook, NGI_ARG1(item),
sys/netgraph7/netgraph/ng_base.c
2091
NGI_ARG2(item));
sys/netgraph7/netgraph/ng_base.c
2092
NG_FREE_ITEM(item);
sys/netgraph7/netgraph/ng_base.c
2094
error = (*NGI_FN2(item))(node, item, hook);
sys/netgraph7/netgraph/ng_base.c
2109
ng_unref_item(item, error);
sys/netgraph7/netgraph/ng_base.c
2120
ng_generic_msg(node_p here, item_p item, hook_p lasthook)
sys/netgraph7/netgraph/ng_base.c
2126
NGI_GET_MSG(item, msg);
sys/netgraph7/netgraph/ng_base.c
213
static int ng_generic_msg(node_p here, item_p item, hook_p lasthook);
sys/netgraph7/netgraph/ng_base.c
2169
error = ng_con_nodes(item, here, con->ourhook,
sys/netgraph7/netgraph/ng_base.c
217
static int ng_apply_item(item_p item);
sys/netgraph7/netgraph/ng_base.c
219
static int ng_con_nodes(item_p item, node_p node, const char *name,
sys/netgraph7/netgraph/ng_base.c
221
static int ng_con_part2(node_p node, item_p item, hook_p hook);
sys/netgraph7/netgraph/ng_base.c
222
static int ng_con_part3(node_p node, item_p item, hook_p hook);
sys/netgraph7/netgraph/ng_base.c
2537
NGI_MSG(item) = msg; /* put it back as we found it */
sys/netgraph7/netgraph/ng_base.c
2538
return((*here->nd_type->rcvmsg)(here, item, lasthook));
sys/netgraph7/netgraph/ng_base.c
2554
NG_RESPOND_MSG(error, here, item, resp);
sys/netgraph7/netgraph/ng_base.c
2587
item_p item;
sys/netgraph7/netgraph/ng_base.c
2592
item = objcache_get(ng_oc,
sys/netgraph7/netgraph/ng_base.c
2595
if (item) {
sys/netgraph7/netgraph/ng_base.c
2596
item->el_flags = type;
sys/netgraph7/netgraph/ng_base.c
2599
TAILQ_INSERT_TAIL(&ng_itemlist, item, all);
sys/netgraph7/netgraph/ng_base.c
2605
return (item);
sys/netgraph7/netgraph/ng_base.c
2612
ng_free_item(item_p item)
sys/netgraph7/netgraph/ng_base.c
2618
KASSERT(item->apply == NULL, ("freeing item with registered callback"));
sys/netgraph7/netgraph/ng_base.c
2623
KASSERT(item->refs == 0, ("freeing item with non-zero refcount"));
sys/netgraph7/netgraph/ng_base.c
2632
switch (item->el_flags & NGQF_TYPE) {
sys/netgraph7/netgraph/ng_base.c
2635
NG_FREE_M(_NGI_M(item));
sys/netgraph7/netgraph/ng_base.c
2638
_NGI_RETADDR(item) = 0;
sys/netgraph7/netgraph/ng_base.c
2639
NG_FREE_MSG(_NGI_MSG(item));
sys/netgraph7/netgraph/ng_base.c
2644
_NGI_FN(item) = NULL;
sys/netgraph7/netgraph/ng_base.c
2645
_NGI_ARG1(item) = NULL;
sys/netgraph7/netgraph/ng_base.c
2646
_NGI_ARG2(item) = 0;
sys/netgraph7/netgraph/ng_base.c
2650
_NGI_CLR_NODE(item);
sys/netgraph7/netgraph/ng_base.c
2651
_NGI_CLR_HOOK(item);
sys/netgraph7/netgraph/ng_base.c
2655
TAILQ_REMOVE(&ng_itemlist, item, all);
sys/netgraph7/netgraph/ng_base.c
2660
bzero(item, sizeof(struct ng_item));
sys/netgraph7/netgraph/ng_base.c
2661
objcache_put(ng_oc, item);
sys/netgraph7/netgraph/ng_base.c
2668
ng_realloc_item(item_p item, int type, int flags)
sys/netgraph7/netgraph/ng_base.c
2671
KASSERT((item != NULL), ("%s: can't reallocate NULL", __func__));
sys/netgraph7/netgraph/ng_base.c
2675
item->el_flags = (item->el_flags & ~NGQF_TYPE) | type;
sys/netgraph7/netgraph/ng_base.c
2677
return (item);
sys/netgraph7/netgraph/ng_base.c
2850
dumpitem(item_p item, char *file, int line)
sys/netgraph7/netgraph/ng_base.c
2853
item->lastfile, item->lastline);
sys/netgraph7/netgraph/ng_base.c
2854
switch(item->el_flags & NGQF_TYPE) {
sys/netgraph7/netgraph/ng_base.c
2859
kprintf(" - retaddr[%d]:\n", _NGI_RETADDR(item));
sys/netgraph7/netgraph/ng_base.c
2863
_NGI_FN(item),
sys/netgraph7/netgraph/ng_base.c
2864
_NGI_NODE(item),
sys/netgraph7/netgraph/ng_base.c
2865
_NGI_HOOK(item),
sys/netgraph7/netgraph/ng_base.c
2866
item->body.fn.fn_arg1,
sys/netgraph7/netgraph/ng_base.c
2867
item->body.fn.fn_arg2,
sys/netgraph7/netgraph/ng_base.c
2868
item->body.fn.fn_arg2);
sys/netgraph7/netgraph/ng_base.c
2872
_NGI_FN2(item),
sys/netgraph7/netgraph/ng_base.c
2873
_NGI_NODE(item),
sys/netgraph7/netgraph/ng_base.c
2874
_NGI_HOOK(item),
sys/netgraph7/netgraph/ng_base.c
2875
item->body.fn.fn_arg1,
sys/netgraph7/netgraph/ng_base.c
2876
item->body.fn.fn_arg2,
sys/netgraph7/netgraph/ng_base.c
2877
item->body.fn.fn_arg2);
sys/netgraph7/netgraph/ng_base.c
2882
if (_NGI_NODE(item)) {
sys/netgraph7/netgraph/ng_base.c
2884
_NGI_NODE(item), ng_node2ID(_NGI_NODE(item)));
sys/netgraph7/netgraph/ng_base.c
2892
item_p item;
sys/netgraph7/netgraph/ng_base.c
2894
TAILQ_FOREACH(item, &ng_itemlist, all) {
sys/netgraph7/netgraph/ng_base.c
2896
dumpitem(item, NULL, 0);
sys/netgraph7/netgraph/ng_base.c
2956
if (NGI_NODE(item) ) { \
sys/netgraph7/netgraph/ng_base.c
2959
NGI_CLR_NODE(item); \
sys/netgraph7/netgraph/ng_base.c
2961
if (NGI_HOOK(item) ) { \
sys/netgraph7/netgraph/ng_base.c
2964
NGI_CLR_HOOK(item); \
sys/netgraph7/netgraph/ng_base.c
2987
item_p item;
sys/netgraph7/netgraph/ng_base.c
2989
if ((item = ng_alloc_item(NGQF_DATA, flags)) == NULL) {
sys/netgraph7/netgraph/ng_base.c
2994
item->el_flags |= NGQF_READER;
sys/netgraph7/netgraph/ng_base.c
2995
NGI_M(item) = m;
sys/netgraph7/netgraph/ng_base.c
2996
return (item);
sys/netgraph7/netgraph/ng_base.c
3009
item_p item;
sys/netgraph7/netgraph/ng_base.c
3011
if ((item = ng_alloc_item(NGQF_MESG, flags)) == NULL) {
sys/netgraph7/netgraph/ng_base.c
3018
item->el_flags |= NGQF_READER;
sys/netgraph7/netgraph/ng_base.c
3020
item->el_flags |= NGQF_WRITER;
sys/netgraph7/netgraph/ng_base.c
3024
NGI_MSG(item) = msg;
sys/netgraph7/netgraph/ng_base.c
3025
NGI_RETADDR(item) = 0;
sys/netgraph7/netgraph/ng_base.c
3026
return (item);
sys/netgraph7/netgraph/ng_base.c
3031
#define SET_RETADDR(item, here, retaddr) \
sys/netgraph7/netgraph/ng_base.c
3033
if ((item->el_flags & NGQF_TYPE) == NGQF_MESG) { \
sys/netgraph7/netgraph/ng_base.c
3035
NGI_RETADDR(item) = retaddr; \
sys/netgraph7/netgraph/ng_base.c
3042
if (NGI_RETADDR(item) == 0) { \
sys/netgraph7/netgraph/ng_base.c
3043
NGI_RETADDR(item) \
sys/netgraph7/netgraph/ng_base.c
3051
ng_address_hook(node_p here, item_p item, hook_p hook, ng_ID_t retaddr)
sys/netgraph7/netgraph/ng_base.c
3066
NG_FREE_ITEM(item);
sys/netgraph7/netgraph/ng_base.c
3076
NGI_SET_HOOK(item, peer);
sys/netgraph7/netgraph/ng_base.c
3077
NGI_SET_NODE(item, peernode);
sys/netgraph7/netgraph/ng_base.c
3078
SET_RETADDR(item, here, retaddr);
sys/netgraph7/netgraph/ng_base.c
3083
ng_address_path(node_p here, item_p item, char *address, ng_ID_t retaddr)
sys/netgraph7/netgraph/ng_base.c
3096
NG_FREE_ITEM(item);
sys/netgraph7/netgraph/ng_base.c
3099
NGI_SET_NODE(item, dest);
sys/netgraph7/netgraph/ng_base.c
3102
NGI_SET_HOOK(item, hook);
sys/netgraph7/netgraph/ng_base.c
3104
SET_RETADDR(item, here, retaddr);
sys/netgraph7/netgraph/ng_base.c
3109
ng_address_ID(node_p here, item_p item, ng_ID_t ID, ng_ID_t retaddr)
sys/netgraph7/netgraph/ng_base.c
3119
NG_FREE_ITEM(item);
sys/netgraph7/netgraph/ng_base.c
3124
NGI_SET_NODE(item, dest);
sys/netgraph7/netgraph/ng_base.c
3125
NGI_CLR_HOOK(item);
sys/netgraph7/netgraph/ng_base.c
3126
SET_RETADDR(item, here, retaddr);
sys/netgraph7/netgraph/ng_base.c
3138
item_p item;
sys/netgraph7/netgraph/ng_base.c
3145
if ((item = ng_alloc_item(NGQF_MESG, NG_NOFLAGS)) == NULL) {
sys/netgraph7/netgraph/ng_base.c
3151
item->el_flags |= NGQF_WRITER;
sys/netgraph7/netgraph/ng_base.c
3153
NGI_SET_NODE(item, here);
sys/netgraph7/netgraph/ng_base.c
3156
NGI_SET_HOOK(item, hook);
sys/netgraph7/netgraph/ng_base.c
3158
NGI_MSG(item) = msg;
sys/netgraph7/netgraph/ng_base.c
3159
NGI_RETADDR(item) = ng_node2ID(here);
sys/netgraph7/netgraph/ng_base.c
3160
return (item);
sys/netgraph7/netgraph/ng_base.c
3177
item_p item;
sys/netgraph7/netgraph/ng_base.c
3179
if ((item = ng_alloc_item(NGQF_FN, flags)) == NULL) {
sys/netgraph7/netgraph/ng_base.c
3182
item->el_flags |= NGQF_WRITER;
sys/netgraph7/netgraph/ng_base.c
3184
NGI_SET_NODE(item, node);
sys/netgraph7/netgraph/ng_base.c
3187
NGI_SET_HOOK(item, hook);
sys/netgraph7/netgraph/ng_base.c
3189
NGI_FN(item) = fn;
sys/netgraph7/netgraph/ng_base.c
3190
NGI_ARG1(item) = arg1;
sys/netgraph7/netgraph/ng_base.c
3191
NGI_ARG2(item) = arg2;
sys/netgraph7/netgraph/ng_base.c
3192
return(ng_snd_item(item, flags));
sys/netgraph7/netgraph/ng_base.c
3205
item_p item;
sys/netgraph7/netgraph/ng_base.c
3215
if ((item = ng_alloc_item(NGQF_FN2, flags)) == NULL)
sys/netgraph7/netgraph/ng_base.c
3218
if ((item = ng_realloc_item(pitem, NGQF_FN2, flags)) == NULL)
sys/netgraph7/netgraph/ng_base.c
3222
item->el_flags = (item->el_flags & ~NGQF_RW) | NGQF_WRITER;
sys/netgraph7/netgraph/ng_base.c
3224
NGI_SET_NODE(item, node);
sys/netgraph7/netgraph/ng_base.c
3227
NGI_SET_HOOK(item, hook);
sys/netgraph7/netgraph/ng_base.c
3229
NGI_FN2(item) = fn;
sys/netgraph7/netgraph/ng_base.c
3230
NGI_ARG1(item) = arg1;
sys/netgraph7/netgraph/ng_base.c
3231
NGI_ARG2(item) = arg2;
sys/netgraph7/netgraph/ng_base.c
3232
return(ng_snd_item(item, flags));
sys/netgraph7/netgraph/ng_base.c
3241
item_p item = arg;
sys/netgraph7/netgraph/ng_base.c
3243
ng_snd_item(item, 0);
sys/netgraph7/netgraph/ng_base.c
3251
item_p item, oitem;
sys/netgraph7/netgraph/ng_base.c
3253
if ((item = ng_alloc_item(NGQF_FN, NG_NOFLAGS)) == NULL)
sys/netgraph7/netgraph/ng_base.c
3256
item->el_flags |= NGQF_WRITER;
sys/netgraph7/netgraph/ng_base.c
3258
NGI_SET_NODE(item, node);
sys/netgraph7/netgraph/ng_base.c
3261
NGI_SET_HOOK(item, hook);
sys/netgraph7/netgraph/ng_base.c
3263
NGI_FN(item) = fn;
sys/netgraph7/netgraph/ng_base.c
3264
NGI_ARG1(item) = arg1;
sys/netgraph7/netgraph/ng_base.c
3265
NGI_ARG2(item) = arg2;
sys/netgraph7/netgraph/ng_base.c
3267
callout_reset(c, ticks, &ng_callout_trampoline, item);
sys/netgraph7/netgraph/ng_base.c
3275
item_p item;
sys/netgraph7/netgraph/ng_base.c
3282
item = callout_arg(c);
sys/netgraph7/netgraph/ng_base.c
3285
(NGI_NODE(item) == node)) {
sys/netgraph7/netgraph/ng_base.c
3291
NG_FREE_ITEM(item);
sys/netgraph7/netgraph/ng_base.c
3302
ng_replace_retaddr(node_p here, item_p item, ng_ID_t retaddr)
sys/netgraph7/netgraph/ng_base.c
3305
NGI_RETADDR(item) = retaddr;
sys/netgraph7/netgraph/ng_base.c
3311
NGI_RETADDR(item) = ng_node2ID(here);
sys/netgraph7/netgraph/ng_base.c
3328
ng_macro_test(item_p item);
sys/netgraph7/netgraph/ng_base.c
3330
ng_macro_test(item_p item)
sys/netgraph7/netgraph/ng_base.c
3339
NGI_GET_M(item, m);
sys/netgraph7/netgraph/ng_base.c
3340
NGI_GET_MSG(item, msg);
sys/netgraph7/netgraph/ng_base.c
3341
retaddr = NGI_RETADDR(item);
sys/netgraph7/netgraph/ng_base.c
3344
NG_FWD_NEW_DATA(error, item, hook, m);
sys/netgraph7/netgraph/ng_base.c
3345
NG_FWD_ITEM_HOOK(error, item, hook);
sys/netgraph7/netgraph/ng_base.c
3349
NG_FWD_MSG_HOOK(error, node, item, hook, retaddr);
sys/netgraph7/netgraph2.h
65
ng_ref_item(item_p item)
sys/netgraph7/netgraph2.h
67
refcount_acquire(&item->refs);
sys/netgraph7/netgraph2.h
77
ng_unref_item(item_p item, int error)
sys/netgraph7/netgraph2.h
79
if (refcount_release(&item->refs)) {
sys/netgraph7/netgraph2.h
81
if (item->apply != NULL) {
sys/netgraph7/netgraph2.h
82
KKASSERT(item->apply->apply != NULL);
sys/netgraph7/netgraph2.h
83
(*item->apply->apply)(item->apply->context, error);
sys/netgraph7/netgraph2.h
84
ng_free_apply(item->apply);
sys/netgraph7/netgraph2.h
85
item->apply = NULL;
sys/netgraph7/netgraph2.h
87
ng_free_item(item);
sys/netgraph7/ng_car.c
261
ng_car_rcvdata(hook_p hook, item_p item )
sys/netgraph7/ng_car.c
270
ng_car_enqueue(hinfo, item);
sys/netgraph7/ng_car.c
274
m = NGI_M(item);
sys/netgraph7/ng_car.c
289
NG_FREE_ITEM(item); \
sys/netgraph7/ng_car.c
322
ng_car_enqueue(hinfo, item);
sys/netgraph7/ng_car.c
368
NG_FWD_ITEM_HOOK(error, item, hinfo->dest);
sys/netgraph7/ng_car.c
380
ng_car_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ng_car.c
387
NGI_GET_MSG(item, msg);
sys/netgraph7/ng_car.c
526
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ng_car.c
713
ng_car_enqueue(struct hookinfo *hinfo, item_p item)
sys/netgraph7/ng_car.c
718
NGI_GET_M(item, m);
sys/netgraph7/ng_car.c
719
NG_FREE_ITEM(item);
sys/netgraph7/ng_car.c
92
static void ng_car_enqueue(struct hookinfo *h, item_p item);
sys/netgraph7/ng_device.c
200
ng_device_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ng_device.c
207
NGI_GET_MSG(item, msg);
sys/netgraph7/ng_device.c
231
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ng_device.c
259
ng_device_rcvdata(hook_p hook, item_p item)
sys/netgraph7/ng_device.c
266
NGI_GET_M(item, m);
sys/netgraph7/ng_device.c
267
NG_FREE_ITEM(item);
sys/netgraph7/ng_fec.c
1272
ng_fec_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ng_fec.c
1281
NGI_GET_MSG(item, msg);
sys/netgraph7/ng_fec.c
1317
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ng_gif.c
397
ng_gif_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ng_gif.c
404
NGI_GET_MSG(item, msg);
sys/netgraph7/ng_gif.c
433
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ng_gif.c
442
ng_gif_rcvdata(hook_p hook, item_p item)
sys/netgraph7/ng_gif.c
448
NGI_GET_M(item, m);
sys/netgraph7/ng_gif.c
449
NG_FREE_ITEM(item);
sys/netgraph7/ng_gif_demux.c
275
ng_gif_demux_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ng_gif_demux.c
281
NGI_GET_MSG(item, msg);
sys/netgraph7/ng_gif_demux.c
297
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ng_gif_demux.c
306
ng_gif_demux_rcvdata(hook_p hook, item_p item)
sys/netgraph7/ng_gif_demux.c
316
NGI_GET_M(item, m);
sys/netgraph7/ng_gif_demux.c
325
NG_FREE_ITEM(item);
sys/netgraph7/ng_gif_demux.c
330
NG_FREE_ITEM(item);
sys/netgraph7/ng_gif_demux.c
336
NG_FREE_ITEM(item);
sys/netgraph7/ng_gif_demux.c
349
NG_FREE_ITEM(item);
sys/netgraph7/ng_gif_demux.c
358
NGI_M(item) = m;
sys/netgraph7/ng_gif_demux.c
361
NG_FWD_ITEM_HOOK(error, item, outhook);
sys/netgraph7/ng_ip_input.c
118
ngipi_rcvdata(hook_p hook, item_p item)
sys/netgraph7/ng_ip_input.c
122
NGI_GET_M(item, m);
sys/netgraph7/ng_ip_input.c
123
NG_FREE_ITEM(item);
sys/netgraph7/ng_ipfw.c
220
ng_ipfw_rcvdata(hook_p hook, item_p item)
sys/netgraph7/ng_ipfw.c
225
NGI_GET_M(item, m);
sys/netgraph7/ng_ipfw.c
226
NG_FREE_ITEM(item);
sys/netgraph7/ng_nat.c
329
ng_nat_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ng_nat.c
336
NGI_GET_MSG(item, msg);
sys/netgraph7/ng_nat.c
666
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ng_nat.c
672
ng_nat_rcvdata(hook_p hook, item_p item )
sys/netgraph7/ng_nat.c
682
NG_FREE_ITEM(item);
sys/netgraph7/ng_nat.c
690
m = NGI_M(item);
sys/netgraph7/ng_nat.c
693
NGI_M(item) = NULL; /* avoid double free */
sys/netgraph7/ng_nat.c
694
NG_FREE_ITEM(item);
sys/netgraph7/ng_nat.c
698
NGI_M(item) = m;
sys/netgraph7/ng_nat.c
710
NG_FREE_ITEM(item);
sys/netgraph7/ng_nat.c
716
NG_FREE_ITEM(item);
sys/netgraph7/ng_nat.c
767
NG_FWD_ITEM_HOOK(error, item, priv->out);
sys/netgraph7/ng_nat.c
769
NG_FWD_ITEM_HOOK(error, item, priv->in);
sys/netgraph7/ng_pred1.c
227
ng_pred1_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ng_pred1.c
234
NGI_GET_MSG(item, msg);
sys/netgraph7/ng_pred1.c
253
priv->ctrlnode = NGI_RETADDR(item);
sys/netgraph7/ng_pred1.c
288
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ng_pred1.c
297
ng_pred1_rcvdata(hook_p hook, item_p item)
sys/netgraph7/ng_pred1.c
305
NG_FREE_ITEM(item);
sys/netgraph7/ng_pred1.c
309
NGI_GET_M(item, m);
sys/netgraph7/ng_pred1.c
313
NG_FREE_ITEM(item);
sys/netgraph7/ng_pred1.c
320
NG_FREE_ITEM(item);
sys/netgraph7/ng_pred1.c
337
NG_FWD_NEW_DATA(error, item, hook, out);
sys/netgraph7/ng_sample.c
263
ng_xxx_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ng_sample.c
270
NGI_GET_MSG(item, msg);
sys/netgraph7/ng_sample.c
307
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ng_sample.c
329
ng_xxx_rcvdata(hook_p hook, item_p item )
sys/netgraph7/ng_sample.c
337
NGI_GET_M(item, m);
sys/netgraph7/ng_sample.c
348
NG_FWD_NEW_DATA(error, item,
sys/netgraph7/ng_sample.c
359
NG_FREE_ITEM(item);
sys/netgraph7/ng_sample.c
374
NG_FWD_NEW_DATA(error, item,
sys/netgraph7/ng_sample.c
381
NG_FREE_ITEM(item);
sys/netgraph7/ng_source.c
341
ng_source_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ng_source.c
347
NGI_GET_MSG(item, msg);
sys/netgraph7/ng_source.c
533
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ng_source.c
546
ng_source_rcvdata(hook_p hook, item_p item)
sys/netgraph7/ng_source.c
552
NGI_GET_M(item, m);
sys/netgraph7/ng_source.c
553
NG_FREE_ITEM(item);
sys/netgraph7/ng_split.c
129
ng_split_rcvdata(hook_p hook, item_p item)
sys/netgraph7/ng_split.c
136
NG_FREE_ITEM(item);
sys/netgraph7/ng_split.c
139
NG_FWD_ITEM_HOOK(error, item, priv->mixed);
sys/netgraph7/ng_split.c
141
NG_FWD_ITEM_HOOK(error, item, priv->out);
sys/netgraph7/ng_split.c
144
if (item)
sys/netgraph7/ng_split.c
145
NG_FREE_ITEM(item);
sys/netgraph7/ng_sppp.c
317
ng_sppp_rcvmsg (node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ng_sppp.c
325
NGI_GET_MSG (item, msg);
sys/netgraph7/ng_sppp.c
347
NG_RESPOND_MSG (error, node, item, resp);
sys/netgraph7/ng_sppp.c
356
ng_sppp_rcvdata (hook_p hook, item_p item)
sys/netgraph7/ng_sppp.c
362
NGI_GET_M (item, m);
sys/netgraph7/ng_sppp.c
363
NG_FREE_ITEM (item);
sys/netgraph7/ng_tag.c
346
ng_tag_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ng_tag.c
352
NGI_GET_MSG(item, msg);
sys/netgraph7/ng_tag.c
491
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ng_tag.c
502
ng_tag_rcvdata(hook_p hook, item_p item)
sys/netgraph7/ng_tag.c
514
m = NGI_M(item); /* 'item' still owns it.. we are peeking */
sys/netgraph7/ng_tag.c
558
NG_FREE_ITEM(item);
sys/netgraph7/ng_tag.c
587
NG_FWD_ITEM_HOOK(error, item, dest);
sys/netgraph7/ng_vlan.c
194
ng_vlan_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ng_vlan.c
205
NGI_GET_MSG(item, msg);
sys/netgraph7/ng_vlan.c
336
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ng_vlan.c
342
ng_vlan_rcvdata(hook_p hook, item_p item)
sys/netgraph7/ng_vlan.c
353
NGI_GET_M(item, m);
sys/netgraph7/ng_vlan.c
356
NG_FREE_ITEM(item);
sys/netgraph7/ng_vlan.c
376
NG_FREE_ITEM(item);
sys/netgraph7/ng_vlan.c
398
NG_FWD_NEW_DATA(error, item, f->hook, m);
sys/netgraph7/ng_vlan.c
400
NG_FWD_NEW_DATA(error, item, priv->nomatch_hook, m);
sys/netgraph7/ng_vlan.c
409
NG_FREE_ITEM(item);
sys/netgraph7/ng_vlan.c
417
NG_FREE_ITEM(item);
sys/netgraph7/ng_vlan.c
431
NG_FWD_NEW_DATA(error, item, priv->downstream_hook, m);
sys/netgraph7/one2many/ng_one2many.c
257
ng_one2many_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/one2many/ng_one2many.c
264
NGI_GET_MSG(item, msg);
sys/netgraph7/one2many/ng_one2many.c
405
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/one2many/ng_one2many.c
414
ng_one2many_rcvdata(hook_p hook, item_p item)
sys/netgraph7/one2many/ng_one2many.c
425
m = NGI_M(item); /* just peaking, mbuf still owned by item */
sys/netgraph7/one2many/ng_one2many.c
444
NG_FREE_ITEM(item);
sys/netgraph7/one2many/ng_one2many.c
467
NG_FREE_ITEM(item);
sys/netgraph7/one2many/ng_one2many.c
491
NG_FWD_ITEM_HOOK(error, item, dst->hook);
sys/netgraph7/ppp/ng_ppp.c
1000
ng_ppp_rcvdata_vjc_vjip(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
1006
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1009
return (ng_ppp_comp_xmit(node, item, PROT_IP));
sys/netgraph7/ppp/ng_ppp.c
1013
ng_ppp_hcomp_recv(node_p node, item_p item, uint16_t proto, uint16_t linkNum)
sys/netgraph7/ppp/ng_ppp.c
1033
NG_FWD_ITEM_HOOK(error, item, outHook);
sys/netgraph7/ppp/ng_ppp.c
1038
return (ng_ppp_proto_recv(node, item, proto, linkNum));
sys/netgraph7/ppp/ng_ppp.c
1045
ng_ppp_rcvdata_vjc_ip(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
1051
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1054
return (ng_ppp_proto_recv(node, item, PROT_IP, NG_PPP_BUNDLE_LINKNUM));
sys/netgraph7/ppp/ng_ppp.c
1062
ng_ppp_comp_xmit(node_p node, item_p item, uint16_t proto)
sys/netgraph7/ppp/ng_ppp.c
1074
NGI_GET_M(item, m);
sys/netgraph7/ppp/ng_ppp.c
1076
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1079
NGI_M(item) = m;
sys/netgraph7/ppp/ng_ppp.c
1082
NG_FWD_ITEM_HOOK(error, item, priv->hooks[HOOK_INDEX_COMPRESS]);
sys/netgraph7/ppp/ng_ppp.c
1086
return (ng_ppp_crypt_xmit(node, item, proto));
sys/netgraph7/ppp/ng_ppp.c
1093
ng_ppp_rcvdata_compress(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
1101
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1107
NGI_GET_M(item, m);
sys/netgraph7/ppp/ng_ppp.c
1109
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1112
NGI_M(item) = m;
sys/netgraph7/ppp/ng_ppp.c
1114
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1123
return (ng_ppp_crypt_xmit(node, item, proto));
sys/netgraph7/ppp/ng_ppp.c
1127
ng_ppp_comp_recv(node_p node, item_p item, uint16_t proto, uint16_t linkNum)
sys/netgraph7/ppp/ng_ppp.c
1139
NGI_GET_M(item, m);
sys/netgraph7/ppp/ng_ppp.c
1141
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1144
NGI_M(item) = m;
sys/netgraph7/ppp/ng_ppp.c
1148
NG_FWD_ITEM_HOOK(error, item,
sys/netgraph7/ppp/ng_ppp.c
1154
return (ng_ppp_bypass(node, item, proto, linkNum));
sys/netgraph7/ppp/ng_ppp.c
1157
return (ng_ppp_hcomp_recv(node, item, proto, linkNum));
sys/netgraph7/ppp/ng_ppp.c
1164
ng_ppp_rcvdata_decompress(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
1172
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1175
NGI_GET_M(item, m);
sys/netgraph7/ppp/ng_ppp.c
1177
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1180
NGI_M(item) = m;
sys/netgraph7/ppp/ng_ppp.c
1183
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1186
return (ng_ppp_hcomp_recv(node, item, proto, NG_PPP_BUNDLE_LINKNUM));
sys/netgraph7/ppp/ng_ppp.c
1194
ng_ppp_crypt_xmit(node_p node, item_p item, uint16_t proto)
sys/netgraph7/ppp/ng_ppp.c
1205
NGI_GET_M(item, m);
sys/netgraph7/ppp/ng_ppp.c
1207
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1210
NGI_M(item) = m;
sys/netgraph7/ppp/ng_ppp.c
1213
NG_FWD_ITEM_HOOK(error, item, priv->hooks[HOOK_INDEX_ENCRYPT]);
sys/netgraph7/ppp/ng_ppp.c
1217
return (ng_ppp_mp_xmit(node, item, proto));
sys/netgraph7/ppp/ng_ppp.c
1224
ng_ppp_rcvdata_encrypt(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
1230
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1233
return (ng_ppp_mp_xmit(node, item, PROT_CRYPTD));
sys/netgraph7/ppp/ng_ppp.c
1237
ng_ppp_crypt_recv(node_p node, item_p item, uint16_t proto, uint16_t linkNum)
sys/netgraph7/ppp/ng_ppp.c
1247
NG_FWD_ITEM_HOOK(error, item,
sys/netgraph7/ppp/ng_ppp.c
1253
return (ng_ppp_bypass(node, item, proto, linkNum));
sys/netgraph7/ppp/ng_ppp.c
1257
return (ng_ppp_comp_recv(node, item, proto, linkNum));
sys/netgraph7/ppp/ng_ppp.c
1264
ng_ppp_rcvdata_decrypt(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
1272
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1275
NGI_GET_M(item, m);
sys/netgraph7/ppp/ng_ppp.c
1277
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1280
NGI_M(item) = m;
sys/netgraph7/ppp/ng_ppp.c
1283
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1286
return (ng_ppp_comp_recv(node, item, proto, NG_PPP_BUNDLE_LINKNUM));
sys/netgraph7/ppp/ng_ppp.c
1294
ng_ppp_link_xmit(node_p node, item_p item, uint16_t proto, uint16_t linkNum, int plen)
sys/netgraph7/ppp/ng_ppp.c
1316
NGI_GET_M(item, m);
sys/netgraph7/ppp/ng_ppp.c
1339
NG_FWD_NEW_DATA(error, item, link->hook, m);
sys/netgraph7/ppp/ng_ppp.c
1372
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1380
ng_ppp_rcvdata(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
1394
NGI_GET_M(item, m);
sys/netgraph7/ppp/ng_ppp.c
1412
NGI_M(item) = m; /* Put changed m back into item. */
sys/netgraph7/ppp/ng_ppp.c
1422
return (ng_ppp_bypass(node, item, proto, linkNum));
sys/netgraph7/ppp/ng_ppp.c
1430
error = ng_ppp_mp_recv(node, item, proto, linkNum);
sys/netgraph7/ppp/ng_ppp.c
1436
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1497
ng_ppp_mp_recv(node_p node, item_p item, uint16_t proto, uint16_t linkNum)
sys/netgraph7/ppp/ng_ppp.c
1510
priv->bundleStats.recvOctets += NGI_M(item)->m_pkthdr.len;
sys/netgraph7/ppp/ng_ppp.c
1513
return (ng_ppp_crypt_recv(node, item, proto, linkNum));
sys/netgraph7/ppp/ng_ppp.c
1516
NGI_GET_M(item, m);
sys/netgraph7/ppp/ng_ppp.c
1606
error = ng_ppp_frag_process(node, item);
sys/netgraph7/ppp/ng_ppp.c
1612
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1803
item_p item;
sys/netgraph7/ppp/ng_ppp.c
1818
item = oitem;
sys/netgraph7/ppp/ng_ppp.c
1820
NGI_M(item) = m;
sys/netgraph7/ppp/ng_ppp.c
1822
item = ng_package_data(m, NG_NOFLAGS);
sys/netgraph7/ppp/ng_ppp.c
1824
if (item != NULL) {
sys/netgraph7/ppp/ng_ppp.c
1828
NGI_M(item)->m_pkthdr.len;
sys/netgraph7/ppp/ng_ppp.c
1834
ng_ppp_crypt_recv(node, item, proto,
sys/netgraph7/ppp/ng_ppp.c
1869
item_p item;
sys/netgraph7/ppp/ng_ppp.c
1932
if ((item = ng_package_data(m, NG_NOFLAGS)) != NULL) {
sys/netgraph7/ppp/ng_ppp.c
1935
priv->bundleStats.recvOctets += NGI_M(item)->m_pkthdr.len;
sys/netgraph7/ppp/ng_ppp.c
1937
ng_ppp_crypt_recv(node, item, proto,
sys/netgraph7/ppp/ng_ppp.c
1965
ng_ppp_mp_xmit(node_p node, item_p item, uint16_t proto)
sys/netgraph7/ppp/ng_ppp.c
1979
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
1984
plen = NGI_M(item)->m_pkthdr.len;
sys/netgraph7/ppp/ng_ppp.c
1987
return (ng_ppp_link_xmit(node, item, proto,
sys/netgraph7/ppp/ng_ppp.c
1992
NGI_GET_M(item, m);
sys/netgraph7/ppp/ng_ppp.c
1996
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
2088
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
2123
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
2129
NGI_M(item) = m2; /* Reuse original item. */
sys/netgraph7/ppp/ng_ppp.c
2131
item = ng_package_data(m2, NG_NOFLAGS);
sys/netgraph7/ppp/ng_ppp.c
2133
if (item != NULL) {
sys/netgraph7/ppp/ng_ppp.c
2134
error = ng_ppp_link_xmit(node, item, PROT_MP,
sys/netgraph7/ppp/ng_ppp.c
291
static int ng_ppp_proto_recv(node_p node, item_p item, uint16_t proto,
sys/netgraph7/ppp/ng_ppp.c
293
static int ng_ppp_hcomp_xmit(node_p node, item_p item, uint16_t proto);
sys/netgraph7/ppp/ng_ppp.c
294
static int ng_ppp_hcomp_recv(node_p node, item_p item, uint16_t proto,
sys/netgraph7/ppp/ng_ppp.c
296
static int ng_ppp_comp_xmit(node_p node, item_p item, uint16_t proto);
sys/netgraph7/ppp/ng_ppp.c
297
static int ng_ppp_comp_recv(node_p node, item_p item, uint16_t proto,
sys/netgraph7/ppp/ng_ppp.c
299
static int ng_ppp_crypt_xmit(node_p node, item_p item, uint16_t proto);
sys/netgraph7/ppp/ng_ppp.c
300
static int ng_ppp_crypt_recv(node_p node, item_p item, uint16_t proto,
sys/netgraph7/ppp/ng_ppp.c
302
static int ng_ppp_mp_xmit(node_p node, item_p item, uint16_t proto);
sys/netgraph7/ppp/ng_ppp.c
303
static int ng_ppp_mp_recv(node_p node, item_p item, uint16_t proto,
sys/netgraph7/ppp/ng_ppp.c
305
static int ng_ppp_link_xmit(node_p node, item_p item, uint16_t proto,
sys/netgraph7/ppp/ng_ppp.c
308
static int ng_ppp_bypass(node_p node, item_p item, uint16_t proto,
sys/netgraph7/ppp/ng_ppp.c
585
ng_ppp_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/ppp/ng_ppp.c
592
NGI_GET_MSG(item, msg);
sys/netgraph7/ppp/ng_ppp.c
716
NGI_MSG(item) = msg; /* put it back in the item */
sys/netgraph7/ppp/ng_ppp.c
719
NG_FWD_ITEM_HOOK(error, item, lasthook);
sys/netgraph7/ppp/ng_ppp.c
728
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/ppp/ng_ppp.c
788
ng_ppp_rcvdata_inet(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
794
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
797
return (ng_ppp_hcomp_xmit(NG_HOOK_NODE(hook), item, PROT_IP));
sys/netgraph7/ppp/ng_ppp.c
804
ng_ppp_rcvdata_ipv6(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
810
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
813
return (ng_ppp_hcomp_xmit(NG_HOOK_NODE(hook), item, PROT_IPV6));
sys/netgraph7/ppp/ng_ppp.c
820
ng_ppp_rcvdata_atalk(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
826
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
829
return (ng_ppp_hcomp_xmit(NG_HOOK_NODE(hook), item, PROT_ATALK));
sys/netgraph7/ppp/ng_ppp.c
836
ng_ppp_rcvdata_ipx(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
842
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
845
return (ng_ppp_hcomp_xmit(NG_HOOK_NODE(hook), item, PROT_IPX));
sys/netgraph7/ppp/ng_ppp.c
852
ng_ppp_rcvdata_bypass(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
858
NGI_GET_M(item, m);
sys/netgraph7/ppp/ng_ppp.c
860
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
864
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
870
NGI_M(item) = m;
sys/netgraph7/ppp/ng_ppp.c
873
return (ng_ppp_hcomp_xmit(NG_HOOK_NODE(hook), item, proto));
sys/netgraph7/ppp/ng_ppp.c
875
return (ng_ppp_link_xmit(NG_HOOK_NODE(hook), item, proto,
sys/netgraph7/ppp/ng_ppp.c
880
ng_ppp_bypass(node_p node, item_p item, uint16_t proto, uint16_t linkNum)
sys/netgraph7/ppp/ng_ppp.c
888
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
896
NGI_GET_M(item, m);
sys/netgraph7/ppp/ng_ppp.c
898
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
901
NGI_M(item) = m;
sys/netgraph7/ppp/ng_ppp.c
904
NG_FWD_ITEM_HOOK(error, item, priv->hooks[HOOK_INDEX_BYPASS]);
sys/netgraph7/ppp/ng_ppp.c
909
ng_ppp_proto_recv(node_p node, item_p item, uint16_t proto, uint16_t linkNum)
sys/netgraph7/ppp/ng_ppp.c
935
return (ng_ppp_bypass(node, item, proto, linkNum));
sys/netgraph7/ppp/ng_ppp.c
938
NG_FWD_ITEM_HOOK(error, item, outHook);
sys/netgraph7/ppp/ng_ppp.c
947
ng_ppp_hcomp_xmit(node_p node, item_p item, uint16_t proto)
sys/netgraph7/ppp/ng_ppp.c
957
NG_FWD_ITEM_HOOK(error, item, priv->hooks[HOOK_INDEX_VJC_IP]);
sys/netgraph7/ppp/ng_ppp.c
961
return (ng_ppp_comp_xmit(node, item, proto));
sys/netgraph7/ppp/ng_ppp.c
968
ng_ppp_rcvdata_vjc_comp(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
974
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
977
return (ng_ppp_comp_xmit(node, item, PROT_VJCOMP));
sys/netgraph7/ppp/ng_ppp.c
984
ng_ppp_rcvdata_vjc_uncomp(hook_p hook, item_p item)
sys/netgraph7/ppp/ng_ppp.c
990
NG_FREE_ITEM(item);
sys/netgraph7/ppp/ng_ppp.c
993
return (ng_ppp_comp_xmit(node, item, PROT_VJUNCOMP));
sys/netgraph7/pppoe/ng_pppoe.c
1033
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/pppoe/ng_pppoe.c
1132
ng_pppoe_rcvdata(hook_p hook, item_p item)
sys/netgraph7/pppoe/ng_pppoe.c
1142
__func__, node->nd_ID, node, item, hook->hk_name, hook);
sys/netgraph7/pppoe/ng_pppoe.c
1144
NGI_GET_M(item, m);
sys/netgraph7/pppoe/ng_pppoe.c
1172
NG_FWD_NEW_DATA(error, item, privp->ethernet_hook, m);
sys/netgraph7/pppoe/ng_pppoe.c
1256
NG_FWD_NEW_DATA(error, item, privp->ethernet_hook, m0);
sys/netgraph7/pppoe/ng_pppoe.c
1269
if (item)
sys/netgraph7/pppoe/ng_pppoe.c
1270
NG_FREE_ITEM(item);
sys/netgraph7/pppoe/ng_pppoe.c
1279
ng_pppoe_rcvdata_ether(hook_p hook, item_p item)
sys/netgraph7/pppoe/ng_pppoe.c
1297
__func__, node->nd_ID, node, item, hook->hk_name, hook);
sys/netgraph7/pppoe/ng_pppoe.c
1299
NGI_GET_M(item, m);
sys/netgraph7/pppoe/ng_pppoe.c
1388
NG_FWD_NEW_DATA(error, item, sendhook, m);
sys/netgraph7/pppoe/ng_pppoe.c
1476
NG_FWD_NEW_DATA(error, item, privp->ethernet_hook, m0);
sys/netgraph7/pppoe/ng_pppoe.c
1534
NG_FWD_NEW_DATA(error, item, privp->ethernet_hook, m0);
sys/netgraph7/pppoe/ng_pppoe.c
1655
NG_FWD_NEW_DATA(error, item, sp->hook, m);
sys/netgraph7/pppoe/ng_pppoe.c
1661
if (item)
sys/netgraph7/pppoe/ng_pppoe.c
1662
NG_FREE_ITEM(item);
sys/netgraph7/pppoe/ng_pppoe.c
1671
ng_pppoe_rcvdata_debug(hook_p hook, item_p item)
sys/netgraph7/pppoe/ng_pppoe.c
1678
__func__, node->nd_ID, node, item, hook->hk_name, hook);
sys/netgraph7/pppoe/ng_pppoe.c
1680
NG_FWD_ITEM_HOOK(error, item, privp->ethernet_hook);
sys/netgraph7/pppoe/ng_pppoe.c
716
ng_pppoe_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/pppoe/ng_pppoe.c
727
NGI_GET_MSG(item, msg);
sys/netgraph7/pppoe/ng_pppoe.c
822
sp->creator = NGI_RETADDR(item);
sys/netgraph7/pptpgre/ng_pptpgre.c
185
static int ng_pptpgre_xmit(hpriv_p hpriv, item_p item);
sys/netgraph7/pptpgre/ng_pptpgre.c
365
ng_pptpgre_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/pptpgre/ng_pptpgre.c
372
NGI_GET_MSG(item, msg);
sys/netgraph7/pptpgre/ng_pptpgre.c
447
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/pptpgre/ng_pptpgre.c
456
ng_pptpgre_rcvdata(hook_p hook, item_p item)
sys/netgraph7/pptpgre/ng_pptpgre.c
463
NG_FREE_ITEM(item);
sys/netgraph7/pptpgre/ng_pptpgre.c
469
rval = ng_pptpgre_xmit(hpriv, item);
sys/netgraph7/pptpgre/ng_pptpgre.c
537
ng_pptpgre_xmit(hpriv_p hpriv, item_p item)
sys/netgraph7/pptpgre/ng_pptpgre.c
547
if (item) {
sys/netgraph7/pptpgre/ng_pptpgre.c
548
NGI_GET_M(item, m);
sys/netgraph7/pptpgre/ng_pptpgre.c
634
if (item) {
sys/netgraph7/pptpgre/ng_pptpgre.c
635
NG_FWD_NEW_DATA(error, item, priv->lower, m);
sys/netgraph7/pptpgre/ng_pptpgre.c
645
if (item)
sys/netgraph7/pptpgre/ng_pptpgre.c
646
NG_FREE_ITEM(item);
sys/netgraph7/pptpgre/ng_pptpgre.c
654
ng_pptpgre_rcvdata_lower(hook_p hook, item_p item)
sys/netgraph7/pptpgre/ng_pptpgre.c
665
NGI_GET_M(item, m);
sys/netgraph7/pptpgre/ng_pptpgre.c
813
NG_FWD_NEW_DATA(error, item, hpriv->hook, m);
sys/netgraph7/pptpgre/ng_pptpgre.c
817
NG_FREE_ITEM(item);
sys/netgraph7/pptpgre/ng_pptpgre.c
824
NG_FREE_ITEM(item);
sys/netgraph7/rfc1490/ng_rfc1490.c
214
ng_rfc1490_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/rfc1490/ng_rfc1490.c
221
NGI_GET_MSG(item, msg);
sys/netgraph7/rfc1490/ng_rfc1490.c
267
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/rfc1490/ng_rfc1490.c
308
ng_rfc1490_rcvdata(hook_p hook, item_p item)
sys/netgraph7/rfc1490/ng_rfc1490.c
315
NGI_GET_M(item, m);
sys/netgraph7/rfc1490/ng_rfc1490.c
348
NG_FWD_NEW_DATA(error, item,
sys/netgraph7/rfc1490/ng_rfc1490.c
364
NG_FWD_NEW_DATA(error, item, priv->ethernet, m);
sys/netgraph7/rfc1490/ng_rfc1490.c
370
NG_FWD_NEW_DATA(error, item, priv->inet, m);
sys/netgraph7/rfc1490/ng_rfc1490.c
374
NG_FWD_NEW_DATA(error, item, priv->ppp, m);
sys/netgraph7/rfc1490/ng_rfc1490.c
386
NG_FWD_NEW_DATA(error, item, priv->ppp, m);
sys/netgraph7/rfc1490/ng_rfc1490.c
395
NG_FWD_NEW_DATA(error, item, priv->downlink, m);
sys/netgraph7/rfc1490/ng_rfc1490.c
428
NG_FWD_NEW_DATA(error, item, priv->downlink, m);
sys/netgraph7/rfc1490/ng_rfc1490.c
441
NG_FWD_NEW_DATA(error, item, priv->downlink, m);
sys/netgraph7/rfc1490/ng_rfc1490.c
446
if (item)
sys/netgraph7/rfc1490/ng_rfc1490.c
447
NG_FREE_ITEM(item);
sys/netgraph7/socket/ng_socket.c
216
item_p item;
sys/netgraph7/socket/ng_socket.c
309
item = ng_package_msg(msg, NG_WAITOK);
sys/netgraph7/socket/ng_socket.c
310
if ((error = ng_address_path((pcbp->sockdata->node), item, path, 0))
sys/netgraph7/socket/ng_socket.c
320
item->el_dest->nd_ID,
sys/netgraph7/socket/ng_socket.c
326
item->el_dest->nd_type->name);
sys/netgraph7/socket/ng_socket.c
328
SAVE_LINE(item);
sys/netgraph7/socket/ng_socket.c
340
item->apply = apply;
sys/netgraph7/socket/ng_socket.c
342
error = ng_snd_item(item, NG_PROGRESS);
sys/netgraph7/socket/ng_socket.c
759
item_p item;
sys/netgraph7/socket/ng_socket.c
773
item = ng_package_data(NULL, NG_WAITOK);
sys/netgraph7/socket/ng_socket.c
775
if ((error = ng_address_path(NULL, item, sap->sg_data, 0))) {
sys/netgraph7/socket/ng_socket.c
776
ng_free_item(item);
sys/netgraph7/socket/ng_socket.c
785
farnode = item->el_dest; /* shortcut */
sys/netgraph7/socket/ng_socket.c
787
ng_free_item(item); /* drop the reference to the node */
sys/netgraph7/socket/ng_socket.c
792
ng_free_item(item); /* drop the reference to the node */
sys/netgraph7/socket/ng_socket.c
805
ng_free_item(item); /* drop the reference to the node */
sys/netgraph7/socket/ng_socket.c
878
ngs_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/socket/ng_socket.c
886
ng_ID_t retaddr = NGI_RETADDR(item);
sys/netgraph7/socket/ng_socket.c
890
NGI_GET_MSG(item, msg);
sys/netgraph7/socket/ng_socket.c
891
NG_FREE_ITEM(item);
sys/netgraph7/socket/ng_socket.c
975
ngs_rcvdata(hook_p hook, item_p item)
sys/netgraph7/socket/ng_socket.c
985
NGI_GET_M(item, m);
sys/netgraph7/socket/ng_socket.c
986
NG_FREE_ITEM(item);
sys/netgraph7/tcpmss/ng_tcpmss.c
178
(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/tcpmss/ng_tcpmss.c
183
NGI_GET_MSG(item, msg);
sys/netgraph7/tcpmss/ng_tcpmss.c
256
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/tcpmss/ng_tcpmss.c
267
ng_tcpmss_rcvdata(hook_p hook, item_p item)
sys/netgraph7/tcpmss/ng_tcpmss.c
281
NGI_GET_M(item, m);
sys/netgraph7/tcpmss/ng_tcpmss.c
348
NG_FWD_NEW_DATA(error, item, priv->outHook, m);
sys/netgraph7/tcpmss/ng_tcpmss.c
353
NG_FREE_ITEM(item);
sys/netgraph7/tee/ng_tee.c
211
ng_tee_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/tee/ng_tee.c
218
NGI_GET_MSG(item, msg);
sys/netgraph7/tee/ng_tee.c
266
NGI_MSG(item) = msg;
sys/netgraph7/tee/ng_tee.c
267
NG_FWD_ITEM_HOOK(error, item, hinfo->dest->hook);
sys/netgraph7/tee/ng_tee.c
277
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/tee/ng_tee.c
293
ng_tee_rcvdata(hook_p hook, item_p item)
sys/netgraph7/tee/ng_tee.c
300
m = NGI_M(item);
sys/netgraph7/tee/ng_tee.c
327
NG_FWD_ITEM_HOOK(error, item, h->hook);
sys/netgraph7/tee/ng_tee.c
329
NG_FREE_ITEM(item);
sys/netgraph7/tty/ng_tty.c
578
ngt_rcvdata(hook_p hook, item_p item)
sys/netgraph7/tty/ng_tty.c
588
NGI_GET_M(item, m);
sys/netgraph7/tty/ng_tty.c
589
NG_FREE_ITEM(item);
sys/netgraph7/tty/ng_tty.c
616
ngt_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/tty/ng_tty.c
622
NGI_GET_MSG(item, msg);
sys/netgraph7/tty/ng_tty.c
653
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/vjc/ng_vjc.c
286
ng_vjc_rcvmsg(node_p node, item_p item, hook_p lasthook)
sys/netgraph7/vjc/ng_vjc.c
293
NGI_GET_MSG(item, msg);
sys/netgraph7/vjc/ng_vjc.c
384
NG_RESPOND_MSG(error, node, item, resp);
sys/netgraph7/vjc/ng_vjc.c
393
ng_vjc_rcvdata(hook_p hook, item_p item)
sys/netgraph7/vjc/ng_vjc.c
400
NGI_GET_M(item, m);
sys/netgraph7/vjc/ng_vjc.c
409
NG_FREE_ITEM(item);
sys/netgraph7/vjc/ng_vjc.c
445
NG_FREE_ITEM(item);
sys/netgraph7/vjc/ng_vjc.c
456
NG_FREE_ITEM(item);
sys/netgraph7/vjc/ng_vjc.c
466
NG_FREE_ITEM(item);
sys/netgraph7/vjc/ng_vjc.c
476
NG_FREE_ITEM(item);
sys/netgraph7/vjc/ng_vjc.c
487
NG_FREE_ITEM(item);
sys/netgraph7/vjc/ng_vjc.c
506
NG_FREE_ITEM(item);
sys/netgraph7/vjc/ng_vjc.c
512
NG_FREE_ITEM(item);
sys/netgraph7/vjc/ng_vjc.c
521
NG_FREE_ITEM(item);
sys/netgraph7/vjc/ng_vjc.c
531
NG_FWD_NEW_DATA(error, item, hook, m);
sys/netproto/802_11/wlan/ieee80211_proto.c
321
null_update_beacon(struct ieee80211vap *vap, int item)
sys/netproto/802_11/wlan/ieee80211_radiotap.c
293
int n_vendor_attributes, int item)
sys/netproto/802_11/wlan/ieee80211_radiotap.c
378
if (i == item) {
sys/sys/systm.h
457
void free_unr(struct unrhdr *uh, u_int item);
sys/vfs/hammer/hammer_btree.c
2354
hammer_node_lock_t item;
sys/vfs/hammer/hammer_btree.c
2362
item = kmalloc(sizeof(*item), hmp->m_misc, M_WAITOK|M_ZERO);
sys/vfs/hammer/hammer_btree.c
2363
item->copy = kmalloc(sizeof(*item->copy),
sys/vfs/hammer/hammer_btree.c
2365
TAILQ_INIT(&item->list);
sys/vfs/hammer/hammer_btree.c
2366
TAILQ_INSERT_TAIL(&lcache->list, item, entry);
sys/vfs/hammer/hammer_btree.c
2374
hammer_node_lock_t item;
sys/vfs/hammer/hammer_btree.c
2376
while ((item = TAILQ_FIRST(&lcache->list)) != NULL) {
sys/vfs/hammer/hammer_btree.c
2377
TAILQ_REMOVE(&lcache->list, item, entry);
sys/vfs/hammer/hammer_btree.c
2378
KKASSERT(item->copy);
sys/vfs/hammer/hammer_btree.c
2379
KKASSERT(TAILQ_EMPTY(&item->list));
sys/vfs/hammer/hammer_btree.c
2380
kfree(item->copy, hmp->m_misc);
sys/vfs/hammer/hammer_btree.c
2381
kfree(item, hmp->m_misc);
sys/vfs/hammer/hammer_btree.c
2406
hammer_node_lock_t item;
sys/vfs/hammer/hammer_btree.c
2458
item = TAILQ_FIRST(&lcache->list);
sys/vfs/hammer/hammer_btree.c
2459
KKASSERT(item != NULL);
sys/vfs/hammer/hammer_btree.c
2460
item->flags |= HAMMER_NODE_LOCK_LCACHE;
sys/vfs/hammer/hammer_btree.c
2461
TAILQ_REMOVE(&lcache->list, item, entry);
sys/vfs/hammer/hammer_btree.c
2463
item = kmalloc(sizeof(*item),
sys/vfs/hammer/hammer_btree.c
2466
TAILQ_INIT(&item->list);
sys/vfs/hammer/hammer_btree.c
2469
TAILQ_INSERT_TAIL(&parent->list, item, entry);
sys/vfs/hammer/hammer_btree.c
2470
item->parent = parent;
sys/vfs/hammer/hammer_btree.c
2471
item->node = child;
sys/vfs/hammer/hammer_btree.c
2472
item->index = i;
sys/vfs/hammer/hammer_btree.c
2473
item->count = child->ondisk->count;
sys/vfs/hammer/hammer_btree.c
2482
item,
sys/vfs/hammer/hammer_btree.c
2501
hammer_node_lock_t item;
sys/vfs/hammer/hammer_btree.c
2510
TAILQ_FOREACH(item, &parent->list, entry) {
sys/vfs/hammer/hammer_btree.c
2511
hammer_btree_lock_copy(cursor, item);
sys/vfs/hammer/hammer_btree.c
2521
hammer_node_lock_t item;
sys/vfs/hammer/hammer_btree.c
2534
TAILQ_FOREACH(item, &parent->list, entry) {
sys/vfs/hammer/hammer_btree.c
2535
count += hammer_btree_sync_copy(cursor, item);
sys/vfs/hammer/hammer_btree.c
2552
hammer_node_lock_t item;
sys/vfs/hammer/hammer_btree.c
2555
while ((item = TAILQ_FIRST(&parent->list)) != NULL) {
sys/vfs/hammer/hammer_btree.c
2556
TAILQ_REMOVE(&parent->list, item, entry);
sys/vfs/hammer/hammer_btree.c
2557
hammer_btree_unlock_children(hmp, item, lcache);
sys/vfs/hammer/hammer_btree.c
2558
hammer_unlock(&item->node->lock);
sys/vfs/hammer/hammer_btree.c
2559
hammer_rel_node(item->node);
sys/vfs/hammer/hammer_btree.c
2567
KKASSERT(item->flags & HAMMER_NODE_LOCK_LCACHE);
sys/vfs/hammer/hammer_btree.c
2568
KKASSERT(TAILQ_EMPTY(&item->list));
sys/vfs/hammer/hammer_btree.c
2569
copy = item->copy;
sys/vfs/hammer/hammer_btree.c
2570
bzero(item, sizeof(*item));
sys/vfs/hammer/hammer_btree.c
2571
TAILQ_INIT(&item->list);
sys/vfs/hammer/hammer_btree.c
2572
item->copy = copy;
sys/vfs/hammer/hammer_btree.c
2575
TAILQ_INSERT_TAIL(&lcache->list, item, entry);
sys/vfs/hammer/hammer_btree.c
2577
kfree(item, hmp->m_misc);
sys/vfs/hammer/hammer_rebalance.c
273
hammer_node_lock_t item;
sys/vfs/hammer/hammer_rebalance.c
327
TAILQ_FOREACH(item, &lockroot.list, entry) {
sys/vfs/hammer/hammer_rebalance.c
329
hdkprintf("add count %d\n", item->count);
sys/vfs/hammer/hammer_rebalance.c
330
count += item->count;
sys/vfs/hammer/hammer_rebalance.c
331
KKASSERT(item->node->ondisk->type == type1);
sys/vfs/hammer/hammer_rebalance.c
367
TAILQ_FOREACH(item, &lockroot.list, entry) {
sys/vfs/hammer/hammer_rebalance.c
368
node = item->node;
sys/vfs/hammer/hammer_rebalance.c
369
KKASSERT(item->count == node->ondisk->count);
sys/vfs/hammer/hammer_rebalance.c
370
chld_item = TAILQ_FIRST(&item->list);
sys/vfs/hammer/hammer_rebalance.c
371
for (i = 0; i < item->count; ++i) {
sys/vfs/hammer/hammer_rebalance.c
379
item->index];
sys/vfs/hammer/hammer_rebalance.c
396
if (item == base_item && i == base_count) {
sys/vfs/hammer/hammer_rebalance.c
42
hammer_node_lock_t item, hammer_node_lock_t chld_item);
sys/vfs/hammer/hammer_rebalance.c
443
if (item != base_item &&
sys/vfs/hammer/hammer_rebalance.c
447
item, chld_item);
sys/vfs/hammer/hammer_rebalance.c
449
hammer_cursor_moved_element(item->parent->node,
sys/vfs/hammer/hammer_rebalance.c
450
item->index,
sys/vfs/hammer/hammer_rebalance.c
463
hammer_cursor_moved_element(item->parent->node, item->index,
sys/vfs/hammer/hammer_rebalance.c
611
hammer_node_lock_t item, hammer_node_lock_t chld_item)
sys/vfs/hammer/hammer_rebalance.c
613
KKASSERT(chld_item->node->ondisk->parent == item->node->node_offset);
sys/vfs/hammer/hammer_rebalance.c
617
item->node, base_item->node, index);
sys/vfs/ufs/ffs_softdep.c
351
#define WORKLIST_INSERT_BP(bp, item) do { \
sys/vfs/ufs/ffs_softdep.c
353
worklist_insert(&(bp)->b_dep, item); \
sys/vfs/ufs/ffs_softdep.c
356
#define WORKLIST_INSERT(head, item) worklist_insert(head, item)
sys/vfs/ufs/ffs_softdep.c
357
#define WORKLIST_REMOVE(item) worklist_remove(item)
sys/vfs/ufs/ffs_softdep.c
358
#define WORKITEM_FREE(item, type) workitem_free((struct worklist *)item, type)
sys/vfs/ufs/ffs_softdep.c
361
worklist_insert(struct workhead *head, struct worklist *item)
sys/vfs/ufs/ffs_softdep.c
365
if (item->wk_state & ONWORKLIST) {
sys/vfs/ufs/ffs_softdep.c
368
item->wk_state |= ONWORKLIST;
sys/vfs/ufs/ffs_softdep.c
369
LIST_INSERT_HEAD(head, item, wk_list);
sys/vfs/ufs/ffs_softdep.c
373
worklist_remove(struct worklist *item)
sys/vfs/ufs/ffs_softdep.c
377
if ((item->wk_state & ONWORKLIST) == 0)
sys/vfs/ufs/ffs_softdep.c
380
item->wk_state &= ~ONWORKLIST;
sys/vfs/ufs/ffs_softdep.c
381
LIST_REMOVE(item, wk_list);
sys/vfs/ufs/ffs_softdep.c
385
workitem_free(struct worklist *item, int type)
sys/vfs/ufs/ffs_softdep.c
388
if (item->wk_state & ONWORKLIST)
sys/vfs/ufs/ffs_softdep.c
390
if (item->wk_type != type)
sys/vfs/ufs/ffs_softdep.c
393
kfree(item, DtoM(type));
sys/vm/vm_zone.c
106
item = NULL;
sys/vm/vm_zone.c
110
item = zpcpu->zitems;
sys/vm/vm_zone.c
112
KASSERT(item != NULL,
sys/vm/vm_zone.c
114
if (((void **)item)[1] != (void *)ZENTRY_FREE)
sys/vm/vm_zone.c
116
((void **)item)[1] = NULL;
sys/vm/vm_zone.c
118
zpcpu->zitems = ((void **) item)[0];
sys/vm/vm_zone.c
137
if (item) {
sys/vm/vm_zone.c
139
return item;
sys/vm/vm_zone.c
141
return item;
sys/vm/vm_zone.c
172
if (item == NULL)
sys/vm/vm_zone.c
174
return item;
sys/vm/vm_zone.c
184
if (item)
sys/vm/vm_zone.c
185
return item;
sys/vm/vm_zone.c
191
item = zget(z, &tryagain);
sys/vm/vm_zone.c
199
if (item == NULL && (z->zflags & ZONE_PANICFAIL))
sys/vm/vm_zone.c
202
return item;
sys/vm/vm_zone.c
211
zfree(vm_zone_t z, void *item)
sys/vm/vm_zone.c
233
((void **)item)[0] = zpcpu->zitems;
sys/vm/vm_zone.c
235
if (((void **)item)[1] == (void *)ZENTRY_FREE)
sys/vm/vm_zone.c
237
((void **)item)[1] = (void *)ZENTRY_FREE;
sys/vm/vm_zone.c
239
zpcpu->zitems = item;
sys/vm/vm_zone.c
270
tail_item = item;
sys/vm/vm_zone.c
280
z->zitems = item;
sys/vm/vm_zone.c
476
zbootinit(vm_zone_t z, char *name, size_t size, void *item, long nitems)
sys/vm/vm_zone.c
492
bzero(item, (size_t)nitems * z->zsize);
sys/vm/vm_zone.c
495
((void **)item)[0] = z->zitems;
sys/vm/vm_zone.c
497
((void **)item)[1] = (void *)ZENTRY_FREE;
sys/vm/vm_zone.c
499
z->zitems = item;
sys/vm/vm_zone.c
500
item = (uint8_t *)item + z->zsize;
sys/vm/vm_zone.c
573
void *item;
sys/vm/vm_zone.c
643
item = (char *)z->zkva + noffset;
sys/vm/vm_zone.c
681
item = (void *)kmem_alloc3(kernel_map, nbytes,
sys/vm/vm_zone.c
685
if (item != NULL) {
sys/vm/vm_zone.c
687
bzero(item, nbytes);
sys/vm/vm_zone.c
699
item = (void *)kmem_alloc3(kernel_map, nbytes,
sys/vm/vm_zone.c
703
if (item != NULL) {
sys/vm/vm_zone.c
705
bzero(item, nbytes);
sys/vm/vm_zone.c
715
z->zkmvec[z->zkmcur++] = (vm_offset_t)item;
sys/vm/vm_zone.c
748
entry = item;
sys/vm/vm_zone.c
752
item = (uint8_t *)item + z->zsize;
sys/vm/vm_zone.c
765
((void **)item)[0] = z->zitems;
sys/vm/vm_zone.c
767
((void **)item)[1] = (void *)ZENTRY_FREE;
sys/vm/vm_zone.c
769
z->zitems = item;
sys/vm/vm_zone.c
770
item = (uint8_t *)item + z->zsize;
sys/vm/vm_zone.c
778
item = z->zitems;
sys/vm/vm_zone.c
779
z->zitems = ((void **)item)[0];
sys/vm/vm_zone.c
781
if (((void **)item)[1] != (void *)ZENTRY_FREE)
sys/vm/vm_zone.c
783
((void **) item)[1] = NULL;
sys/vm/vm_zone.c
791
item = NULL;
sys/vm/vm_zone.c
805
return item;
sys/vm/vm_zone.c
91
void *item;
sys/vm/vm_zone.h
85
void zfree (vm_zone_t z, void *item);
sys/vm/vm_zone.h
86
void zbootinit (vm_zone_t z, char *name, size_t size, void *item,
test/debug/vnodeinfo.c
419
struct lockf_range item;
test/debug/vnodeinfo.c
425
kkread(kd, (u_long)scan, &item, sizeof(item));
test/debug/vnodeinfo.c
426
dumplockinfo(kd, &item);
test/debug/vnodeinfo.c
427
} while ((scan = TAILQ_NEXT(&item, lf_link)) != NULL);
test/debug/vnodeinfo.c
433
kkread(kd, (u_long)scan, &item, sizeof(item));
test/debug/vnodeinfo.c
434
dumplockinfo(kd, &item);
test/debug/vnodeinfo.c
435
} while ((scan = TAILQ_NEXT(&item, lf_link)) != NULL);
test/debug/vnodeinfo.c
442
dumplockinfo(kvm_t *kd, struct lockf_range *item)
test/debug/vnodeinfo.c
446
if (item->lf_owner && (item->lf_flags & F_POSIX)) {
test/debug/vnodeinfo.c
447
kkread(kd, (u_long)&item->lf_owner->p_pid,
test/debug/vnodeinfo.c
454
item->lf_type, item->lf_flags,
test/debug/vnodeinfo.c
455
item->lf_start, item->lf_end,
test/debug/vnodeinfo.c
85
static void dumplockinfo(kvm_t *kd, struct lockf_range *item);
usr.bin/c99/c99.c
101
if ((args[nargs++] = strdup(item)) == NULL)
usr.bin/c99/c99.c
94
addarg(const char *item)
usr.bin/dsynth/repo.c
334
pinfo_t *item;
usr.bin/dsynth/repo.c
376
item = pinfofind(ary, count, buf);
usr.bin/dsynth/repo.c
377
if (item)
usr.bin/dsynth/repo.c
378
item->foundit = 1;
usr.bin/dsynth/repo.c
379
if (item && item->inlocks == 0) {
usr.bin/dsynth/repo.c
388
item = pinfofind(ary, count,
usr.bin/dsynth/repo.c
390
if (item)
usr.bin/dsynth/repo.c
391
item->foundit = 1;
usr.bin/dsynth/repo.c
412
item = ary[i];
usr.bin/dsynth/repo.c
413
if (item->foundit == 0) {
usr.bin/dsynth/repo.c
423
item = ary[i];
usr.bin/dsynth/repo.c
424
if (item->foundit == 0) {
usr.bin/dsynth/repo.c
426
DistFilesPath, item->spath);
usr.bin/dsynth/repo.c
430
printf("Deleted %s\n", item->spath);
usr.bin/dsynth/repo.c
502
pinfo_t *item;
usr.bin/dsynth/repo.c
512
item = ary[m];
usr.bin/dsynth/repo.c
513
res = strcmp(spath, item->spath);
usr.bin/dsynth/repo.c
515
return item;
usr.bin/dsynth/repo.c
531
pinfo_t *item;
usr.bin/dsynth/repo.c
566
item = calloc(1, sizeof(*item));
usr.bin/dsynth/repo.c
568
asprintf(&item->spath, "%s/%s",
usr.bin/dsynth/repo.c
571
item->spath = strdup(den->d_name);
usr.bin/dsynth/repo.c
573
item->inlocks = inlocks;
usr.bin/dsynth/repo.c
575
**list_tailp = item;
usr.bin/dsynth/repo.c
576
*list_tailp = &item->next;
usr.bin/dsynth/repo.c
578
ddprintf(0, "scan %s\n", item->spath);
usr.bin/find/getdate.y
144
| spec item
usr.bin/find/getdate.y
147
item : time {
usr.bin/login/login.c
666
const void *item;
usr.bin/login/login.c
690
pam_err = pam_get_item(pamh, PAM_USER, &item);
usr.bin/login/login.c
692
tmpl_user = (const char *)item;
usr.bin/rpcgen/rpc_util.h
160
#define STOREVAL(list,item) \
usr.bin/rpcgen/rpc_util.h
161
storeval(list,item)
usr.bin/rpcgen/rpc_util.h
165
#define FINDVAL(list,item,finder) \
usr.bin/rpcgen/rpc_util.h
166
findval(list, item, finder)
usr.bin/sort/bwstring.c
54
const nl_item item[12] = { ABMON_1, ABMON_2, ABMON_3, ABMON_4,
usr.bin/sort/bwstring.c
67
tmp = (unsigned char *) nl_langinfo(item[i]);
usr.bin/sort/bwstring.c
87
tmp = (unsigned char *) nl_langinfo(item[i]);
usr.bin/sort/file.c
142
struct CLEANABLE_FILE *item =
usr.bin/sort/file.c
1425
struct sort_list_item *item;
usr.bin/sort/file.c
1438
if ((lp->item == NULL) || (list_coll(&(lp->item),
usr.bin/sort/file.c
144
item->fn = sort_strdup(tmp_file);
usr.bin/sort/file.c
1442
lp->item = sl->list[0];
usr.bin/sort/file.c
145
LIST_INSERT_HEAD(&tmp_files, item, files);
usr.bin/sort/file.c
156
struct CLEANABLE_FILE *item;
usr.bin/sort/file.c
159
LIST_FOREACH(item,&tmp_files,files) {
usr.bin/sort/file.c
160
if ((item) && (item->fn))
usr.bin/sort/file.c
161
unlink(item->fn);
usr.bin/sort/file.c
172
struct CLEANABLE_FILE *item;
usr.bin/sort/file.c
177
LIST_FOREACH(item,&tmp_files,files) {
usr.bin/sort/file.c
178
if ((item) && (item->fn))
usr.bin/sort/file.c
179
if (strcmp(item->fn, fn) == 0) {
usr.bin/sort/file.c
339
struct sort_list_item *item;
usr.bin/sort/file.c
341
item = l->list[i];
usr.bin/sort/file.c
343
if (item) {
usr.bin/sort/file.c
344
sort_list_item_clean(item);
usr.bin/sort/file.c
345
sort_free(item);
usr.bin/sort/file.c
380
struct sort_list_item *item;
usr.bin/sort/file.c
382
item = l->list[i];
usr.bin/sort/file.c
384
list_coll(&last_printed_item, &item)) {
usr.bin/sort/file.c
385
bwsfwrite(item->str, f, sort_opts_vals.zflag);
usr.bin/sort/file.c
386
last_printed_item = item;
usr.bin/sort/radixsort.c
221
add_to_sublevel(struct sort_level *sl, struct sort_list_item *item, size_t indx)
usr.bin/sort/radixsort.c
243
ssl->tosort[ssl->tosort_num - 1] = item;
usr.bin/sort/radixsort.c
247
add_leaf(struct sort_level *sl, struct sort_list_item *item)
usr.bin/sort/radixsort.c
255
sl->leaves[sl->leaves_num - 1] = item;
usr.bin/sort/radixsort.c
271
place_item(struct sort_level *sl, size_t item)
usr.bin/sort/radixsort.c
276
sli = sl->tosort[item];
usr.bin/su/su.c
111
#define PAM_SET_ITEM(what, item) do { \
usr.bin/su/su.c
113
local_ret = pam_set_item(pamh, what, item); \
usr.bin/units/units.c
304
char *item;
usr.bin/units/units.c
322
item = strtok(scratch, " *\t\n/");
usr.bin/units/units.c
323
while (item) {
usr.bin/units/units.c
324
if (strchr("0123456789.", *item)) { /* item is a number */
usr.bin/units/units.c
330
offset = strchr(item, '&');
usr.bin/units/units.c
337
divider = strchr(item, '|');
usr.bin/units/units.c
340
num = atof(item);
usr.bin/units/units.c
366
num = atof(item);
usr.bin/units/units.c
386
item[strlen(item) - 1])) {
usr.bin/units/units.c
387
repeat = item[strlen(item) - 1] - '0';
usr.bin/units/units.c
388
item[strlen(item) - 1] = 0;
usr.bin/units/units.c
391
if (addsubunit(doingtop ^ flip ? theunit->numerator : theunit->denominator, item))
usr.bin/units/units.c
394
item = strtok(NULL, " *\t/\n");
usr.bin/usbhidaction/usbhidaction.c
203
if (cmd->item.report_ID != 0 &&
usr.bin/usbhidaction/usbhidaction.c
204
buf[0] != cmd->item.report_ID)
usr.bin/usbhidaction/usbhidaction.c
206
if (cmd->item.flags & HIO_VARIABLE)
usr.bin/usbhidaction/usbhidaction.c
207
val = hid_get_data(buf, &cmd->item);
usr.bin/usbhidaction/usbhidaction.c
209
uint32_t pos = cmd->item.pos;
usr.bin/usbhidaction/usbhidaction.c
210
for (i = 0; i < cmd->item.report_count; i++) {
usr.bin/usbhidaction/usbhidaction.c
211
val = hid_get_data(buf, &cmd->item);
usr.bin/usbhidaction/usbhidaction.c
214
cmd->item.pos += cmd->item.report_size;
usr.bin/usbhidaction/usbhidaction.c
216
cmd->item.pos = pos;
usr.bin/usbhidaction/usbhidaction.c
217
val = (i < cmd->item.report_count) ?
usr.bin/usbhidaction/usbhidaction.c
447
cmd->item = h;
usr.bin/usbhidaction/usbhidaction.c
58
struct hid_item item;
usr.sbin/bthcid/client.c
183
struct item *item;
usr.sbin/bthcid/client.c
203
LIST_FOREACH(item, &item_list, next) {
usr.sbin/bthcid/client.c
204
if (bdaddr_same(&rp.laddr, &item->laddr) == 0
usr.sbin/bthcid/client.c
205
|| bdaddr_same(&rp.raddr, &item->raddr) == 0)
usr.sbin/bthcid/client.c
210
if (item->hci != -1) {
usr.sbin/bthcid/client.c
214
bdaddr_copy(&sa.bt_bdaddr, &item->laddr);
usr.sbin/bthcid/client.c
216
send_pin_code_reply(item->hci, &sa, &item->raddr, rp.pin);
usr.sbin/bthcid/client.c
217
LIST_REMOVE(item, next);
usr.sbin/bthcid/client.c
218
free(item);
usr.sbin/bthcid/client.c
224
item = malloc(sizeof(struct item));
usr.sbin/bthcid/client.c
225
if (item == NULL) {
usr.sbin/bthcid/client.c
230
memset(item, 0, sizeof(struct item));
usr.sbin/bthcid/client.c
231
bdaddr_copy(&item->laddr, &rp.laddr);
usr.sbin/bthcid/client.c
232
bdaddr_copy(&item->raddr, &rp.raddr);
usr.sbin/bthcid/client.c
233
LIST_INSERT_HEAD(&item_list, item, next);
usr.sbin/bthcid/client.c
238
memcpy(item->pin, rp.pin, HCI_PIN_SIZE);
usr.sbin/bthcid/client.c
239
item->hci = -1;
usr.sbin/bthcid/client.c
244
LIST_REMOVE(item, next);
usr.sbin/bthcid/client.c
245
free(item);
usr.sbin/bthcid/client.c
255
struct item *item;
usr.sbin/bthcid/client.c
278
item = malloc(sizeof(struct item));
usr.sbin/bthcid/client.c
279
if (item == NULL) {
usr.sbin/bthcid/client.c
284
memset(item, 0, sizeof(struct item));
usr.sbin/bthcid/client.c
285
bdaddr_copy(&item->laddr, laddr);
usr.sbin/bthcid/client.c
286
bdaddr_copy(&item->raddr, raddr);
usr.sbin/bthcid/client.c
287
item->hci = hci;
usr.sbin/bthcid/client.c
288
EV_SET(&change, item->hci, EVFILT_TIMER, EV_ADD, 0, cp.time * 1000, item);
usr.sbin/bthcid/client.c
291
free(item);
usr.sbin/bthcid/client.c
295
LIST_INSERT_HEAD(&item_list, item, next);
usr.sbin/bthcid/client.c
303
struct item *item = arg;
usr.sbin/bthcid/client.c
307
syslog(LOG_DEBUG, "PIN for %s expired", bt_ntoa(&item->raddr, NULL));
usr.sbin/bthcid/client.c
308
LIST_REMOVE(item, next);
usr.sbin/bthcid/client.c
309
EV_SET(&change, item->hci, EVFILT_TIMER, EV_DELETE, 0, 0, 0);
usr.sbin/bthcid/client.c
311
free(item);
usr.sbin/bthcid/client.c
319
struct item *item;
usr.sbin/bthcid/client.c
323
LIST_FOREACH(item, &item_list, next) {
usr.sbin/bthcid/client.c
324
if (bdaddr_same(raddr, &item->raddr) == 0)
usr.sbin/bthcid/client.c
327
if (bdaddr_same(laddr, &item->laddr) == 0
usr.sbin/bthcid/client.c
328
&& bdaddr_any(&item->laddr) == 0)
usr.sbin/bthcid/client.c
331
if (item->hci >= 0)
usr.sbin/bthcid/client.c
335
memcpy(pin, item->pin, sizeof(pin));
usr.sbin/bthcid/client.c
337
LIST_REMOVE(item, next);
usr.sbin/bthcid/client.c
338
EV_SET(&change, item->hci, EVFILT_TIMER, EV_DELETE, 0, 0, 0);
usr.sbin/bthcid/client.c
340
free(item);
usr.sbin/bthcid/client.c
68
LIST_ENTRY(item) next;
usr.sbin/bthcid/client.c
72
static LIST_HEAD(,item) item_list;
usr.sbin/nscd/cachelib.c
1163
struct cache_policy_item_ *item, *connected_item;
usr.sbin/nscd/cachelib.c
1188
item = ht_item_data->fifo_policy_item;
usr.sbin/nscd/cachelib.c
1189
connected_item = item->connected_item;
usr.sbin/nscd/cachelib.c
1193
item);
usr.sbin/nscd/cachelib.c
1202
item);
usr.sbin/nscd/cachelib.c
288
struct cache_policy_item_ *item, *next_item;
usr.sbin/nscd/cachelib.c
311
item = policy->get_first_item_func(policy);
usr.sbin/nscd/cachelib.c
312
while (item != NULL) {
usr.sbin/nscd/cachelib.c
314
item);
usr.sbin/nscd/cachelib.c
315
policy->remove_item_func(policy, item);
usr.sbin/nscd/cachelib.c
316
policy->destroy_item_func(item);
usr.sbin/nscd/cachelib.c
317
item = next_item;
usr.sbin/nscd/cachelib.c
344
struct cache_policy_item_ *item)
usr.sbin/nscd/cachelib.c
347
return ((item->last_request_time.tv_sec - item->creation_time.tv_sec >
usr.sbin/nscd/cachelib.c
357
struct cache_policy_item_ *item)
usr.sbin/nscd/cachelib.c
374
struct cache_policy_item_ *item, *next_item, *connected_item;
usr.sbin/nscd/cachelib.c
382
item = policy->get_first_item_func(policy);
usr.sbin/nscd/cachelib.c
383
while ((item != NULL) && (continue_func(entry, item) == 1)) {
usr.sbin/nscd/cachelib.c
384
next_item = policy->get_next_item_func(policy, item);
usr.sbin/nscd/cachelib.c
386
connected_item = item->connected_item;
usr.sbin/nscd/cachelib.c
387
policy->remove_item_func(policy, item);
usr.sbin/nscd/cachelib.c
390
ht_key.key = item->key;
usr.sbin/nscd/cachelib.c
391
ht_key.key_size = item->key_size;
usr.sbin/nscd/cachelib.c
407
policy->destroy_item_func(item);
usr.sbin/nscd/cachelib.c
415
item = next_item;
usr.sbin/nscd/cachelib.c
698
struct cache_ht_item_ *item;
usr.sbin/nscd/cachelib.c
720
item = HASHTABLE_GET_ENTRY(&(common_entry->items), hash);
usr.sbin/nscd/cachelib.c
721
find_res = HASHTABLE_ENTRY_FIND(cache_ht_, item, &item_data);
usr.sbin/nscd/cachelib.c
753
HASHTABLE_ENTRY_REMOVE(cache_ht_, item, find_res);
usr.sbin/nscd/cachelib.c
799
struct cache_ht_item_ *item;
usr.sbin/nscd/cachelib.c
824
item = HASHTABLE_GET_ENTRY(&(common_entry->items), hash);
usr.sbin/nscd/cachelib.c
825
find_res = HASHTABLE_ENTRY_FIND(cache_ht_, item, &item_data);
usr.sbin/nscd/cachelib.c
866
HASHTABLE_ENTRY_STORE(cache_ht_, item, &item_data);
usr.sbin/nscd/cacheplcs.c
103
struct cache_policy_item_ *item)
usr.sbin/nscd/cacheplcs.c
110
queue_item = (struct cache_queue_policy_item_ *)item;
usr.sbin/nscd/cacheplcs.c
117
struct cache_policy_item_ *item)
usr.sbin/nscd/cacheplcs.c
124
queue_item = (struct cache_queue_policy_item_ *)item;
usr.sbin/nscd/cacheplcs.c
154
struct cache_policy_item_ *item)
usr.sbin/nscd/cacheplcs.c
159
queue_item = (struct cache_queue_policy_item_ *)item;
usr.sbin/nscd/cacheplcs.c
167
struct cache_policy_item_ *item)
usr.sbin/nscd/cacheplcs.c
172
queue_item = (struct cache_queue_policy_item_ *)item;
usr.sbin/nscd/cacheplcs.c
236
struct cache_policy_item_ *item)
usr.sbin/nscd/cacheplcs.c
275
struct cache_policy_item_ *item)
usr.sbin/nscd/cacheplcs.c
282
queue_item = (struct cache_queue_policy_item_ *)item;
usr.sbin/nscd/cacheplcs.c
338
cache_lfu_policy_destroy_item(struct cache_policy_item_ *item)
usr.sbin/nscd/cacheplcs.c
342
assert(item != NULL);
usr.sbin/nscd/cacheplcs.c
343
free(item);
usr.sbin/nscd/cacheplcs.c
353
struct cache_policy_item_ *item)
usr.sbin/nscd/cacheplcs.c
360
lfu_item = (struct cache_lfu_policy_item_ *)item;
usr.sbin/nscd/cacheplcs.c
374
struct cache_policy_item_ *item)
usr.sbin/nscd/cacheplcs.c
382
lfu_item = (struct cache_lfu_policy_item_ *)item;
usr.sbin/nscd/cacheplcs.c
414
struct cache_policy_item_ *item)
usr.sbin/nscd/cacheplcs.c
421
lfu_item = (struct cache_lfu_policy_item_ *)item;
usr.sbin/nscd/cacheplcs.c
471
struct cache_policy_item_ *item)
usr.sbin/nscd/cacheplcs.c
479
lfu_item = TAILQ_NEXT((struct cache_lfu_policy_item_ *)item, entries);
usr.sbin/nscd/cacheplcs.c
482
for (i = ((struct cache_lfu_policy_item_ *)item)->frequency + 1;
usr.sbin/nscd/cacheplcs.c
497
struct cache_policy_item_ *item)
usr.sbin/nscd/cacheplcs.c
505
lfu_item = TAILQ_PREV((struct cache_lfu_policy_item_ *)item,
usr.sbin/nscd/cacheplcs.c
509
for (i = ((struct cache_lfu_policy_item_ *)item)->frequency - 1;
usr.sbin/nscd/cacheplcs.c
92
cache_queue_policy_destroy_item(struct cache_policy_item_ *item)
usr.sbin/nscd/cacheplcs.c
96
assert(item != NULL);
usr.sbin/nscd/cacheplcs.c
97
free(item);