Lines Matching refs:idset
13 struct idset { struct
24 static struct idset *idset_new(int num_ssid, int num_id) in idset_new() argument
26 struct idset *set; in idset_new()
28 set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id)); in idset_new()
37 void idset_free(struct idset *set) in idset_free()
42 void idset_fill(struct idset *set) in idset_fill()
47 static inline void idset_add(struct idset *set, int ssid, int id) in idset_add()
52 static inline void idset_del(struct idset *set, int ssid, int id) in idset_del()
57 static inline int idset_contains(struct idset *set, int ssid, int id) in idset_contains()
62 static inline int idset_get_first(struct idset *set, int *ssid, int *id) in idset_get_first()
74 struct idset *idset_sch_new(void) in idset_sch_new()
79 void idset_sch_add(struct idset *set, struct subchannel_id schid) in idset_sch_add()
84 void idset_sch_del(struct idset *set, struct subchannel_id schid) in idset_sch_del()
90 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid) in idset_sch_del_subseq()
97 int idset_sch_contains(struct idset *set, struct subchannel_id schid) in idset_sch_contains()
102 int idset_is_empty(struct idset *set) in idset_is_empty()
107 void idset_add_set(struct idset *to, struct idset *from) in idset_add_set()