Lines Matching defs:ofs
44 unsigned int ofs;
47 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE);
48 if (ofs < EBITMAP_SIZE)
49 return (*n)->startbit + ofs;
63 unsigned int ofs;
65 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1);
66 if (ofs < EBITMAP_SIZE)
67 return ofs + (*n)->startbit;
70 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE);
71 if (ofs < EBITMAP_SIZE)
72 return ofs + (*n)->startbit;
86 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit);
89 if ((n->maps[index] & (EBITMAP_BIT << ofs)))
98 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit);
101 n->maps[index] |= (EBITMAP_BIT << ofs);
108 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit);
111 n->maps[index] &= ~(EBITMAP_BIT << ofs);