/linux/lib/ |
A 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()
|
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() 540 void ida_destroy(struct ida *ida) in ida_destroy() 591 static void ida_dump(struct ida *ida) in ida_dump()
|
/linux/fs/ksmbd/mgmt/ |
A 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/include/linux/ |
A D | idr.h | 244 struct ida { struct 253 #define DEFINE_IDA(name) struct ida name = IDA_INIT(name) argument 271 static inline int ida_alloc(struct ida *ida, gfp_t gfp) in ida_alloc() 289 static inline int ida_alloc_min(struct ida *ida, unsigned int min, gfp_t gfp) in ida_alloc_min() 307 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max() 312 static inline void ida_init(struct ida *ida) in ida_init() 321 #define ida_simple_get(ida, start, end, gfp) \ argument 323 #define ida_simple_remove(ida, id) ida_free(ida, id) argument 325 static inline bool ida_is_empty(const struct ida *ida) in ida_is_empty()
|
A D | thermal.h | 172 struct ida ida; member
|
/linux/drivers/dax/ |
A D | dax-private.h | 37 struct ida ida; member 68 struct ida ida; member
|
/linux/drivers/pnp/ |
A D | driver.c | 16 static int compare_func(const char *ida, const char *idb) in compare_func()
|
/linux/arch/powerpc/platforms/powernv/ |
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()
|
A D | vas.h | 321 struct ida ida; member
|
/linux/tools/testing/radix-tree/ |
A D | idr-test.c | 541 struct ida *ida = arg; in ida_leak_fn() local
|
/linux/drivers/thunderbolt/ |
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()
|
A D | switch.c | 789 struct ida *ida; in tb_port_alloc_hopid() local
|
/linux/drivers/net/ipvlan/ |
A D | ipvlan.h | 100 struct ida ida; member
|
/linux/drivers/gpu/drm/ |
A D | drm_connector.c | 79 struct ida ida; member
|
/linux/drivers/media/platform/coda/ |
A D | coda.h | 101 struct ida ida; member
|
/linux/drivers/staging/media/atomisp/pci/ |
A D | atomisp_subdev.h | 328 struct ida ida; member
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_device.h | 270 struct ida ida; member 505 struct ida ida; member
|
/linux/include/linux/mlx5/ |
A D | driver.h | 658 struct ida ida; member
|