Lines Matching refs:offs
77 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG;
83 status = pos[0] >> offs;
84 if (bits_per_block + offs > BITS_PER_LONG)
85 status |= pos[1] << (BITS_PER_LONG - offs);
110 unsigned int offs = (entry * bits_per_block) % BITS_PER_LONG;
116 pos[0] &= ~GENMASK(offs + bits_per_block - 1, offs);
117 pos[0] |= val << offs;
119 if (bits_per_block + offs > BITS_PER_LONG) {
120 unsigned int rbits = bits_per_block + offs - BITS_PER_LONG;