/Linux-v4.19/include/linux/ |
D | idr.h | 19 struct idr { struct 20 struct radix_tree_root idr_rt; argument 21 unsigned int idr_base; argument 22 unsigned int idr_next; argument 66 static inline unsigned int idr_get_cursor(const struct idr *idr) in idr_get_cursor() 79 static inline void idr_set_cursor(struct idr *idr, unsigned int val) in idr_set_cursor() 101 #define idr_lock(idr) xa_lock(&(idr)->idr_rt) argument 102 #define idr_unlock(idr) xa_unlock(&(idr)->idr_rt) argument 103 #define idr_lock_bh(idr) xa_lock_bh(&(idr)->idr_rt) argument 104 #define idr_unlock_bh(idr) xa_unlock_bh(&(idr)->idr_rt) argument [all …]
|
D | powercap.h | 79 struct idr idr; member 156 struct idr idr; member
|
D | pid_namespace.h | 26 struct idr idr; member
|
D | fsnotify_backend.h | 183 struct idr idr; member
|
/Linux-v4.19/lib/ |
D | idr.c | 34 int idr_alloc_u32(struct idr *idr, void *ptr, u32 *nextid, in idr_alloc_u32() 82 int idr_alloc(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) in idr_alloc() 120 int idr_alloc_cyclic(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) in idr_alloc_cyclic() 155 void *idr_remove(struct idr *idr, unsigned long id) in idr_remove() 175 void *idr_find(const struct idr *idr, unsigned long id) in idr_find() 198 int idr_for_each(const struct idr *idr, in idr_for_each() 230 void *idr_get_next(struct idr *idr, int *nextid) in idr_get_next() 261 void *idr_get_next_ul(struct idr *idr, unsigned long *nextid) in idr_get_next_ul() 292 void *idr_replace(struct idr *idr, void *ptr, unsigned long id) in idr_replace()
|
/Linux-v4.19/fs/notify/inotify/ |
D | inotify_user.c | 359 static int inotify_add_to_idr(struct idr *idr, spinlock_t *idr_lock, in inotify_add_to_idr() 382 struct idr *idr = &group->inotify_data.idr; in inotify_idr_find_locked() local 420 struct idr *idr = &group->inotify_data.idr; in inotify_remove_from_idr() local 564 struct idr *idr = &group->inotify_data.idr; in inotify_new_watch() local
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_resource.c | 59 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id() local 74 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release() local 138 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_alloc_id() local
|
/Linux-v4.19/tools/testing/radix-tree/ |
D | idr-test.c | 33 void item_idr_remove(struct idr *idr, int id) in item_idr_remove() 188 void idr_u32_test1(struct idr *idr, u32 handle) in idr_u32_test1()
|
/Linux-v4.19/drivers/infiniband/hw/cxgb3/ |
D | iwch.h | 152 static inline int insert_handle(struct iwch_dev *rhp, struct idr *idr, in insert_handle() 168 static inline void remove_handle(struct iwch_dev *rhp, struct idr *idr, u32 id) in remove_handle()
|
/Linux-v4.19/drivers/tee/ |
D | tee_private.h | 65 struct idr idr; member
|
/Linux-v4.19/drivers/reset/ |
D | reset-ti-sci.c | 48 struct idr idr; member
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | tls.c | 129 static int mlx5_fpga_tls_alloc_swid(struct idr *idr, spinlock_t *idr_spinlock, in mlx5_fpga_tls_alloc_swid() 151 static void mlx5_fpga_tls_release_swid(struct idr *idr, in mlx5_fpga_tls_release_swid()
|
/Linux-v4.19/drivers/char/ipmi/ |
D | kcs_bmc.h | 64 u32 idr; member
|
/Linux-v4.19/drivers/scsi/cxlflash/ |
D | ocxl_hw.h | 44 struct idr idr; /* IDR to manage contexts */ member
|
/Linux-v4.19/drivers/tee/optee/ |
D | optee_private.h | 72 struct idr idr; member
|
/Linux-v4.19/drivers/firmware/arm_scmi/ |
D | driver.c | 665 struct idr *idr = data; in scmi_mbox_free_channel() local 681 struct idr *idr = &info->tx_idr; in scmi_remove() local
|
/Linux-v4.19/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 365 static inline int _insert_handle(struct c4iw_dev *rhp, struct idr *idr, in _insert_handle() 385 static inline int insert_handle(struct c4iw_dev *rhp, struct idr *idr, in insert_handle() 391 static inline int insert_handle_nolock(struct c4iw_dev *rhp, struct idr *idr, in insert_handle_nolock() 397 static inline void _remove_handle(struct c4iw_dev *rhp, struct idr *idr, in _remove_handle() 407 static inline void remove_handle(struct c4iw_dev *rhp, struct idr *idr, u32 id) in remove_handle() 413 struct idr *idr, u32 id) in remove_handle_nolock()
|
/Linux-v4.19/net/sched/ |
D | act_api.c | 198 struct idr *idr = &idrinfo->action_idr; in tcf_dump_walker() local 255 struct idr *idr = &idrinfo->action_idr; in tcf_del_walker() local 486 struct idr *idr = &idrinfo->action_idr; in tcf_idrinfo_destroy() local
|
/Linux-v4.19/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pci.c | 64 u32 idr; /* PCI + 0x00 */ member
|
/Linux-v4.19/drivers/ata/ |
D | sata_dwc_460ex.c | 96 u32 idr; /* ID Register */ member 1205 u32 idr, versionr; in sata_dwc_probe() local
|
/Linux-v4.19/drivers/infiniband/core/ |
D | uverbs.h | 164 struct idr idr; member
|
D | cma.c | 250 struct idr *idr = cma_pernet_idr(net, ps); in cma_ps_alloc() local 258 struct idr *idr = cma_pernet_idr(net, ps); in cma_ps_find() local 266 struct idr *idr = cma_pernet_idr(net, ps); in cma_ps_remove() local
|
/Linux-v4.19/drivers/staging/unisys/visorhba/ |
D | visorhba_main.c | 89 struct idr idr; member
|
/Linux-v4.19/drivers/media/platform/qcom/venus/ |
D | hfi_cmds.c | 761 struct hfi_idr_period *in = pdata, *idr = prop_data; in pkt_session_set_property_1x() local
|
/Linux-v4.19/kernel/cgroup/ |
D | cgroup.c | 300 static int cgroup_idr_alloc(struct idr *idr, void *ptr, int start, int end, in cgroup_idr_alloc() 313 static void *cgroup_idr_replace(struct idr *idr, void *ptr, int id) in cgroup_idr_replace() 323 static void cgroup_idr_remove(struct idr *idr, int id) in cgroup_idr_remove()
|