Home
last modified time | relevance | path

Searched refs:id_map (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/hwtracing/coresight/
H A Dcoresight-trace-id.c109 set_bit(id, id_map->used_ids); in coresight_trace_id_alloc_new_id()
119 clear_bit(id, id_map->used_ids); in coresight_trace_id_free()
126 set_bit(id, id_map->pend_rel_ids); in coresight_trace_id_set_pend_rel()
143 clear_bit(bit, id_map->used_ids); in coresight_trace_id_release_all_pending()
151 DUMP_ID_MAP(id_map); in coresight_trace_id_release_all_pending()
188 clear_bit(id, id_map->pend_rel_ids); in coresight_trace_id_map_get_cpu_id()
194 DUMP_ID_MAP(id_map); in coresight_trace_id_map_get_cpu_id()
222 DUMP_ID_MAP(id_map); in coresight_trace_id_map_put_cpu_id()
236 DUMP_ID_MAP(id_map); in coresight_trace_id_map_get_system_id()
245 coresight_trace_id_free(id, id_map); in coresight_trace_id_map_put_system_id()
[all …]
/linux/drivers/greybus/
H A Dhd.c50 struct ida *id_map = &hd->cport_id_map; in gb_hd_cport_reserve() local
53 ret = ida_alloc_range(id_map, cport_id, cport_id, GFP_KERNEL); in gb_hd_cport_reserve()
65 struct ida *id_map = &hd->cport_id_map; in gb_hd_cport_release_reserved() local
67 ida_free(id_map, cport_id); in gb_hd_cport_release_reserved()
75 struct ida *id_map = &hd->cport_id_map; in gb_hd_cport_allocate() local
92 return ida_alloc_range(id_map, ida_start, ida_end, GFP_KERNEL); in gb_hd_cport_allocate()
H A Des2.c492 struct ida *id_map = &hd->cport_id_map; in es2_cport_allocate() local
525 return ida_alloc_range(id_map, ida_start, ida_end, GFP_KERNEL); in es2_cport_allocate()
/linux/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c328 char id_map[4096]; in change_idmaps() local
337 snprintf(id_map, sizeof(id_map), "0 %d 1\n", getuid()); in change_idmaps()
338 ret = write_id_mapping(UID_MAP, pid, id_map, strlen(id_map)); in change_idmaps()
343 snprintf(id_map, sizeof(id_map), "0 %d 1\n", getgid()); in change_idmaps()
344 ret = write_id_mapping(GID_MAP, pid, id_map, strlen(id_map)); in change_idmaps()
/linux/drivers/staging/greybus/
H A Dfw-download.c40 struct ida id_map; member
66 ida_free(&fw_req->fw_download->id_map, fw_req->firmware_id); in fw_req_release()
173 ret = ida_alloc_range(&fw_download->id_map, 1, 255, GFP_KERNEL); in find_firmware()
214 ida_free(&fw_download->id_map, fw_req->firmware_id); in find_firmware()
418 ida_init(&fw_download->id_map); in gb_fw_download_connection_init()
430 ida_destroy(&fw_download->id_map); in gb_fw_download_connection_init()
463 ida_destroy(&fw_download->id_map); in gb_fw_download_connection_exit()
H A Dfw-management.c30 struct ida id_map; member
71 ida_destroy(&fw_mgmt->id_map); in fw_mgmt_kref_release()
167 ret = ida_alloc_range(&fw_mgmt->id_map, 1, 255, GFP_KERNEL); in fw_mgmt_load_and_validate_operation()
182 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()
316 ret = ida_alloc_range(&fw_mgmt->id_map, 1, 255, GFP_KERNEL); in fw_mgmt_backend_fw_update_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()
604 ida_init(&fw_mgmt->id_map); in gb_fw_mgmt_connection_init()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_dev_mgr.c12 static u8 id_map[ADF_MAX_DEVICES]; variable
77 id_map[map->id] = 0; in adf_clean_vf_map()
121 if (!id_map[i]) { in adf_find_free_id()
122 id_map[i] = 1; in adf_find_free_id()
254 id_map[accel_dev->accel_id] = 0; in adf_devmgr_rm_dev()
/linux/tools/lib/bpf/
H A Dlinker.c2239 int *id_map = ctx; in remap_type_id() local
2240 int new_id = id_map[*type_id]; in remap_type_id()
2248 *type_id = id_map[*type_id]; in remap_type_id()