Lines Matching refs:ofs
50 unsigned int ofs;
53 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE);
54 if (ofs < EBITMAP_SIZE)
55 return (*n)->startbit + ofs;
69 unsigned int ofs;
71 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1);
72 if (ofs < EBITMAP_SIZE)
73 return ofs + (*n)->startbit;
76 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE);
77 if (ofs < EBITMAP_SIZE)
78 return ofs + (*n)->startbit;
92 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit);
95 if ((n->maps[index] & (EBITMAP_BIT << ofs)))
104 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit);
107 n->maps[index] |= (EBITMAP_BIT << ofs);
114 unsigned int ofs = EBITMAP_NODE_OFFSET(n, bit);
117 n->maps[index] &= ~(EBITMAP_BIT << ofs);