Home
last modified time | relevance | path

Searched refs:ida_alloc (Results 1 – 25 of 96) sorted by relevance

1234

/Linux-v6.6/lib/
Dtest_ida.c36 IDA_BUG_ON(ida, ida_alloc(ida, GFP_KERNEL) != i); in ida_check_alloc()
41 id = ida_alloc(ida, GFP_KERNEL); in ida_check_alloc()
96 IDA_BUG_ON(ida, ida_alloc(ida, GFP_KERNEL) != 0); in ida_check_leaf()
141 IDA_BUG_ON(ida, ida_alloc(ida, GFP_KERNEL) != i); in ida_check_conv()
147 IDA_BUG_ON(ida, ida_alloc(ida, GFP_KERNEL) != i); in ida_check_conv()
Dmemregion.c11 return ida_alloc(&memregion_ids, gfp); in memregion_alloc()
/Linux-v6.6/drivers/misc/mchp_pci1xxxx/
Dmchp_pci1xxxx_gp.c50 retval = ida_alloc(&gp_client_ida, GFP_KERNEL); in gp_aux_bus_probe()
75 retval = ida_alloc(&gp_client_ida, GFP_KERNEL); in gp_aux_bus_probe()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dcore_linecard_dev.c31 return ida_alloc(&mlxsw_linecard_bdev_ida, GFP_KERNEL); in mlxsw_linecard_bdev_id_alloc()
/Linux-v6.6/drivers/counter/
Dcounter-core.c102 err = ida_alloc(&counter_ida, GFP_KERNEL); in counter_alloc()
/Linux-v6.6/drivers/misc/cardreader/
Dalcor_pci.c115 ret = ida_alloc(&alcor_pci_idr, GFP_KERNEL); in alcor_pci_probe()
/Linux-v6.6/include/linux/
Didr.h271 static inline int ida_alloc(struct ida *ida, gfp_t gfp) in ida_alloc() function
/Linux-v6.6/drivers/fpga/
Dfpga-region.c206 id = ida_alloc(&fpga_region_ida, GFP_KERNEL); in fpga_region_register_full()
Dfpga-bridge.c349 id = ida_alloc(&fpga_bridge_ida, GFP_KERNEL); in fpga_bridge_register()
/Linux-v6.6/drivers/gpio/
Dgpio-exar.c195 index = ida_alloc(&ida_index, GFP_KERNEL); in gpio_exar_probe()
/Linux-v6.6/drivers/gpu/drm/virtio/
Dvirtgpu_object.c49 int handle = ida_alloc(&vgdev->resource_ida, GFP_KERNEL); in virtio_gpu_resource_id_get()
Dvirtgpu_kms.c325 handle = ida_alloc(&vgdev->ctx_id_ida, GFP_KERNEL); in virtio_gpu_driver_open()
/Linux-v6.6/net/xdp/
Dxdp_umem.c244 err = ida_alloc(&umem_ida, GFP_KERNEL); in xdp_umem_create()
/Linux-v6.6/drivers/cxl/core/
Dpmem.c95 rc = ida_alloc(&cxl_nvdimm_bridge_ida, GFP_KERNEL); in cxl_nvdimm_bridge_alloc()
/Linux-v6.6/net/core/
Dsock_reuseport.c226 id = ida_alloc(&reuseport_ida, GFP_ATOMIC); in reuseport_alloc()
394 id = ida_alloc(&reuseport_ida, GFP_ATOMIC); in reuseport_resurrect()
/Linux-v6.6/mm/
Dshrinker_debug.c186 id = ida_alloc(&shrinker_debugfs_ida, GFP_KERNEL); in shrinker_debugfs_add()
/Linux-v6.6/tools/testing/radix-tree/
Didr-test.c460 int id = ida_alloc(&ida, GFP_NOWAIT); in ida_check_conv_user()
465 id = ida_alloc(&ida, GFP_KERNEL); in ida_check_conv_user()
/Linux-v6.6/drivers/misc/cb710/
Dcore.c241 err = ida_alloc(&cb710_ida, GFP_KERNEL); in cb710_probe()
/Linux-v6.6/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-common.c231 ret = ida_alloc(&intel_uncore_ida, GFP_KERNEL); in uncore_freq_add_entry()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/
Dintf.c77 priv->adev_idx = ida_alloc(&mlx4_adev_ida, GFP_KERNEL); in mlx4_adev_init()
/Linux-v6.6/drivers/thermal/
Dthermal_core.c681 result = ida_alloc(&tz->ida, GFP_KERNEL); in thermal_zone_bind_cooling_device()
869 ret = ida_alloc(&thermal_cdev_ida, GFP_KERNEL); in __thermal_cooling_device_register()
1292 id = ida_alloc(&thermal_tz_ida, GFP_KERNEL); in thermal_zone_device_register_with_trips()
/Linux-v6.6/drivers/rtc/
Dclass.c265 id = ida_alloc(&rtc_ida, GFP_KERNEL); in rtc_device_get_id()
/Linux-v6.6/drivers/mcb/
Dmcb-core.c278 bus_nr = ida_alloc(&mcb_ida, GFP_KERNEL); in mcb_alloc_bus()
/Linux-v6.6/drivers/platform/x86/intel/
Dvsec.c139 ret = ida_alloc(intel_vsec_dev->ida, GFP_KERNEL); in intel_vsec_add_aux()
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c367 aux_priv->id = ida_alloc(&bnxt_aux_dev_ids, GFP_KERNEL); in bnxt_rdma_aux_device_init()

1234