Lines Matching refs:idr
254 struct idr cqidr;
255 struct idr qpidr;
256 struct idr mmidr;
261 struct idr hwtid_idr;
262 struct idr atid_idr;
263 struct idr stid_idr;
293 static inline int _insert_handle(struct c4iw_dev *rhp, struct idr *idr, in _insert_handle() argument
303 ret = idr_alloc(idr, handle, id, id + 1, GFP_ATOMIC); in _insert_handle()
314 static inline int insert_handle(struct c4iw_dev *rhp, struct idr *idr, in insert_handle() argument
317 return _insert_handle(rhp, idr, handle, id, 1); in insert_handle()
320 static inline int insert_handle_nolock(struct c4iw_dev *rhp, struct idr *idr, in insert_handle_nolock() argument
323 return _insert_handle(rhp, idr, handle, id, 0); in insert_handle_nolock()
326 static inline void _remove_handle(struct c4iw_dev *rhp, struct idr *idr, in _remove_handle() argument
331 idr_remove(idr, id); in _remove_handle()
336 static inline void remove_handle(struct c4iw_dev *rhp, struct idr *idr, u32 id) in remove_handle() argument
338 _remove_handle(rhp, idr, id, 1); in remove_handle()
342 struct idr *idr, u32 id) in remove_handle_nolock() argument
344 _remove_handle(rhp, idr, id, 0); in remove_handle_nolock()