Lines Matching refs:idset
12 struct idset { struct
23 static struct idset *idset_new(int num_ssid, int num_id) in idset_new() argument
25 struct idset *set; in idset_new()
27 set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id)); in idset_new()
36 void idset_free(struct idset *set) in idset_free()
41 void idset_fill(struct idset *set) in idset_fill()
46 static inline void idset_add(struct idset *set, int ssid, int id) in idset_add()
51 static inline void idset_del(struct idset *set, int ssid, int id) in idset_del()
56 static inline int idset_contains(struct idset *set, int ssid, int id) in idset_contains()
61 static inline int idset_get_first(struct idset *set, int *ssid, int *id) in idset_get_first()
73 struct idset *idset_sch_new(void) in idset_sch_new()
78 void idset_sch_add(struct idset *set, struct subchannel_id schid) in idset_sch_add()
83 void idset_sch_del(struct idset *set, struct subchannel_id schid) in idset_sch_del()
89 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid) in idset_sch_del_subseq()
96 int idset_sch_contains(struct idset *set, struct subchannel_id schid) in idset_sch_contains()
101 int idset_is_empty(struct idset *set) in idset_is_empty()
106 void idset_add_set(struct idset *to, struct idset *from) in idset_add_set()