/linux-6.6.21/lib/ |
D | test_ida.c | 16 void ida_dump(struct ida *ida) { } in ida_dump() 18 #define IDA_BUG_ON(ida, x) do { \ argument 31 static void ida_check_alloc(struct ida *ida) in ida_check_alloc() 57 static void ida_check_destroy_1(struct ida *ida, unsigned int base) in ida_check_destroy_1() 66 static void ida_check_destroy(struct ida *ida) in ida_check_destroy() 84 static void ida_check_leaf(struct ida *ida, unsigned int base) in ida_check_leaf() 107 static void ida_check_max(struct ida *ida) in ida_check_max() 127 static void ida_check_conv(struct ida *ida) in ida_check_conv() 156 static void ida_check_bad_free(struct ida *ida) in ida_check_bad_free()
|
D | idr.c | 380 int ida_alloc_range(struct ida *ida, unsigned int min, unsigned int max, in ida_alloc_range() 487 void ida_free(struct ida *ida, unsigned int id) in ida_free() 541 void ida_destroy(struct ida *ida) in ida_destroy() 592 static void ida_dump(struct ida *ida) in ida_dump()
|
/linux-6.6.21/fs/smb/server/mgmt/ |
D | ksmbd_ida.c | 8 static inline int __acquire_id(struct ida *ida, int from, int to) in __acquire_id() 13 int ksmbd_acquire_smb2_tid(struct ida *ida) in ksmbd_acquire_smb2_tid() 22 int ksmbd_acquire_smb2_uid(struct ida *ida) in ksmbd_acquire_smb2_uid() 33 int ksmbd_acquire_async_msg_id(struct ida *ida) in ksmbd_acquire_async_msg_id() 38 int ksmbd_acquire_id(struct ida *ida) in ksmbd_acquire_id() 43 void ksmbd_release_id(struct ida *ida, int id) in ksmbd_release_id()
|
/linux-6.6.21/include/linux/ |
D | idr.h | 246 struct ida { struct 255 #define DEFINE_IDA(name) struct ida name = IDA_INIT(name) argument 273 static inline int ida_alloc(struct ida *ida, gfp_t gfp) in ida_alloc() 291 static inline int ida_alloc_min(struct ida *ida, unsigned int min, gfp_t gfp) in ida_alloc_min() 309 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max() 314 static inline void ida_init(struct ida *ida) in ida_init() 323 #define ida_simple_get(ida, start, end, gfp) \ argument 325 #define ida_simple_remove(ida, id) ida_free(ida, id) argument 327 static inline bool ida_is_empty(const struct ida *ida) in ida_is_empty()
|
D | thermal.h | 182 struct ida ida; member
|
/linux-6.6.21/drivers/dax/ |
D | dax-private.h | 37 struct ida ida; member 70 struct ida ida; member
|
/linux-6.6.21/drivers/platform/x86/intel/ |
D | vsec.h | 45 struct ida *ida; member
|
/linux-6.6.21/drivers/pnp/ |
D | driver.c | 16 static int compare_func(const char *ida, const char *idb) in compare_func()
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | vas-window.c | 506 static void vas_release_window_id(struct ida *ida, int winid) in vas_release_window_id() 511 static int vas_assign_window_id(struct ida *ida) in vas_assign_window_id()
|
D | vas.h | 321 struct ida ida; member
|
/linux-6.6.21/tools/testing/radix-tree/ |
D | idr-test.c | 541 struct ida *ida = arg; in ida_leak_fn() local
|
/linux-6.6.21/drivers/net/ipvlan/ |
D | ipvlan.h | 100 struct ida ida; member
|
/linux-6.6.21/drivers/thunderbolt/ |
D | test.c | 17 struct ida *ida = context; in __ida_init() local 26 struct ida *ida = res->data; in __ida_destroy() local 31 static void kunit_ida_init(struct kunit *test, struct ida *ida) in kunit_ida_init()
|
D | switch.c | 753 struct ida *ida; in tb_port_alloc_hopid() local
|
/linux-6.6.21/drivers/hwmon/ |
D | coretemp.c | 92 struct ida ida; member
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_connector.c | 85 struct ida ida; member
|
/linux-6.6.21/drivers/media/platform/chips-media/ |
D | coda.h | 101 struct ida ida; member
|
/linux-6.6.21/drivers/infiniband/hw/hns/ |
D | hns_roce_device.h | 232 struct ida ida; member 463 struct ida ida; member
|
/linux-6.6.21/include/linux/mlx5/ |
D | driver.h | 694 struct ida ida; member
|