Searched refs:exe_file (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/arch/arc/kernel/ |
D | troubleshoot.c | 65 struct file *exe_file; in print_task_path_n_nm() local 71 exe_file = get_mm_exe_file(mm); in print_task_path_n_nm() 74 if (exe_file) { in print_task_path_n_nm() 75 path_nm = file_path(exe_file, buf, 255); in print_task_path_n_nm() 76 fput(exe_file); in print_task_path_n_nm()
|
/Linux-v4.19/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-v4.19/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-v4.19/kernel/ |
D | audit_watch.c | 558 struct file *exe_file; in audit_exe_compare() local 562 exe_file = get_task_exe_file(tsk); in audit_exe_compare() 563 if (!exe_file) in audit_exe_compare() 565 ino = file_inode(exe_file)->i_ino; in audit_exe_compare() 566 dev = file_inode(exe_file)->i_sb->s_dev; in audit_exe_compare() 567 fput(exe_file); in audit_exe_compare()
|
D | fork.c | 443 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap() 588 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap() 945 RCU_INIT_POINTER(mm->exe_file, NULL); in mm_init() 1064 old_exe_file = rcu_dereference_raw(mm->exe_file); in set_mm_exe_file() 1068 rcu_assign_pointer(mm->exe_file, new_exe_file); in set_mm_exe_file() 1081 struct file *exe_file; in get_mm_exe_file() local 1084 exe_file = rcu_dereference(mm->exe_file); in get_mm_exe_file() 1085 if (exe_file && !get_file_rcu(exe_file)) in get_mm_exe_file() 1086 exe_file = NULL; in get_mm_exe_file() 1088 return exe_file; in get_mm_exe_file() [all …]
|
D | sys.c | 1820 struct file *old_exe, *exe_file; in prctl_set_mm_exe_file() local 1846 exe_file = get_mm_exe_file(mm); in prctl_set_mm_exe_file() 1848 if (exe_file) { in prctl_set_mm_exe_file() 1856 &exe_file->f_path)) in prctl_set_mm_exe_file() 1861 fput(exe_file); in prctl_set_mm_exe_file() 1867 old_exe = xchg(&mm->exe_file, exe.file); in prctl_set_mm_exe_file() 1875 fput(exe_file); in prctl_set_mm_exe_file()
|
D | audit.c | 2234 struct file *exe_file; in audit_log_d_path_exe() local 2239 exe_file = get_mm_exe_file(mm); in audit_log_d_path_exe() 2240 if (!exe_file) in audit_log_d_path_exe() 2243 audit_log_d_path(ab, " exe=", &exe_file->f_path); in audit_log_d_path_exe() 2244 fput(exe_file); in audit_log_d_path_exe()
|
/Linux-v4.19/security/tomoyo/ |
D | util.c | 933 struct file *exe_file; in tomoyo_get_exe() local 939 exe_file = get_mm_exe_file(mm); in tomoyo_get_exe() 940 if (!exe_file) in tomoyo_get_exe() 943 cp = tomoyo_realpath_from_path(&exe_file->f_path); in tomoyo_get_exe() 944 fput(exe_file); in tomoyo_get_exe()
|
/Linux-v4.19/fs/ |
D | coredump.c | 157 struct file *exe_file; in cn_print_exe_file() local 161 exe_file = get_mm_exe_file(current->mm); in cn_print_exe_file() 162 if (!exe_file) in cn_print_exe_file() 171 path = file_path(exe_file, pathbuf, PATH_MAX); in cn_print_exe_file() 182 fput(exe_file); in cn_print_exe_file()
|
/Linux-v4.19/mm/ |
D | debug.c | 166 mm->exe_file, in dump_mm()
|
/Linux-v4.19/include/linux/ |
D | mm_types.h | 453 struct file __rcu *exe_file; member
|
/Linux-v4.19/fs/proc/ |
D | base.c | 1580 struct file *exe_file; in proc_exe_link() local 1585 exe_file = get_task_exe_file(task); in proc_exe_link() 1587 if (exe_file) { in proc_exe_link() 1588 *exe_path = exe_file->f_path; in proc_exe_link() 1589 path_get(&exe_file->f_path); in proc_exe_link() 1590 fput(exe_file); in proc_exe_link()
|