Home
last modified time | relevance | path

Searched refs:ida_alloc_min (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/lib/ !
Dtest_ida.c50 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/ !
Didr-test.c444 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/ !
Didr.h291 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/ !
Dbus.c181 id = ida_alloc_min(&ffa_bus_id, 1, GFP_KERNEL); in ffa_device_register()
/linux-6.6.21/drivers/firmware/arm_scmi/ !
Dbus.c368 id = ida_alloc_min(&scmi_bus_id, 1, GFP_KERNEL); in __scmi_device_create()
Ddriver.c2672 info->id = ida_alloc_min(&scmi_id, 0, GFP_KERNEL); in scmi_probe()
/linux-6.6.21/drivers/media/mc/ !
Dmc-device.c629 ret = ida_alloc_min(&mdev->entity_internal_idx, 1, GFP_KERNEL); in media_device_register_entity()
/linux-6.6.21/net/core/ !
Dnet_namespace.c1227 error = ida_alloc_min(&net_generic_ids, MIN_PERNET_OPS_ID, in register_pernet_operations()
/linux-6.6.21/drivers/char/ !
Dvirtio_console.c1240 ret = ida_alloc_min(&vtermno_ida, 1, GFP_KERNEL); in init_port_console()
/linux-6.6.21/drivers/gpu/drm/ !
Ddrm_connector.c259 ida_alloc_min(connector_ida, 1, GFP_KERNEL); in __drm_connector_init()
/linux-6.6.21/drivers/media/platform/qcom/venus/ !
Dhelpers.c213 id = ida_alloc_min(&inst->dpb_ids, VB2_MAX_FRAME, GFP_KERNEL); in venus_helper_alloc_dpb_bufs()
/linux-6.6.21/fs/ !
Dnamespace.c147 int res = ida_alloc_min(&mnt_group_ida, 1, GFP_KERNEL); in mnt_alloc_group_id()
/linux-6.6.21/drivers/nvme/host/ !
Dcore.c3396 ret = ida_alloc_min(&ctrl->subsys->ns_ida, 1, GFP_KERNEL); in nvme_alloc_ns_head()