/drivers/infiniband/hw/cxgb3/ |
H A D | iwch.h | 38 #include <linux/idr.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, argument 159 if (!idr_pre_get(idr, GFP_KERNEL)) { 163 ret = idr_get_new_above(idr, handle, id, &newid); 171 static inline void remove_handle(struct iwch_dev *rhp, struct idr *idr, u3 argument [all...] |
/drivers/infiniband/core/ |
H A D | uverbs.h | 41 #include <linux/idr.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 *id [all...] |
H A D | uverbs_cmd.c | 64 * needs to be held during all idr operations. When an object is 76 * the idr. This handles a reader that blocks and does not acquire 118 static int idr_add_uobj(struct idr *idr, struct ib_uobject *uobj) argument 123 if (!idr_pre_get(idr, GFP_KERNEL)) 127 ret = idr_get_new(idr, uobj, &uobj->id); 136 void idr_remove_uobj(struct idr *idr, struct ib_uobject *uobj) argument 139 idr_remove(idr, uobj->id); 143 static struct ib_uobject *__idr_get_uobj(struct idr *id argument 161 idr_read_uobj(struct idr *idr, int id, struct ib_ucontext *context, int nested) argument 182 idr_write_uobj(struct idr *idr, int id, struct ib_ucontext *context) argument 200 idr_read_obj(struct idr *idr, int id, struct ib_ucontext *context, int nested) argument [all...] |
/drivers/staging/tidspbridge/include/dspbridge/ |
H A D | drv.h | 26 #include <linux/idr.h> 135 struct idr *node_id; 146 struct idr *stream_id;
|
/drivers/gpu/drm/sis/ |
H A D | sis_drv.h | 65 struct idr object_idr;
|
/drivers/dca/ |
H A D | dca-sysfs.c | 25 #include <linux/idr.h> 33 static struct idr dca_idr;
|
/drivers/hwmon/ |
H A D | hwmon.c | 19 #include <linux/idr.h>
|
/drivers/infiniband/hw/cxgb4/ |
H A D | iw_cxgb4.h | 37 #include <linux/idr.h> 182 struct idr cqidr; 183 struct idr qpidr; 184 struct idr mmidr; 214 static inline int insert_handle(struct c4iw_dev *rhp, struct idr *idr, argument 221 if (!idr_pre_get(idr, GFP_KERNEL)) 224 ret = idr_get_new_above(idr, handle, id, &newid); 232 static inline void remove_handle(struct c4iw_dev *rhp, struct idr *idr, u3 argument [all...] |
/drivers/thermal/ |
H A D | thermal_sys.c | 33 #include <linux/idr.h> 63 static int get_idr(struct idr *idr, struct mutex *lock, int *id) argument 68 if (unlikely(idr_pre_get(idr, GFP_KERNEL) == 0)) 73 err = idr_get_new(idr, NULL, id); 85 static void release_idr(struct idr *idr, struct mutex *lock, int id) argument 89 idr_remove(idr, id); 786 result = get_idr(&tz->idr, &tz->lock, &dev->id); 822 release_idr(&tz->idr, [all...] |
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_gmrid_manager.c | 35 #include <linux/idr.h>
|
H A D | vmwgfx_resource.c | 109 idr_remove(res->idr, res->id); 120 struct idr *idr = res->idr; local 138 idr_remove(idr, id); 170 if (unlikely(idr_pre_get(res->idr, GFP_KERNEL) == 0)) 174 ret = idr_get_new_above(res->idr, res, 1, &res->id); 185 struct idr *idr, 197 res->idr 183 vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res, struct idr *idr, enum ttm_object_type obj_type, bool delay_id, void (*res_free) (struct vmw_resource *res), void (*remove_from_lists) (struct vmw_resource *res)) argument 233 vmw_resource_lookup(struct vmw_private *dev_priv, struct idr *idr, int id) argument [all...] |
H A D | vmwgfx_drv.h | 79 struct idr *idr; member in struct:vmw_resource 245 struct idr context_idr; 246 struct idr surface_idr; 247 struct idr stream_idr;
|
/drivers/infiniband/hw/ehca/ |
H A D | ehca_tools.h | 50 #include <linux/idr.h>
|
H A D | ehca_classes.h | 376 extern struct idr ehca_qp_idr; 377 extern struct idr ehca_cq_idr;
|
/drivers/staging/ramster/cluster/ |
H A D | tcp_internal.h | 112 struct idr nn_status_idr;
|
/drivers/firewire/ |
H A D | core.h | 8 #include <linux/idr.h> 150 extern struct idr fw_device_idr;
|
/drivers/scsi/bfa/ |
H A D | bfad_drv.h | 32 #include <linux/idr.h> 328 extern struct idr bfad_im_port_index;
|
/drivers/infiniband/hw/amso1100/ |
H A D | c2.h | 42 #include <linux/idr.h> 266 struct idr idr; member in struct:c2_qp_table
|
H A D | c2_qp.c | 387 ret = idr_get_new_above(&c2dev->qp_table.idr, qp, 391 idr_pre_get(&c2dev->qp_table.idr, GFP_KERNEL)); 398 idr_remove(&c2dev->qp_table.idr, qpn); 408 qp = idr_find(&c2dev->qp_table.idr, qpn); 1016 idr_init(&c2dev->qp_table.idr); 1021 idr_destroy(&c2dev->qp_table.idr);
|
/drivers/base/ |
H A D | soc.c | 13 #include <linux/idr.h>
|
/drivers/gpu/drm/via/ |
H A D | via_drv.h | 96 struct idr object_idr;
|
/drivers/w1/slaves/ |
H A D | w1_ds2760.c | 18 #include <linux/idr.h>
|
H A D | w1_ds2780.c | 22 #include <linux/idr.h>
|
H A D | w1_ds2781.c | 20 #include <linux/idr.h>
|
/drivers/atm/ |
H A D | nicstar.h | 19 #include <linux/idr.h> 716 struct idr idr; member in struct:ns_dev
|