games/hack/hack.mon.c
776
int ml = mdat->mlevel;
games/hack/hack.mon.c
780
for(tmp2 = 0; !tmp2 || ul + tmp2 <= ml; tmp2++)
games/hack/hack.mon.c
785
tmp2 = ml - ul -1;
lib/libcrypto/x509/x509_prn.c
75
X509V3_EXT_val_prn(BIO *out, STACK_OF(CONF_VALUE) *val, int indent, int ml)
lib/libcrypto/x509/x509_prn.c
82
if (!ml || !sk_CONF_VALUE_num(val)) {
lib/libcrypto/x509/x509_prn.c
88
if (ml)
lib/libcrypto/x509/x509_prn.c
99
if (ml)
lib/libcrypto/x509/x509v3.h
649
int ml);
sbin/mountd/mountd.c
371
struct mountlist *ml;
sbin/mountd/mountd.c
495
if (size != sizeof(*ml)) {
sbin/mountd/mountd.c
501
ml = imsg.data;
sbin/mountd/mountd.c
502
if (!isterminated(&ml->ml_host,
sbin/mountd/mountd.c
503
sizeof(ml->ml_host)) ||
sbin/mountd/mountd.c
504
!isterminated(&ml->ml_dirp,
sbin/mountd/mountd.c
505
sizeof(ml->ml_dirp)))
sbin/mountd/mountd.c
513
fprintf(fp, "%s %s\n", ml->ml_host,
sbin/mountd/mountd.c
514
ml->ml_dirp);
sbin/mountd/mountd.c
531
if (size != sizeof(*ml)) {
sbin/mountd/mountd.c
537
ml = imsg.data;
sbin/mountd/mountd.c
538
if (!isterminated(&ml->ml_host,
sbin/mountd/mountd.c
539
sizeof(ml->ml_host)) ||
sbin/mountd/mountd.c
540
!isterminated(&ml->ml_dirp,
sbin/mountd/mountd.c
541
sizeof(ml->ml_host)))
sbin/mountd/mountd.c
543
fprintf(fp, "%s %s\n", ml->ml_host,
sbin/mountd/mountd.c
544
ml->ml_dirp);
sys/arch/amd64/stand/efiboot/memprobe.c
64
mem_limit(long long ml)
sys/arch/amd64/stand/efiboot/memprobe.c
75
if ((sp >= ml) && (ep >= ml)) {
sys/arch/amd64/stand/efiboot/memprobe.c
78
} else if ((sp < ml) && (ep >= ml)) {
sys/arch/amd64/stand/efiboot/memprobe.c
79
p->size -= (ep - ml);
sys/arch/amd64/stand/libsa/memprobe.c
337
mem_limit(long long ml)
sys/arch/amd64/stand/libsa/memprobe.c
348
if ((sp >= ml) && (ep >= ml)) {
sys/arch/amd64/stand/libsa/memprobe.c
351
} else if ((sp < ml) && (ep >= ml)) {
sys/arch/amd64/stand/libsa/memprobe.c
352
p->size -= (ep - ml);
sys/arch/armv7/omap/if_cpsw.c
1046
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/arch/armv7/omap/if_cpsw.c
1101
ml_enqueue(&ml, m);
sys/arch/armv7/omap/if_cpsw.c
1124
if_input(ifp, &ml);
sys/arch/armv7/sunxi/sxie.c
579
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/arch/armv7/sunxi/sxie.c
630
ml_enqueue(&ml, m);
sys/arch/armv7/sunxi/sxie.c
635
if_input(ifp, &ml);
sys/arch/i386/stand/libsa/memprobe.c
331
mem_limit(long long ml)
sys/arch/i386/stand/libsa/memprobe.c
342
if ((sp >= ml) && (ep >= ml)) {
sys/arch/i386/stand/libsa/memprobe.c
345
} else if ((sp < ml) && (ep >= ml)) {
sys/arch/i386/stand/libsa/memprobe.c
346
p->size -= (ep - ml);
sys/arch/macppc/dev/if_bm.c
500
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/arch/macppc/dev/if_bm.c
548
ml_enqueue(&ml, m);
sys/arch/macppc/dev/if_bm.c
562
if_input(ifp, &ml);
sys/arch/macppc/dev/if_mc.c
869
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/arch/macppc/dev/if_mc.c
888
ml_enqueue(&ml, m);
sys/arch/macppc/dev/if_mc.c
889
if_input(ifp, &ml);
sys/arch/macppc/stand/alloc.c
150
f = (struct ml *)help;
sys/arch/macppc/stand/alloc.c
180
register struct ml *a;
sys/arch/macppc/stand/alloc.c
185
a = (struct ml *)((char *)ptr - OVERHEAD);
sys/arch/macppc/stand/alloc.c
205
struct ml *m;
sys/arch/macppc/stand/alloc.c
86
LIST_ENTRY(ml) list;
sys/arch/macppc/stand/alloc.c
89
LIST_HEAD(, ml) freelist = LIST_HEAD_INITIALIZER(freelist);
sys/arch/macppc/stand/alloc.c
90
LIST_HEAD(, ml) allocatedlist = LIST_HEAD_INITIALIZER(allocatedlist);
sys/arch/macppc/stand/alloc.c
92
#define OVERHEAD ALIGN(sizeof (struct ml)) /* shorthand */
sys/arch/macppc/stand/alloc.c
97
struct ml *f, *bestf = NULL;
sys/arch/octeon/dev/if_cnmac.c
1211
cnmac_recv(struct cnmac_softc *sc, uint64_t *work, struct mbuf_list *ml)
sys/arch/octeon/dev/if_cnmac.c
1249
ml_enqueue(ml, m);
sys/arch/octeon/dev/if_cnmac.c
1261
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/arch/octeon/dev/if_cnmac.c
1293
nmbuf += cnmac_recv(sc, work, &ml);
sys/arch/octeon/dev/if_cnmac.c
1298
if_input(ifp, &ml);
sys/arch/octeon/dev/if_ogx.c
1024
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/arch/octeon/dev/if_ogx.c
1107
ml_enqueue(&ml, m0);
sys/arch/octeon/dev/if_ogx.c
1124
if_input(ifp, &ml);
sys/arch/sparc64/dev/vnet.c
721
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/arch/sparc64/dev/vnet.c
761
ml_enqueue(&ml, m);
sys/arch/sparc64/dev/vnet.c
762
if_input(ifp, &ml);
sys/arch/sparc64/dev/vnet.c
817
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/arch/sparc64/dev/vnet.c
855
ml_enqueue(&ml, m);
sys/arch/sparc64/dev/vnet.c
870
if_input(ifp, &ml);
sys/arch/sparc64/stand/ofwboot/alloc.c
150
f = (struct ml *)help;
sys/arch/sparc64/stand/ofwboot/alloc.c
180
register struct ml *a;
sys/arch/sparc64/stand/ofwboot/alloc.c
185
a = (struct ml *)((char *)ptr - OVERHEAD);
sys/arch/sparc64/stand/ofwboot/alloc.c
86
LIST_ENTRY(ml) list;
sys/arch/sparc64/stand/ofwboot/alloc.c
89
LIST_HEAD(, ml) freelist = LIST_HEAD_INITIALIZER(freelist);
sys/arch/sparc64/stand/ofwboot/alloc.c
90
LIST_HEAD(, ml) allocatedlist = LIST_HEAD_INITIALIZER(allocatedlist);
sys/arch/sparc64/stand/ofwboot/alloc.c
92
#define OVERHEAD ALIGN(sizeof (struct ml)) /* shorthand */
sys/arch/sparc64/stand/ofwboot/alloc.c
97
struct ml *f, *bestf = NULL;
sys/dev/fdt/if_cad.c
1314
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/fdt/if_cad.c
1384
ml_enqueue(&ml, m);
sys/dev/fdt/if_cad.c
1393
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/fdt/if_dwge.c
1074
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/fdt/if_dwge.c
1115
ml_enqueue(&ml, m);
sys/dev/fdt/if_dwge.c
1126
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/fdt/if_dwxe.c
1013
ml_enqueue(&ml, m);
sys/dev/fdt/if_dwxe.c
1023
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/fdt/if_dwxe.c
975
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/fdt/if_fec.c
1090
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/fdt/if_fec.c
1127
ml_enqueue(&ml, m);
sys/dev/fdt/if_fec.c
1136
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/fdt/if_mvneta.c
1423
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/fdt/if_mvneta.c
1469
ml_enqueue(&ml, m);
sys/dev/fdt/if_mvneta.c
1529
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/fdt/if_mvpp.c
2164
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/fdt/if_mvpp.c
2201
ml_enqueue(&ml, m);
sys/dev/fdt/if_mvpp.c
2216
if_input(ifp, &ml);
sys/dev/ic/aic6915.c
717
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/aic6915.c
816
ml_enqueue(&ml, m);
sys/dev/ic/aic6915.c
819
if_input(ifp, &ml);
sys/dev/ic/am7990.c
217
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/am7990.c
266
ml_enqueue(&ml, m);
sys/dev/ic/am7990.c
290
if_input(ifp, &ml);
sys/dev/ic/am79900.c
249
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/am79900.c
298
ml_enqueue(&ml, m);
sys/dev/ic/am79900.c
320
if_input(ifp, &ml);
sys/dev/ic/ar5008.c
1062
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/ic/ar5008.c
1091
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/ar5008.c
1095
while (ar5008_rx_process(sc, &ml) == 0);
sys/dev/ic/ar5008.c
1097
if_input(ifp, &ml);
sys/dev/ic/ar5008.c
857
ar5008_rx_process(struct athn_softc *sc, struct mbuf_list *ml)
sys/dev/ic/ar9003.c
1032
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/ic/ar9003.c
1062
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/ar9003.c
1066
while (ar9003_rx_process(sc, qid, &ml) == 0);
sys/dev/ic/ar9003.c
1068
if_input(ifp, &ml);
sys/dev/ic/ar9003.c
912
ar9003_rx_process(struct athn_softc *sc, int qid, struct mbuf_list *ml)
sys/dev/ic/ath.c
1769
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/ath.c
1956
ieee80211_inputm(ifp, m, ni, &rxi, &ml);
sys/dev/ic/ath.c
1973
if_input(ifp, &ml);
sys/dev/ic/atw.c
3027
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/atw.c
3181
ieee80211_inputm(ifp, m, ni, &rxi, &ml);
sys/dev/ic/atw.c
3189
if_input(ifp, &ml);
sys/dev/ic/bcmgenet.c
684
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/bcmgenet.c
718
ml_enqueue(&ml, m);
sys/dev/ic/bcmgenet.c
733
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/ic/bwfm.c
1766
bwfm_proto_bcdc_rx(struct bwfm_softc *sc, struct mbuf *m, struct mbuf_list *ml)
sys/dev/ic/bwfm.c
1781
bwfm_rx(sc, m, ml);
sys/dev/ic/bwfm.c
2346
bwfm_rx(struct bwfm_softc *sc, struct mbuf *m, struct mbuf_list *ml)
sys/dev/ic/bwfm.c
2403
ml_enqueue(ml, m);
sys/dev/ic/bwi.c
8358
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/bwi.c
8460
ieee80211_inputm(ifp, m, ni, &rxi, &ml);
sys/dev/ic/bwi.c
8471
if_input(ifp, &ml);
sys/dev/ic/dc.c
2081
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/dc.c
2163
ml_enqueue(&ml, m);
sys/dev/ic/dc.c
2168
if_input(ifp, &ml);
sys/dev/ic/dp8390.c
487
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/dp8390.c
579
ml_enqueue(&ml, m);
sys/dev/ic/dp8390.c
606
if_input(ifp, &ml);
sys/dev/ic/dwqe.c
793
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/dwqe.c
837
ml_enqueue(&ml, m);
sys/dev/ic/dwqe.c
848
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/ic/elink3.c
1241
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/elink3.c
1292
ml_enqueue(&ml, m);
sys/dev/ic/elink3.c
1328
if_input(ifp, &ml);
sys/dev/ic/fxp.c
769
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/fxp.c
897
ml_enqueue(&ml, m);
sys/dev/ic/fxp.c
914
if_input(ifp, &ml);
sys/dev/ic/gem.c
1022
ml_enqueue(&ml, m);
sys/dev/ic/gem.c
1025
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/ic/gem.c
965
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/hme.c
801
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/hme.c
844
ml_enqueue(&ml, m);
sys/dev/ic/hme.c
847
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/ic/i82596.c
1061
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/i82596.c
1088
ml_enqueue(&ml, m);
sys/dev/ic/i82596.c
1089
if_input(ifp, &ml);
sys/dev/ic/if_wi.c
533
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/if_wi.c
820
ml_enqueue(&ml, m);
sys/dev/ic/if_wi.c
821
if_input(ifp, &ml);
sys/dev/ic/lemac.c
300
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/lemac.c
331
ml_enqueue(&ml, m);
sys/dev/ic/lemac.c
339
if_input(ifp, &ml);
sys/dev/ic/malo.c
1596
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/malo.c
1714
ieee80211_inputm(ifp, m, ni, &rxi, &ml);
sys/dev/ic/malo.c
1730
if_input(ifp, &ml);
sys/dev/ic/mtd8xx.c
868
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/mtd8xx.c
928
ml_enqueue(&ml, m);
sys/dev/ic/mtd8xx.c
931
if_input(ifp, &ml);
sys/dev/ic/pgt.c
1025
ieee80211_inputm(ifp, m, ni, &rxi, &ml);
sys/dev/ic/pgt.c
1039
if_input(ifp, &ml);
sys/dev/ic/pgt.c
901
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/qwx.c
17638
struct mbuf_list *ml, int purge)
sys/dev/ic/qwx.c
17714
ml_enqueue(ml, m);
sys/dev/ic/qwx.c
17767
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/qwx.c
17783
num_buffs_reaped = qwx_dp_rx_reap_mon_status_ring(sc, mac_id, &ml, 0);
sys/dev/ic/qwx.c
17790
while ((m = ml_dequeue(&ml))) {
sys/dev/ic/qwx.c
20439
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/qwx.c
20469
mac_id, &ml, 1);
sys/dev/ic/qwx.c
20470
ml_purge(&ml);
sys/dev/ic/qwx.c
21745
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/qwx.c
21758
ml_enqueue(&ml, m);
sys/dev/ic/qwx.c
21762
while ((m = ml_dequeue(&ml))) {
sys/dev/ic/qwx.c
22762
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/qwx.c
22783
ml_enqueue(&ml, m);
sys/dev/ic/qwx.c
22787
while ((m = ml_dequeue(&ml))) {
sys/dev/ic/qwz.c
14959
struct mbuf_list *ml)
sys/dev/ic/qwz.c
15036
ml_enqueue(ml, m);
sys/dev/ic/qwz.c
15083
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/qwz.c
15099
num_buffs_reaped = qwz_dp_rx_reap_mon_status_ring(sc, mac_id, &ml);
sys/dev/ic/qwz.c
15106
while ((m = ml_dequeue(&ml))) {
sys/dev/ic/qwz.c
20005
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/qwz.c
20026
ml_enqueue(&ml, m);
sys/dev/ic/qwz.c
20030
while ((m = ml_dequeue(&ml))) {
sys/dev/ic/re.c
1281
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/re.c
1437
ml_enqueue(&ml, m);
sys/dev/ic/re.c
1440
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/ic/rt2560.c
1079
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/rt2560.c
1202
ieee80211_inputm(ifp, m, ni, &rxi, &ml);
sys/dev/ic/rt2560.c
1218
if_input(ifp, &ml);
sys/dev/ic/rt2661.c
1156
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/rt2661.c
1276
ieee80211_inputm(ifp, m, ni, &rxi, &ml);
sys/dev/ic/rt2661.c
1299
if_input(ifp, &ml);
sys/dev/ic/rt2860.c
1263
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/rt2860.c
1416
ieee80211_inputm(ifp, m, ni, &rxi, &ml);
sys/dev/ic/rt2860.c
1429
if_input(ifp, &ml);
sys/dev/ic/rtl81x9.c
560
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/rtl81x9.c
674
ml_enqueue(&ml, m);
sys/dev/ic/rtl81x9.c
680
if_input(ifp, &ml);
sys/dev/ic/rtw.c
1084
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/rtw.c
1293
ieee80211_inputm(&sc->sc_if, m, ni, &rxi, &ml);
sys/dev/ic/rtw.c
1298
if_input(&sc->sc_if, &ml);
sys/dev/ic/smc83c170.c
585
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/smc83c170.c
702
ml_enqueue(&ml, m);
sys/dev/ic/smc83c170.c
725
if_input(ifp, &ml);
sys/dev/ic/smc91cxx.c
890
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/smc91cxx.c
968
ml_enqueue(&ml, m);
sys/dev/ic/smc91cxx.c
983
if_input(ifp, &ml);
sys/dev/ic/ti.c
1520
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/ti.c
1604
ml_enqueue(&ml, m);
sys/dev/ic/ti.c
1616
if_input(ifp, &ml);
sys/dev/ic/xl.c
1126
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/ic/xl.c
1206
ml_enqueue(&ml, m);
sys/dev/ic/xl.c
1209
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/isa/if_ef_isapnp.c
641
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/isa/if_ef_isapnp.c
689
ml_enqueue(&ml, m);
sys/dev/isa/if_ef_isapnp.c
690
if_input(ifp, &ml);
sys/dev/isa/if_eg.c
652
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/isa/if_eg.c
670
ml_enqueue(&ml, m);
sys/dev/isa/if_eg.c
671
if_input(ifp, &ml);
sys/dev/isa/if_el.c
476
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/isa/if_el.c
494
ml_enqueue(&ml, m);
sys/dev/isa/if_el.c
495
if_input(ifp, &ml);
sys/dev/isa/if_ex.c
639
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/isa/if_ex.c
710
ml_enqueue(&ml, ipkt);
sys/dev/isa/if_ex.c
722
if_input(ifp, &ml);
sys/dev/isa/if_ie.c
1248
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/isa/if_ie.c
1274
ml_enqueue(&ml, m);
sys/dev/isa/if_ie.c
1275
if_input(&sc->sc_arpcom.ac_if, &ml);
sys/dev/pci/if_age.c
1267
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_age.c
1395
ml_enqueue(&ml, m);
sys/dev/pci/if_age.c
1402
if_input(ifp, &ml);
sys/dev/pci/if_alc.c
2434
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_alc.c
2534
ml_enqueue(&ml, m);
sys/dev/pci/if_alc.c
2537
if_input(ifp, &ml);
sys/dev/pci/if_ale.c
1429
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_ale.c
1524
ml_enqueue(&ml, m);
sys/dev/pci/if_ale.c
1529
if_input(ifp, &ml);
sys/dev/pci/if_aq_pci.c
3099
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_aq_pci.c
3174
ml_enqueue(&ml, m);
sys/dev/pci/if_aq_pci.c
3197
if (ifiq_input(rx->rx_ifiq, &ml))
sys/dev/pci/if_bce.c
686
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_bce.c
733
ml_enqueue(&ml, m);
sys/dev/pci/if_bce.c
743
if_input(ifp, &ml);
sys/dev/pci/if_bge.c
3512
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_bge.c
3618
ml_enqueue(&ml, m);
sys/dev/pci/if_bge.c
3624
livelocked = ifiq_input(&ifp->if_rcv, &ml);
sys/dev/pci/if_bnx.c
4228
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_bnx.c
4448
ml_enqueue(&ml, m);
sys/dev/pci/if_bnx.c
4470
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/pci/if_bnxt.c
1803
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_bnxt.c
1822
rollback = bnxt_rx(sc, rx, cpr, &ml, &mltcp,
sys/dev/pci/if_bnxt.c
1866
if (ifiq_input(rx->rx_ifiq, &ml))
sys/dev/pci/if_bnxt.c
2651
struct bnxt_cp_ring *cpr, struct mbuf_list *ml, struct mbuf_list *mltcp,
sys/dev/pci/if_bnxt.c
2733
ml_enqueue(ml, m);
sys/dev/pci/if_bwfm_pci.c
1638
struct mbuf_list *ml)
sys/dev/pci/if_bwfm_pci.c
1650
bwfm_pci_msg_rx(sc, buf + sc->sc_rx_dataoffset, ml);
sys/dev/pci/if_bwfm_pci.c
1666
bwfm_pci_msg_rx(struct bwfm_pci_softc *sc, void *buf, struct mbuf_list *ml)
sys/dev/pci/if_bwfm_pci.c
1757
bwfm_rx(&sc->sc_sc, m, ml);
sys/dev/pci/if_bwfm_pci.c
1784
bwfm_rx(&sc->sc_sc, m, ml);
sys/dev/pci/if_bwfm_pci.c
2346
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_bwfm_pci.c
2372
bwfm_pci_ring_rx(sc, &sc->sc_ctrl_complete, &ml);
sys/dev/pci/if_bwfm_pci.c
2373
bwfm_pci_ring_rx(sc, &sc->sc_rx_complete, &ml);
sys/dev/pci/if_bwfm_pci.c
2374
bwfm_pci_ring_rx(sc, &sc->sc_tx_complete, &ml);
sys/dev/pci/if_bwfm_pci.c
2376
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/pci/if_cas.c
1165
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_cas.c
1204
ml_enqueue(&ml, m);
sys/dev/pci/if_cas.c
1229
ml_enqueue(&ml, m);
sys/dev/pci/if_cas.c
1257
if_input(ifp, &ml);
sys/dev/pci/if_de.c
3174
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_de.c
3352
ml_enqueue(&ml, ms);
sys/dev/pci/if_de.c
3357
ml_enqueue(&ml, m0);
sys/dev/pci/if_de.c
3424
if_input(ifp, &ml);
sys/dev/pci/if_em.c
3075
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_em.c
3195
ml_enqueue(&ml, m);
sys/dev/pci/if_em.c
3223
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/pci/if_et.c
1662
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_et.c
1730
ml_enqueue(&ml, m);
sys/dev/pci/if_et.c
1755
if_input(ifp, &ml);
sys/dev/pci/if_iavf.c
2329
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_iavf.c
2400
ml_enqueue(&ml, m);
sys/dev/pci/if_iavf.c
2418
if (ifiq_input(ifiq, &ml))
sys/dev/pci/if_ice.c
29347
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_ice.c
29437
ml_enqueue(&ml, m);
sys/dev/pci/if_ice.c
29455
if (ifiq_input(ifiq, &ml))
sys/dev/pci/if_igc.c
1305
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_igc.c
1413
ml_enqueue(&ml, m);
sys/dev/pci/if_igc.c
1427
if (ifiq_input(rxr->ifiq, &ml))
sys/dev/pci/if_ipw.c
833
struct ipw_soft_bd *sbd, struct ipw_soft_buf *sbuf, struct mbuf_list *ml)
sys/dev/pci/if_ipw.c
913
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/pci/if_ipw.c
927
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_ipw.c
960
ipw_data_intr(sc, status, sbd, sbuf, &ml);
sys/dev/pci/if_ipw.c
977
if_input(&sc->sc_ic.ic_if, &ml);
sys/dev/pci/if_iwi.c
1082
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_iwi.c
1100
(struct iwi_frame *)(hdr + 1), &ml);
sys/dev/pci/if_iwi.c
1115
if_input(&sc->sc_ic.ic_if, &ml);
sys/dev/pci/if_iwi.c
870
struct iwi_frame *frame, struct mbuf_list *ml)
sys/dev/pci/if_iwi.c
963
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/pci/if_iwm.c
11013
iwm_rx_pkt(struct iwm_softc *sc, struct iwm_rx_data *data, struct mbuf_list *ml)
sys/dev/pci/if_iwm.c
11067
maxlen, ml);
sys/dev/pci/if_iwm.c
11070
maxlen, ml);
sys/dev/pci/if_iwm.c
11088
maxlen, ml);
sys/dev/pci/if_iwm.c
11091
maxlen, ml);
sys/dev/pci/if_iwm.c
11376
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_iwm.c
11396
iwm_rx_pkt(sc, data, &ml);
sys/dev/pci/if_iwm.c
11399
if_input(&sc->sc_ic.ic_if, &ml);
sys/dev/pci/if_iwm.c
3247
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_iwm.c
3290
iwm_release_frames(sc, ni, rxba, buf, sn, &ml);
sys/dev/pci/if_iwm.c
3291
if_input(&sc->sc_ic.ic_if, &ml);
sys/dev/pci/if_iwm.c
4794
struct mbuf_list *ml)
sys/dev/pci/if_iwm.c
4868
ieee80211_inputm(IC2IFP(ic), m, ni, rxi, ml);
sys/dev/pci/if_iwm.c
4874
size_t maxlen, struct mbuf_list *ml)
sys/dev/pci/if_iwm.c
4946
rate_n_flags, device_timestamp, &rxi, ml);
sys/dev/pci/if_iwm.c
5033
uint16_t nssn, struct mbuf_list *ml)
sys/dev/pci/if_iwm.c
5064
rate_n_flags, device_timestamp, rxi, ml);
sys/dev/pci/if_iwm.c
5145
struct mbuf_list *ml)
sys/dev/pci/if_iwm.c
5219
iwm_release_frames(sc, ni, rxba, buffer, nssn, ml);
sys/dev/pci/if_iwm.c
5235
iwm_release_frames(sc, ni, rxba, buffer, min_sn, ml);
sys/dev/pci/if_iwm.c
5326
iwm_release_frames(sc, ni, rxba, buffer, nssn, ml);
sys/dev/pci/if_iwm.c
5339
size_t maxlen, struct mbuf_list *ml)
sys/dev/pci/if_iwm.c
5477
rate_n_flags, device_timestamp, &rxi, ml))
sys/dev/pci/if_iwm.c
5482
rate_n_flags, device_timestamp, &rxi, ml);
sys/dev/pci/if_iwn.c
1995
struct iwn_rx_data *data, struct mbuf_list *ml)
sys/dev/pci/if_iwn.c
2219
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/pci/if_iwn.c
2863
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_iwn.c
2895
iwn_rx_done(sc, desc, data, &ml);
sys/dev/pci/if_iwn.c
3047
if_input(&sc->sc_ic.ic_if, &ml);
sys/dev/pci/if_iwx.c
10774
iwx_rx_pkt(struct iwx_softc *sc, struct iwx_rx_data *data, struct mbuf_list *ml)
sys/dev/pci/if_iwx.c
10841
iwx_rx_mpdu_mq(sc, m0, pkt->data, maxlen, ml);
sys/dev/pci/if_iwx.c
10857
iwx_rx_mpdu_mq(sc, m, pkt->data, maxlen, ml);
sys/dev/pci/if_iwx.c
10863
iwx_rx_bar_frame_release(sc, pkt, ml);
sys/dev/pci/if_iwx.c
11272
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_iwx.c
11286
iwx_rx_pkt(sc, data, &ml);
sys/dev/pci/if_iwx.c
11289
if_input(&sc->sc_ic.ic_if, &ml);
sys/dev/pci/if_iwx.c
3384
struct mbuf_list *ml)
sys/dev/pci/if_iwx.c
3414
iwx_release_frames(sc, ni, rxba, buf, nssn, ml);
sys/dev/pci/if_iwx.c
4820
struct mbuf_list *ml)
sys/dev/pci/if_iwx.c
4918
ieee80211_inputm(IC2IFP(ic), m, ni, rxi, ml);
sys/dev/pci/if_iwx.c
4983
uint16_t nssn, struct mbuf_list *ml)
sys/dev/pci/if_iwx.c
5010
rate_n_flags, device_timestamp, rxi, ml);
sys/dev/pci/if_iwx.c
5036
struct mbuf_list *ml)
sys/dev/pci/if_iwx.c
5108
iwx_release_frames(sc, ni, rxba, buffer, nssn, ml);
sys/dev/pci/if_iwx.c
5172
iwx_release_frames(sc, ni, rxba, buffer, nssn, ml);
sys/dev/pci/if_iwx.c
5185
size_t maxlen, struct mbuf_list *ml)
sys/dev/pci/if_iwx.c
5339
rate_n_flags, device_timestamp, &rxi, ml))
sys/dev/pci/if_iwx.c
5344
rate_n_flags, device_timestamp, &rxi, ml);
sys/dev/pci/if_ix.c
3150
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_ix.c
3280
ml_enqueue(&ml, sendmp);
sys/dev/pci/if_ix.c
3294
if (ifiq_input(rxr->ifiq, &ml))
sys/dev/pci/if_ixgb.c
1704
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_ixgb.c
1780
ml_enqueue(&ml, sc->fmp);
sys/dev/pci/if_ixgb.c
1849
if_input(ifp, &ml);
sys/dev/pci/if_ixl.c
3224
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_ixl.c
3304
ml_enqueue(&ml, m);
sys/dev/pci/if_ixl.c
3326
if (ifiq_input(ifiq, &ml))
sys/dev/pci/if_jme.c
1588
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_jme.c
1699
ml_enqueue(&ml, m);
sys/dev/pci/if_jme.c
1706
if_input(ifp, &ml);
sys/dev/pci/if_lge.c
677
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_lge.c
741
ml_enqueue(&ml, m);
sys/dev/pci/if_lge.c
744
if_input(ifp, &ml);
sys/dev/pci/if_lii.c
888
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_lii.c
929
ml_enqueue(&ml, m);
sys/dev/pci/if_lii.c
932
if_input(ifp, &ml);
sys/dev/pci/if_mcx.c
6911
struct mcx_cq_entry *cqe, struct mbuf_list *ml,
sys/dev/pci/if_mcx.c
6963
ml_enqueue(ml, m);
sys/dev/pci/if_mcx.c
7025
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_mcx.c
7045
rxfree += mcx_process_rx(sc, rx, cqe, &ml, c);
sys/dev/pci/if_mcx.c
7068
if (ifiq_input(rx->rx_ifiq, &ml))
sys/dev/pci/if_msk.c
1716
msk_rxeof(struct sk_if_softc *sc_if, struct mbuf_list *ml,
sys/dev/pci/if_msk.c
1763
ml_enqueue(ml, m);
sys/dev/pci/if_msk.c
1884
struct mbuf_list ml[2] = {
sys/dev/pci/if_msk.c
1931
msk_rxeof(sc->sk_if[port], &ml[port],
sys/dev/pci/if_msk.c
1963
if (!ml_empty(&ml[0])) {
sys/dev/pci/if_msk.c
1964
if (ifiq_input(&ifp0->if_rcv, &ml[0]))
sys/dev/pci/if_msk.c
1970
if (!ml_empty(&ml[1])) {
sys/dev/pci/if_msk.c
1971
if (ifiq_input(&ifp1->if_rcv, &ml[1]))
sys/dev/pci/if_mwx.c
1033
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/pci/if_mwx.c
2079
mwx_dma_rx_process(struct mwx_softc *sc, struct mbuf_list *ml)
sys/dev/pci/if_mwx.c
2085
while ((m = ml_dequeue(ml)) != NULL) {
sys/dev/pci/if_mwx.c
2127
struct mbuf_list *ml)
sys/dev/pci/if_mwx.c
2174
ml_enqueue(ml, m0);
sys/dev/pci/if_mwx.c
2199
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_mwx.c
2201
mwx_dma_rx_dequeue(sc, q, &ml);
sys/dev/pci/if_mwx.c
2203
if (ml_empty(&ml))
sys/dev/pci/if_mwx.c
2208
mwx_dma_rx_process(sc, &ml);
sys/dev/pci/if_mwx.c
991
mwx_rx(struct mwx_softc *sc, struct mbuf *m, struct mbuf_list *ml)
sys/dev/pci/if_myx.c
1767
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_myx.c
1802
ml_enqueue(&ml, m);
sys/dev/pci/if_myx.c
1810
livelocked = ifiq_input(&ifp->if_rcv, &ml);
sys/dev/pci/if_nep.c
1034
ml_enqueue(&ml, m);
sys/dev/pci/if_nep.c
1051
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/pci/if_nep.c
979
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_nfe.c
631
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_nfe.c
748
ml_enqueue(&ml, m);
sys/dev/pci/if_nfe.c
774
if_input(ifp, &ml);
sys/dev/pci/if_ngbe.c
4273
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_ngbe.c
4379
ml_enqueue(&ml, m);
sys/dev/pci/if_ngbe.c
4393
if (ifiq_input(rxr->ifiq, &ml))
sys/dev/pci/if_nge.c
1092
ml_enqueue(&ml, m);
sys/dev/pci/if_nge.c
1095
if_input(ifp, &ml);
sys/dev/pci/if_nge.c
994
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_oce.c
1538
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_oce.c
1633
ml_enqueue(&ml, m);
sys/dev/pci/if_oce.c
1636
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/pci/if_pcn.c
1249
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_pcn.c
1366
ml_enqueue(&ml, m);
sys/dev/pci/if_pcn.c
1372
if_input(ifp, &ml);
sys/dev/pci/if_rge.c
1326
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_rge.c
1426
ml_enqueue(&ml, m);
sys/dev/pci/if_rge.c
1448
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/pci/if_rtwn.c
1478
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_rtwn.c
1523
rtwn_rx_frame(sc, rx_desc, rx_data, i, &ml);
sys/dev/pci/if_rtwn.c
1525
if_input(&ic->ic_if, &ml);
sys/dev/pci/if_rtwn.c
1545
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_rtwn.c
1577
rtwn_rx_frame(sc, rx_desc, rx_data, i, &ml);
sys/dev/pci/if_rtwn.c
1579
if_input(&ic->ic_if, &ml);
sys/dev/pci/if_rtwn.c
812
struct rtwn_rx_data *rx_data, int desc_idx, struct mbuf_list *ml)
sys/dev/pci/if_rtwn.c
972
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/pci/if_se.c
900
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_se.c
952
ml_enqueue(&ml, m);
sys/dev/pci/if_se.c
955
if_input(ifp, &ml);
sys/dev/pci/if_sis.c
1355
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_sis.c
1438
ml_enqueue(&ml, m);
sys/dev/pci/if_sis.c
1441
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/pci/if_sk.c
1579
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_sk.c
1630
ml_enqueue(&ml, m);
sys/dev/pci/if_sk.c
1634
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/pci/if_ste.c
626
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_ste.c
686
ml_enqueue(&ml, m);
sys/dev/pci/if_ste.c
692
if_input(ifp, &ml);
sys/dev/pci/if_stge.c
846
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_stge.c
986
ml_enqueue(&ml, m);
sys/dev/pci/if_stge.c
992
if_input(ifp, &ml);
sys/dev/pci/if_tht.c
1327
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_tht.c
1355
ml_enqueue(&ml, m);
sys/dev/pci/if_tht.c
1369
if_input(ifp, &ml);
sys/dev/pci/if_tl.c
1030
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_tl.c
1075
ml_enqueue(&ml, m);
sys/dev/pci/if_tl.c
1078
if_input(ifp, &ml);
sys/dev/pci/if_txp.c
594
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_txp.c
689
ml_enqueue(&ml, m);
sys/dev/pci/if_txp.c
708
if_input(ifp, &ml);
sys/dev/pci/if_vge.c
1131
ml_enqueue(&ml, m);
sys/dev/pci/if_vge.c
1138
if_input(ifp, &ml);
sys/dev/pci/if_vge.c
976
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_vic.c
809
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_vic.c
858
ml_enqueue(&ml, m);
sys/dev/pci/if_vic.c
865
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/pci/if_vmx.c
1114
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_vmx.c
1211
ml_enqueue(&ml, comp_ring->sendmp);
sys/dev/pci/if_vmx.c
1227
if (ifiq_input(rq->ifiq, &ml))
sys/dev/pci/if_vr.c
814
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_vr.c
926
ml_enqueue(&ml, m);
sys/dev/pci/if_vr.c
929
if (ifiq_input(&ifp->if_rcv, &ml))
sys/dev/pci/if_vte.c
1022
ml_enqueue(&ml, m);
sys/dev/pci/if_vte.c
1025
if_input(ifp, &ml);
sys/dev/pci/if_vte.c
988
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_wb.c
888
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_wb.c
943
ml_enqueue(&ml, m);
sys/dev/pci/if_wb.c
946
if_input(ifp, &ml);
sys/dev/pci/if_wpi.c
1173
struct wpi_rx_data *data, struct mbuf_list *ml)
sys/dev/pci/if_wpi.c
1333
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/pci/if_wpi.c
1401
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_wpi.c
1428
wpi_rx_done(sc, desc, data, &ml);
sys/dev/pci/if_wpi.c
1517
if_input(&ic->ic_if, &ml);
sys/dev/pci/if_xge.c
850
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pci/if_xge.c
971
ml_enqueue(&ml, m);
sys/dev/pci/if_xge.c
977
if_input(ifp, &ml);
sys/dev/pcmcia/if_malo.c
906
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pcmcia/if_malo.c
956
ml_enqueue(&ml, m);
sys/dev/pcmcia/if_malo.c
957
if_input(ifp, &ml);
sys/dev/pcmcia/if_xe.c
732
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pcmcia/if_xe.c
805
ml_enqueue(&ml, top);
sys/dev/pcmcia/if_xe.c
806
if_input(ifp, &ml);
sys/dev/pv/if_hvn.c
1427
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pv/if_hvn.c
1448
off, len, &ml);
sys/dev/pv/if_hvn.c
1472
if_input(ifp, &ml);
sys/dev/pv/if_hvn.c
1474
ml_purge(&ml);
sys/dev/pv/if_hvn.c
1500
hvn_rxeof(struct hvn_softc *sc, caddr_t buf, uint32_t len, struct mbuf_list *ml)
sys/dev/pv/if_hvn.c
1576
ml_enqueue(ml, m);
sys/dev/pv/if_vio.c
1571
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pv/if_vio.c
1615
ml_enqueue(&ml, m0);
sys/dev/pv/if_vio.c
1626
if (ifiq_input(vioq->viq_ifiq, &ml))
sys/dev/pv/if_xnf.c
749
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/pv/if_xnf.c
819
ml_enqueue(&ml, m);
sys/dev/pv/if_xnf.c
831
if_input(ifp, &ml);
sys/dev/sbus/be.c
526
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/sbus/be.c
548
ml_enqueue(&ml, m);
sys/dev/sbus/be.c
549
if_input(ifp, &ml);
sys/dev/sbus/qe.c
386
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/sbus/qe.c
408
ml_enqueue(&ml, m);
sys/dev/sbus/qe.c
409
if_input(ifp, &ml);
sys/dev/sdmmc/if_bwfm_sdio.c
1201
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/sdmmc/if_bwfm_sdio.c
1291
sc->sc_sc.sc_proto_ops->proto_rx(&sc->sc_sc, m, &ml);
sys/dev/sdmmc/if_bwfm_sdio.c
1301
bwfm_sdio_rx_glom(sc, sublen, nsub, &nextlen, &ml);
sys/dev/sdmmc/if_bwfm_sdio.c
1310
if_input(ifp, &ml);
sys/dev/sdmmc/if_bwfm_sdio.c
1315
uint16_t *nextlen, struct mbuf_list *ml)
sys/dev/sdmmc/if_bwfm_sdio.c
1404
sc->sc_sc.sc_proto_ops->proto_rx(&sc->sc_sc, m, ml);
sys/dev/usb/if_athn_usb.c
2026
struct mbuf_list *ml)
sys/dev/usb/if_athn_usb.c
2114
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/usb/if_athn_usb.c
2128
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_athn_usb.c
2156
athn_usb_rx_frame(usc, stream->m, &ml);
sys/dev/usb/if_athn_usb.c
2222
athn_usb_rx_frame(usc, m, &ml);
sys/dev/usb/if_athn_usb.c
2230
if_input(ifp, &ml);
sys/dev/usb/if_aue.c
1000
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_aue.c
1050
ml_enqueue(&ml, m);
sys/dev/usb/if_aue.c
1058
if_input(ifp, &ml);
sys/dev/usb/if_axe.c
1058
ml_enqueue(&ml, m);
sys/dev/usb/if_axe.c
1065
if_input(ifp, &ml);
sys/dev/usb/if_axe.c
980
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_axen.c
1043
ml_enqueue(&ml, m);
sys/dev/usb/if_axen.c
1060
if_input(ifp, &ml);
sys/dev/usb/if_axen.c
895
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_bwfm_usb.c
444
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_bwfm_usb.c
470
sc->sc_sc.sc_proto_ops->proto_rx(&sc->sc_sc, m, &ml);
sys/dev/usb/if_bwfm_usb.c
471
if_input(ifp, &ml);
sys/dev/usb/if_cdce.c
708
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_cdce.c
750
ml_enqueue(&ml, m);
sys/dev/usb/if_cdce.c
758
if_input(ifp, &ml);
sys/dev/usb/if_cue.c
665
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_cue.c
712
ml_enqueue(&ml, m);
sys/dev/usb/if_cue.c
720
if_input(ifp, &ml);
sys/dev/usb/if_kue.c
673
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_kue.c
725
ml_enqueue(&ml, m);
sys/dev/usb/if_kue.c
733
if_input(ifp, &ml);
sys/dev/usb/if_mos.c
886
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_mos.c
949
ml_enqueue(&ml, m);
sys/dev/usb/if_mos.c
952
if_input(ifp, &ml);
sys/dev/usb/if_mtw.c
2039
struct mbuf_list *ml)
sys/dev/usb/if_mtw.c
2169
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/usb/if_mtw.c
2179
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_mtw.c
2216
mtw_rx_frame(sc, buf + sizeof(struct mtw_rxd), dmalen, &ml);
sys/dev/usb/if_mtw.c
2220
if_input(&sc->sc_ic.ic_if, &ml);
sys/dev/usb/if_mue.c
1056
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_mue.c
1122
ml_enqueue(&ml, m);
sys/dev/usb/if_mue.c
1127
if_input(ifp, &ml);
sys/dev/usb/if_otus.c
1063
struct mbuf_list *ml)
sys/dev/usb/if_otus.c
1193
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/usb/if_otus.c
1203
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_otus.c
1233
otus_sub_rxeof(sc, (uint8_t *)&head[1], hlen, &ml);
sys/dev/usb/if_otus.c
1240
if_input(&sc->sc_ic.ic_if, &ml);
sys/dev/usb/if_rsu.c
1274
struct mbuf_list *ml)
sys/dev/usb/if_rsu.c
1383
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/usb/if_rsu.c
1392
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_rsu.c
1421
rsu_rx_frame(sc, buf, pktlen, &ml);
sys/dev/usb/if_rsu.c
1428
if_input(&sc->sc_ic.ic_if, &ml);
sys/dev/usb/if_run.c
2173
struct mbuf_list *ml)
sys/dev/usb/if_run.c
2309
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/usb/if_run.c
2319
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_run.c
2363
run_rx_frame(sc, buf + sizeof (uint32_t), dmalen, &ml);
sys/dev/usb/if_run.c
2367
if_input(&sc->sc_ic.ic_if, &ml);
sys/dev/usb/if_smsc.c
1170
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_smsc.c
1240
ml_enqueue(&ml, m);
sys/dev/usb/if_smsc.c
1245
if_input(ifp, &ml);
sys/dev/usb/if_uaq.c
1087
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_uaq.c
1176
ml_enqueue(&ml, m);
sys/dev/usb/if_uaq.c
1184
if_input(ifp, &ml);
sys/dev/usb/if_udav.c
1042
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_udav.c
1101
ml_enqueue(&ml, m);
sys/dev/usb/if_udav.c
1109
if_input(ifp, &ml);
sys/dev/usb/if_ugl.c
405
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_ugl.c
466
ml_enqueue(&ml, m);
sys/dev/usb/if_ugl.c
474
if_input(ifp, &ml);
sys/dev/usb/if_umb.c
2444
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_umb.c
2566
ml_enqueue(&ml, m);
sys/dev/usb/if_umb.c
2569
if_input(ifp, &ml);
sys/dev/usb/if_upl.c
412
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_upl.c
447
ml_enqueue(&ml, m);
sys/dev/usb/if_upl.c
455
if_input(ifp, &ml);
sys/dev/usb/if_ure.c
2518
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_ure.c
2571
ml_enqueue(&ml, m);
sys/dev/usb/if_ure.c
2575
if_input(ifp, &ml);
sys/dev/usb/if_url.c
900
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_url.c
958
ml_enqueue(&ml, m);
sys/dev/usb/if_url.c
969
if_input(ifp, &ml);
sys/dev/usb/if_urndis.c
815
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_urndis.c
908
ml_enqueue(&ml, m);
sys/dev/usb/if_urndis.c
914
if (ml_empty(&ml))
sys/dev/usb/if_urndis.c
918
if_input(ifp, &ml);
sys/dev/usb/if_urtwn.c
1163
struct mbuf_list *ml)
sys/dev/usb/if_urtwn.c
1293
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/usb/if_urtwn.c
1303
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_urtwn.c
1399
urtwn_rx_frame(sc, buf, pktlen, &ml);
sys/dev/usb/if_urtwn.c
1406
if_input(&ic->ic_if, &ml);
sys/dev/usb/if_zyd.c
1896
struct mbuf_list *ml)
sys/dev/usb/if_zyd.c
1981
ieee80211_inputm(ifp, m, ni, &rxi, ml);
sys/dev/usb/if_zyd.c
1992
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/dev/usb/if_zyd.c
2032
zyd_rx_data(sc, p, len, &ml);
sys/dev/usb/if_zyd.c
2039
zyd_rx_data(sc, data->buf, len, &ml);
sys/dev/usb/if_zyd.c
2041
if_input(ifp, &ml);
sys/kern/uipc_mbuf.c
1617
ml_init(struct mbuf_list *ml)
sys/kern/uipc_mbuf.c
1619
ml->ml_head = ml->ml_tail = NULL;
sys/kern/uipc_mbuf.c
1620
ml->ml_len = 0;
sys/kern/uipc_mbuf.c
1624
ml_enqueue(struct mbuf_list *ml, struct mbuf *m)
sys/kern/uipc_mbuf.c
1626
if (ml->ml_tail == NULL)
sys/kern/uipc_mbuf.c
1627
ml->ml_head = ml->ml_tail = m;
sys/kern/uipc_mbuf.c
1629
ml->ml_tail->m_nextpkt = m;
sys/kern/uipc_mbuf.c
1630
ml->ml_tail = m;
sys/kern/uipc_mbuf.c
1634
ml->ml_len++;
sys/kern/uipc_mbuf.c
1653
ml_dequeue(struct mbuf_list *ml)
sys/kern/uipc_mbuf.c
1657
m = ml->ml_head;
sys/kern/uipc_mbuf.c
1659
ml->ml_head = m->m_nextpkt;
sys/kern/uipc_mbuf.c
1660
if (ml->ml_head == NULL)
sys/kern/uipc_mbuf.c
1661
ml->ml_tail = NULL;
sys/kern/uipc_mbuf.c
1664
ml->ml_len--;
sys/kern/uipc_mbuf.c
1671
ml_dechain(struct mbuf_list *ml)
sys/kern/uipc_mbuf.c
1675
m0 = ml->ml_head;
sys/kern/uipc_mbuf.c
1677
ml_init(ml);
sys/kern/uipc_mbuf.c
1683
ml_purge(struct mbuf_list *ml)
sys/kern/uipc_mbuf.c
1688
for (m = ml->ml_head; m != NULL; m = n) {
sys/kern/uipc_mbuf.c
1693
len = ml->ml_len;
sys/kern/uipc_mbuf.c
1694
ml_init(ml);
sys/kern/uipc_mbuf.c
1700
ml_hdatalen(struct mbuf_list *ml)
sys/kern/uipc_mbuf.c
1704
m = ml->ml_head;
sys/kern/uipc_mbuf.c
1776
mq_enlist(struct mbuf_queue *mq, struct mbuf_list *ml)
sys/kern/uipc_mbuf.c
1783
ml_enlist(&mq->mq_list, ml);
sys/kern/uipc_mbuf.c
1785
dropped = ml_len(ml);
sys/kern/uipc_mbuf.c
1791
while ((m = ml_dequeue(ml)) != NULL)
sys/kern/uipc_mbuf.c
1799
mq_delist(struct mbuf_queue *mq, struct mbuf_list *ml)
sys/kern/uipc_mbuf.c
1802
*ml = mq->mq_list;
sys/kern/uipc_mbuf.c
1810
struct mbuf_list ml;
sys/kern/uipc_mbuf.c
1812
mq_delist(mq, &ml);
sys/kern/uipc_mbuf.c
1814
return (ml_purge(&ml));
sys/net/fq_codel.c
505
codel_purge(struct codel *cd, struct mbuf_list *ml)
sys/net/fq_codel.c
507
ml_enlist(ml, &cd->q);
sys/net/fq_codel.c
657
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net/fq_codel.c
670
m = codel_dequeue(&flow->cd, &fqc->cparams, now, &ml,
sys/net/fq_codel.c
673
KASSERT(fqc->qlength >= ml_len(&ml));
sys/net/fq_codel.c
674
fqc->qlength -= ml_len(&ml);
sys/net/fq_codel.c
676
ml_enlist(free_ml, &ml);
sys/net/fq_codel.c
705
fqcodel_purge(struct fqcodel *fqc, struct mbuf_list *ml)
sys/net/fq_codel.c
710
codel_purge(&fqc->flows[i].cd, ml);
sys/net/fq_codel.c
711
ml_enlist(ml, &fqc->pending_drops);
sys/net/fq_codel.c
739
fqcodel_if_purge(struct ifqueue *ifq, struct mbuf_list *ml)
sys/net/fq_codel.c
741
return fqcodel_purge(ifq->ifq_q, ml);
sys/net/fq_codel.c
890
fqcodel_pf_purge(void *fqc, struct mbuf_list *ml)
sys/net/fq_codel.c
892
return fqcodel_purge(fqc, ml);
sys/net/hfsc.c
326
hfsc_class_deq_begin(struct hfsc_class *cl, struct mbuf_list *ml)
sys/net/hfsc.c
328
return cl->cl_qops->pfq_deq_begin(cl->cl_qdata, &cl->cl_cookie, ml);
sys/net/hfsc.c
338
hfsc_class_purge(struct hfsc_class *cl, struct mbuf_list *ml)
sys/net/hfsc.c
342
return cl->cl_qops->pfq_purge(cl->cl_qdata, ml);
sys/net/hfsc.c
550
hfsc_pf_purge(void *arg, struct mbuf_list *ml)
sys/net/hfsc.c
554
ml_enlist(ml, &cq->q);
sys/net/hfsc.c
605
hfsc_purge(struct ifqueue *ifq, struct mbuf_list *ml)
sys/net/hfsc.c
611
hfsc_cl_purge(hif, cl, ml);
sys/net/hfsc.c
955
hfsc_cl_purge(struct hfsc_if *hif, struct hfsc_class *cl, struct mbuf_list *ml)
sys/net/hfsc.c
963
ml_enlist(ml, &ml2);
sys/net/if.c
1031
if_input_process(struct ifnet *ifp, struct mbuf_list *ml, unsigned int idx)
sys/net/if.c
1037
if (ml_empty(ml))
sys/net/if.c
1041
enqueue_randomness(ml_len(ml) ^ (uintptr_t)MBUF_LIST_FIRST(ml));
sys/net/if.c
1061
while ((m = ml_dequeue(ml)) != NULL)
sys/net/if.c
806
if_input(struct ifnet *ifp, struct mbuf_list *ml)
sys/net/if.c
808
ifiq_input(&ifp->if_rcv, ml);
sys/net/if.c
908
if_output_ml(struct ifnet *ifp, struct mbuf_list *ml,
sys/net/if.c
914
while ((m = ml_dequeue(ml)) != NULL) {
sys/net/if.c
920
ml_purge(ml);
sys/net/if.c
980
struct mbuf_list ml;
sys/net/if.c
984
mq_delist(mq, &ml);
sys/net/if.c
985
len = ml_len(&ml);
sys/net/if.c
986
error = if_output_ml(ifp, &ml, dst, rt);
sys/net/if_aggr.c
1974
struct mbuf_list ml;
sys/net/if_aggr.c
1978
ml = p->p_rxm_ml;
sys/net/if_aggr.c
1982
while ((m = ml_dequeue(&ml)) != NULL) {
sys/net/if_bridge.c
1811
struct mbuf_list ml;
sys/net/if_bridge.c
1869
error = ip_fragment(m, &ml, ifp, ifp->if_mtu);
sys/net/if_bridge.c
1873
while ((m = ml_dequeue(&ml)) != NULL) {
sys/net/if_bridge.c
1893
ml_purge(&ml);
sys/net/if_bridge.c
1935
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net/if_bridge.c
1939
ml_enqueue(&ml, m);
sys/net/if_bridge.c
1940
if_input(ifp, &ml);
sys/net/if_bridge.c
931
struct mbuf_list ml;
sys/net/if_bridge.c
935
niq_delist(&bridgeintrq, &ml);
sys/net/if_bridge.c
936
if (ml_empty(&ml))
sys/net/if_bridge.c
940
while ((m = ml_dequeue(&ml)) != NULL) {
sys/net/if_gre.c
3729
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net/if_gre.c
3791
ml_enqueue(&ml, m);
sys/net/if_gre.c
3794
if (!ml_empty(&ml)) {
sys/net/if_gre.c
3795
if (mq_enlist(&sc->sc_send_list, &ml) == 0)
sys/net/if_gre.c
3802
nvgre_send4(struct nvgre_softc *sc, struct mbuf_list *ml)
sys/net/if_gre.c
3813
while ((m = ml_dequeue(ml)) != NULL) {
sys/net/if_gre.c
3824
nvgre_send6(struct nvgre_softc *sc, struct mbuf_list *ml)
sys/net/if_gre.c
3835
while ((m = ml_dequeue(ml)) != NULL) {
sys/net/if_gre.c
3851
struct mbuf_list ml;
sys/net/if_gre.c
3857
mq_delist(&sc->sc_send_list, &ml);
sys/net/if_gre.c
3858
if (ml_empty(&ml))
sys/net/if_gre.c
3863
oerrors = nvgre_send4(sc, &ml);
sys/net/if_gre.c
3867
oerrors = nvgre_send6(sc, &ml);
sys/net/if_pair.c
163
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net/if_pair.c
178
ml_enqueue(&ml, m);
sys/net/if_pair.c
184
if_input(pairedifp, &ml);
sys/net/if_pflow.c
146
struct mbuf_list ml;
sys/net/if_pflow.c
150
mq_delist(&sc->sc_outputqueue, &ml);
sys/net/if_pflow.c
152
while ((m = ml_dequeue(&ml)) != NULL) {
sys/net/if_pfsync.c
1583
struct mbuf_list ml;
sys/net/if_pfsync.c
1586
mq_delist(&s->s_sendq, &ml);
sys/net/if_pfsync.c
1587
if (ml_empty(&ml))
sys/net/if_pfsync.c
1595
while ((m = ml_dequeue(&ml)) != NULL)
sys/net/if_ppp.c
812
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net/if_ppp.c
846
ml_enqueue(&ml, m);
sys/net/if_ppp.c
850
sc->sc_npqueue = ml;
sys/net/if_pppoe.c
197
struct mbuf_list ml;
sys/net/if_pppoe.c
202
mq_delist(&pppoediscinq, &ml);
sys/net/if_pppoe.c
203
while ((m = ml_dequeue(&ml)) != NULL)
sys/net/if_pppoe.c
206
mq_delist(&pppoeinq, &ml);
sys/net/if_pppoe.c
207
while ((m = ml_dequeue(&ml)) != NULL)
sys/net/if_rport.c
246
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net/if_rport.c
312
ml_enqueue(&ml, m);
sys/net/if_rport.c
320
if_input_process(ifp0, &ml, ifq->ifq_idx);
sys/net/if_vxlan.c
505
vxlan_send_ipv4(struct vxlan_softc *sc, struct mbuf_list *ml)
sys/net/if_vxlan.c
511
if (ml_empty(ml))
sys/net/if_vxlan.c
519
while ((m = ml_dequeue(ml)) != NULL) {
sys/net/if_vxlan.c
530
vxlan_send_ipv6(struct vxlan_softc *sc, struct mbuf_list *ml)
sys/net/if_vxlan.c
536
if (ml_empty(ml))
sys/net/if_vxlan.c
544
while ((m = ml_dequeue(ml)) != NULL) {
sys/net/if_vxlan.c
562
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net/if_vxlan.c
595
ml_enqueue(&ml, m);
sys/net/if_vxlan.c
598
oerrors = (*ip_send)(sc, &ml);
sys/net/if_wg.c
1933
struct mbuf_list ml, ml_free;
sys/net/if_wg.c
1943
mq_delist(&peer->p_stage_queue, &ml);
sys/net/if_wg.c
1946
while ((m = ml_dequeue(&ml)) != NULL) {
sys/net/ifq.c
1007
priq_purge(struct ifqueue *ifq, struct mbuf_list *ml)
sys/net/ifq.c
1015
ml_enlist(ml, pl);
sys/net/ifq.c
305
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net/ifq.c
314
ifq->ifq_ops->ifqop_purge(ifq, &ml);
sys/net/ifq.c
323
while ((m = ml_dequeue(&ml)) != NULL) {
sys/net/ifq.c
341
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net/ifq.c
352
ifq->ifq_ops->ifqop_purge(ifq, &ml);
sys/net/ifq.c
355
ml_purge(&ml);
sys/net/ifq.c
405
struct mbuf_list ml;
sys/net/ifq.c
407
ml = ifq->ifq_free;
sys/net/ifq.c
412
if (!ml_empty(&ml))
sys/net/ifq.c
413
ml_purge(&ml);
sys/net/ifq.c
536
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net/ifq.c
540
ifq->ifq_ops->ifqop_purge(ifq, &ml);
sys/net/ifq.c
546
KASSERT(rv == ml_len(&ml));
sys/net/ifq.c
548
ml_purge(&ml);
sys/net/ifq.c
583
ifq_mfreeml(struct ifqueue *ifq, struct mbuf_list *ml)
sys/net/ifq.c
587
ifq->ifq_len -= ml_len(ml);
sys/net/ifq.c
588
ifq->ifq_qdrops += ml_len(ml);
sys/net/ifq.c
589
ml_enlist(&ifq->ifq_free, ml);
sys/net/ifq.c
704
ifiq_input(struct ifiqueue *ifiq, struct mbuf_list *ml)
sys/net/ifq.c
716
if (ml_empty(ml))
sys/net/ifq.c
719
MBUF_LIST_FOREACH(ml, m) {
sys/net/ifq.c
724
packets = ml_len(ml);
sys/net/ifq.c
732
struct mbuf_list ml0 = *ml;
sys/net/ifq.c
734
ml_init(ml);
sys/net/ifq.c
748
ml_enqueue(ml, m);
sys/net/ifq.c
751
if (ml_empty(ml)) {
sys/net/ifq.c
771
ifiq->ifiq_qdrops += ml_len(ml);
sys/net/ifq.c
774
ml_enlist(&ifiq->ifiq_ml, ml);
sys/net/ifq.c
779
if (ml_empty(ml))
sys/net/ifq.c
782
ml_purge(ml);
sys/net/ifq.c
853
struct mbuf_list ml;
sys/net/ifq.c
860
ml = ifiq->ifiq_ml;
sys/net/ifq.c
864
if_input_process(ifiq->ifiq_if, &ml, ifiq->ifiq_idx);
sys/net/pf.c
7311
struct mbuf_list ml;
sys/net/pf.c
7409
if (ip_fragment(m0, &ml, ifp, ifp->if_mtu) ||
sys/net/pf.c
7410
if_output_ml(ifp, &ml, sintosa(dst), rt))
sys/net/pf_norm.c
940
struct mbuf_list ml;
sys/net/pf_norm.c
983
error = ip6_fragment(m, &ml, hdrlen, proto, mtu);
sys/net/pf_norm.c
990
while ((m = ml_dequeue(&ml)) != NULL) {
sys/net80211/ieee80211_input.c
1018
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net80211/ieee80211_input.c
1019
ieee80211_input_ba_flush(ic, ni, ba, &ml);
sys/net80211/ieee80211_input.c
1020
if_input(&ic->ic_if, &ml);
sys/net80211/ieee80211_input.c
1033
u_int8_t tid, u_int16_t ssn, struct mbuf_list *ml)
sys/net80211/ieee80211_input.c
1048
&ba->ba_buf[ba->ba_head].rxi, ml);
sys/net80211/ieee80211_input.c
1059
ieee80211_input_ba_flush(ic, ni, ba, ml);
sys/net80211/ieee80211_input.c
1064
struct ieee80211_node *ni, int mcast, struct mbuf_list *ml)
sys/net80211/ieee80211_input.c
1127
ml_enqueue(ml, m);
sys/net80211/ieee80211_input.c
1134
struct ieee80211_node *ni, int hdrlen, struct mbuf_list *ml)
sys/net80211/ieee80211_input.c
1190
ieee80211_enqueue_data(ic, m, ni, mcast, ml);
sys/net80211/ieee80211_input.c
1242
struct ieee80211_node *ni, int hdrlen, struct mbuf_list *ml)
sys/net80211/ieee80211_input.c
1326
ieee80211_enqueue_data(ic, n, ni, mcast, ml);
sys/net80211/ieee80211_input.c
271
struct ieee80211_rxinfo *rxi, struct mbuf_list *ml)
sys/net80211/ieee80211_input.c
2990
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net80211/ieee80211_input.c
2991
ieee80211_ba_move_window(ic, ni, tid, ssn, &ml);
sys/net80211/ieee80211_input.c
2992
if_input(&ic->ic_if, &ml);
sys/net80211/ieee80211_input.c
3600
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net80211/ieee80211_input.c
3601
ieee80211_ba_move_window(ic, ni, tid, ssn, &ml);
sys/net80211/ieee80211_input.c
3602
if_input(&ic->ic_if, &ml);
sys/net80211/ieee80211_input.c
373
ieee80211_input_ba(ic, m, ni, tid, rxi, ml);
sys/net80211/ieee80211_input.c
384
ieee80211_input_ba(ic, m, ni, tid, rxi, ml);
sys/net80211/ieee80211_input.c
616
ieee80211_amsdu_decap(ic, m, ni, hdrlen, ml);
sys/net80211/ieee80211_input.c
618
ieee80211_decap(ic, m, ni, hdrlen, ml);
sys/net80211/ieee80211_input.c
731
struct mbuf_list ml = MBUF_LIST_INITIALIZER();
sys/net80211/ieee80211_input.c
733
ieee80211_inputm(ifp, m, ni, rxi, &ml);
sys/net80211/ieee80211_input.c
734
if_input(ifp, &ml);
sys/net80211/ieee80211_input.c
836
struct mbuf_list *ml)
sys/net80211/ieee80211_input.c
879
ieee80211_ba_move_window(ic, ni, tid, sn, ml);
sys/net80211/ieee80211_input.c
883
(ba->ba_winstart + count) & 0xfff, ml);
sys/net80211/ieee80211_input.c
884
ieee80211_input_ba_flush(ic, ni, ba, ml);
sys/net80211/ieee80211_input.c
909
ieee80211_input_ba_flush(ic, ni, ba, ml);
sys/net80211/ieee80211_input.c
918
uint8_t tid, uint16_t max_seq, struct mbuf_list *ml)
sys/net80211/ieee80211_input.c
937
ni, &ba->ba_buf[ba->ba_head].rxi, ml);
sys/net80211/ieee80211_input.c
952
struct ieee80211_rx_ba *ba, struct mbuf_list *ml)
sys/net80211/ieee80211_input.c
964
&ba->ba_buf[ba->ba_head].rxi, ml);
sys/netinet/if_ether.c
572
struct mbuf_list ml;
sys/netinet/if_ether.c
576
niq_delist(&arpinq, &ml);
sys/netinet/if_ether.c
578
while ((m = ml_dequeue(&ml)) != NULL) {
sys/netinet/ip_input.c
1946
struct mbuf_list ml;
sys/netinet/ip_input.c
1949
mq_delist(mq, &ml);
sys/netinet/ip_input.c
1950
if (ml_empty(&ml))
sys/netinet/ip_input.c
1954
while ((m = ml_dequeue(&ml)) != NULL) {
sys/netinet/ip_output.c
105
struct mbuf_list ml;
sys/netinet/ip_output.c
482
if ((error = ip_fragment(m, &ml, ifp, mtu)) ||
sys/netinet/ip_output.c
483
(error = if_output_ml(ifp, &ml, sintosa(dst), ro->ro_rt)))
sys/netinet/ip_output.c
580
struct mbuf_list ml;
sys/netinet/ip_output.c
637
error = tcp_softtso_chop(&ml, m, encif, len);
sys/netinet/ip_output.c
643
ml_init(&ml);
sys/netinet/ip_output.c
644
ml_enqueue(&ml, m);
sys/netinet/ip_output.c
648
while ((m = ml_dequeue(&ml)) != NULL) {
sys/netinet/ip_output.c
658
ml_purge(&ml);
sys/netinet/ip_output.c
671
ip_fragment(struct mbuf *m0, struct mbuf_list *ml, struct ifnet *ifp,
sys/netinet/ip_output.c
678
ml_init(ml);
sys/netinet/ip_output.c
679
ml_enqueue(ml, m0);
sys/netinet/ip_output.c
711
ml_enqueue(ml, m);
sys/netinet/ip_output.c
757
ipstat_add(ips_ofragments, ml_len(ml));
sys/netinet/ip_output.c
762
ml_purge(ml);
sys/netinet/tcp_input.c
354
tcp_input_mlist(struct mbuf_list *ml, int af)
sys/netinet/tcp_input.c
359
while ((m = ml_dequeue(ml)) != NULL) {
sys/netinet/tcp_input.c
4397
tcp_softlro_glue(struct mbuf_list *ml, struct mbuf *mtail, struct ifnet *ifp)
sys/netinet/tcp_input.c
4425
for (mhead = ml->ml_head; mhead != NULL; mhead = mhead->m_nextpkt) {
sys/netinet/tcp_input.c
4461
ml_enqueue(ml, mtail);
sys/netinet/tcp_output.c
1176
tcp_softtso_chop(struct mbuf_list *ml, struct mbuf *m0, struct ifnet *ifp,
sys/netinet/tcp_output.c
1187
ml_init(ml);
sys/netinet/tcp_output.c
1188
ml_enqueue(ml, m0);
sys/netinet/tcp_output.c
1229
ml_dequeue(ml);
sys/netinet/tcp_output.c
1234
ml_enqueue(ml, m0);
sys/netinet/tcp_output.c
1262
ml_enqueue(ml, m);
sys/netinet/tcp_output.c
1330
tcpstat_add(tcps_outpkttso, ml_len(ml));
sys/netinet/tcp_output.c
1335
ml_purge(ml);
sys/netinet/tcp_output.c
1343
struct mbuf_list ml;
sys/netinet/tcp_output.c
1371
if ((error = tcp_softtso_chop(&ml, *mp, ifp, (*mp)->m_pkthdr.ph_mss)) ||
sys/netinet/tcp_output.c
1372
(error = if_output_ml(ifp, &ml, dst, rt)))
sys/netinet6/ip6_input.c
1556
struct mbuf_list ml;
sys/netinet6/ip6_input.c
1558
mq_delist(mq, &ml);
sys/netinet6/ip6_input.c
1559
if (ml_empty(&ml))
sys/netinet6/ip6_input.c
1563
while ((m = ml_dequeue(&ml)) != NULL) {
sys/netinet6/ip6_output.c
164
struct mbuf_list ml;
sys/netinet6/ip6_output.c
2832
struct mbuf_list ml;
sys/netinet6/ip6_output.c
2901
error = tcp_softtso_chop(&ml, m, encif, len);
sys/netinet6/ip6_output.c
2907
ml_init(&ml);
sys/netinet6/ip6_output.c
2908
ml_enqueue(&ml, m);
sys/netinet6/ip6_output.c
2912
while ((m = ml_dequeue(&ml)) != NULL) {
sys/netinet6/ip6_output.c
2922
ml_purge(&ml);
sys/netinet6/ip6_output.c
757
if ((error = ip6_fragment(m, &ml, hlen, nextproto, mtu)) ||
sys/netinet6/ip6_output.c
758
(error = if_output_ml(ifp, &ml, sin6tosa(dst), ro->ro_rt)))
sys/netinet6/ip6_output.c
783
ip6_fragment(struct mbuf *m0, struct mbuf_list *ml, int hlen, u_char nextproto,
sys/netinet6/ip6_output.c
791
ml_init(ml);
sys/netinet6/ip6_output.c
817
ml_enqueue(ml, m);
sys/netinet6/ip6_output.c
849
ip6stat_add(ip6s_ofragments, ml_len(ml));
sys/netinet6/ip6_output.c
855
ml_purge(ml);
sys/netinet6/nd6.c
345
struct mbuf_list ml;
sys/netinet6/nd6.c
349
mq_delist(&ln->ln_mq, &ml);
sys/netinet6/nd6.c
350
len = ml_len(&ml);
sys/netinet6/nd6.c
351
while ((m = ml_dequeue(&ml)) != NULL) {
usr.bin/file/magic-common.c
94
magic_warn(struct magic_line *ml, const char *fmt, ...)
usr.bin/file/magic-common.c
99
magic_vwarnm (ml->root, ml->line, fmt, ap);
usr.bin/file/magic-dump.c
26
magic_dump_line(struct magic_line *ml, u_int depth)
usr.bin/file/magic-dump.c
31
printf("%u", ml->line);
usr.bin/file/magic-dump.c
34
if (ml->name != NULL)
usr.bin/file/magic-dump.c
35
printf(" %s %s\n", ml->type_string, ml->name);
usr.bin/file/magic-dump.c
37
printf(" %s/%s%s%s%s [%u]%s\n", ml->type_string,
usr.bin/file/magic-dump.c
38
ml->result == NULL ? "" : ml->result,
usr.bin/file/magic-dump.c
39
ml->mimetype == NULL ? "" : " (",
usr.bin/file/magic-dump.c
40
ml->mimetype == NULL ? "" : ml->mimetype,
usr.bin/file/magic-dump.c
41
ml->mimetype == NULL ? "" : ")",
usr.bin/file/magic-dump.c
42
ml->strength, ml->text ? " (text)" : "");
usr.bin/file/magic-dump.c
45
TAILQ_FOREACH(child, &ml->children, entry)
usr.bin/file/magic-dump.c
53
struct magic_line *ml;
usr.bin/file/magic-dump.c
55
RB_FOREACH(ml, magic_tree, &m->tree)
usr.bin/file/magic-dump.c
56
magic_dump_line(ml, 0);
usr.bin/file/magic-dump.c
58
RB_FOREACH(ml, magic_named_tree, &m->named)
usr.bin/file/magic-dump.c
59
magic_dump_line(ml, 0);
usr.bin/file/magic-load.c
1018
ml->strength_operator = *cp++;
usr.bin/file/magic-load.c
1029
ml->strength_value = value;
usr.bin/file/magic-load.c
1033
magic_set_mimetype(struct magic *m, u_int at, struct magic_line *ml, char *line)
usr.bin/file/magic-load.c
1061
if (ml == NULL) {
usr.bin/file/magic-load.c
1065
ml->mimetype = xstrdup(mimetype);
usr.bin/file/magic-load.c
1072
struct magic_line *ml = NULL, *parent, *parent0;
usr.bin/file/magic-load.c
1103
magic_set_mimetype(m, at, ml, line);
usr.bin/file/magic-load.c
1107
magic_adjust_strength(m, at, ml, line);
usr.bin/file/magic-load.c
1123
ml = xcalloc(1, sizeof *ml);
usr.bin/file/magic-load.c
1124
ml->root = m;
usr.bin/file/magic-load.c
1125
ml->line = at;
usr.bin/file/magic-load.c
1126
ml->type = MAGIC_TYPE_NONE;
usr.bin/file/magic-load.c
1127
TAILQ_INIT(&ml->children);
usr.bin/file/magic-load.c
1128
ml->text = 1;
usr.bin/file/magic-load.c
114
magic_warn(ml, "unterminated format");
usr.bin/file/magic-load.c
1141
magic_warn(ml, "level skipped (%u->%u)", level, n);
usr.bin/file/magic-load.c
1142
free(ml);
usr.bin/file/magic-load.c
1145
ml->parent = parent;
usr.bin/file/magic-load.c
1148
if (magic_parse_offset(ml, &line) != 0 ||
usr.bin/file/magic-load.c
1149
magic_parse_type(ml, &line) != 0 ||
usr.bin/file/magic-load.c
1150
magic_parse_value(ml, &line) != 0 ||
usr.bin/file/magic-load.c
1151
magic_set_result(ml, line) != 0) {
usr.bin/file/magic-load.c
1156
ml->type = MAGIC_TYPE_NONE;
usr.bin/file/magic-load.c
1159
ml->strength = magic_get_strength(ml);
usr.bin/file/magic-load.c
1160
if (ml->parent == NULL) {
usr.bin/file/magic-load.c
1161
if (ml->name != NULL)
usr.bin/file/magic-load.c
1162
RB_INSERT(magic_named_tree, &m->named, ml);
usr.bin/file/magic-load.c
1164
RB_INSERT(magic_tree, &m->tree, ml);
usr.bin/file/magic-load.c
1166
TAILQ_INSERT_TAIL(&ml->parent->children, ml, entry);
usr.bin/file/magic-load.c
1167
parent0 = ml;
usr.bin/file/magic-load.c
119
magic_warn(ml, "format too long");
usr.bin/file/magic-load.c
124
switch (ml->type) {
usr.bin/file/magic-load.c
159
ml->stringify = 1;
usr.bin/file/magic-load.c
164
if (!ml->root->compiled) {
usr.bin/file/magic-load.c
170
if (magic_make_pattern(ml, "short", &ml->root->format_short,
usr.bin/file/magic-load.c
173
if (magic_make_pattern(ml, "long", &ml->root->format_long,
usr.bin/file/magic-load.c
176
if (magic_make_pattern(ml, "quad", &ml->root->format_quad,
usr.bin/file/magic-load.c
179
if (magic_make_pattern(ml, "float", &ml->root->format_float,
usr.bin/file/magic-load.c
182
if (magic_make_pattern(ml, "string", &ml->root->format_string,
usr.bin/file/magic-load.c
185
ml->root->compiled = 1;
usr.bin/file/magic-load.c
188
if (ml->stringify)
usr.bin/file/magic-load.c
189
re = &ml->root->format_string;
usr.bin/file/magic-load.c
191
switch (ml->type) {
usr.bin/file/magic-load.c
206
re = &ml->root->format_short;
usr.bin/file/magic-load.c
215
re = &ml->root->format_long;
usr.bin/file/magic-load.c
223
re = &ml->root->format_quad;
usr.bin/file/magic-load.c
231
re = &ml->root->format_float;
usr.bin/file/magic-load.c
265
re = &ml->root->format_string;
usr.bin/file/magic-load.c
273
magic_warn(ml, "bad format for %s: %%%.*s", ml->type_string,
usr.bin/file/magic-load.c
282
magic_get_strength(struct magic_line *ml)
usr.bin/file/magic-load.c
287
if (ml->type == MAGIC_TYPE_NONE)
usr.bin/file/magic-load.c
290
if (ml->test_not || ml->test_operator == 'x') {
usr.bin/file/magic-load.c
296
switch (ml->type) {
usr.bin/file/magic-load.c
367
n += ml->test_string_size * MAGIC_STRENGTH_MULTIPLIER;
usr.bin/file/magic-load.c
371
n += ml->test_string_size * MAGIC_STRENGTH_MULTIPLIER / 2;
usr.bin/file/magic-load.c
375
size = MAGIC_STRENGTH_MULTIPLIER / ml->test_string_size;
usr.bin/file/magic-load.c
378
n += ml->test_string_size * size;
usr.bin/file/magic-load.c
381
switch (ml->test_operator) {
usr.bin/file/magic-load.c
398
switch (ml->strength_operator) {
usr.bin/file/magic-load.c
400
n += ml->strength_value;
usr.bin/file/magic-load.c
403
n -= ml->strength_value;
usr.bin/file/magic-load.c
406
n *= ml->strength_value;
usr.bin/file/magic-load.c
409
n /= ml->strength_value;
usr.bin/file/magic-load.c
522
magic_parse_offset(struct magic_line *ml, char **line)
usr.bin/file/magic-load.c
533
ml->offset = 0;
usr.bin/file/magic-load.c
534
ml->offset_relative = 0;
usr.bin/file/magic-load.c
536
ml->indirect_type = ' ';
usr.bin/file/magic-load.c
537
ml->indirect_relative = 0;
usr.bin/file/magic-load.c
538
ml->indirect_offset = 0;
usr.bin/file/magic-load.c
539
ml->indirect_operator = ' ';
usr.bin/file/magic-load.c
540
ml->indirect_operand = 0;
usr.bin/file/magic-load.c
543
ml->offset_relative = 1;
usr.bin/file/magic-load.c
548
endptr = magic_strtoll(s, &ml->offset);
usr.bin/file/magic-load.c
55
magic_mark_text(struct magic_line *ml, int text)
usr.bin/file/magic-load.c
550
magic_warn(ml, "missing closing bracket");
usr.bin/file/magic-load.c
553
if (ml->offset < 0 && !ml->offset_relative) {
usr.bin/file/magic-load.c
554
magic_warn(ml, "negative absolute offset");
usr.bin/file/magic-load.c
562
ml->indirect_relative = 1;
usr.bin/file/magic-load.c
566
endptr = magic_strtoll(s, &ml->indirect_offset);
usr.bin/file/magic-load.c
568
magic_warn(ml, "can't parse offset: %s", s);
usr.bin/file/magic-load.c
578
magic_warn(ml, "unknown offset type: %c", *s);
usr.bin/file/magic-load.c
58
ml->text = text;
usr.bin/file/magic-load.c
581
ml->indirect_type = *s;
usr.bin/file/magic-load.c
588
magic_warn(ml, "unknown offset operator: %c", *s);
usr.bin/file/magic-load.c
59
ml = ml->parent;
usr.bin/file/magic-load.c
591
ml->indirect_operator = *s;
usr.bin/file/magic-load.c
598
endptr = magic_strtoll(s, &ml->indirect_operand);
usr.bin/file/magic-load.c
60
} while (ml != NULL);
usr.bin/file/magic-load.c
600
magic_warn(ml, "missing closing bracket");
usr.bin/file/magic-load.c
604
magic_warn(ml, "missing closing bracket");
usr.bin/file/magic-load.c
608
endptr = magic_strtoll(s, &ml->indirect_operand);
usr.bin/file/magic-load.c
610
magic_warn(ml, "missing closing bracket");
usr.bin/file/magic-load.c
625
magic_parse_type(struct magic_line *ml, char **line)
usr.bin/file/magic-load.c
636
ml->type = MAGIC_TYPE_NONE;
usr.bin/file/magic-load.c
637
ml->type_operator = ' ';
usr.bin/file/magic-load.c
638
ml->type_operand = 0;
usr.bin/file/magic-load.c
64
magic_make_pattern(struct magic_line *ml, const char *name, regex_t *re,
usr.bin/file/magic-load.c
641
ml->type = MAGIC_TYPE_NAME;
usr.bin/file/magic-load.c
642
ml->type_string = xstrdup(s);
usr.bin/file/magic-load.c
646
ml->type = MAGIC_TYPE_USE;
usr.bin/file/magic-load.c
647
ml->type_string = xstrdup(s);
usr.bin/file/magic-load.c
654
ml->type_string = xstrdup(s + 1);
usr.bin/file/magic-load.c
656
ml->type_string = xstrdup(s);
usr.bin/file/magic-load.c
657
ml->type = MAGIC_TYPE_STRING;
usr.bin/file/magic-load.c
658
magic_mark_text(ml, 0);
usr.bin/file/magic-load.c
664
ml->type_string = xstrdup(s + 1);
usr.bin/file/magic-load.c
666
ml->type_string = xstrdup(s);
usr.bin/file/magic-load.c
667
ml->type = MAGIC_TYPE_PSTRING;
usr.bin/file/magic-load.c
668
magic_mark_text(ml, 0);
usr.bin/file/magic-load.c
674
ml->type_string = xstrdup(s + 1);
usr.bin/file/magic-load.c
676
ml->type_string = xstrdup(s);
usr.bin/file/magic-load.c
677
ml->type = MAGIC_TYPE_SEARCH;
usr.bin/file/magic-load.c
683
ml->type_string = xstrdup(s + 1);
usr.bin/file/magic-load.c
685
ml->type_string = xstrdup(s);
usr.bin/file/magic-load.c
686
ml->type = MAGIC_TYPE_REGEX;
usr.bin/file/magic-load.c
689
ml->type_string = xstrdup(s);
usr.bin/file/magic-load.c
693
ml->type_operator = *cp;
usr.bin/file/magic-load.c
694
endptr = magic_strtoull(cp + 1, &ml->type_operand);
usr.bin/file/magic-load.c
696
magic_warn(ml, "can't parse operand: %s", cp + 1);
usr.bin/file/magic-load.c
703
ml->type = MAGIC_TYPE_BYTE;
usr.bin/file/magic-load.c
705
ml->type = MAGIC_TYPE_SHORT;
usr.bin/file/magic-load.c
707
ml->type = MAGIC_TYPE_LONG;
usr.bin/file/magic-load.c
709
ml->type = MAGIC_TYPE_QUAD;
usr.bin/file/magic-load.c
711
ml->type = MAGIC_TYPE_UBYTE;
usr.bin/file/magic-load.c
713
ml->type = MAGIC_TYPE_USHORT;
usr.bin/file/magic-load.c
715
ml->type = MAGIC_TYPE_ULONG;
usr.bin/file/magic-load.c
717
ml->type = MAGIC_TYPE_UQUAD;
usr.bin/file/magic-load.c
719
ml->type = MAGIC_TYPE_FLOAT;
usr.bin/file/magic-load.c
721
ml->type = MAGIC_TYPE_DOUBLE;
usr.bin/file/magic-load.c
723
ml->type = MAGIC_TYPE_DATE;
usr.bin/file/magic-load.c
725
ml->type = MAGIC_TYPE_QDATE;
usr.bin/file/magic-load.c
727
ml->type = MAGIC_TYPE_LDATE;
usr.bin/file/magic-load.c
729
ml->type = MAGIC_TYPE_QLDATE;
usr.bin/file/magic-load.c
73
magic_warn(ml, "bad %s pattern: %s", name, errbuf);
usr.bin/file/magic-load.c
731
ml->type = MAGIC_TYPE_UDATE;
usr.bin/file/magic-load.c
733
ml->type = MAGIC_TYPE_UQDATE;
usr.bin/file/magic-load.c
735
ml->type = MAGIC_TYPE_ULDATE;
usr.bin/file/magic-load.c
737
ml->type = MAGIC_TYPE_UQLDATE;
usr.bin/file/magic-load.c
739
ml->type = MAGIC_TYPE_BESHORT;
usr.bin/file/magic-load.c
741
ml->type = MAGIC_TYPE_BELONG;
usr.bin/file/magic-load.c
743
ml->type = MAGIC_TYPE_BEQUAD;
usr.bin/file/magic-load.c
745
ml->type = MAGIC_TYPE_UBESHORT;
usr.bin/file/magic-load.c
747
ml->type = MAGIC_TYPE_UBELONG;
usr.bin/file/magic-load.c
749
ml->type = MAGIC_TYPE_UBEQUAD;
usr.bin/file/magic-load.c
751
ml->type = MAGIC_TYPE_BEFLOAT;
usr.bin/file/magic-load.c
753
ml->type = MAGIC_TYPE_BEDOUBLE;
usr.bin/file/magic-load.c
755
ml->type = MAGIC_TYPE_BEDATE;
usr.bin/file/magic-load.c
757
ml->type = MAGIC_TYPE_BEQDATE;
usr.bin/file/magic-load.c
759
ml->type = MAGIC_TYPE_BELDATE;
usr.bin/file/magic-load.c
761
ml->type = MAGIC_TYPE_BEQLDATE;
usr.bin/file/magic-load.c
763
ml->type = MAGIC_TYPE_UBEDATE;
usr.bin/file/magic-load.c
765
ml->type = MAGIC_TYPE_UBEQDATE;
usr.bin/file/magic-load.c
767
ml->type = MAGIC_TYPE_UBELDATE;
usr.bin/file/magic-load.c
769
ml->type = MAGIC_TYPE_UBEQLDATE;
usr.bin/file/magic-load.c
771
ml->type = MAGIC_TYPE_BESTRING16;
usr.bin/file/magic-load.c
773
ml->type = MAGIC_TYPE_LESHORT;
usr.bin/file/magic-load.c
775
ml->type = MAGIC_TYPE_LELONG;
usr.bin/file/magic-load.c
777
ml->type = MAGIC_TYPE_LEQUAD;
usr.bin/file/magic-load.c
779
ml->type = MAGIC_TYPE_ULESHORT;
usr.bin/file/magic-load.c
781
ml->type = MAGIC_TYPE_ULELONG;
usr.bin/file/magic-load.c
783
ml->type = MAGIC_TYPE_ULEQUAD;
usr.bin/file/magic-load.c
785
ml->type = MAGIC_TYPE_LEFLOAT;
usr.bin/file/magic-load.c
787
ml->type = MAGIC_TYPE_LEDOUBLE;
usr.bin/file/magic-load.c
789
ml->type = MAGIC_TYPE_LEDATE;
usr.bin/file/magic-load.c
791
ml->type = MAGIC_TYPE_LEQDATE;
usr.bin/file/magic-load.c
793
ml->type = MAGIC_TYPE_LELDATE;
usr.bin/file/magic-load.c
795
ml->type = MAGIC_TYPE_LEQLDATE;
usr.bin/file/magic-load.c
797
ml->type = MAGIC_TYPE_ULEDATE;
usr.bin/file/magic-load.c
799
ml->type = MAGIC_TYPE_ULEQDATE;
usr.bin/file/magic-load.c
80
magic_set_result(struct magic_line *ml, const char *s)
usr.bin/file/magic-load.c
801
ml->type = MAGIC_TYPE_ULELDATE;
usr.bin/file/magic-load.c
803
ml->type = MAGIC_TYPE_ULEQLDATE;
usr.bin/file/magic-load.c
805
ml->type = MAGIC_TYPE_LESTRING16;
usr.bin/file/magic-load.c
807
ml->type = MAGIC_TYPE_MELONG;
usr.bin/file/magic-load.c
809
ml->type = MAGIC_TYPE_MEDATE;
usr.bin/file/magic-load.c
811
ml->type = MAGIC_TYPE_MELDATE;
usr.bin/file/magic-load.c
813
ml->type = MAGIC_TYPE_DEFAULT;
usr.bin/file/magic-load.c
815
ml->type = MAGIC_TYPE_CLEAR;
usr.bin/file/magic-load.c
817
magic_warn(ml, "unknown type: %s", s);
usr.bin/file/magic-load.c
820
magic_mark_text(ml, 0);
usr.bin/file/magic-load.c
832
magic_parse_value(struct magic_line *ml, char **line)
usr.bin/file/magic-load.c
841
ml->test_operator = '=';
usr.bin/file/magic-load.c
842
ml->test_not = 0;
usr.bin/file/magic-load.c
843
ml->test_string = NULL;
usr.bin/file/magic-load.c
844
ml->test_string_size = 0;
usr.bin/file/magic-load.c
845
ml->test_unsigned = 0;
usr.bin/file/magic-load.c
846
ml->test_signed = 0;
usr.bin/file/magic-load.c
854
ml->test_operator = 'x';
usr.bin/file/magic-load.c
858
if (ml->type == MAGIC_TYPE_DEFAULT || ml->type == MAGIC_TYPE_CLEAR) {
usr.bin/file/magic-load.c
859
magic_warn(ml, "test specified for default or clear");
usr.bin/file/magic-load.c
860
ml->test_operator = 'x';
usr.bin/file/magic-load.c
865
ml->test_not = 1;
usr.bin/file/magic-load.c
869
switch (ml->type) {
usr.bin/file/magic-load.c
874
magic_warn(ml, "can't parse string");
usr.bin/file/magic-load.c
878
magic_warn(ml, "invalid name");
usr.bin/file/magic-load.c
881
ml->name = s;
usr.bin/file/magic-load.c
887
ml->test_operator = **line;
usr.bin/file/magic-load.c
896
magic_warn(ml, "can't parse string");
usr.bin/file/magic-load.c
899
ml->test_string_size = slen;
usr.bin/file/magic-load.c
90
ml->result = NULL;
usr.bin/file/magic-load.c
900
ml->test_string = s;
usr.bin/file/magic-load.c
909
ml->test_operator = '[';
usr.bin/file/magic-load.c
912
ml->test_operator = ']';
usr.bin/file/magic-load.c
915
ml->test_operator = **line;
usr.bin/file/magic-load.c
926
switch (ml->type) {
usr.bin/file/magic-load.c
93
ml->result = xstrdup(s);
usr.bin/file/magic-load.c
934
ml->test_double = strtod(copy, &endptr);
usr.bin/file/magic-load.c
939
if (*ml->type_string == 'u')
usr.bin/file/magic-load.c
940
endptr = magic_strtoull(copy, &ml->test_unsigned);
usr.bin/file/magic-load.c
942
endptr = magic_strtoll(copy, &ml->test_signed);
usr.bin/file/magic-load.c
950
ml->test_signed = (int64_t)u;
usr.bin/file/magic-load.c
956
magic_warn(ml, "can't parse number: %s", copy);
usr.bin/file/magic-load.c
99
magic_warn(ml, "multiple formats");
usr.bin/file/magic-load.c
998
magic_adjust_strength(struct magic *m, u_int at, struct magic_line *ml,
usr.bin/file/magic-test.c
1000
cp = &ml->type_string[(sizeof "regex") - 1];
usr.bin/file/magic-test.c
1019
if (regcomp(&re, ml->test_string, REG_EXTENDED|REG_NEWLINE|flags) != 0)
usr.bin/file/magic-test.c
1025
if (result == !ml->test_not) {
usr.bin/file/magic-test.c
1026
if (ml->result != NULL) {
usr.bin/file/magic-test.c
1027
magic_add_string(ms, ml, ms->base + m.rm_so,
usr.bin/file/magic-test.c
1042
magic_test_type_search(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
1049
cp = &ml->type_string[(sizeof "search") - 1];
usr.bin/file/magic-test.c
1084
size = ml->test_string_size;
usr.bin/file/magic-test.c
1102
else if (ml->test_operator == 'x')
usr.bin/file/magic-test.c
1105
n = magic_test_eq(start, ms->size - ms->offset, ml->test_string,
usr.bin/file/magic-test.c
1107
if (n == -1 && ml->test_operator == '<')
usr.bin/file/magic-test.c
1109
else if (n == 1 && ml->test_operator == '>')
usr.bin/file/magic-test.c
1111
else if (n == 0 && ml->test_operator == '=')
usr.bin/file/magic-test.c
1116
if (ml->test_operator != '=')
usr.bin/file/magic-test.c
1120
ml->test_string, size, cflag, bflag, Bflag);
usr.bin/file/magic-test.c
1131
if (result == !ml->test_not) {
usr.bin/file/magic-test.c
1132
if (ml->result != NULL)
usr.bin/file/magic-test.c
1133
magic_add_string(ms, ml, found, ms->size - ms->offset);
usr.bin/file/magic-test.c
1134
if (result && found != NULL && ml->test_operator == '=')
usr.bin/file/magic-test.c
1141
magic_test_type_default(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
1143
if (!ms->matched && ml->result != NULL)
usr.bin/file/magic-test.c
1144
magic_add_result(ms, ml, "%s", "");
usr.bin/file/magic-test.c
1149
magic_test_type_clear(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
1151
if (ml->result != NULL)
usr.bin/file/magic-test.c
1152
magic_add_result(ms, ml, "%s", "");
usr.bin/file/magic-test.c
1157
magic_test_type_name(__unused struct magic_line *ml,
usr.bin/file/magic-test.c
1164
magic_test_type_use(__unused struct magic_line *ml,
usr.bin/file/magic-test.c
1239
magic_test_children(struct magic_line *ml, struct magic_state *ms, size_t start,
usr.bin/file/magic-test.c
1252
TAILQ_FOREACH(child, &ml->children, entry) {
usr.bin/file/magic-test.c
1266
magic_test_line(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
1268
struct magic *m = ml->root;
usr.bin/file/magic-test.c
1276
if (ml->indirect_type == ' ')
usr.bin/file/magic-test.c
1277
wanted = ms->start + ml->offset;
usr.bin/file/magic-test.c
1279
wanted = ml->indirect_offset;
usr.bin/file/magic-test.c
1280
if (ml->indirect_relative) {
usr.bin/file/magic-test.c
1285
next = ms->offset + ml->indirect_offset;
usr.bin/file/magic-test.c
1289
switch (ml->indirect_type) {
usr.bin/file/magic-test.c
1318
switch (ml->indirect_operator) {
usr.bin/file/magic-test.c
1320
wanted += ml->indirect_operand;
usr.bin/file/magic-test.c
1323
wanted -= ml->indirect_operand;
usr.bin/file/magic-test.c
1326
wanted *= ml->indirect_operand;
usr.bin/file/magic-test.c
1331
if (ml->offset_relative) {
usr.bin/file/magic-test.c
1343
result = magic_test_functions[ml->type](ml, ms);
usr.bin/file/magic-test.c
1345
magic_warn(ml, "test %s/%c failed", ml->type_string,
usr.bin/file/magic-test.c
1346
ml->test_operator);
usr.bin/file/magic-test.c
1350
magic_warn(ml, "test %s/%c not implemented", ml->type_string,
usr.bin/file/magic-test.c
1351
ml->test_operator);
usr.bin/file/magic-test.c
1354
if (result == ml->test_not)
usr.bin/file/magic-test.c
1356
if (ml->mimetype != NULL)
usr.bin/file/magic-test.c
1357
ms->mimetype = ml->mimetype;
usr.bin/file/magic-test.c
1359
magic_warn(ml, "test %s/%c matched at offset %lld (now %zu): "
usr.bin/file/magic-test.c
1360
"'%s'", ml->type_string, ml->test_operator, offset,
usr.bin/file/magic-test.c
1361
ms->offset, ml->result == NULL ? "" : ml->result);
usr.bin/file/magic-test.c
1363
if (ml->type == MAGIC_TYPE_USE) {
usr.bin/file/magic-test.c
1364
if (*ml->name == '^')
usr.bin/file/magic-test.c
1365
named = magic_get_named(m, ml->name + 1);
usr.bin/file/magic-test.c
1367
named = magic_get_named(m, ml->name);
usr.bin/file/magic-test.c
1369
magic_warn(ml, "no name found for use %s", ml->name);
usr.bin/file/magic-test.c
1372
magic_warn(ml, "use %s at offset %lld", ml->name, offset);
usr.bin/file/magic-test.c
1373
magic_test_children(named, ms, offset, *ml->name == '^');
usr.bin/file/magic-test.c
1376
magic_test_children(ml, ms, ms->start, ms->reverse);
usr.bin/file/magic-test.c
1378
if (ml->type == MAGIC_TYPE_CLEAR)
usr.bin/file/magic-test.c
1382
return (ml->result != NULL);
usr.bin/file/magic-test.c
1388
struct magic_line *ml;
usr.bin/file/magic-test.c
1398
RB_FOREACH(ml, magic_tree, &m->tree) {
usr.bin/file/magic-test.c
1400
if (ml->text == ms.text && magic_test_line(ml, &ms))
usr.bin/file/magic-test.c
184
magic_add_result(struct magic_state *ms, struct magic_line *ml,
usr.bin/file/magic-test.c
192
if (ml->stringify) {
usr.bin/file/magic-test.c
198
if (asprintf(&tmp, ml->result, s) == -1) {
usr.bin/file/magic-test.c
204
if (vasprintf(&tmp, ml->result, ap) == -1) {
usr.bin/file/magic-test.c
226
magic_add_string(struct magic_state *ms, struct magic_line *ml,
usr.bin/file/magic-test.c
243
magic_add_result(ms, ml, "%s", out);
usr.bin/file/magic-test.c
248
magic_test_signed(struct magic_line *ml, int64_t value, int64_t wanted)
usr.bin/file/magic-test.c
250
switch (ml->test_operator) {
usr.bin/file/magic-test.c
272
magic_test_unsigned(struct magic_line *ml, uint64_t value, uint64_t wanted)
usr.bin/file/magic-test.c
274
switch (ml->test_operator) {
usr.bin/file/magic-test.c
296
magic_test_double(struct magic_line *ml, double value, double wanted)
usr.bin/file/magic-test.c
298
switch (ml->test_operator) {
usr.bin/file/magic-test.c
308
magic_test_type_none(__unused struct magic_line *ml,
usr.bin/file/magic-test.c
315
magic_test_type_byte(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
323
if (ml->type_operator == '&')
usr.bin/file/magic-test.c
324
value &= (int8_t)ml->type_operand;
usr.bin/file/magic-test.c
325
else if (ml->type_operator == '-')
usr.bin/file/magic-test.c
326
value -= (int8_t)ml->type_operand;
usr.bin/file/magic-test.c
327
else if (ml->type_operator == '+')
usr.bin/file/magic-test.c
328
value += (int8_t)ml->type_operand;
usr.bin/file/magic-test.c
329
else if (ml->type_operator == '/')
usr.bin/file/magic-test.c
330
value /= (int8_t)ml->type_operand;
usr.bin/file/magic-test.c
331
else if (ml->type_operator == '%')
usr.bin/file/magic-test.c
332
value %= (int8_t)ml->type_operand;
usr.bin/file/magic-test.c
333
else if (ml->type_operator == '*')
usr.bin/file/magic-test.c
334
value *= (int8_t)ml->type_operand;
usr.bin/file/magic-test.c
335
else if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
338
result = magic_test_signed(ml, value, (int8_t)ml->test_signed);
usr.bin/file/magic-test.c
339
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
340
magic_add_result(ms, ml, "%c", (int)value);
usr.bin/file/magic-test.c
347
magic_test_type_short(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
354
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_BESHORT))
usr.bin/file/magic-test.c
356
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_LESHORT))
usr.bin/file/magic-test.c
359
if (ml->type_operator == '&')
usr.bin/file/magic-test.c
360
value &= (int16_t)ml->type_operand;
usr.bin/file/magic-test.c
361
else if (ml->type_operator == '-')
usr.bin/file/magic-test.c
362
value -= (int16_t)ml->type_operand;
usr.bin/file/magic-test.c
363
else if (ml->type_operator == '+')
usr.bin/file/magic-test.c
364
value += (int16_t)ml->type_operand;
usr.bin/file/magic-test.c
365
else if (ml->type_operator == '/')
usr.bin/file/magic-test.c
366
value /= (int16_t)ml->type_operand;
usr.bin/file/magic-test.c
367
else if (ml->type_operator == '%')
usr.bin/file/magic-test.c
368
value %= (int16_t)ml->type_operand;
usr.bin/file/magic-test.c
369
else if (ml->type_operator == '*')
usr.bin/file/magic-test.c
370
value *= (int16_t)ml->type_operand;
usr.bin/file/magic-test.c
371
else if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
374
result = magic_test_signed(ml, value, (int16_t)ml->test_signed);
usr.bin/file/magic-test.c
375
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
376
magic_add_result(ms, ml, "%hd", (int)value);
usr.bin/file/magic-test.c
383
magic_test_type_long(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
390
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_BELONG))
usr.bin/file/magic-test.c
392
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_LELONG))
usr.bin/file/magic-test.c
395
if (ml->type_operator == '&')
usr.bin/file/magic-test.c
396
value &= (int32_t)ml->type_operand;
usr.bin/file/magic-test.c
397
else if (ml->type_operator == '-')
usr.bin/file/magic-test.c
398
value -= (int32_t)ml->type_operand;
usr.bin/file/magic-test.c
399
else if (ml->type_operator == '+')
usr.bin/file/magic-test.c
400
value += (int32_t)ml->type_operand;
usr.bin/file/magic-test.c
401
else if (ml->type_operator == '/')
usr.bin/file/magic-test.c
402
value /= (int32_t)ml->type_operand;
usr.bin/file/magic-test.c
403
else if (ml->type_operator == '%')
usr.bin/file/magic-test.c
404
value %= (int32_t)ml->type_operand;
usr.bin/file/magic-test.c
405
else if (ml->type_operator == '*')
usr.bin/file/magic-test.c
406
value *= (int32_t)ml->type_operand;
usr.bin/file/magic-test.c
407
else if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
410
result = magic_test_signed(ml, value, (int32_t)ml->test_signed);
usr.bin/file/magic-test.c
411
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
412
magic_add_result(ms, ml, "%d", (int)value);
usr.bin/file/magic-test.c
419
magic_test_type_quad(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
42
struct magic_line ml;
usr.bin/file/magic-test.c
426
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_BEQUAD))
usr.bin/file/magic-test.c
428
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_LEQUAD))
usr.bin/file/magic-test.c
431
if (ml->type_operator == '&')
usr.bin/file/magic-test.c
432
value &= (int64_t)ml->type_operand;
usr.bin/file/magic-test.c
433
else if (ml->type_operator == '-')
usr.bin/file/magic-test.c
434
value -= (int64_t)ml->type_operand;
usr.bin/file/magic-test.c
435
else if (ml->type_operator == '+')
usr.bin/file/magic-test.c
436
value += (int64_t)ml->type_operand;
usr.bin/file/magic-test.c
437
else if (ml->type_operator == '/')
usr.bin/file/magic-test.c
438
value /= (int64_t)ml->type_operand;
usr.bin/file/magic-test.c
439
else if (ml->type_operator == '%')
usr.bin/file/magic-test.c
44
ml.name = name;
usr.bin/file/magic-test.c
440
value %= (int64_t)ml->type_operand;
usr.bin/file/magic-test.c
441
else if (ml->type_operator == '*')
usr.bin/file/magic-test.c
442
value *= (int64_t)ml->type_operand;
usr.bin/file/magic-test.c
443
else if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
446
result = magic_test_signed(ml, value, (int64_t)ml->test_signed);
usr.bin/file/magic-test.c
447
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
448
magic_add_result(ms, ml, "%lld", (long long)value);
usr.bin/file/magic-test.c
45
return (RB_FIND(magic_named_tree, &m->named, &ml));
usr.bin/file/magic-test.c
455
magic_test_type_ubyte(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
463
if (ml->type_operator == '&')
usr.bin/file/magic-test.c
464
value &= (uint8_t)ml->type_operand;
usr.bin/file/magic-test.c
465
else if (ml->type_operator == '-')
usr.bin/file/magic-test.c
466
value -= (uint8_t)ml->type_operand;
usr.bin/file/magic-test.c
467
else if (ml->type_operator == '+')
usr.bin/file/magic-test.c
468
value += (uint8_t)ml->type_operand;
usr.bin/file/magic-test.c
469
else if (ml->type_operator == '/')
usr.bin/file/magic-test.c
470
value /= (uint8_t)ml->type_operand;
usr.bin/file/magic-test.c
471
else if (ml->type_operator == '%')
usr.bin/file/magic-test.c
472
value %= (uint8_t)ml->type_operand;
usr.bin/file/magic-test.c
473
else if (ml->type_operator == '*')
usr.bin/file/magic-test.c
474
value *= (uint8_t)ml->type_operand;
usr.bin/file/magic-test.c
475
else if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
478
result = magic_test_unsigned(ml, value, (uint8_t)ml->test_unsigned);
usr.bin/file/magic-test.c
479
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
480
magic_add_result(ms, ml, "%c", (unsigned int)value);
usr.bin/file/magic-test.c
487
magic_test_type_ushort(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
494
if (ml->type == MAGIC_TYPE_UBESHORT)
usr.bin/file/magic-test.c
496
if (ml->type == MAGIC_TYPE_ULESHORT)
usr.bin/file/magic-test.c
499
if (ml->type_operator == '&')
usr.bin/file/magic-test.c
500
value &= (uint16_t)ml->type_operand;
usr.bin/file/magic-test.c
501
else if (ml->type_operator == '-')
usr.bin/file/magic-test.c
502
value -= (uint16_t)ml->type_operand;
usr.bin/file/magic-test.c
503
else if (ml->type_operator == '+')
usr.bin/file/magic-test.c
504
value += (uint16_t)ml->type_operand;
usr.bin/file/magic-test.c
505
else if (ml->type_operator == '/')
usr.bin/file/magic-test.c
506
value /= (uint16_t)ml->type_operand;
usr.bin/file/magic-test.c
507
else if (ml->type_operator == '%')
usr.bin/file/magic-test.c
508
value %= (uint16_t)ml->type_operand;
usr.bin/file/magic-test.c
509
else if (ml->type_operator == '*')
usr.bin/file/magic-test.c
510
value *= (uint16_t)ml->type_operand;
usr.bin/file/magic-test.c
511
else if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
514
result = magic_test_unsigned(ml, value, (uint16_t)ml->test_unsigned);
usr.bin/file/magic-test.c
515
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
516
magic_add_result(ms, ml, "%hu", (unsigned int)value);
usr.bin/file/magic-test.c
523
magic_test_type_ulong(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
530
if (ml->type == MAGIC_TYPE_UBELONG)
usr.bin/file/magic-test.c
532
if (ml->type == MAGIC_TYPE_ULELONG)
usr.bin/file/magic-test.c
535
if (ml->type_operator == '&')
usr.bin/file/magic-test.c
536
value &= (uint32_t)ml->type_operand;
usr.bin/file/magic-test.c
537
else if (ml->type_operator == '-')
usr.bin/file/magic-test.c
538
value -= (uint32_t)ml->type_operand;
usr.bin/file/magic-test.c
539
else if (ml->type_operator == '+')
usr.bin/file/magic-test.c
540
value += (uint32_t)ml->type_operand;
usr.bin/file/magic-test.c
541
else if (ml->type_operator == '/')
usr.bin/file/magic-test.c
542
value /= (uint32_t)ml->type_operand;
usr.bin/file/magic-test.c
543
else if (ml->type_operator == '%')
usr.bin/file/magic-test.c
544
value %= (uint32_t)ml->type_operand;
usr.bin/file/magic-test.c
545
else if (ml->type_operator == '*')
usr.bin/file/magic-test.c
546
value *= (uint32_t)ml->type_operand;
usr.bin/file/magic-test.c
547
else if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
550
result = magic_test_unsigned(ml, value, (uint32_t)ml->test_unsigned);
usr.bin/file/magic-test.c
551
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
552
magic_add_result(ms, ml, "%u", (unsigned int)value);
usr.bin/file/magic-test.c
559
magic_test_type_uquad(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
566
if (ml->type == MAGIC_TYPE_UBEQUAD)
usr.bin/file/magic-test.c
568
if (ml->type == MAGIC_TYPE_ULEQUAD)
usr.bin/file/magic-test.c
571
if (ml->type_operator == '&')
usr.bin/file/magic-test.c
572
value &= (uint64_t)ml->type_operand;
usr.bin/file/magic-test.c
573
else if (ml->type_operator == '-')
usr.bin/file/magic-test.c
574
value -= (uint64_t)ml->type_operand;
usr.bin/file/magic-test.c
575
else if (ml->type_operator == '+')
usr.bin/file/magic-test.c
576
value += (uint64_t)ml->type_operand;
usr.bin/file/magic-test.c
577
else if (ml->type_operator == '/')
usr.bin/file/magic-test.c
578
value /= (uint64_t)ml->type_operand;
usr.bin/file/magic-test.c
579
else if (ml->type_operator == '%')
usr.bin/file/magic-test.c
580
value %= (uint64_t)ml->type_operand;
usr.bin/file/magic-test.c
581
else if (ml->type_operator == '*')
usr.bin/file/magic-test.c
582
value *= (uint64_t)ml->type_operand;
usr.bin/file/magic-test.c
583
else if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
586
result = magic_test_unsigned(ml, value, (uint64_t)ml->test_unsigned);
usr.bin/file/magic-test.c
587
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
588
magic_add_result(ms, ml, "%llu", (unsigned long long)value);
usr.bin/file/magic-test.c
595
magic_test_type_float(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
603
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_BEFLOAT))
usr.bin/file/magic-test.c
605
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_LEFLOAT))
usr.bin/file/magic-test.c
609
if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
612
result = magic_test_double(ml, value, (float)ml->test_double);
usr.bin/file/magic-test.c
613
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
614
magic_add_result(ms, ml, "%g", value);
usr.bin/file/magic-test.c
621
magic_test_type_double(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
629
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_BEDOUBLE))
usr.bin/file/magic-test.c
631
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_LEDOUBLE))
usr.bin/file/magic-test.c
635
if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
638
result = magic_test_double(ml, value, (double)ml->test_double);
usr.bin/file/magic-test.c
639
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
640
magic_add_result(ms, ml, "%g", value);
usr.bin/file/magic-test.c
647
magic_test_type_string(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
653
cp = &ml->type_string[(sizeof "string") - 1];
usr.bin/file/magic-test.c
681
if (slen < ml->test_string_size)
usr.bin/file/magic-test.c
684
result = magic_test_eq(s, slen, ml->test_string, ml->test_string_size,
usr.bin/file/magic-test.c
686
switch (ml->test_operator) {
usr.bin/file/magic-test.c
697
slen = ml->test_string_size; /* only print what was found */
usr.bin/file/magic-test.c
704
if (result == !ml->test_not) {
usr.bin/file/magic-test.c
705
if (ml->result != NULL)
usr.bin/file/magic-test.c
706
magic_add_string(ms, ml, s, slen);
usr.bin/file/magic-test.c
707
if (result && ml->test_operator == '=')
usr.bin/file/magic-test.c
708
ms->offset = s - ms->base + ml->test_string_size;
usr.bin/file/magic-test.c
714
magic_test_type_pstring(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
720
cp = &ml->type_string[(sizeof "pstring") - 1];
usr.bin/file/magic-test.c
741
if (slen < ml->test_string_size)
usr.bin/file/magic-test.c
743
else if (slen > ml->test_string_size)
usr.bin/file/magic-test.c
746
result = memcmp(s, ml->test_string, ml->test_string_size);
usr.bin/file/magic-test.c
747
switch (ml->test_operator) {
usr.bin/file/magic-test.c
764
if (result == !ml->test_not) {
usr.bin/file/magic-test.c
765
if (ml->result != NULL)
usr.bin/file/magic-test.c
766
magic_add_string(ms, ml, s, slen);
usr.bin/file/magic-test.c
767
if (result && ml->test_operator == '=')
usr.bin/file/magic-test.c
774
magic_test_type_date(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
783
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_BEDATE) ||
usr.bin/file/magic-test.c
784
ml->type == magic_reverse_type(ms, MAGIC_TYPE_BELDATE))
usr.bin/file/magic-test.c
786
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_LEDATE) ||
usr.bin/file/magic-test.c
787
ml->type == magic_reverse_type(ms, MAGIC_TYPE_LELDATE))
usr.bin/file/magic-test.c
790
if (ml->type_operator == '&')
usr.bin/file/magic-test.c
791
value &= (int32_t)ml->type_operand;
usr.bin/file/magic-test.c
792
else if (ml->type_operator == '-')
usr.bin/file/magic-test.c
793
value -= (int32_t)ml->type_operand;
usr.bin/file/magic-test.c
794
else if (ml->type_operator == '+')
usr.bin/file/magic-test.c
795
value += (int32_t)ml->type_operand;
usr.bin/file/magic-test.c
796
else if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
799
result = magic_test_signed(ml, value, (int32_t)ml->test_signed);
usr.bin/file/magic-test.c
800
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
802
switch (ml->type) {
usr.bin/file/magic-test.c
813
magic_add_result(ms, ml, "%s", s);
usr.bin/file/magic-test.c
820
magic_test_type_qdate(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
829
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_BEQDATE) ||
usr.bin/file/magic-test.c
830
ml->type == magic_reverse_type(ms, MAGIC_TYPE_BEQLDATE))
usr.bin/file/magic-test.c
832
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_LEQDATE) ||
usr.bin/file/magic-test.c
833
ml->type == magic_reverse_type(ms, MAGIC_TYPE_LEQLDATE))
usr.bin/file/magic-test.c
836
if (ml->type_operator == '&')
usr.bin/file/magic-test.c
837
value &= (int64_t)ml->type_operand;
usr.bin/file/magic-test.c
838
else if (ml->type_operator == '-')
usr.bin/file/magic-test.c
839
value -= (int64_t)ml->type_operand;
usr.bin/file/magic-test.c
840
else if (ml->type_operator == '+')
usr.bin/file/magic-test.c
841
value += (int64_t)ml->type_operand;
usr.bin/file/magic-test.c
842
else if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
845
result = magic_test_signed(ml, value, (int64_t)ml->test_signed);
usr.bin/file/magic-test.c
846
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
848
switch (ml->type) {
usr.bin/file/magic-test.c
859
magic_add_result(ms, ml, "%s", s);
usr.bin/file/magic-test.c
866
magic_test_type_udate(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
875
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_BEDATE) ||
usr.bin/file/magic-test.c
876
ml->type == magic_reverse_type(ms, MAGIC_TYPE_BELDATE))
usr.bin/file/magic-test.c
878
if (ml->type == magic_reverse_type(ms, MAGIC_TYPE_LEDATE) ||
usr.bin/file/magic-test.c
879
ml->type == magic_reverse_type(ms, MAGIC_TYPE_LELDATE))
usr.bin/file/magic-test.c
882
if (ml->type_operator == '&')
usr.bin/file/magic-test.c
883
value &= (uint32_t)ml->type_operand;
usr.bin/file/magic-test.c
884
else if (ml->type_operator == '-')
usr.bin/file/magic-test.c
885
value -= (uint32_t)ml->type_operand;
usr.bin/file/magic-test.c
886
else if (ml->type_operator == '+')
usr.bin/file/magic-test.c
887
value += (uint32_t)ml->type_operand;
usr.bin/file/magic-test.c
888
else if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
891
result = magic_test_unsigned(ml, value, (uint32_t)ml->test_unsigned);
usr.bin/file/magic-test.c
892
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
894
switch (ml->type) {
usr.bin/file/magic-test.c
905
magic_add_result(ms, ml, "%s", s);
usr.bin/file/magic-test.c
912
magic_test_type_uqdate(struct magic_line *ml, struct magic_state *ms)
usr.bin/file/magic-test.c
921
if (ml->type == MAGIC_TYPE_UBEQDATE ||
usr.bin/file/magic-test.c
922
ml->type == MAGIC_TYPE_UBEQLDATE)
usr.bin/file/magic-test.c
924
if (ml->type == MAGIC_TYPE_ULEQDATE ||
usr.bin/file/magic-test.c
925
ml->type == MAGIC_TYPE_ULEQLDATE)
usr.bin/file/magic-test.c
928
if (ml->type_operator == '&')
usr.bin/file/magic-test.c
929
value &= (uint64_t)ml->type_operand;
usr.bin/file/magic-test.c
930
else if (ml->type_operator == '-')
usr.bin/file/magic-test.c
931
value -= (uint64_t)ml->type_operand;
usr.bin/file/magic-test.c
932
else if (ml->type_operator == '+')
usr.bin/file/magic-test.c
933
value += (uint64_t)ml->type_operand;
usr.bin/file/magic-test.c
934
else if (ml->type_operator != ' ')
usr.bin/file/magic-test.c
937
result = magic_test_unsigned(ml, value, (uint64_t)ml->test_unsigned);
usr.bin/file/magic-test.c
938
if (result == !ml->test_not && ml->result != NULL) {
usr.bin/file/magic-test.c
940
switch (ml->type) {
usr.bin/file/magic-test.c
951
magic_add_result(ms, ml, "%s", s);
usr.bin/file/magic-test.c
958
magic_test_type_bestring16(__unused struct magic_line *ml,
usr.bin/file/magic-test.c
965
magic_test_type_lestring16(__unused struct magic_line *ml,
usr.bin/file/magic-test.c
972
magic_test_type_melong(__unused struct magic_line *ml,
usr.bin/file/magic-test.c
979
magic_test_type_medate(__unused struct magic_line *ml,
usr.bin/file/magic-test.c
986
magic_test_type_meldate(__unused struct magic_line *ml,
usr.bin/file/magic-test.c
993
magic_test_type_regex(struct magic_line *ml, struct magic_state *ms)
usr.bin/less/cmdbuf.c
1201
struct mlist *ml = NULL;
usr.bin/less/cmdbuf.c
1230
ml = &mlist_search;
usr.bin/less/cmdbuf.c
1232
ml = &mlist_shell;
usr.bin/less/cmdbuf.c
1234
if (ml != NULL)
usr.bin/less/cmdbuf.c
1235
cmd_addhist(ml, line+1);
usr.bin/less/cmdbuf.c
1245
save_mlist(struct mlist *ml, FILE *f)
usr.bin/less/cmdbuf.c
1257
ml = ml->prev;
usr.bin/less/cmdbuf.c
1259
if (ml->string == NULL)
usr.bin/less/cmdbuf.c
1261
ml = ml->prev;
usr.bin/less/cmdbuf.c
1263
for (ml = ml->next; ml->string != NULL; ml = ml->next)
usr.bin/less/cmdbuf.c
1264
(void) fprintf(f, "\"%s\n", ml->string);
usr.bin/less/cmdbuf.c
596
struct mlist *ml;
usr.bin/less/cmdbuf.c
613
for (ml = curr_mlist->curr_mp; ; ) {
usr.bin/less/cmdbuf.c
614
ml = (action == EC_UP) ? ml->prev : ml->next;
usr.bin/less/cmdbuf.c
615
if (ml == curr_mlist) {
usr.bin/less/cmdbuf.c
621
if (strncmp(cmdbuf, ml->string, updown_match) == 0) {
usr.bin/less/cmdbuf.c
626
curr_mlist->curr_mp = ml;
usr.bin/less/cmdbuf.c
627
s = ml->string;
usr.bin/less/cmdbuf.c
651
struct mlist *ml;
usr.bin/less/cmdbuf.c
663
ml = mlist->prev;
usr.bin/less/cmdbuf.c
664
if (ml == mlist || strcmp(ml->string, cmd) != 0) {
usr.bin/less/cmdbuf.c
669
ml = ecalloc(1, sizeof (struct mlist));
usr.bin/less/cmdbuf.c
670
ml->string = estrdup(cmd);
usr.bin/less/cmdbuf.c
671
ml->next = mlist;
usr.bin/less/cmdbuf.c
672
ml->prev = mlist->prev;
usr.bin/less/cmdbuf.c
673
mlist->prev->next = ml;
usr.bin/less/cmdbuf.c
674
mlist->prev = ml;
usr.bin/less/cmdbuf.c
680
mlist->curr_mp = ml->next;
usr.bin/mail/cmd1.c
280
pipeit(void *ml, void *sl)
usr.bin/mail/cmd1.c
282
int *msgvec = ml;
usr.bin/mg/echo.c
194
int mr, ml; /* match left/right arrows */
usr.bin/mg/echo.c
216
ml = mr = esc = 0;
usr.bin/mg/echo.c
251
if (ml == esc && key_left[ml] && c == key_left[ml]) {
usr.bin/mg/echo.c
253
if (key_left[++ml] == '\0') {
usr.bin/mg/echo.c
364
ml = mr = esc = 1;
usr.sbin/amd/amd/host_ops.c
201
mntlist *ml;
usr.sbin/amd/amd/host_ops.c
203
for (ml = mlist; ml; ml = ml->mnext)
usr.sbin/amd/amd/host_ops.c
204
if (strcmp(ml->mnt->mnt_dir, dir) == 0)
usr.sbin/amd/amd/host_ops.c
400
mntlist *ml, *mprev;
usr.sbin/amd/amd/host_ops.c
411
ml = mlist;
usr.sbin/amd/amd/host_ops.c
413
while (ml) {
usr.sbin/amd/amd/host_ops.c
414
mntlist *ml2 = ml->mnext;
usr.sbin/amd/amd/host_ops.c
415
ml->mnext = mprev;
usr.sbin/amd/amd/host_ops.c
416
mprev = ml;
usr.sbin/amd/amd/host_ops.c
417
ml = ml2;
usr.sbin/amd/amd/host_ops.c
424
for (ml = mlist; ml && !xerror; ml = ml->mnext) {
usr.sbin/amd/amd/host_ops.c
425
char *dir = ml->mnt->mnt_dir;
usr.sbin/amd/amd/host_ops.c
443
plog(XLOG_ERROR, "Tree unmount of %s failed: %m", ml->mnt->mnt_dir);
usr.sbin/amd/amd/restart.c
166
free_mntlist(ml);
usr.sbin/amd/amd/restart.c
55
mntlist *ml, *mlp;
usr.sbin/amd/amd/restart.c
61
for (mlp = ml = read_mtab("restart"); mlp; mlp = mlp->mnext) {
usr.sbin/amd/amq/amq.c
152
show_mi(amq_mount_info_list *ml, enum show_opt e, int *mwid,
usr.sbin/amd/amq/amq.c
159
for (i = 0; i < ml->amq_mount_info_list_len; i++) {
usr.sbin/amd/amq/amq.c
160
amq_mount_info *mi = &ml->amq_mount_info_list_val[i];
usr.sbin/amd/amq/amq.c
176
for (i = 0; i < ml->amq_mount_info_list_len; i++) {
usr.sbin/amd/amq/amq.c
177
amq_mount_info *mi = &ml->amq_mount_info_list_val[i];
usr.sbin/amd/amq/amq.c
409
amq_mount_info_list *ml = amqproc_getmntfs_57(&dummy, clnt);
usr.sbin/amd/amq/amq.c
410
if (ml) {
usr.sbin/amd/amq/amq.c
412
show_mi(ml, Calc, &mwid, &dwid, &twid);
usr.sbin/amd/amq/amq.c
414
show_mi(ml, Full, &mwid, &dwid, &twid);
usr.sbin/npppd/common/radish.c
576
u_char ml = cur->rd_mask->sa_len;
usr.sbin/npppd/common/radish.c
579
bcopy(cur->rd_mask, rd_deleted_km + rl, ml);
usr.sbin/unbound/testcode/unitdname.c
276
int ml = 0; /* number of labels that matched exactly */
usr.sbin/unbound/testcode/unitdname.c
280
unit_assert(dname_lab_cmp((uint8_t*)"", 1, (uint8_t*)"", 1, &ml) == 0);
usr.sbin/unbound/testcode/unitdname.c
281
unit_assert(ml == 1);
usr.sbin/unbound/testcode/unitdname.c
285
&ml) == 0);
usr.sbin/unbound/testcode/unitdname.c
286
unit_assert(ml == 2);
usr.sbin/unbound/testcode/unitdname.c
290
&ml) == 0);
usr.sbin/unbound/testcode/unitdname.c
291
unit_assert(ml == 3);
usr.sbin/unbound/testcode/unitdname.c
295
&ml) == 0);
usr.sbin/unbound/testcode/unitdname.c
296
unit_assert(ml == 4);
usr.sbin/unbound/testcode/unitdname.c
302
&ml) == -1);
usr.sbin/unbound/testcode/unitdname.c
303
unit_assert(ml == 1);
usr.sbin/unbound/testcode/unitdname.c
307
&ml) == 1);
usr.sbin/unbound/testcode/unitdname.c
308
unit_assert(ml == 1);
usr.sbin/unbound/testcode/unitdname.c
312
&ml) == -1);
usr.sbin/unbound/testcode/unitdname.c
313
unit_assert(ml == 1);
usr.sbin/unbound/testcode/unitdname.c
317
&ml) == 1);
usr.sbin/unbound/testcode/unitdname.c
318
unit_assert(ml == 1);
usr.sbin/unbound/testcode/unitdname.c
324
&ml) != 0);
usr.sbin/unbound/testcode/unitdname.c
325
unit_assert(ml == 1);
usr.sbin/unbound/testcode/unitdname.c
329
&ml) != 0);
usr.sbin/unbound/testcode/unitdname.c
330
unit_assert(ml == 1);
usr.sbin/unbound/testcode/unitdname.c
336
&ml) == 1);
usr.sbin/unbound/testcode/unitdname.c
337
unit_assert(ml == 3);
usr.sbin/unbound/testcode/unitdname.c
341
&ml) == -1);
usr.sbin/unbound/testcode/unitdname.c
342
unit_assert(ml == 3);
usr.sbin/unbound/testcode/unitdname.c
348
&ml) == -1);
usr.sbin/unbound/testcode/unitdname.c
349
unit_assert(ml == 3);
usr.sbin/unbound/testcode/unitdname.c
353
&ml) == -1);
usr.sbin/unbound/testcode/unitdname.c
354
unit_assert(ml == 3);
usr.sbin/unbound/testcode/unitdname.c
358
&ml) == -1);
usr.sbin/unbound/testcode/unitdname.c
359
unit_assert(ml == 3);
usr.sbin/unbound/testcode/unitdname.c
363
&ml) == -1);
usr.sbin/unbound/testcode/unitdname.c
364
unit_assert(ml == 3);
usr.sbin/unbound/testcode/unitdname.c
370
&ml) == 0);
usr.sbin/unbound/testcode/unitdname.c
371
unit_assert(ml == 4);