Searched refs:searchentry (Results 1 – 2 of 2) sorted by relevance
| /xnu-8019.80.24/bsd/kern/ |
| H A D | proc_uuid_policy.c | 235 struct proc_uuid_policy_entry *tmpentry, *searchentry, *foundentry = NULL; in proc_uuid_policy_lookup_locked() local 237 LIST_FOREACH_SAFE(searchentry, UUIDHASH(uuid), entries, tmpentry) { in proc_uuid_policy_lookup_locked() 238 if (0 == memcmp(searchentry->uuid, uuid, sizeof(uuid_t))) { in proc_uuid_policy_lookup_locked() 239 foundentry = searchentry; in proc_uuid_policy_lookup_locked() 295 struct proc_uuid_policy_entry *tmpentry, *searchentry; in proc_uuid_policy_clear() local 310 LIST_FOREACH_SAFE(searchentry, headp, entries, tmpentry) { in proc_uuid_policy_clear() 311 if ((searchentry->flags & flags) == searchentry->flags) { in proc_uuid_policy_clear() 313 LIST_REMOVE(searchentry, entries); in proc_uuid_policy_clear() 315 LIST_INSERT_HEAD(&deletehead, searchentry, entries); in proc_uuid_policy_clear() 317 searchentry->flags &= ~flags; in proc_uuid_policy_clear() [all …]
|
| /xnu-8019.80.24/bsd/net/ |
| H A D | necp.c | 4960 struct necp_string_id_mapping *searchentry = NULL; in necp_lookup_string_to_id_locked() local 4963 LIST_FOREACH(searchentry, list, chain) { in necp_lookup_string_to_id_locked() 4964 if (strcmp(searchentry->string, string) == 0) { in necp_lookup_string_to_id_locked() 4965 foundentry = searchentry; in necp_lookup_string_to_id_locked() 4976 struct necp_string_id_mapping *searchentry = NULL; in necp_lookup_string_with_id_locked() local 4979 LIST_FOREACH(searchentry, list, chain) { in necp_lookup_string_with_id_locked() 4980 if (searchentry->id == local_id) { in necp_lookup_string_with_id_locked() 4981 foundentry = searchentry; in necp_lookup_string_with_id_locked() 5102 struct necp_route_rule *searchentry = NULL; in necp_lookup_route_rule_locked() local 5105 LIST_FOREACH(searchentry, list, chain) { in necp_lookup_route_rule_locked() [all …]
|