Searched refs:exe_file (Results 1 – 12 of 12) sorted by relevance
/linux-4.1.27/arch/tile/mm/ |
D | elf.c | 46 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/ |
D | troubleshoot.c | 60 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/ |
D | spu_task_sync.c | 326 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/ |
D | buffer_sync.c | 228 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/ |
D | coredump.c | 131 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/ |
D | util.c | 951 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/ |
D | fork.c | 407 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()
|
D | sys.c | 1655 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()
|
D | audit.c | 1845 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/ |
D | mm_types.h | 423 struct file __rcu *exe_file; member
|
/linux-4.1.27/mm/ |
D | debug.c | 223 mm->exe_file, in dump_mm()
|
/linux-4.1.27/fs/proc/ |
D | base.c | 1361 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()
|