/linux-4.4.14/include/linux/ |
D | idr.h | 42 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
|
D | powercap.h | 79 struct idr idr; member 156 struct idr idr; member
|
D | fsnotify_backend.h | 171 struct idr idr; member
|
D | thermal.h | 209 struct idr idr; member
|
/linux-4.4.14/fs/notify/inotify/ |
D | inotify_user.c | 346 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/ |
D | idr.c | 145 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/ |
D | iwch.h | 152 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/ |
D | vmwgfx_resource.c | 108 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/ |
D | devfreq_cooling.c | 70 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()
|
D | cpu_cooling.c | 125 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()
|
D | thermal_core.c | 209 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/ |
D | uverbs_cmd.c | 121 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()
|
D | cma.c | 164 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/ |
D | iw_cxgb4.h | 293 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/ |
D | mpc52xx_pci.c | 64 u32 idr; /* PCI + 0x00 */ member
|
/linux-4.4.14/drivers/ata/ |
D | sata_dwc_460ex.c | 103 u32 idr; /* ID Register */ member 1185 u32 idr, versionr; in sata_dwc_probe() local
|
/linux-4.4.14/kernel/ |
D | cgroup.c | 301 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/ |
D | c2.h | 266 struct idr idr; member
|
/linux-4.4.14/drivers/staging/android/ion/ |
D | ion.c | 87 struct idr idr; member
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | mpic.c | 149 uint32_t idr; /* IRQ destination register */ member
|
/linux-4.4.14/drivers/atm/ |
D | nicstar.h | 716 struct idr idr; member
|
/linux-4.4.14/drivers/tty/serial/ |
D | atmel_serial.c | 589 uint32_t idr = 0; in atmel_disable_ms() local
|