/linux/include/linux/ |
H 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 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 …]
|
H A D | powercap.h | 66 struct idr idr; member 143 struct idr idr; member
|
H A D | pid_namespace.h | 27 struct idr idr; member
|
H A D | tee_core.h | 61 struct idr idr; member
|
/linux/lib/ |
H 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()
|
H A D | radix-tree.c | 1559 void idr_destroy(struct idr *idr) in idr_destroy()
|
/linux/fs/notify/inotify/ |
H A D | inotify_user.c | 394 static int inotify_add_to_idr(struct idr *idr, spinlock_t *idr_lock, in inotify_add_to_idr() 417 struct idr *idr = &group->inotify_data.idr; in inotify_idr_find_locked() local 455 struct idr *idr = &group->inotify_data.idr; in inotify_remove_from_idr() local 596 struct idr *idr = &group->inotify_data.idr; in inotify_new_watch() local
|
/linux/tools/testing/radix-tree/ |
H 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/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/kernel/inc/vgpu/ |
H A D | sdk-structures.h | 31 NvU32 idr:2; member
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_resource.c | 105 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id() local 121 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release() local 189 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_alloc_id() local
|
H A D | ttm_object.c | 97 struct idr idr; member
|
/linux/drivers/char/ipmi/ |
H A D | kcs_bmc.h | 24 u32 idr; member
|
/linux/drivers/reset/ |
H A D | reset-ti-sci.c | 40 struct idr idr; member
|
/linux/drivers/scsi/cxlflash/ |
H A D | ocxl_hw.h | 39 struct idr idr; /* IDR to manage contexts */ member
|
/linux/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_pci.c | 65 u32 idr; /* PCI + 0x00 */ member
|
/linux/fs/smb/server/ |
H A D | vfs_cache.h | 126 struct idr *idr; member
|
/linux/drivers/firmware/arm_scmi/ |
H A D | driver.c | 2621 struct idr *idr; in scmi_chan_setup() local 2760 static int scmi_chan_destroy(int id, void *p, void *idr) in scmi_chan_destroy() 2778 static void scmi_cleanup_channels(struct scmi_info *info, struct idr *idr) in scmi_cleanup_channels()
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-tmc.h | 213 struct idr idr; member
|
/linux/drivers/tee/optee/ |
H A D | optee_private.h | 118 struct idr idr; member
|
/linux/sound/soc/atmel/ |
H A D | mchp-spdiftx.c | 245 u32 sr, imr, pending, idr = 0; in mchp_spdiftx_interrupt() local
|
/linux/drivers/media/platform/qcom/venus/ |
H A D | hfi_cmds.c | 764 struct hfi_idr_period *in = pdata, *idr = prop_data; in pkt_session_set_property_1x() local
|
/linux/sound/soc/stm/ |
H A D | stm32_spdifrx.c | 958 u32 ver, idr; in stm32_spdifrx_probe() local
|
/linux/drivers/gpu/drm/v3d/ |
H A D | v3d_drv.h | 207 struct idr idr; member
|
/linux/kernel/cgroup/ |
H A D | cgroup.c | 325 static int cgroup_idr_alloc(struct idr *idr, void *ptr, int start, int end, in cgroup_idr_alloc() 338 static void *cgroup_idr_replace(struct idr *idr, void *ptr, int id) in cgroup_idr_replace() 348 static void cgroup_idr_remove(struct idr *idr, int id) in cgroup_idr_remove()
|
/linux/drivers/counter/ |
H A D | 104-quad-8.c | 64 u8 idr[QUAD8_NUM_COUNTERS]; member
|