Lines Matching defs:domain
415 * tomoyo_find_domain - Find a domain by the given name.
425 struct tomoyo_domain_info *domain;
430 list_for_each_entry_rcu(domain, &tomoyo_domain_list, list) {
431 if (!domain->is_deleted &&
432 !tomoyo_pathcmp(&name, domain->domainname))
433 return domain;
820 * @domain: Pointer to "struct tomoyo_domain_info". NULL for tomoyo_domain().
826 struct tomoyo_domain_info *domain, const u8 index)
830 if (!domain)
831 domain = tomoyo_domain();
832 r->domain = domain;
833 profile = domain->profile;
865 const struct tomoyo_domain_info * const domain = r->domain;
866 const struct tomoyo_profile *profile = tomoyo_profile(domain->profile);
890 tomoyo_last_word(domain->domainname->name));
895 * tomoyo_domain_quota_is_ok - Check for domain's quota.
899 * Returns true if the domain is not exceeded quota, false otherwise.
906 struct tomoyo_domain_info *domain = r->domain;
911 if (!domain)
913 list_for_each_entry_rcu(ptr, &domain->acl_info_list, list) {
953 if (count < tomoyo_profile(domain->profile)->learning->
956 if (!domain->quota_warned) {
957 domain->quota_warned = true;
960 "Stopped learning mode.\n", domain->domainname->name);