Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/include/linux/
H A Didr.h19 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 Dpowercap.h66 struct idr idr; member
143 struct idr idr; member
H A Dpid_namespace.h22 struct idr idr; member
/OK3568_Linux_fs/kernel/lib/
H A Didr.c33 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()
/OK3568_Linux_fs/kernel/fs/notify/inotify/
H A Dinotify_user.c359 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
563 struct idr *idr = &group->inotify_data.idr; in inotify_new_watch() local
/OK3568_Linux_fs/kernel/tools/testing/radix-tree/
H A Didr-test.c25 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_resource.c102 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release_id() local
117 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_release() local
184 struct idr *idr = &dev_priv->res_idr[res->func->res_type]; in vmw_resource_alloc_id() local
/OK3568_Linux_fs/u-boot/arch/arm/mach-at91/include/mach/
H A Dat91_st.h18 u32 idr; member
H A Dat91_dbu.h20 u32 idr; /* Interrupt Disable Register WO */ member
H A Dat91_tc.h20 u32 idr; /* 0x28 Interrupt Disable Register */ member
H A Datmel_pio4.h23 u32 idr; /* 0x24 PIO Interrupt Disable Register */ member
H A Dat91sam9_sdramc.h35 u32 idr; member
H A Dat91_mc.h38 u32 idr; /* 0x18 SDRAMC Interrupt Disable Register */ member
H A Dat91_spi.h25 u32 idr; /* 0x18 Interrupt Disable Register */ member
/OK3568_Linux_fs/kernel/drivers/tee/
H A Dtee_private.h57 struct idr idr; member
/OK3568_Linux_fs/kernel/drivers/reset/
H A Dreset-ti-sci.c48 struct idr idr; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dtls.c129 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()
/OK3568_Linux_fs/u-boot/drivers/gpio/
H A Dstm32_gpio.c33 u32 idr; /* GPIO port input data */ member
/OK3568_Linux_fs/kernel/drivers/char/ipmi/
H A Dkcs_bmc.h64 u32 idr; member
/OK3568_Linux_fs/kernel/drivers/firmware/arm_scmi/
H A Ddriver.c1085 struct idr *idr; in scmi_chan_setup() local
1405 struct idr *idr = &info->tx_idr; in scmi_cleanup_txrx_channels() local
1518 void scmi_free_channel(struct scmi_chan_info *cinfo, struct idr *idr, int id) in scmi_free_channel()
/OK3568_Linux_fs/kernel/drivers/scsi/cxlflash/
H A Docxl_hw.h39 struct idr idr; /* IDR to manage contexts */ member
/OK3568_Linux_fs/kernel/drivers/crypto/ccree/
H A Dcc_driver.c109 } idr; in cc_read_idr() local
/OK3568_Linux_fs/kernel/drivers/tee/optee/
H A Doptee_private.h65 struct idr idr; member
/OK3568_Linux_fs/u-boot/drivers/i2c/
H A Dat91_i2c.h39 u32 idr; member
/OK3568_Linux_fs/kernel/net/sched/
H A Dact_api.c236 struct idr *idr = &idrinfo->action_idr; in tcf_dump_walker() local
311 struct idr *idr = &idrinfo->action_idr; in tcf_del_walker() local
562 struct idr *idr = &idrinfo->action_idr; in tcf_idrinfo_destroy() local

123