Searched refs:ida_alloc_min (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/lib/ ! |
D | test_ida.c | 50 IDA_BUG_ON(ida, ida_alloc_min(ida, 5000, GFP_KERNEL) != 10001); in ida_check_alloc() 59 IDA_BUG_ON(ida, ida_alloc_min(ida, base, GFP_KERNEL) != base); in ida_check_destroy_1() 89 IDA_BUG_ON(ida, ida_alloc_min(ida, base, GFP_KERNEL) != in ida_check_leaf() 114 IDA_BUG_ON(ida, ida_alloc_min(ida, base, GFP_KERNEL) != in ida_check_max() 117 IDA_BUG_ON(ida, ida_alloc_min(ida, base, GFP_KERNEL) != in ida_check_max() 132 IDA_BUG_ON(ida, ida_alloc_min(ida, i + 1, GFP_KERNEL) != i + 1); in ida_check_conv() 133 IDA_BUG_ON(ida, ida_alloc_min(ida, i + BITS_PER_LONG, in ida_check_conv() 167 IDA_BUG_ON(ida, ida_alloc_min(ida, 3, GFP_KERNEL) != 3); in ida_check_bad_free() 173 IDA_BUG_ON(ida, ida_alloc_min(ida, 1023, GFP_KERNEL) != 1023); in ida_check_bad_free() 179 IDA_BUG_ON(ida, ida_alloc_min(ida, (1 << 20) - 1, GFP_KERNEL) != (1 << 20) - 1); in ida_check_bad_free()
|
/linux-6.6.21/tools/testing/radix-tree/ ! |
D | idr-test.c | 444 id = ida_alloc_min(&ida, 256, GFP_NOWAIT); in ida_check_nomem() 446 id = ida_alloc_min(&ida, 1UL << 30, GFP_NOWAIT); in ida_check_nomem() 492 IDA_BUG_ON(&ida, ida_alloc_min(&ida, bit, GFP_KERNEL) in ida_check_random()
|
/linux-6.6.21/include/linux/ ! |
D | idr.h | 291 static inline int ida_alloc_min(struct ida *ida, unsigned int min, gfp_t gfp) in ida_alloc_min() function
|
/linux-6.6.21/drivers/firmware/arm_ffa/ ! |
D | bus.c | 181 id = ida_alloc_min(&ffa_bus_id, 1, GFP_KERNEL); in ffa_device_register()
|
/linux-6.6.21/drivers/firmware/arm_scmi/ ! |
D | bus.c | 368 id = ida_alloc_min(&scmi_bus_id, 1, GFP_KERNEL); in __scmi_device_create()
|
D | driver.c | 2672 info->id = ida_alloc_min(&scmi_id, 0, GFP_KERNEL); in scmi_probe()
|
/linux-6.6.21/drivers/media/mc/ ! |
D | mc-device.c | 629 ret = ida_alloc_min(&mdev->entity_internal_idx, 1, GFP_KERNEL); in media_device_register_entity()
|
/linux-6.6.21/net/core/ ! |
D | net_namespace.c | 1227 error = ida_alloc_min(&net_generic_ids, MIN_PERNET_OPS_ID, in register_pernet_operations()
|
/linux-6.6.21/drivers/char/ ! |
D | virtio_console.c | 1240 ret = ida_alloc_min(&vtermno_ida, 1, GFP_KERNEL); in init_port_console()
|
/linux-6.6.21/drivers/gpu/drm/ ! |
D | drm_connector.c | 259 ida_alloc_min(connector_ida, 1, GFP_KERNEL); in __drm_connector_init()
|
/linux-6.6.21/drivers/media/platform/qcom/venus/ ! |
D | helpers.c | 213 id = ida_alloc_min(&inst->dpb_ids, VB2_MAX_FRAME, GFP_KERNEL); in venus_helper_alloc_dpb_bufs()
|
/linux-6.6.21/fs/ ! |
D | namespace.c | 147 int res = ida_alloc_min(&mnt_group_ida, 1, GFP_KERNEL); in mnt_alloc_group_id()
|
/linux-6.6.21/drivers/nvme/host/ ! |
D | core.c | 3396 ret = ida_alloc_min(&ctrl->subsys->ns_ida, 1, GFP_KERNEL); in nvme_alloc_ns_head()
|