Lines Matching full:box
99 int plogical_first_u8, plogical_last_u8, box; in packing() local
127 * logical bit significance. "box" denotes the current logical u8. in packing()
132 for (box = plogical_first_u8; box >= plogical_last_u8; box--) { in packing()
133 /* Bit indices into the currently accessed 8-bit box */ in packing()
144 if (box == plogical_first_u8) in packing()
148 if (box == plogical_last_u8) in packing()
153 /* We have determined the box bit start and end. in packing()
154 * Now we calculate where this (masked) u8 box would fit in packing()
155 * in the unpacked (CPU-readable) u64 - the u8 box's in packing()
157 * box is u8, the projection is u64 because it may fall in packing()
160 proj_start_bit = ((box * 8) + box_start_bit) - endbit; in packing()
161 proj_end_bit = ((box * 8) + box_end_bit) - endbit; in packing()
165 /* Determine the offset of the u8 box inside the pbuf, in packing()
170 box_addr = pbuflen - box - 1; in packing()