Searched refs:ida_alloc_min (Results 1 – 8 of 8) sorted by relevance
/linux/lib/ |
A 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()
|
/linux/tools/testing/radix-tree/ |
A 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/include/linux/ |
A D | idr.h | 289 static inline int ida_alloc_min(struct ida *ida, unsigned int min, gfp_t gfp) in ida_alloc_min() function
|
/linux/drivers/media/mc/ |
A D | mc-device.c | 636 ret = ida_alloc_min(&mdev->entity_internal_idx, 1, GFP_KERNEL); in media_device_register_entity()
|
/linux/net/core/ |
A D | net_namespace.c | 1207 error = ida_alloc_min(&net_generic_ids, MIN_PERNET_OPS_ID, in register_pernet_operations()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
A D | ipsec.c | 710 err = ida_alloc_min(&fipsec->halloc, 1, GFP_KERNEL); in mlx5_fpga_ipsec_create_sa_ctx()
|
/linux/drivers/media/platform/qcom/venus/ |
A D | helpers.c | 198 id = ida_alloc_min(&inst->dpb_ids, VB2_MAX_FRAME, GFP_KERNEL); in venus_helper_alloc_dpb_bufs()
|
/linux/fs/ |
A D | namespace.c | 145 int res = ida_alloc_min(&mnt_group_ida, 1, GFP_KERNEL); in mnt_alloc_group_id()
|
Completed in 31 milliseconds