Home
last modified time | relevance | path

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

/linux-4.1.27/arch/tile/mm/
Delf.c46 struct file *exe_file; in notify_exec() local
55 exe_file = get_mm_exe_file(mm); in notify_exec()
56 if (exe_file == NULL) in notify_exec()
59 path = d_path(&exe_file->f_path, buf, PAGE_SIZE); in notify_exec()
69 if (vma->vm_file == exe_file) in notify_exec()
98 fput(exe_file); in notify_exec()
/linux-4.1.27/arch/arc/kernel/
Dtroubleshoot.c60 struct file *exe_file; in print_task_path_n_nm() local
66 exe_file = get_mm_exe_file(mm); in print_task_path_n_nm()
69 if (exe_file) { in print_task_path_n_nm()
70 path = exe_file->f_path; in print_task_path_n_nm()
71 path_get(&exe_file->f_path); in print_task_path_n_nm()
72 fput(exe_file); in print_task_path_n_nm()
/linux-4.1.27/arch/powerpc/oprofile/cell/
Dspu_task_sync.c326 struct file *exe_file; in get_exec_dcookie_and_offset() local
332 exe_file = get_mm_exe_file(mm); in get_exec_dcookie_and_offset()
333 if (exe_file) { in get_exec_dcookie_and_offset()
334 app_cookie = fast_get_dcookie(&exe_file->f_path); in get_exec_dcookie_and_offset()
335 pr_debug("got dcookie for %pD\n", exe_file); in get_exec_dcookie_and_offset()
336 fput(exe_file); in get_exec_dcookie_and_offset()
/linux-4.1.27/drivers/oprofile/
Dbuffer_sync.c228 struct file *exe_file; in get_exec_dcookie() local
233 exe_file = get_mm_exe_file(mm); in get_exec_dcookie()
234 if (!exe_file) in get_exec_dcookie()
237 cookie = fast_get_dcookie(&exe_file->f_path); in get_exec_dcookie()
238 fput(exe_file); in get_exec_dcookie()
/linux-4.1.27/fs/
Dcoredump.c131 struct file *exe_file; in cn_print_exe_file() local
135 exe_file = get_mm_exe_file(current->mm); in cn_print_exe_file()
136 if (!exe_file) in cn_print_exe_file()
145 path = d_path(&exe_file->f_path, pathbuf, PATH_MAX); in cn_print_exe_file()
156 fput(exe_file); in cn_print_exe_file()
/linux-4.1.27/security/tomoyo/
Dutil.c951 struct file *exe_file; in tomoyo_get_exe() local
957 exe_file = get_mm_exe_file(mm); in tomoyo_get_exe()
958 if (!exe_file) in tomoyo_get_exe()
961 cp = tomoyo_realpath_from_path(&exe_file->f_path); in tomoyo_get_exe()
962 fput(exe_file); in tomoyo_get_exe()
/linux-4.1.27/kernel/
Dfork.c407 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap()
537 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap()
729 old_exe_file = rcu_dereference_raw(mm->exe_file); in set_mm_exe_file()
733 rcu_assign_pointer(mm->exe_file, new_exe_file); in set_mm_exe_file()
746 struct file *exe_file; in get_mm_exe_file() local
749 exe_file = rcu_dereference(mm->exe_file); in get_mm_exe_file()
750 if (exe_file && !get_file_rcu(exe_file)) in get_mm_exe_file()
751 exe_file = NULL; in get_mm_exe_file()
753 return exe_file; in get_mm_exe_file()
Dsys.c1655 struct file *old_exe, *exe_file; in prctl_set_mm_exe_file() local
1682 exe_file = get_mm_exe_file(mm); in prctl_set_mm_exe_file()
1684 if (exe_file) { in prctl_set_mm_exe_file()
1692 &exe_file->f_path)) in prctl_set_mm_exe_file()
1697 fput(exe_file); in prctl_set_mm_exe_file()
1713 old_exe = xchg(&mm->exe_file, exe.file); in prctl_set_mm_exe_file()
1721 fput(exe_file); in prctl_set_mm_exe_file()
Daudit.c1845 struct file *exe_file; in audit_log_d_path_exe() local
1850 exe_file = get_mm_exe_file(mm); in audit_log_d_path_exe()
1851 if (!exe_file) in audit_log_d_path_exe()
1854 audit_log_d_path(ab, " exe=", &exe_file->f_path); in audit_log_d_path_exe()
1855 fput(exe_file); in audit_log_d_path_exe()
/linux-4.1.27/include/linux/
Dmm_types.h423 struct file __rcu *exe_file; member
/linux-4.1.27/mm/
Ddebug.c223 mm->exe_file, in dump_mm()
/linux-4.1.27/fs/proc/
Dbase.c1361 struct file *exe_file; in proc_exe_link() local
1370 exe_file = get_mm_exe_file(mm); in proc_exe_link()
1372 if (exe_file) { in proc_exe_link()
1373 *exe_path = exe_file->f_path; in proc_exe_link()
1374 path_get(&exe_file->f_path); in proc_exe_link()
1375 fput(exe_file); in proc_exe_link()