Home
last modified time | relevance | path

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

/linux/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/tools/testing/selftests/filesystems/binderfs/
A Dbinderfs_test.c327 char id_map[4096]; in change_idmaps() local
336 snprintf(id_map, sizeof(id_map), "0 %d 1\n", getuid()); in change_idmaps()
337 ret = write_id_mapping(UID_MAP, pid, id_map, strlen(id_map)); in change_idmaps()
342 snprintf(id_map, sizeof(id_map), "0 %d 1\n", getgid()); in change_idmaps()
343 ret = write_id_mapping(GID_MAP, pid, id_map, strlen(id_map)); in change_idmaps()
/linux/drivers/staging/greybus/
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()
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()
/linux/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/tools/lib/bpf/
A Dlinker.c2214 int *id_map = ctx; in remap_type_id() local
2215 int new_id = id_map[*type_id]; in remap_type_id()
2223 *type_id = id_map[*type_id]; in remap_type_id()

Completed in 21 milliseconds