Searched refs:exe_file (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/arch/arc/kernel/ |
D | troubleshoot.c | 65 struct file *exe_file; in print_task_path_n_nm() local 72 exe_file = get_mm_exe_file(mm); in print_task_path_n_nm() 75 if (exe_file) { in print_task_path_n_nm() 76 path_nm = file_path(exe_file, buf, ARC_PATH_MAX-1); in print_task_path_n_nm() 77 fput(exe_file); in print_task_path_n_nm()
|
/Linux-v5.4/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.4/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.4/kernel/ |
D | audit_watch.c | 543 struct file *exe_file; in audit_exe_compare() local 547 exe_file = get_task_exe_file(tsk); in audit_exe_compare() 548 if (!exe_file) in audit_exe_compare() 550 ino = file_inode(exe_file)->i_ino; in audit_exe_compare() 551 dev = file_inode(exe_file)->i_sb->s_dev; in audit_exe_compare() 552 fput(exe_file); in audit_exe_compare()
|
D | fork.c | 500 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap() 645 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 | 2088 struct file *exe_file; in audit_log_d_path_exe() local 2093 exe_file = get_mm_exe_file(mm); in audit_log_d_path_exe() 2094 if (!exe_file) in audit_log_d_path_exe() 2097 audit_log_d_path(ab, " exe=", &exe_file->f_path); in audit_log_d_path_exe() 2098 fput(exe_file); in audit_log_d_path_exe()
|
D | sys.c | 1815 struct file *old_exe, *exe_file; in prctl_set_mm_exe_file() local 1841 exe_file = get_mm_exe_file(mm); in prctl_set_mm_exe_file() 1843 if (exe_file) { in prctl_set_mm_exe_file() 1851 &exe_file->f_path)) in prctl_set_mm_exe_file() 1856 fput(exe_file); in prctl_set_mm_exe_file() 1862 old_exe = xchg(&mm->exe_file, exe.file); in prctl_set_mm_exe_file() 1870 fput(exe_file); in prctl_set_mm_exe_file()
|
/Linux-v5.4/security/tomoyo/ |
D | util.c | 945 struct file *exe_file; in tomoyo_get_exe() local 951 exe_file = get_mm_exe_file(mm); in tomoyo_get_exe() 952 if (!exe_file) in tomoyo_get_exe() 955 cp = tomoyo_realpath_from_path(&exe_file->f_path); in tomoyo_get_exe() 956 fput(exe_file); in tomoyo_get_exe()
|
/Linux-v5.4/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() 183 fput(exe_file); in cn_print_exe_file()
|
/Linux-v5.4/mm/ |
D | debug.c | 186 mm->exe_file, in dump_mm()
|
/Linux-v5.4/include/linux/ |
D | mm_types.h | 491 struct file __rcu *exe_file; member
|
/Linux-v5.4/fs/proc/ |
D | base.c | 1595 struct file *exe_file; in proc_exe_link() local 1600 exe_file = get_task_exe_file(task); in proc_exe_link() 1602 if (exe_file) { in proc_exe_link() 1603 *exe_path = exe_file->f_path; in proc_exe_link() 1604 path_get(&exe_file->f_path); in proc_exe_link() 1605 fput(exe_file); in proc_exe_link()
|