• Home
  • Raw
  • Download

Lines Matching refs:ptr

166 	struct tomoyo_acl_info *ptr;  in tomoyo_check_acl()  local
171 list_for_each_entry_rcu(ptr, list, list, in tomoyo_check_acl()
173 if (ptr->is_deleted || ptr->type != r->param_type) in tomoyo_check_acl()
175 if (!check_entry(r, ptr)) in tomoyo_check_acl()
177 if (!tomoyo_condition(r, ptr->cond)) in tomoyo_check_acl()
179 r->matched_acl = ptr; in tomoyo_check_acl()
302 const struct tomoyo_transition_control *ptr; in tomoyo_scan_transition() local
304 list_for_each_entry_rcu(ptr, list, head.list, in tomoyo_scan_transition()
306 if (ptr->head.is_deleted || ptr->type != type) in tomoyo_scan_transition()
308 if (ptr->domainname) { in tomoyo_scan_transition()
309 if (!ptr->is_last_name) { in tomoyo_scan_transition()
310 if (ptr->domainname != domainname) in tomoyo_scan_transition()
317 if (strcmp(ptr->domainname->name, last_name)) in tomoyo_scan_transition()
321 if (ptr->program && tomoyo_pathcmp(ptr->program, program)) in tomoyo_scan_transition()
464 struct tomoyo_policy_namespace *ptr; in tomoyo_assign_namespace() local
471 ptr = tomoyo_find_namespace(domainname, len); in tomoyo_assign_namespace()
472 if (ptr) in tomoyo_assign_namespace()
473 return ptr; in tomoyo_assign_namespace()
481 ptr = tomoyo_find_namespace(domainname, len); in tomoyo_assign_namespace()
482 if (!ptr && tomoyo_memory_ok(entry)) { in tomoyo_assign_namespace()
485 ptr = entry; in tomoyo_assign_namespace()
495 return ptr; in tomoyo_assign_namespace()
736 struct tomoyo_aggregator *ptr; in tomoyo_find_next_domain() local
742 list_for_each_entry_rcu(ptr, list, head.list, in tomoyo_find_next_domain()
744 if (ptr->head.is_deleted || in tomoyo_find_next_domain()
746 ptr->original_name)) in tomoyo_find_next_domain()
748 candidate = ptr->aggregated_name; in tomoyo_find_next_domain()