Home
last modified time | relevance | path

Searched refs:exe_file (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/arch/arc/kernel/
H A Dtroubleshoot.c58 struct file *exe_file; in print_task_path_n_nm() local
65 exe_file = get_mm_exe_file(mm); in print_task_path_n_nm()
68 if (exe_file) { in print_task_path_n_nm()
69 path_nm = file_path(exe_file, buf, ARC_PATH_MAX-1); in print_task_path_n_nm()
70 fput(exe_file); in print_task_path_n_nm()
/openbmc/linux/kernel/
H A Daudit_watch.c526 struct file *exe_file; in audit_exe_compare() local
536 exe_file = get_mm_exe_file(current->mm); in audit_exe_compare()
537 if (!exe_file) in audit_exe_compare()
539 ino = file_inode(exe_file)->i_ino; in audit_exe_compare()
540 dev = file_inode(exe_file)->i_sb->s_dev; in audit_exe_compare()
541 fput(exe_file); in audit_exe_compare()
H A Dfork.c633 struct file *exe_file; in dup_mm_exe_file() local
635 exe_file = get_mm_exe_file(oldmm); in dup_mm_exe_file()
636 RCU_INIT_POINTER(mm->exe_file, exe_file); in dup_mm_exe_file()
641 if (exe_file && deny_write_access(exe_file)) in dup_mm_exe_file()
1492 struct file *exe_file; in get_mm_exe_file() local
1495 exe_file = rcu_dereference(mm->exe_file); in get_mm_exe_file()
1496 if (exe_file && !get_file_rcu(exe_file)) in get_mm_exe_file()
1497 exe_file = NULL; in get_mm_exe_file()
1499 return exe_file; in get_mm_exe_file()
1511 struct file *exe_file = NULL; in get_task_exe_file() local
[all …]
H A Dtaskstats.c160 struct file *exe_file = get_task_exe_file(tsk); in exe_add_tsk() local
162 if (exe_file) { in exe_add_tsk()
165 huge_encode_dev(exe_file->f_inode->i_sb->s_dev); in exe_add_tsk()
166 stats->ac_exe_inode = exe_file->f_inode->i_ino; in exe_add_tsk()
167 fput(exe_file); in exe_add_tsk()
H A Daudit.c2212 struct file *exe_file; in audit_log_d_path_exe() local
2217 exe_file = get_mm_exe_file(mm); in audit_log_d_path_exe()
2218 if (!exe_file) in audit_log_d_path_exe()
2221 audit_log_d_path(ab, " exe=", &exe_file->f_path); in audit_log_d_path_exe()
2222 fput(exe_file); in audit_log_d_path_exe()
H A Dsignal.c1264 struct file *exe_file; in print_fatal_signal() local
1266 exe_file = get_task_exe_file(current); in print_fatal_signal()
1267 if (exe_file) { in print_fatal_signal()
1269 exe_file, current->comm, signr); in print_fatal_signal()
1270 fput(exe_file); in print_fatal_signal()
/openbmc/linux/security/tomoyo/
H A Dutil.c968 struct file *exe_file; in tomoyo_get_exe() local
974 exe_file = get_mm_exe_file(mm); in tomoyo_get_exe()
975 if (!exe_file) in tomoyo_get_exe()
978 cp = tomoyo_realpath_from_path(&exe_file->f_path); in tomoyo_get_exe()
979 fput(exe_file); in tomoyo_get_exe()
/openbmc/linux/fs/
H A Dcoredump.c163 struct file *exe_file; in cn_print_exe_file() local
167 exe_file = get_mm_exe_file(current->mm); in cn_print_exe_file()
168 if (!exe_file) in cn_print_exe_file()
177 path = file_path(exe_file, pathbuf, PATH_MAX); in cn_print_exe_file()
193 fput(exe_file); in cn_print_exe_file()
/openbmc/linux/mm/
H A Ddebug.c214 mm->exe_file, in dump_mm()
/openbmc/linux/fs/proc/
H A Dbase.c1725 struct file *exe_file; in proc_exe_link() local
1730 exe_file = get_task_exe_file(task); in proc_exe_link()
1732 if (exe_file) { in proc_exe_link()
1733 *exe_path = exe_file->f_path; in proc_exe_link()
1734 path_get(&exe_file->f_path); in proc_exe_link()
1735 fput(exe_file); in proc_exe_link()
/openbmc/linux/include/linux/
H A Dmm_types.h844 struct file __rcu *exe_file; member
/openbmc/linux/kernel/bpf/
H A Dverifier.c6298 struct file __rcu *exe_file; in BTF_TYPE_SAFE_RCU_OR_NULL() local