Lines Matching refs:domain
599 struct tomoyo_domain_info *domain; in tomoyo_find_domain() local
604 list_for_each_entry_rcu(domain, &tomoyo_domain_list, list) { in tomoyo_find_domain()
605 if (!domain->is_deleted && in tomoyo_find_domain()
606 !tomoyo_pathcmp(&name, domain->domainname)) in tomoyo_find_domain()
607 return domain; in tomoyo_find_domain()
1000 struct tomoyo_domain_info *domain, const u8 index) in tomoyo_init_request_info() argument
1004 if (!domain) in tomoyo_init_request_info()
1005 domain = tomoyo_domain(); in tomoyo_init_request_info()
1006 r->domain = domain; in tomoyo_init_request_info()
1007 profile = domain->profile; in tomoyo_init_request_info()
1010 r->mode = tomoyo_get_mode(domain->ns, profile, index); in tomoyo_init_request_info()
1026 struct tomoyo_domain_info *domain = r->domain; in tomoyo_domain_quota_is_ok() local
1031 if (!domain) in tomoyo_domain_quota_is_ok()
1033 list_for_each_entry_rcu(ptr, &domain->acl_info_list, list) { in tomoyo_domain_quota_is_ok()
1073 if (count < tomoyo_profile(domain->ns, domain->profile)-> in tomoyo_domain_quota_is_ok()
1076 if (!domain->flags[TOMOYO_DIF_QUOTA_WARNED]) { in tomoyo_domain_quota_is_ok()
1077 domain->flags[TOMOYO_DIF_QUOTA_WARNED] = true; in tomoyo_domain_quota_is_ok()
1082 "Stopped learning mode.\n", domain->domainname->name); in tomoyo_domain_quota_is_ok()