| /OK3568_Linux_fs/kernel/arch/arc/kernel/ |
| H A D | troubleshoot.c | 58 struct file *exe_file; in print_task_path_n_nm() local 65 exe_file = get_mm_exe_file(mm); in print_task_path_n_nm() 68 if (exe_file) { in print_task_path_n_nm() 69 path_nm = file_path(exe_file, buf, ARC_PATH_MAX-1); in print_task_path_n_nm() 70 fput(exe_file); in print_task_path_n_nm()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/oprofile/cell/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/oprofile/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | audit_watch.c | 526 struct file *exe_file; in audit_exe_compare() local 530 exe_file = get_task_exe_file(tsk); in audit_exe_compare() 531 if (!exe_file) in audit_exe_compare() 533 ino = file_inode(exe_file)->i_ino; in audit_exe_compare() 534 dev = file_inode(exe_file)->i_sb->s_dev; in audit_exe_compare() 535 fput(exe_file); in audit_exe_compare()
|
| H A D | fork.c | 500 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap() 672 RCU_INIT_POINTER(mm->exe_file, get_mm_exe_file(oldmm)); in dup_mmap() 1077 RCU_INIT_POINTER(mm->exe_file, NULL); in mm_init() 1200 old_exe_file = rcu_dereference_raw(mm->exe_file); in set_mm_exe_file() 1204 rcu_assign_pointer(mm->exe_file, new_exe_file); in set_mm_exe_file() 1217 struct file *exe_file; in get_mm_exe_file() local 1220 exe_file = rcu_dereference(mm->exe_file); in get_mm_exe_file() 1221 if (exe_file && !get_file_rcu(exe_file)) in get_mm_exe_file() 1222 exe_file = NULL; in get_mm_exe_file() 1224 return exe_file; in get_mm_exe_file() [all …]
|
| H A D | audit.c | 2195 struct file *exe_file; in audit_log_d_path_exe() local 2200 exe_file = get_mm_exe_file(mm); in audit_log_d_path_exe() 2201 if (!exe_file) in audit_log_d_path_exe() 2204 audit_log_d_path(ab, " exe=", &exe_file->f_path); in audit_log_d_path_exe() 2205 fput(exe_file); in audit_log_d_path_exe()
|
| H A D | sys.c | 1841 struct file *old_exe, *exe_file; in prctl_set_mm_exe_file() local 1867 exe_file = get_mm_exe_file(mm); in prctl_set_mm_exe_file() 1869 if (exe_file) { in prctl_set_mm_exe_file() 1877 &exe_file->f_path)) in prctl_set_mm_exe_file() 1882 fput(exe_file); in prctl_set_mm_exe_file() 1888 old_exe = xchg(&mm->exe_file, exe.file); in prctl_set_mm_exe_file() 1896 fput(exe_file); in prctl_set_mm_exe_file()
|
| /OK3568_Linux_fs/kernel/security/tomoyo/ |
| H A D | util.c | 963 struct file *exe_file; in tomoyo_get_exe() local 969 exe_file = get_mm_exe_file(mm); in tomoyo_get_exe() 970 if (!exe_file) in tomoyo_get_exe() 973 cp = tomoyo_realpath_from_path(&exe_file->f_path); in tomoyo_get_exe() 974 fput(exe_file); in tomoyo_get_exe()
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | coredump.c | 159 struct file *exe_file; in cn_print_exe_file() local 163 exe_file = get_mm_exe_file(current->mm); in cn_print_exe_file() 164 if (!exe_file) in cn_print_exe_file() 173 path = file_path(exe_file, pathbuf, PATH_MAX); in cn_print_exe_file() 189 fput(exe_file); in cn_print_exe_file()
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | debug.c | 269 mm->exe_file, in dump_mm()
|
| /OK3568_Linux_fs/kernel/drivers/misc/ |
| H A D | uid_sys_stats.c | 140 if (mm->exe_file) { in get_full_task_comm() 141 char *pathname = d_path(&mm->exe_file->f_path, buf, in get_full_task_comm()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | mm_types.h | 561 struct file __rcu *exe_file; member
|
| /OK3568_Linux_fs/kernel/fs/proc/ |
| H A D | base.c | 1722 struct file *exe_file; in proc_exe_link() local 1727 exe_file = get_task_exe_file(task); in proc_exe_link() 1729 if (exe_file) { in proc_exe_link() 1730 *exe_path = exe_file->f_path; in proc_exe_link() 1731 path_get(&exe_file->f_path); in proc_exe_link() 1732 fput(exe_file); in proc_exe_link()
|