Lines Matching refs:middle
957 int skip, maxentry, middle, righthalf, n; in xtSplitPage() local
1104 middle = maxentry >> 1; in xtSplitPage()
1105 righthalf = maxentry - middle; in xtSplitPage()
1110 if (skip <= middle) { in xtSplitPage()
1112 memmove(&rp->xad[XTENTRYSTART], &sp->xad[middle], in xtSplitPage()
1116 if (skip < middle) in xtSplitPage()
1118 (middle - skip) << L2XTSLOTSIZE); in xtSplitPage()
1126 sp->header.nextindex = cpu_to_le16(middle + 1); in xtSplitPage()
1140 n = skip - middle; in xtSplitPage()
1141 memmove(&rp->xad[XTENTRYSTART], &sp->xad[middle], in xtSplitPage()
1156 sp->header.nextindex = cpu_to_le16(middle); in xtSplitPage()
1159 min(middle, (int)sxtlck->lwm.offset) : middle; in xtSplitPage()