Lines Matching defs:idr
38 #include <linux/idr.h>
109 struct idr cqidr;
110 struct idr qpidr;
111 struct idr mmidr;
146 static inline int insert_handle(struct iwch_dev *rhp, struct idr *idr,
153 if (!idr_pre_get(idr, GFP_KERNEL)) {
157 ret = idr_get_new_above(idr, handle, id, &newid);
165 static inline void remove_handle(struct iwch_dev *rhp, struct idr *idr, u32 id)
168 idr_remove(idr, id);