Searched refs:exe_file (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.10/arch/arc/kernel/ |
D | troubleshoot.c | 58 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()
|
/Linux-v5.10/arch/powerpc/oprofile/cell/ |
D | spu_task_sync.c | 322 struct file *exe_file; in get_exec_dcookie_and_offset() local 328 exe_file = get_mm_exe_file(mm); in get_exec_dcookie_and_offset() 329 if (exe_file) { in get_exec_dcookie_and_offset() 330 app_cookie = fast_get_dcookie(&exe_file->f_path); in get_exec_dcookie_and_offset() 331 pr_debug("got dcookie for %pD\n", exe_file); in get_exec_dcookie_and_offset() 332 fput(exe_file); in get_exec_dcookie_and_offset()
|
/Linux-v5.10/drivers/oprofile/ |
D | buffer_sync.c | 230 struct file *exe_file; in get_exec_dcookie() local 235 exe_file = get_mm_exe_file(mm); in get_exec_dcookie() 236 if (!exe_file) in get_exec_dcookie() 239 cookie = fast_get_dcookie(&exe_file->f_path); in get_exec_dcookie() 240 fput(exe_file); in get_exec_dcookie()
|
/Linux-v5.10/kernel/ |
D | audit_watch.c | 526 struct file *exe_file; in audit_exe_compare() local 530 exe_file = get_task_exe_file(tsk); in audit_exe_compare() 531 if (!exe_file) in audit_exe_compare() 533 ino = file_inode(exe_file)->i_ino; in audit_exe_compare() 534 dev = file_inode(exe_file)->i_sb->s_dev; in audit_exe_compare() 535 fput(exe_file); in audit_exe_compare()
|
D | fork.c | 491 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap() 637 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap() 1024 RCU_INIT_POINTER(mm->exe_file, NULL); in mm_init() 1142 old_exe_file = rcu_dereference_raw(mm->exe_file); in set_mm_exe_file() 1146 rcu_assign_pointer(mm->exe_file, new_exe_file); in set_mm_exe_file() 1159 struct file *exe_file; in get_mm_exe_file() local 1162 exe_file = rcu_dereference(mm->exe_file); in get_mm_exe_file() 1163 if (exe_file && !get_file_rcu(exe_file)) in get_mm_exe_file() 1164 exe_file = NULL; in get_mm_exe_file() 1166 return exe_file; in get_mm_exe_file() [all …]
|
D | audit.c | 2156 struct file *exe_file; in audit_log_d_path_exe() local 2161 exe_file = get_mm_exe_file(mm); in audit_log_d_path_exe() 2162 if (!exe_file) in audit_log_d_path_exe() 2165 audit_log_d_path(ab, " exe=", &exe_file->f_path); in audit_log_d_path_exe() 2166 fput(exe_file); in audit_log_d_path_exe()
|
D | sys.c | 1831 struct file *old_exe, *exe_file; in prctl_set_mm_exe_file() local 1857 exe_file = get_mm_exe_file(mm); in prctl_set_mm_exe_file() 1859 if (exe_file) { in prctl_set_mm_exe_file() 1867 &exe_file->f_path)) in prctl_set_mm_exe_file() 1872 fput(exe_file); in prctl_set_mm_exe_file() 1878 old_exe = xchg(&mm->exe_file, exe.file); in prctl_set_mm_exe_file() 1886 fput(exe_file); in prctl_set_mm_exe_file()
|
/Linux-v5.10/security/tomoyo/ |
D | util.c | 963 struct file *exe_file; in tomoyo_get_exe() local 969 exe_file = get_mm_exe_file(mm); in tomoyo_get_exe() 970 if (!exe_file) in tomoyo_get_exe() 973 cp = tomoyo_realpath_from_path(&exe_file->f_path); in tomoyo_get_exe() 974 fput(exe_file); in tomoyo_get_exe()
|
/Linux-v5.10/fs/ |
D | coredump.c | 158 struct file *exe_file; in cn_print_exe_file() local 162 exe_file = get_mm_exe_file(current->mm); in cn_print_exe_file() 163 if (!exe_file) in cn_print_exe_file() 172 path = file_path(exe_file, pathbuf, PATH_MAX); in cn_print_exe_file() 188 fput(exe_file); in cn_print_exe_file()
|
/Linux-v5.10/mm/ |
D | debug.c | 267 mm->exe_file, in dump_mm()
|
/Linux-v5.10/include/linux/ |
D | mm_types.h | 519 struct file __rcu *exe_file; member
|
/Linux-v5.10/fs/proc/ |
D | base.c | 1721 struct file *exe_file; in proc_exe_link() local 1726 exe_file = get_task_exe_file(task); in proc_exe_link() 1728 if (exe_file) { in proc_exe_link() 1729 *exe_path = exe_file->f_path; in proc_exe_link() 1730 path_get(&exe_file->f_path); in proc_exe_link() 1731 fput(exe_file); in proc_exe_link()
|