Lines Matching refs:entry
486 struct tomoyo_profile *entry; in tomoyo_assign_profile() local
493 entry = kzalloc(sizeof(*entry), GFP_NOFS | __GFP_NOWARN); in tomoyo_assign_profile()
497 if (!ptr && tomoyo_memory_ok(entry)) { in tomoyo_assign_profile()
498 ptr = entry; in tomoyo_assign_profile()
510 entry = NULL; in tomoyo_assign_profile()
514 kfree(entry); in tomoyo_assign_profile()
2020 static void tomoyo_patternize_path(char *buffer, const int len, char *entry) in tomoyo_patternize_path() argument
2023 char *cp = entry; in tomoyo_patternize_path()
2026 if (strncmp(entry, "file ", 5)) in tomoyo_patternize_path()
2032 cp = strchr(entry + 5, ':'); in tomoyo_patternize_path()
2034 cp = entry; in tomoyo_patternize_path()
2041 tomoyo_addprintf(buffer, len, "%s ", entry); in tomoyo_patternize_path()
2166 struct tomoyo_query entry = { }; in tomoyo_supervisor() local
2198 entry.query = tomoyo_init_log(r, len, fmt, args); in tomoyo_supervisor()
2200 if (!entry.query) in tomoyo_supervisor()
2202 entry.query_len = strlen(entry.query) + 1; in tomoyo_supervisor()
2204 tomoyo_add_entry(r->domain, entry.query); in tomoyo_supervisor()
2207 len = kmalloc_size_roundup(entry.query_len); in tomoyo_supervisor()
2208 entry.domain = r->domain; in tomoyo_supervisor()
2215 entry.serial = tomoyo_serial++; in tomoyo_supervisor()
2216 entry.retry = r->retry; in tomoyo_supervisor()
2218 list_add_tail(&entry.list, &tomoyo_query_list); in tomoyo_supervisor()
2224 while (entry.timer < 10) { in tomoyo_supervisor()
2227 (tomoyo_answer_wait, entry.answer || in tomoyo_supervisor()
2230 entry.timer++; in tomoyo_supervisor()
2233 list_del(&entry.list); in tomoyo_supervisor()
2236 switch (entry.answer) { in tomoyo_supervisor()
2250 kfree(entry.query); in tomoyo_supervisor()