/linux/lib/ |
H A D | test_ida.c | 16 static 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()
|
H A 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/fs/smb/server/mgmt/ |
H A D | ksmbd_ida.c | 9 int ksmbd_acquire_smb2_tid(struct ida *ida) in ksmbd_acquire_smb2_tid() 14 int ksmbd_acquire_smb2_uid(struct ida *ida) in ksmbd_acquire_smb2_uid() 25 int ksmbd_acquire_async_msg_id(struct ida *ida) in ksmbd_acquire_async_msg_id() 30 int ksmbd_acquire_id(struct ida *ida) in ksmbd_acquire_id() 35 void ksmbd_release_id(struct ida *ida, int id) in ksmbd_release_id()
|
/linux/include/linux/ |
H A 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()
|
H A D | intel_vsec.h | 118 struct ida *ida; member
|
/linux/drivers/dax/ |
H A D | dax-private.h | 37 struct ida ida; member 88 struct ida ida; member
|
/linux/arch/powerpc/platforms/powernv/ |
H A 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()
|
H A D | vas.h | 321 struct ida ida; member
|
/linux/drivers/pnp/ |
H A D | driver.c | 16 static int compare_func(const char *ida, const char *idb) in compare_func()
|
/linux/tools/testing/radix-tree/ |
H A D | idr-test.c | 542 struct ida *ida = arg; in ida_leak_fn() local
|
/linux/drivers/thermal/testing/ |
H A D | zone.c | 46 struct ida ida; member
|
/linux/drivers/thunderbolt/ |
H A 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()
|
H A D | switch.c | 761 struct ida *ida; in tb_port_alloc_hopid() local
|
/linux/drivers/net/ipvlan/ |
H A D | ipvlan.h | 100 struct ida ida; member
|
/linux/drivers/thermal/ |
H A D | thermal_core.h | 142 struct ida ida; member
|
/linux/drivers/hwmon/ |
H A D | coretemp.c | 95 struct ida ida; member
|
/linux/drivers/gpu/drm/ |
H A D | drm_connector.c | 85 struct ida ida; member
|
/linux/drivers/media/platform/chips-media/coda/ |
H A D | coda.h | 101 struct ida ida; member
|
/linux/include/linux/mlx5/ |
H A D | driver.h | 676 struct ida ida; member
|