Home
last modified time | relevance | path

Searched refs:ida_free (Results 1 – 25 of 259) sorted by relevance

1234567891011

/linux-6.12.1/lib/
Dtest_ida.c38 ida_free(ida, 20); in ida_check_alloc()
39 ida_free(ida, 21); in ida_check_alloc()
48 ida_free(ida, i); in ida_check_alloc()
98 ida_free(ida, 0); in ida_check_leaf()
135 ida_free(ida, i + 1); in ida_check_conv()
136 ida_free(ida, i + BITS_PER_LONG); in ida_check_conv()
143 ida_free(ida, i - 1); in ida_check_conv()
149 ida_free(ida, i - 1); in ida_check_conv()
162 ida_free(ida, 0); in ida_check_bad_free()
164 ida_free(ida, 1 << i); in ida_check_bad_free()
[all …]
Dmemregion.c17 ida_free(&memregion_ids, id); in memregion_free()
/linux-6.12.1/drivers/rpmsg/
Drpmsg_ctrl.c133 ida_free(&rpmsg_ctrl_ida, dev->id); in rpmsg_ctrldev_release_device()
134 ida_free(&rpmsg_minor_ida, MINOR(dev->devt)); in rpmsg_ctrldev_release_device()
182 ida_free(&rpmsg_ctrl_ida, dev->id); in rpmsg_ctrldev_probe()
184 ida_free(&rpmsg_minor_ida, MINOR(dev->devt)); in rpmsg_ctrldev_probe()
Drpmsg_char.c402 ida_free(&rpmsg_ept_ida, dev->id); in rpmsg_eptdev_release_device()
403 ida_free(&rpmsg_minor_ida, MINOR(eptdev->dev.devt)); in rpmsg_eptdev_release_device()
465 ida_free(&rpmsg_ept_ida, dev->id); in rpmsg_chrdev_eptdev_add()
467 ida_free(&rpmsg_minor_ida, MINOR(dev->devt)); in rpmsg_chrdev_eptdev_add()
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dmmu_context.c89 ida_free(&mmu_context_ida, ctx->extended_id[i]); in realloc_context_ids()
222 ida_free(&mmu_context_ida, context_id); in __destroy_context()
229 ida_free(&mmu_context_ida, ctx->id); in destroy_contexts()
237 ida_free(&mmu_context_ida, context_id); in destroy_contexts()
/linux-6.12.1/drivers/staging/greybus/
Daudio_manager.c54 ida_free(&module_id, id); in gb_audio_manager_add()
81 ida_free(&module_id, id); in gb_audio_manager_remove()
95 ida_free(&module_id, module->id); in gb_audio_manager_remove_all()
Dfw-management.c182 ida_free(&fw_mgmt->id_map, fw_mgmt->intf_fw_request_id); in fw_mgmt_load_and_validate_operation()
221 ida_free(&fw_mgmt->id_map, fw_mgmt->intf_fw_request_id); in fw_mgmt_interface_fw_loaded_operation()
330 ida_free(&fw_mgmt->id_map, fw_mgmt->backend_fw_request_id); in fw_mgmt_backend_fw_update_operation()
368 ida_free(&fw_mgmt->id_map, fw_mgmt->backend_fw_request_id); in fw_mgmt_backend_fw_updated_operation()
644 ida_free(&fw_mgmt_minors_map, minor); in gb_fw_mgmt_connection_init()
668 ida_free(&fw_mgmt_minors_map, MINOR(fw_mgmt->dev_num)); in gb_fw_mgmt_connection_exit()
Dvibrator.c176 ida_free(&minors, vib->minor); in gb_vibrator_probe()
200 ida_free(&minors, vib->minor); in gb_vibrator_disconnect()
/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_pd.c68 ida_free(&pd_ida->ida, id); in hns_roce_alloc_pd()
80 ida_free(&hr_dev->pd_ida.ida, (int)to_hr_pd(pd)->pdn); in hns_roce_dealloc_pd()
171 ida_free(&hr_dev->xrcd_ida.ida, (int)xrcdn); in hns_roce_dealloc_xrcd()
/linux-6.12.1/drivers/misc/mchp_pci1xxxx/
Dmchp_pci1xxxx_gp.c28 ida_free(&gp_client_ida, aux_device_wrapper->aux_dev.id); in gp_auxiliary_device_release()
119 ida_free(&gp_client_ida, aux_bus->aux_device_wrapper[1]->aux_dev.id); in gp_aux_bus_probe()
129 ida_free(&gp_client_ida, aux_bus->aux_device_wrapper[0]->aux_dev.id); in gp_aux_bus_probe()
/linux-6.12.1/drivers/watchdog/
Dwatchdog_core.c276 ida_free(&watchdog_ida, id); in __watchdog_register_device()
289 ida_free(&watchdog_ida, id); in __watchdog_register_device()
313 ida_free(&watchdog_ida, id); in __watchdog_register_device()
386 ida_free(&watchdog_ida, wdd->id); in __watchdog_unregister_device()
/linux-6.12.1/drivers/greybus/
Dhd.c67 ida_free(id_map, cport_id); in gb_hd_cport_release_reserved()
103 ida_free(&hd->cport_id_map, cport_id); in gb_hd_cport_release()
114 ida_free(&gb_hd_bus_id_map, hd->bus_id); in gb_hd_release()
/linux-6.12.1/drivers/gpu/drm/bridge/
Daux-bridge.c20 ida_free(&drm_aux_bridge_ida, adev->id); in drm_aux_bridge_release()
67 ida_free(&drm_aux_bridge_ida, adev->id); in drm_aux_bridge_register()
Daux-hpd-bridge.c25 ida_free(&drm_aux_hpd_bridge_ida, adev->id); in drm_aux_hpd_bridge_release()
75 ida_free(&drm_aux_hpd_bridge_ida, adev->id); in devm_drm_dp_hpd_bridge_alloc()
/linux-6.12.1/drivers/pps/clients/
Dpps_parport.c194 ida_free(&pps_client_index, index); in parport_attach()
215 ida_free(&pps_client_index, device->index); in parport_detach()
/linux-6.12.1/drivers/platform/chrome/wilco_ec/
Dtelemetry.c375 ida_free(&telem_ida, minor); in telem_device_probe()
396 ida_free(&telem_ida, minor); in telem_device_probe()
408 ida_free(&telem_ida, MINOR(dev_data->dev.devt)); in telem_device_remove()
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gmrid_manager.c121 ida_free(&gman->gmr_ida, id); in vmw_gmrid_man_get_node()
132 ida_free(&gman->gmr_ida, res->start); in vmw_gmrid_man_put_node()
/linux-6.12.1/drivers/counter/
Dcounter-core.c47 ida_free(&counter_ida, dev->id); in counter_device_release()
130 ida_free(&counter_ida, dev->id); in counter_alloc()
/linux-6.12.1/fs/smb/server/mgmt/
Dksmbd_ida.c36 ida_free(ida, id); in ksmbd_release_id()
/linux-6.12.1/drivers/char/
Dmisc.c83 ida_free(&misc_minors_ida, DYNAMIC_MINORS - minor - 1); in misc_minor_free()
85 ida_free(&misc_minors_ida, minor); in misc_minor_free()
/linux-6.12.1/include/linux/
Didr.h258 void ida_free(struct ida *, unsigned int id);
325 #define ida_simple_remove(ida, id) ida_free(ida, id)
/linux-6.12.1/drivers/misc/cardreader/
Dalcor_pci.c177 ida_free(&alcor_pci_idr, priv->id); in alcor_pci_probe()
189 ida_free(&alcor_pci_idr, priv->id); in alcor_pci_remove()
/linux-6.12.1/drivers/tty/serial/
Dserial_base_bus.c187 ida_free(&ctrl_dev->port_ida, port->port_id); in serial_base_port_add()
204 ida_free(&ctrl_dev->port_ida, port_dev->port->port_id); in serial_base_port_device_remove()
/linux-6.12.1/drivers/fpga/
Dfpga-region.c241 ida_free(&fpga_region_ida, id); in __fpga_region_register_full()
291 ida_free(&fpga_region_ida, region->dev.id); in fpga_region_dev_release()
/linux-6.12.1/drivers/char/hw_random/
Dvirtio-rng.c169 ida_free(&rng_index_ida, index); in probe_common()
187 ida_free(&rng_index_ida, vi->index); in remove_common()

1234567891011