Lines Matching defs:map
19 * bit_map_string_get - find and set a bit string in bit map.
20 * @t: the bit map.
24 * Returns offset in the map or -1 if out of space.
60 off_new = find_next_zero_bit(t->map, t->size, offset);
81 while (test_bit(offset + i, t->map) == 0) {
84 bitmap_set(t->map, offset, len);
87 (t->map, t->size,
111 if (test_bit(offset + i, t->map) == 0)
113 __clear_bit(offset + i, t->map);
121 void bit_map_init(struct bit_map *t, unsigned long *map, int size)
123 bitmap_zero(map, size);
126 t->map = map;