Lines Matching full:box
87 int plogical_first_u8, plogical_last_u8, box; in packing() local
115 * logical bit significance. "box" denotes the current logical u8. in packing()
120 for (box = plogical_first_u8; box >= plogical_last_u8; box--) { in packing()
121 /* Bit indices into the currently accessed 8-bit box */ in packing()
132 if (box == plogical_first_u8) in packing()
136 if (box == plogical_last_u8) in packing()
141 /* We have determined the box bit start and end. in packing()
142 * Now we calculate where this (masked) u8 box would fit in packing()
143 * in the unpacked (CPU-readable) u64 - the u8 box's in packing()
145 * box is u8, the projection is u64 because it may fall in packing()
148 proj_start_bit = ((box * 8) + box_start_bit) - endbit; in packing()
149 proj_end_bit = ((box * 8) + box_end_bit) - endbit; in packing()
153 /* Determine the offset of the u8 box inside the pbuf, in packing()
158 box_addr = pbuflen - box - 1; in packing()