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 struct idset *idset_sch_new(void) in idset_sch_new()
67 void idset_sch_add(struct idset *set, struct subchannel_id schid) in idset_sch_add()
72 void idset_sch_del(struct idset *set, struct subchannel_id schid) in idset_sch_del()
78 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid) in idset_sch_del_subseq()
85 int idset_sch_contains(struct idset *set, struct subchannel_id schid) in idset_sch_contains()
90 int idset_is_empty(struct idset *set) in idset_is_empty()
95 void idset_add_set(struct idset *to, struct idset *from) in idset_add_set()