Lines Matching refs:idr
256 struct idr cqidr;
257 struct idr qpidr;
258 struct idr mmidr;
263 struct idr hwtid_idr;
264 struct idr atid_idr;
265 struct idr stid_idr;
295 static inline int _insert_handle(struct c4iw_dev *rhp, struct idr *idr, in _insert_handle() argument
305 ret = idr_alloc(idr, handle, id, id + 1, GFP_ATOMIC); in _insert_handle()
316 static inline int insert_handle(struct c4iw_dev *rhp, struct idr *idr, in insert_handle() argument
319 return _insert_handle(rhp, idr, handle, id, 1); in insert_handle()
322 static inline int insert_handle_nolock(struct c4iw_dev *rhp, struct idr *idr, in insert_handle_nolock() argument
325 return _insert_handle(rhp, idr, handle, id, 0); in insert_handle_nolock()
328 static inline void _remove_handle(struct c4iw_dev *rhp, struct idr *idr, in _remove_handle() argument
333 idr_remove(idr, id); in _remove_handle()
338 static inline void remove_handle(struct c4iw_dev *rhp, struct idr *idr, u32 id) in remove_handle() argument
340 _remove_handle(rhp, idr, id, 1); in remove_handle()
344 struct idr *idr, u32 id) in remove_handle_nolock() argument
346 _remove_handle(rhp, idr, id, 0); in remove_handle_nolock()