Lines Matching defs:obj
47 u32 obj;
51 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last);
52 if (obj >= alloc->max)
53 obj = find_first_zero_bit(alloc->table, alloc->max);
55 if (obj < alloc->max) {
59 alloc->last = obj + 1;
62 __set_bit(obj, alloc->table);
63 obj += alloc->start;
65 obj = -1;
68 return obj;
71 void c4iw_id_free(struct c4iw_id_table *alloc, u32 obj)
75 obj -= alloc->start;
78 __clear_bit(obj, alloc->table);