Lines Matching refs:le16_to_cpu
71 if ((le16_to_cpu((P)->header.nextindex) < XTENTRYSTART) || \
72 (le16_to_cpu((P)->header.nextindex) > \
73 le16_to_cpu((P)->header.maxentry)) || \
74 (le16_to_cpu((P)->header.maxentry) > \
293 le16_to_cpu(p->header.nextindex)) { in xtSearch()
309 le16_to_cpu(p->header.nextindex)) { in xtSearch()
376 lim = le16_to_cpu(p->header.nextindex) - XTENTRYSTART; in xtSearch()
425 if (index < le16_to_cpu(p->header.nextindex)-1) in xtSearch()
442 if (base < le16_to_cpu(p->header.nextindex)) in xtSearch()
608 nextindex = le16_to_cpu(p->header.nextindex); in xtInsert()
609 if (nextindex == le16_to_cpu(p->header.maxentry)) { in xtInsert()
660 le16_to_cpu(p->header.nextindex) - xtlck->lwm.offset; in xtInsert()
716 (le16_to_cpu(sp->header.maxentry) < XTROOTMAXSLOT) && in xtSplitUp()
730 nextindex = le16_to_cpu(sp->header.nextindex); in xtSplitUp()
750 le16_to_cpu(sp->header.nextindex) - in xtSplitUp()
849 nextindex = le16_to_cpu(sp->header.nextindex); in xtSplitUp()
853 if (nextindex == le16_to_cpu(sp->header.maxentry)) { in xtSplitUp()
920 le16_to_cpu(sp->header.nextindex) - in xtSplitUp()
1056 if (nextbn == 0 && skip == le16_to_cpu(sp->header.maxentry)) { in xtSplitPage()
1116 maxentry = le16_to_cpu(sp->header.maxentry); in xtSplitPage()
1180 sxtlck->lwm.length = le16_to_cpu(sp->header.nextindex) - in xtSplitPage()
1184 rxtlck->lwm.length = le16_to_cpu(rp->header.nextindex) - in xtSplitPage()
1285 nextindex = le16_to_cpu(sp->header.maxentry); in xtSplitRoot()
1309 xtlck->lwm.length = le16_to_cpu(rp->header.nextindex) - in xtSplitRoot()
1423 nextindex = le16_to_cpu(p->header.nextindex); in xtExtend()
1431 if (nextindex == le16_to_cpu(p->header.maxentry)) { in xtExtend()
1500 le16_to_cpu(p->header.nextindex) - xtlck->lwm.offset; in xtExtend()
1561 nextindex = le16_to_cpu(p->header.nextindex); in xtTailgate()
1596 if (nextindex == le16_to_cpu(p->header.maxentry)) { in xtTailgate()
1681 xtlck->lwm.length = le16_to_cpu(p->header.nextindex) - in xtTailgate()
1767 nextindex = le16_to_cpu(p->header.nextindex); in xtUpdate()
1833 cpu_to_le16(le16_to_cpu(p->header.nextindex) - in xtUpdate()
1838 nextindex = le16_to_cpu(p->header.nextindex); in xtUpdate()
1900 cpu_to_le16(le16_to_cpu(p->header.nextindex) - in xtUpdate()
1928 if (nextindex == le16_to_cpu(p->header.maxentry)) { in xtUpdate()
1970 (le16_to_cpu(p->header.maxentry) >> 1)) { in xtUpdate()
1973 le16_to_cpu(p->header.nextindex) + in xtUpdate()
1991 cpu_to_le16(le16_to_cpu(p->header.nextindex) + 1); in xtUpdate()
2011 le16_to_cpu(p->header.nextindex) - in xtUpdate()
2034 nextindex = le16_to_cpu(p->header.nextindex); in xtUpdate()
2040 if (nextindex == le16_to_cpu(p->header.maxentry)) { in xtUpdate()
2079 if (nextindex == le16_to_cpu(p->header.maxentry)) { in xtUpdate()
2134 cpu_to_le16(le16_to_cpu(p->header.nextindex) + 1); in xtUpdate()
2141 xtlck->lwm.length = le16_to_cpu(p->header.nextindex) - in xtUpdate()
2229 nextindex = le16_to_cpu(p->header.nextindex); in xtAppend()
2230 if (nextindex < le16_to_cpu(p->header.maxentry)) in xtAppend()
2309 xtlck->lwm.length = le16_to_cpu(p->header.nextindex) - in xtAppend()
2367 nextindex = le16_to_cpu(p->header.nextindex); in xtDelete()
2471 nextindex = le16_to_cpu(p->header.nextindex); in xtDeleteUp()
2803 le16_to_cpu(p->header.nextindex) - xtlck->lwm.offset; in xtRelocate()
2863 xtlck->lwm.length = le16_to_cpu(pp->header.nextindex) - in xtRelocate()
2937 lim = le16_to_cpu(p->header.nextindex) - XTENTRYSTART; in xtSearchNode()
3250 index = le16_to_cpu(p->header.nextindex) - 1; in xtTruncate()
3300 xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1; in xtTruncate()
3405 if (nextindex < le16_to_cpu(p->header.nextindex)) { in xtTruncate()
3409 le16_to_cpu(p->header.nextindex) - in xtTruncate()
3440 le16_to_cpu(p->header.nextindex) - XTENTRYSTART; in xtTruncate()
3494 if (index < le16_to_cpu(p->header.nextindex) - 1) { in xtTruncate()
3504 le16_to_cpu(p->header. in xtTruncate()
3514 le16_to_cpu(p->header.nextindex) - in xtTruncate()
3579 le16_to_cpu(p->header.nextindex) - 1; in xtTruncate()
3586 le16_to_cpu(p->header.nextindex) - in xtTruncate()
3597 if (le16_to_cpu(p->header.maxentry) == XTROOTMAXSLOT) { in xtTruncate()
3773 index = le16_to_cpu(p->header.nextindex) - 1; in xtTruncate_pmap()
3829 xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1; in xtTruncate_pmap()