Home
last modified time | relevance | path

Searched refs:searchentry (Results 1 – 2 of 2) sorted by relevance

/xnu-11417.140.69/bsd/kern/
H A Dproc_uuid_policy.c235 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-11417.140.69/bsd/net/
H A Dnecp.c5859 struct necp_string_id_mapping *searchentry = NULL; in necp_lookup_string_to_id_locked() local
5862 LIST_FOREACH(searchentry, list, chain) { in necp_lookup_string_to_id_locked()
5863 if (strcmp(searchentry->string, string) == 0) { in necp_lookup_string_to_id_locked()
5864 foundentry = searchentry; in necp_lookup_string_to_id_locked()
5875 struct necp_string_id_mapping *searchentry = NULL; in necp_lookup_string_with_id_locked() local
5878 LIST_FOREACH(searchentry, list, chain) { in necp_lookup_string_with_id_locked()
5879 if (searchentry->id == local_id) { in necp_lookup_string_with_id_locked()
5880 foundentry = searchentry; in necp_lookup_string_with_id_locked()
6220 struct necp_route_rule *searchentry = NULL; in necp_lookup_route_rule_locked() local
6223 LIST_FOREACH(searchentry, list, chain) { in necp_lookup_route_rule_locked()
[all …]