/drivers/infiniband/hw/cxgb3/ |
D | iwch.h | 109 struct idr cqidr; 110 struct idr qpidr; 111 struct idr mmidr; 152 static inline int insert_handle(struct iwch_dev *rhp, struct idr *idr, in insert_handle() argument 160 ret = idr_alloc(idr, handle, id, id + 1, GFP_NOWAIT); in insert_handle() 169 static inline void remove_handle(struct iwch_dev *rhp, struct idr *idr, u32 id) in remove_handle() argument 172 idr_remove(idr, id); in remove_handle()
|
/drivers/infiniband/core/ |
D | uverbs.h | 150 extern struct idr ib_uverbs_pd_idr; 151 extern struct idr ib_uverbs_mr_idr; 152 extern struct idr ib_uverbs_mw_idr; 153 extern struct idr ib_uverbs_ah_idr; 154 extern struct idr ib_uverbs_cq_idr; 155 extern struct idr ib_uverbs_qp_idr; 156 extern struct idr ib_uverbs_srq_idr; 157 extern struct idr ib_uverbs_xrcd_idr; 159 void idr_remove_uobj(struct idr *idp, struct ib_uobject *uobj);
|
D | uverbs_cmd.c | 124 static int idr_add_uobj(struct idr *idr, struct ib_uobject *uobj) in idr_add_uobj() argument 131 ret = idr_alloc(idr, uobj, 0, 0, GFP_NOWAIT); in idr_add_uobj() 141 void idr_remove_uobj(struct idr *idr, struct ib_uobject *uobj) in idr_remove_uobj() argument 144 idr_remove(idr, uobj->id); in idr_remove_uobj() 148 static struct ib_uobject *__idr_get_uobj(struct idr *idr, int id, in __idr_get_uobj() argument 154 uobj = idr_find(idr, id); in __idr_get_uobj() 166 static struct ib_uobject *idr_read_uobj(struct idr *idr, int id, in idr_read_uobj() argument 171 uobj = __idr_get_uobj(idr, id, context); in idr_read_uobj() 187 static struct ib_uobject *idr_write_uobj(struct idr *idr, int id, in idr_write_uobj() argument 192 uobj = __idr_get_uobj(idr, id, context); in idr_write_uobj() [all …]
|
/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 221 struct idr cqidr; 222 struct idr qpidr; 223 struct idr mmidr; 229 struct idr hwtid_idr; 230 struct idr atid_idr; 231 struct idr stid_idr; 259 static inline int _insert_handle(struct c4iw_dev *rhp, struct idr *idr, in _insert_handle() argument 269 ret = idr_alloc(idr, handle, id, id + 1, GFP_ATOMIC); in _insert_handle() 280 static inline int insert_handle(struct c4iw_dev *rhp, struct idr *idr, in insert_handle() argument 283 return _insert_handle(rhp, idr, handle, id, 1); in insert_handle() [all …]
|
/drivers/thermal/ |
D | cpu_cooling.c | 73 static int get_idr(struct idr *idr, int *id) in get_idr() argument 78 ret = idr_alloc(idr, NULL, 0, 0, GFP_KERNEL); in get_idr() 92 static void release_idr(struct idr *idr, int id) in release_idr() argument 95 idr_remove(idr, id); in release_idr()
|
D | thermal_core.c | 130 static int get_idr(struct idr *idr, struct mutex *lock, int *id) in get_idr() argument 136 ret = idr_alloc(idr, NULL, 0, 0, GFP_KERNEL); in get_idr() 145 static void release_idr(struct idr *idr, struct mutex *lock, int id) in release_idr() argument 149 idr_remove(idr, id); in release_idr() 1177 result = get_idr(&tz->idr, &tz->lock, &dev->id); in thermal_zone_bind_cooling_device() 1217 release_idr(&tz->idr, &tz->lock, dev->id); in thermal_zone_bind_cooling_device() 1263 release_idr(&tz->idr, &tz->lock, pos->id); in thermal_zone_unbind_cooling_device() 1635 idr_init(&tz->idr); in thermal_zone_device_register() 1798 idr_destroy(&tz->idr); in thermal_zone_device_unregister()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_resource.c | 100 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id() local 104 idr_remove(idr, res->id); in vmw_resource_release_id() 115 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release() local 149 idr_remove(idr, id); in vmw_resource_release() 176 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_alloc_id() local 183 ret = idr_alloc(idr, res, 1, 0, GFP_NOWAIT); in vmw_resource_alloc_id() 251 struct idr *idr, int id) in vmw_resource_lookup() argument 256 res = idr_find(idr, id); in vmw_resource_lookup() 648 struct idr *idr = &dev_priv->res_idr[vmw_res_stream]; in vmw_stream_unref_ioctl() local 652 res = vmw_resource_lookup(dev_priv, idr, arg->stream_id); in vmw_stream_unref_ioctl()
|
/drivers/staging/tidspbridge/include/dspbridge/ |
D | drv.h | 135 struct idr *node_id; 146 struct idr *stream_id;
|
/drivers/video/adf/ |
D | adf.c | 459 struct idr *idr, struct adf_device *parent, in adf_obj_init() argument 470 ret = idr_alloc(idr, obj, 0, 0, GFP_KERNEL); in adf_obj_init() 489 static void adf_obj_destroy(struct adf_obj *obj, struct idr *idr) in adf_obj_destroy() argument 503 idr_remove(idr, obj->id); in adf_obj_destroy()
|
/drivers/gpu/drm/sis/ |
D | sis_drv.h | 65 struct idr object_idr;
|
/drivers/infiniband/hw/amso1100/ |
D | c2_qp.c | 388 ret = idr_alloc_cyclic(&c2dev->qp_table.idr, qp, 0, 0, GFP_NOWAIT); in c2_alloc_qpn() 400 idr_remove(&c2dev->qp_table.idr, qpn); in c2_free_qpn() 410 qp = idr_find(&c2dev->qp_table.idr, qpn); in c2_find_qpn() 1018 idr_init(&c2dev->qp_table.idr); in c2_init_qp_table() 1023 idr_destroy(&c2dev->qp_table.idr); in c2_cleanup_qp_table()
|
D | c2.h | 266 struct idr idr; member
|
/drivers/target/iscsi/ |
D | iscsi_target.h | 44 extern struct idr sess_idr;
|
/drivers/staging/android/ion/ |
D | ion.c | 86 struct idr idr; member 366 idr_remove(&client->idr, handle->id); in ion_handle_destroy() 430 handle = idr_find(&client->idr, id); in ion_handle_get_by_id_nolock() 453 return (idr_find(&client->idr, handle->id) == handle); in ion_handle_validate() 463 id = idr_alloc(&client->idr, handle, 1, 0, GFP_KERNEL); in ion_handle_add() 826 idr_init(&client->idr); in ion_client_create() 893 idr_destroy(&client->idr); in ion_client_destroy()
|
/drivers/dca/ |
D | dca-sysfs.c | 33 static struct idr dca_idr;
|
/drivers/infiniband/hw/ehca/ |
D | ehca_classes.h | 376 extern struct idr ehca_qp_idr; 377 extern struct idr ehca_cq_idr;
|
/drivers/staging/zcache/ramster/ |
D | tcp_internal.h | 112 struct idr nn_status_idr;
|
/drivers/staging/tidspbridge/rmgr/ |
D | drv_interface.c | 150 pr_ctxt->node_id = kzalloc(sizeof(struct idr), GFP_KERNEL); in bridge_open() 158 pr_ctxt->stream_id = kzalloc(sizeof(struct idr), GFP_KERNEL); in bridge_open()
|
/drivers/net/ppp/ |
D | ppp_generic.c | 204 struct idr units_idr; 282 static int unit_get(struct idr *p, void *ptr); 283 static int unit_set(struct idr *p, void *ptr, int n); 284 static void unit_put(struct idr *p, int n); 285 static void *unit_find(struct idr *p, int n); 2960 static int unit_set(struct idr *p, void *ptr, int n) in unit_set() 2971 static int unit_get(struct idr *p, void *ptr) in unit_get() 2977 static void unit_put(struct idr *p, int n) in unit_put() 2983 static void *unit_find(struct idr *p, int n) in unit_find()
|
/drivers/atm/ |
D | nicstar.h | 716 struct idr idr; member
|
/drivers/gpu/drm/via/ |
D | via_drv.h | 96 struct idr object_idr;
|
/drivers/gpu/drm/qxl/ |
D | qxl_drv.h | 279 struct idr release_idr; 301 struct idr surf_id_idr;
|
/drivers/ata/ |
D | sata_dwc_460ex.c | 229 u32 idr; /* ID Register */ member 1661 u32 idr, versionr; in sata_dwc_probe() local 1718 idr = in_le32(&hsdev->sata_dwc_regs->idr); in sata_dwc_probe() 1721 idr, ver[0], ver[1], ver[2]); in sata_dwc_probe()
|
/drivers/firewire/ |
D | core.h | 136 extern struct idr fw_device_idr;
|
/drivers/scsi/bfa/ |
D | bfad_drv.h | 331 extern struct idr bfad_im_port_index;
|