Searched refs:exe_file (Results 1 – 8 of 8) sorted by relevance
58 struct file *exe_file; in print_task_path_n_nm() local65 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()
333 struct file *exe_file; in get_current_exe_path() local337 exe_file = get_task_exe_file(current); in get_current_exe_path()338 if (!exe_file) in get_current_exe_path()340 p = exe_file->f_path; in get_current_exe_path()346 fput(exe_file); in get_current_exe_path()
568 struct file *exe_file; in dup_mm_exe_file() local570 exe_file = get_mm_exe_file(oldmm); in dup_mm_exe_file()571 RCU_INIT_POINTER(mm->exe_file, exe_file); in dup_mm_exe_file()576 if (exe_file && exe_file_deny_write_access(exe_file)) in dup_mm_exe_file()1111 RCU_INIT_POINTER(mm->exe_file, NULL); in mm_init()1261 old_exe_file = rcu_dereference_raw(mm->exe_file); in set_mm_exe_file()1272 rcu_assign_pointer(mm->exe_file, new_exe_file); in set_mm_exe_file()1322 old_exe_file = rcu_dereference_raw(mm->exe_file); in replace_mm_exe_file()1323 rcu_assign_pointer(mm->exe_file, new_exe_file); in replace_mm_exe_file()1342 struct file *exe_file; in get_mm_exe_file() local[all …]
2423 struct file *exe_file; in audit_log_d_path_exe() local2428 exe_file = get_mm_exe_file(mm); in audit_log_d_path_exe()2429 if (!exe_file) in audit_log_d_path_exe()2432 audit_log_d_path(ab, " exe=", &exe_file->f_path); in audit_log_d_path_exe()2433 fput(exe_file); in audit_log_d_path_exe()
968 struct file *exe_file; in tomoyo_get_exe() local974 exe_file = get_mm_exe_file(mm); in tomoyo_get_exe()975 if (!exe_file) in tomoyo_get_exe()978 cp = tomoyo_realpath_from_path(&exe_file->f_path); in tomoyo_get_exe()979 fput(exe_file); in tomoyo_get_exe()
192 "exe_file %px\n" in dump_mm() 221 mm->exe_file, in dump_mm()
2861 static inline int exe_file_deny_write_access(struct file *exe_file) in exe_file_deny_write_access() argument2863 if (unlikely(FMODE_FSNOTIFY_HSM(exe_file->f_mode))) in exe_file_deny_write_access()2865 return deny_write_access(exe_file); in exe_file_deny_write_access()2867 static inline void exe_file_allow_write_access(struct file *exe_file) in exe_file_allow_write_access() argument2869 if (unlikely(!exe_file || FMODE_FSNOTIFY_HSM(exe_file->f_mode))) in exe_file_allow_write_access()2871 allow_write_access(exe_file); in exe_file_allow_write_access()
5845 struct file __rcu *exe_file; in BTF_TYPE_SAFE_RCU_OR_NULL() local