Lines Matching defs:mapping
344 static LIST_HEAD(necp_uuid_id_mapping_head, necp_uuid_id_mapping) *necp_uuid_app_id_hashtbl, necp_uuid_service_id_list; // App map is real hash table, service map is just mapping
1323 struct necp_uuid_id_mapping *mapping = NULL;
1343 mapping = necp_uuid_lookup_service_id_locked(service_uuid);
1344 if (mapping != NULL) {
1346 if (service->service_id == mapping->id) {
3229 struct necp_uuid_id_mapping *mapping = NULL;
3230 LIST_FOREACH(mapping, uuid_list_head, chain) {
3231 if (mapping->table_refcount > 0 &&
3232 proc_uuid_policy_kernel(PROC_UUID_POLICY_OPERATION_ADD, mapping->uuid, PROC_UUID_NECP_APP_POLICY) < 0) {
3883 struct necp_uuid_id_mapping *mapping = necp_uuid_lookup_uuid_with_service_id_locked(service.identifier);
3884 if (mapping != NULL) {
3886 uuid_copy(returned_result->service_uuid, mapping->uuid);