Home
last modified time | relevance | path

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

/linux-4.1.27/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.h173 struct idr idr; member
Dthermal.h199 struct idr idr; member
/linux-4.1.27/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.1.27/drivers/thermal/
Dcpu_cooling.c90 static int get_idr(struct idr *idr, int *id) in get_idr()
109 static void release_idr(struct idr *idr, int id) in release_idr()
Dthermal_core.c150 static int get_idr(struct idr *idr, struct mutex *lock, int *id) in get_idr()
165 static void release_idr(struct idr *idr, struct mutex *lock, int id) in release_idr()
/linux-4.1.27/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.1.27/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.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c107 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id() local
122 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release() local
188 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_alloc_id() local
264 struct idr *idr, int id) in vmw_resource_lookup()
865 struct idr *idr = &dev_priv->res_idr[vmw_res_stream]; in vmw_stream_unref_ioctl() local
/linux-4.1.27/drivers/infiniband/core/
Duverbs_cmd.c119 static int idr_add_uobj(struct idr *idr, struct ib_uobject *uobj) in idr_add_uobj()
136 void idr_remove_uobj(struct idr *idr, struct ib_uobject *uobj) in idr_remove_uobj()
143 static struct ib_uobject *__idr_get_uobj(struct idr *idr, int id, in __idr_get_uobj()
161 static struct ib_uobject *idr_read_uobj(struct idr *idr, int id, in idr_read_uobj()
182 static struct ib_uobject *idr_write_uobj(struct idr *idr, int id, in idr_write_uobj()
200 static void *idr_read_obj(struct idr *idr, int id, struct ib_ucontext *context, in idr_read_obj()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h295 static inline int _insert_handle(struct c4iw_dev *rhp, struct idr *idr, in _insert_handle()
316 static inline int insert_handle(struct c4iw_dev *rhp, struct idr *idr, in insert_handle()
322 static inline int insert_handle_nolock(struct c4iw_dev *rhp, struct idr *idr, in insert_handle_nolock()
328 static inline void _remove_handle(struct c4iw_dev *rhp, struct idr *idr, in _remove_handle()
338 static inline void remove_handle(struct c4iw_dev *rhp, struct idr *idr, u32 id) in remove_handle()
344 struct idr *idr, u32 id) in remove_handle_nolock()
/linux-4.1.27/arch/powerpc/platforms/52xx/
Dmpc52xx_pci.c64 u32 idr; /* PCI + 0x00 */ member
/linux-4.1.27/drivers/ata/
Dsata_dwc_460ex.c103 u32 idr; /* ID Register */ member
1185 u32 idr, versionr; in sata_dwc_probe() local
/linux-4.1.27/kernel/
Dcgroup.c199 static int cgroup_idr_alloc(struct idr *idr, void *ptr, int start, int end, in cgroup_idr_alloc()
212 static void *cgroup_idr_replace(struct idr *idr, void *ptr, int id) in cgroup_idr_replace()
222 static void cgroup_idr_remove(struct idr *idr, int id) in cgroup_idr_remove()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
Dc2.h266 struct idr idr; member
/linux-4.1.27/drivers/staging/android/ion/
Dion.c87 struct idr idr; member
/linux-4.1.27/arch/powerpc/kvm/
Dmpic.c149 uint32_t idr; /* IRQ destination register */ member
/linux-4.1.27/drivers/atm/
Dnicstar.h716 struct idr idr; member
/linux-4.1.27/drivers/tty/serial/
Datmel_serial.c549 uint32_t idr = 0; in atmel_disable_ms() local