Lines Matching defs:offset
24 unsigned long offset)
26 const unsigned long *p = addr + BITOP_WORD(offset);
27 unsigned long result = offset & ~(BITS_PER_LONG-1);
30 if (offset >= size)
33 offset %= BITS_PER_LONG;
34 if (offset) {
36 tmp &= (~0UL << offset);
68 unsigned long offset)
70 const unsigned long *p = addr + BITOP_WORD(offset);
71 unsigned long result = offset & ~(BITS_PER_LONG-1);
74 if (offset >= size)
77 offset %= BITS_PER_LONG;
78 if (offset) {
80 tmp |= ~0UL >> (BITS_PER_LONG - offset);
189 long size, unsigned long offset)
191 const unsigned long *p = addr + BITOP_WORD(offset);
192 unsigned long result = offset & ~(BITS_PER_LONG - 1);
195 if (offset >= size)
198 offset &= (BITS_PER_LONG - 1UL);
199 if (offset) {
201 tmp |= (~0UL >> (BITS_PER_LONG - offset));
233 long size, unsigned long offset)
235 const unsigned long *p = addr + BITOP_WORD(offset);
236 unsigned long result = offset & ~(BITS_PER_LONG - 1);
239 if (offset >= size)
242 offset &= (BITS_PER_LONG - 1UL);
243 if (offset) {
245 tmp &= (~0UL << offset);