Home
last modified time | relevance | path

Searched defs:idr (Results 1 – 22 of 22) sorted by relevance

/linux-4.4.14/include/linux/
Didr.h42 struct idr { struct
43 struct idr_layer __rcu *hint; /* the last layer allocated from */ argument
44 struct idr_layer __rcu *top; argument
49 struct idr_layer *id_free; argument
56 #define DEFINE_IDR(name) struct idr name = IDR_INIT(name) argument
115 static inline void *idr_find(struct idr *idr, int id) in idr_find()
155 struct idr idr; member
Dpowercap.h79 struct idr idr; member
156 struct idr idr; member
Dfsnotify_backend.h171 struct idr idr; member
Dthermal.h209 struct idr idr; member
/linux-4.4.14/fs/notify/inotify/
Dinotify_user.c346 static int inotify_add_to_idr(struct idr *idr, spinlock_t *idr_lock, in inotify_add_to_idr()
369 struct idr *idr = &group->inotify_data.idr; in inotify_idr_find_locked() local
403 struct idr *idr = &group->inotify_data.idr; in do_inotify_remove_from_idr() local
574 struct idr *idr = &group->inotify_data.idr; in inotify_new_watch() local
/linux-4.4.14/lib/
Didr.c145 static inline void free_layer(struct idr *idr, struct idr_layer *p) in free_layer()
358 static void idr_fill_slot(struct idr *idr, void *ptr, int id, in idr_fill_slot()
450 int idr_alloc(struct idr *idr, void *ptr, int start, int end, gfp_t gfp_mask) in idr_alloc()
488 int idr_alloc_cyclic(struct idr *idr, void *ptr, int start, int end, in idr_alloc_cyclic()
/linux-4.4.14/drivers/infiniband/hw/cxgb3/
Diwch.h152 static inline int insert_handle(struct iwch_dev *rhp, struct idr *idr, in insert_handle()
169 static inline void remove_handle(struct iwch_dev *rhp, struct idr *idr, u32 id) in remove_handle()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c108 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id() local
123 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release() local
187 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_alloc_id() local
263 struct idr *idr, int id) in vmw_resource_lookup()
863 struct idr *idr = &dev_priv->res_idr[vmw_res_stream]; in vmw_stream_unref_ioctl() local
/linux-4.4.14/drivers/thermal/
Ddevfreq_cooling.c70 static int get_idr(struct idr *idr, int *id) in get_idr()
89 static void release_idr(struct idr *idr, int id) in release_idr()
Dcpu_cooling.c125 static int get_idr(struct idr *idr, int *id) in get_idr()
144 static void release_idr(struct idr *idr, int id) in release_idr()
Dthermal_core.c209 static int get_idr(struct idr *idr, struct mutex *lock, int *id) in get_idr()
224 static void release_idr(struct idr *idr, struct mutex *lock, int id) in release_idr()
/linux-4.4.14/drivers/infiniband/core/
Duverbs_cmd.c121 static int idr_add_uobj(struct idr *idr, struct ib_uobject *uobj) in idr_add_uobj()
138 void idr_remove_uobj(struct idr *idr, struct ib_uobject *uobj) in idr_remove_uobj()
145 static struct ib_uobject *__idr_get_uobj(struct idr *idr, int id, in __idr_get_uobj()
163 static struct ib_uobject *idr_read_uobj(struct idr *idr, int id, in idr_read_uobj()
184 static struct ib_uobject *idr_write_uobj(struct idr *idr, int id, in idr_write_uobj()
202 static void *idr_read_obj(struct idr *idr, int id, struct ib_ucontext *context, in idr_read_obj()
Dcma.c164 struct idr *idr = cma_pernet_idr(net, ps); in cma_ps_alloc() local
172 struct idr *idr = cma_pernet_idr(net, ps); in cma_ps_find() local
179 struct idr *idr = cma_pernet_idr(net, ps); in cma_ps_remove() local
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h293 static inline int _insert_handle(struct c4iw_dev *rhp, struct idr *idr, in _insert_handle()
314 static inline int insert_handle(struct c4iw_dev *rhp, struct idr *idr, in insert_handle()
320 static inline int insert_handle_nolock(struct c4iw_dev *rhp, struct idr *idr, in insert_handle_nolock()
326 static inline void _remove_handle(struct c4iw_dev *rhp, struct idr *idr, in _remove_handle()
336 static inline void remove_handle(struct c4iw_dev *rhp, struct idr *idr, u32 id) in remove_handle()
342 struct idr *idr, u32 id) in remove_handle_nolock()
/linux-4.4.14/arch/powerpc/platforms/52xx/
Dmpc52xx_pci.c64 u32 idr; /* PCI + 0x00 */ member
/linux-4.4.14/drivers/ata/
Dsata_dwc_460ex.c103 u32 idr; /* ID Register */ member
1185 u32 idr, versionr; in sata_dwc_probe() local
/linux-4.4.14/kernel/
Dcgroup.c301 static int cgroup_idr_alloc(struct idr *idr, void *ptr, int start, int end, in cgroup_idr_alloc()
314 static void *cgroup_idr_replace(struct idr *idr, void *ptr, int id) in cgroup_idr_replace()
324 static void cgroup_idr_remove(struct idr *idr, int id) in cgroup_idr_remove()
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2.h266 struct idr idr; member
/linux-4.4.14/drivers/staging/android/ion/
Dion.c87 struct idr idr; member
/linux-4.4.14/arch/powerpc/kvm/
Dmpic.c149 uint32_t idr; /* IRQ destination register */ member
/linux-4.4.14/drivers/atm/
Dnicstar.h716 struct idr idr; member
/linux-4.4.14/drivers/tty/serial/
Datmel_serial.c589 uint32_t idr = 0; in atmel_disable_ms() local