Searched refs:idr (Results 1 - 25 of 79) sorted by relevance

1234

/drivers/infiniband/hw/cxgb3/
H A Diwch.h38 #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 Duverbs.h41 #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 Duverbs_cmd.c64 * 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 Ddrv.h26 #include <linux/idr.h>
135 struct idr *node_id;
146 struct idr *stream_id;
/drivers/gpu/drm/sis/
H A Dsis_drv.h65 struct idr object_idr;
/drivers/dca/
H A Ddca-sysfs.c25 #include <linux/idr.h>
33 static struct idr dca_idr;
/drivers/hwmon/
H A Dhwmon.c19 #include <linux/idr.h>
/drivers/infiniband/hw/cxgb4/
H A Diw_cxgb4.h37 #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 Dthermal_sys.c33 #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 Dvmwgfx_gmrid_manager.c35 #include <linux/idr.h>
H A Dvmwgfx_resource.c109 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 Dvmwgfx_drv.h79 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 Dehca_tools.h50 #include <linux/idr.h>
H A Dehca_classes.h376 extern struct idr ehca_qp_idr;
377 extern struct idr ehca_cq_idr;
/drivers/staging/ramster/cluster/
H A Dtcp_internal.h112 struct idr nn_status_idr;
/drivers/firewire/
H A Dcore.h8 #include <linux/idr.h>
150 extern struct idr fw_device_idr;
/drivers/scsi/bfa/
H A Dbfad_drv.h32 #include <linux/idr.h>
328 extern struct idr bfad_im_port_index;
/drivers/infiniband/hw/amso1100/
H A Dc2.h42 #include <linux/idr.h>
266 struct idr idr; member in struct:c2_qp_table
H A Dc2_qp.c387 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 Dsoc.c13 #include <linux/idr.h>
/drivers/gpu/drm/via/
H A Dvia_drv.h96 struct idr object_idr;
/drivers/w1/slaves/
H A Dw1_ds2760.c18 #include <linux/idr.h>
H A Dw1_ds2780.c22 #include <linux/idr.h>
H A Dw1_ds2781.c20 #include <linux/idr.h>
/drivers/atm/
H A Dnicstar.h19 #include <linux/idr.h>
716 struct idr idr; member in struct:ns_dev

Completed in 1027 milliseconds

1234