Lines Matching refs:ptr
50 __qdf_idr_alloc(qdf_idr *idp, void *ptr, int32_t start, int32_t end) in __qdf_idr_alloc() argument
54 idr_get_new(&idp->idr, ptr, &id); in __qdf_idr_alloc()
60 __qdf_idr_alloc(qdf_idr *idp, void *ptr, int32_t start, int32_t end) in __qdf_idr_alloc() argument
62 return idr_alloc(&idp->idr, ptr, start, end, qdf_idr_gpf_flag()); in __qdf_idr_alloc()
93 QDF_STATUS qdf_idr_alloc(qdf_idr *idp, void *ptr, int32_t *id) in qdf_idr_alloc() argument
97 if (!idp || !ptr) in qdf_idr_alloc()
101 local_id = __qdf_idr_alloc(idp, ptr, QDF_IDR_START, QDF_IDR_END); in qdf_idr_alloc()
128 QDF_STATUS qdf_idr_find(qdf_idr *idp, int32_t id, void **ptr) in qdf_idr_find() argument
130 if (!ptr || (id < QDF_IDR_START)) in qdf_idr_find()
134 *ptr = idr_find(&idp->idr, id); in qdf_idr_find()
136 if (!(*ptr)) in qdf_idr_find()