Searched refs:exe_file (Results 1 – 13 of 13) sorted by relevance
/linux-4.4.14/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 = file_path(exe_file, 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.4.14/arch/arc/kernel/ |
D | troubleshoot.c | 63 struct file *exe_file; in print_task_path_n_nm() local 69 exe_file = get_mm_exe_file(mm); in print_task_path_n_nm() 72 if (exe_file) { in print_task_path_n_nm() 73 path_nm = file_path(exe_file, buf, 255); in print_task_path_n_nm() 74 fput(exe_file); in print_task_path_n_nm()
|
/linux-4.4.14/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.4.14/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.4.14/kernel/ |
D | audit_watch.c | 543 struct file *exe_file; in audit_exe_compare() local 548 exe_file = rcu_dereference(tsk->mm->exe_file); in audit_exe_compare() 549 ino = exe_file->f_inode->i_ino; in audit_exe_compare() 550 dev = exe_file->f_inode->i_sb->s_dev; in audit_exe_compare()
|
D | fork.c | 414 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap() 546 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap() 738 old_exe_file = rcu_dereference_raw(mm->exe_file); in set_mm_exe_file() 742 rcu_assign_pointer(mm->exe_file, new_exe_file); in set_mm_exe_file() 755 struct file *exe_file; in get_mm_exe_file() local 758 exe_file = rcu_dereference(mm->exe_file); in get_mm_exe_file() 759 if (exe_file && !get_file_rcu(exe_file)) in get_mm_exe_file() 760 exe_file = NULL; in get_mm_exe_file() 762 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 1681 exe_file = get_mm_exe_file(mm); in prctl_set_mm_exe_file() 1683 if (exe_file) { in prctl_set_mm_exe_file() 1691 &exe_file->f_path)) in prctl_set_mm_exe_file() 1696 fput(exe_file); in prctl_set_mm_exe_file() 1712 old_exe = xchg(&mm->exe_file, exe.file); in prctl_set_mm_exe_file() 1720 fput(exe_file); in prctl_set_mm_exe_file()
|
D | audit.c | 1859 struct file *exe_file; in audit_log_d_path_exe() local 1864 exe_file = get_mm_exe_file(mm); in audit_log_d_path_exe() 1865 if (!exe_file) in audit_log_d_path_exe() 1868 audit_log_d_path(ab, " exe=", &exe_file->f_path); in audit_log_d_path_exe() 1869 fput(exe_file); in audit_log_d_path_exe()
|
/linux-4.4.14/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.4.14/fs/ |
D | coredump.c | 132 struct file *exe_file; in cn_print_exe_file() local 136 exe_file = get_mm_exe_file(current->mm); in cn_print_exe_file() 137 if (!exe_file) in cn_print_exe_file() 146 path = file_path(exe_file, pathbuf, PATH_MAX); in cn_print_exe_file() 157 fput(exe_file); in cn_print_exe_file()
|
/linux-4.4.14/mm/ |
D | debug.c | 223 mm->exe_file, in dump_mm()
|
/linux-4.4.14/include/linux/ |
D | mm_types.h | 474 struct file __rcu *exe_file; member
|
/linux-4.4.14/fs/proc/ |
D | base.c | 1549 struct file *exe_file; in proc_exe_link() local 1558 exe_file = get_mm_exe_file(mm); in proc_exe_link() 1560 if (exe_file) { in proc_exe_link() 1561 *exe_path = exe_file->f_path; in proc_exe_link() 1562 path_get(&exe_file->f_path); in proc_exe_link() 1563 fput(exe_file); in proc_exe_link()
|