/linux/include/linux/ |
A 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 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 107 #define idr_lock_irqsave(idr, flags) \ argument 109 #define idr_unlock_irqrestore(idr, flags) \ argument 149 static inline void idr_init(struct idr *idr) in idr_init() [all …]
|
A D | powercap.h | 66 struct idr idr; member 143 struct idr idr; member
|
A D | pid_namespace.h | 20 struct idr idr; member
|
/linux/lib/ |
A D | idr.c | 33 int idr_alloc_u32(struct idr *idr, void *ptr, u32 *nextid, in idr_alloc_u32() 79 int idr_alloc(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) in idr_alloc() 117 int idr_alloc_cyclic(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) in idr_alloc_cyclic() 152 void *idr_remove(struct idr *idr, unsigned long id) in idr_remove() 172 void *idr_find(const struct idr *idr, unsigned long id) in idr_find() 195 int idr_for_each(const struct idr *idr, in idr_for_each() 227 void *idr_get_next_ul(struct idr *idr, unsigned long *nextid) in idr_get_next_ul() 264 void *idr_get_next(struct idr *idr, int *nextid) in idr_get_next() 290 void *idr_replace(struct idr *idr, void *ptr, unsigned long id) in idr_replace()
|
/linux/fs/notify/inotify/ |
A D | inotify_user.c | 372 static int inotify_add_to_idr(struct idr *idr, spinlock_t *idr_lock, in inotify_add_to_idr() 395 struct idr *idr = &group->inotify_data.idr; in inotify_idr_find_locked() local 433 struct idr *idr = &group->inotify_data.idr; in inotify_remove_from_idr() local 576 struct idr *idr = &group->inotify_data.idr; in inotify_new_watch() local
|
/linux/tools/testing/radix-tree/ |
A D | idr-test.c | 25 void item_idr_remove(struct idr *idr, int id) in item_idr_remove() 180 void idr_u32_test1(struct idr *idr, u32 handle) in idr_u32_test1() 222 static void idr_align_test(struct idr *idr) in idr_align_test()
|
/linux/drivers/char/ipmi/ |
A D | kcs_bmc.h | 24 u32 idr; member
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_resource.c | 102 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id() local 118 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release() local 186 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_alloc_id() local
|
A D | ttm_object.c | 100 struct idr idr; member
|
/linux/drivers/tee/ |
A D | tee_private.h | 57 struct idr idr; member
|
/linux/drivers/reset/ |
A D | reset-ti-sci.c | 48 struct idr idr; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
A 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/drivers/scsi/cxlflash/ |
A D | ocxl_hw.h | 39 struct idr idr; /* IDR to manage contexts */ member
|
/linux/drivers/firmware/arm_scmi/ |
A D | driver.c | 1474 struct idr *idr; in scmi_chan_setup() local 1793 struct idr *idr = &info->tx_idr; in scmi_cleanup_txrx_channels() local 1911 void scmi_free_channel(struct scmi_chan_info *cinfo, struct idr *idr, int id) in scmi_free_channel()
|
/linux/drivers/crypto/ccree/ |
A D | cc_driver.c | 161 } idr; in cc_read_idr() local
|
/linux/net/sched/ |
A D | act_api.c | 282 struct idr *idr = &idrinfo->action_idr; in tcf_dump_walker() local 358 struct idr *idr = &idrinfo->action_idr; in tcf_del_walker() local 606 struct idr *idr = &idrinfo->action_idr; in tcf_idrinfo_destroy() local
|
/linux/arch/powerpc/platforms/52xx/ |
A D | mpc52xx_pci.c | 64 u32 idr; /* PCI + 0x00 */ member
|
/linux/fs/ksmbd/ |
A D | vfs_cache.h | 124 struct idr *idr; member
|
/linux/drivers/tee/optee/ |
A D | optee_private.h | 74 struct idr idr; member
|
/linux/drivers/ata/ |
A D | sata_dwc_460ex.c | 92 u32 idr; /* ID Register */ member 1211 u32 idr, versionr; in sata_dwc_probe() local
|
/linux/drivers/infiniband/core/ |
A D | uverbs.h | 162 struct xarray idr; member
|
/linux/drivers/hwtracing/coresight/ |
A D | coresight-tmc.h | 210 struct idr idr; member
|
/linux/sound/soc/atmel/ |
A D | mchp-spdiftx.c | 247 u32 sr, imr, pending, idr = 0; in mchp_spdiftx_interrupt() local
|
/linux/drivers/gpu/drm/v3d/ |
A D | v3d_drv.h | 165 struct idr idr; member
|
/linux/drivers/media/platform/qcom/venus/ |
A D | hfi_cmds.c | 754 struct hfi_idr_period *in = pdata, *idr = prop_data; in pkt_session_set_property_1x() local
|