Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/hwtracing/coresight/
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-6.3-rc2/drivers/greybus/
A Dhd.c50 struct ida *id_map = &hd->cport_id_map; in gb_hd_cport_reserve() local
53 ret = ida_simple_get(id_map, cport_id, cport_id + 1, 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_simple_remove(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_simple_get(id_map, ida_start, ida_end, GFP_KERNEL); in gb_hd_cport_allocate()
A Des2.c492 struct ida *id_map = &hd->cport_id_map; in es2_cport_allocate() local
525 return ida_simple_get(id_map, ida_start, ida_end, GFP_KERNEL); in es2_cport_allocate()
/linux-6.3-rc2/tools/testing/selftests/filesystems/binderfs/
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-6.3-rc2/drivers/staging/greybus/
A Dfw-download.c40 struct ida id_map; member
66 ida_simple_remove(&fw_req->fw_download->id_map, in fw_req_release()
174 ret = ida_simple_get(&fw_download->id_map, 1, 256, GFP_KERNEL); in find_firmware()
215 ida_simple_remove(&fw_download->id_map, fw_req->firmware_id); in find_firmware()
419 ida_init(&fw_download->id_map); in gb_fw_download_connection_init()
431 ida_destroy(&fw_download->id_map); in gb_fw_download_connection_init()
464 ida_destroy(&fw_download->id_map); in gb_fw_download_connection_exit()
A Dfw-management.c30 struct ida id_map; member
68 ida_destroy(&fw_mgmt->id_map); in fw_mgmt_kref_release()
165 ret = ida_simple_get(&fw_mgmt->id_map, 1, 256, GFP_KERNEL); in fw_mgmt_load_and_validate_operation()
180 ida_simple_remove(&fw_mgmt->id_map, in fw_mgmt_load_and_validate_operation()
220 ida_simple_remove(&fw_mgmt->id_map, fw_mgmt->intf_fw_request_id); in fw_mgmt_interface_fw_loaded_operation()
316 ret = ida_simple_get(&fw_mgmt->id_map, 1, 256, GFP_KERNEL); in fw_mgmt_backend_fw_update_operation()
330 ida_simple_remove(&fw_mgmt->id_map, in fw_mgmt_backend_fw_update_operation()
369 ida_simple_remove(&fw_mgmt->id_map, fw_mgmt->backend_fw_request_id); in fw_mgmt_backend_fw_updated_operation()
605 ida_init(&fw_mgmt->id_map); in gb_fw_mgmt_connection_init()
/linux-6.3-rc2/drivers/crypto/qat/qat_common/
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()
253 id_map[accel_dev->accel_id] = 0; in adf_devmgr_rm_dev()
/linux-6.3-rc2/tools/lib/bpf/
A Dlinker.c2215 int *id_map = ctx; in remap_type_id() local
2216 int new_id = id_map[*type_id]; in remap_type_id()
2224 *type_id = id_map[*type_id]; in remap_type_id()

Completed in 25 milliseconds