Home
last modified time | relevance | path

Searched refs:file_path (Results 1 - 25 of 68) sorted by relevance

123

/kernel/linux/common_modules/tzdriver/tlogger/
H A Dtlogger.h34 int tlogger_store_msg(const char *file_path, uint32_t file_path_len);
49 static inline int tlogger_store_msg(const char *file_path, uint32_t file_path_len) in tlogger_store_msg() argument
51 (void)file_path; in tlogger_store_msg()
H A Dtlogger.c1019 static int tlogger_chown(const char *file_path, uint32_t file_path_len) in tlogger_chown() argument
1021 (void)file_path; in tlogger_chown()
1027 static int tlogger_chown(const char *file_path, uint32_t file_path_len) in tlogger_chown() argument
1047 ret = (int)ksys_chown((const char __user *)file_path, user, group); in tlogger_chown()
1049 ret = (int)sys_chown((const char __user *)file_path, user, group); in tlogger_chown()
1196 const char *file_path, uint32_t file_path_len) in get_msg_buffer()
1214 if (strcmp(file_path, CONFIG_TEE_LOG_DUMP_PATH) == 0) { in get_msg_buffer()
1223 (void)file_path; in get_msg_buffer()
1250 const char *file_path, uint32_t file_path_len) in open_msg_file()
1255 filep = filp_open(file_path, O_CREA in open_msg_file()
1194 get_msg_buffer(unsigned char **buffer, uint32_t *buffer_max_len, uint32_t *read_start, uint32_t *read_end, const char *file_path, uint32_t file_path_len) get_msg_buffer() argument
1249 open_msg_file(struct file **file, const char *file_path, uint32_t file_path_len) open_msg_file() argument
1265 tlogger_store_msg(const char *file_path, uint32_t file_path_len) tlogger_store_msg() argument
[all...]
/kernel/linux/common_modules/tzdriver/core/
H A Dtz_update_crl.c125 static struct file *crl_file_open(const char *file_path) in crl_file_open() argument
136 ret = kern_path(file_path, LOOKUP_FOLLOW, &base_path); in crl_file_open()
151 int tz_update_crl(const char *file_path, const struct tc_ns_dev_file *dev_file) in tz_update_crl() argument
160 if (!dev_file || !file_path) { in tz_update_crl()
165 fp = crl_file_open(file_path); in tz_update_crl()
H A Dtz_update_crl.h21 int tz_update_crl(const char *file_path, const struct tc_ns_dev_file *dev_file);
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c124 char file_path[PATH_MAX + 1]; in __write_cgroup_file() local
127 snprintf(file_path, sizeof(file_path), "%s/%s", cgroup_path, file); in __write_cgroup_file()
128 fd = open(file_path, O_RDWR); in __write_cgroup_file()
130 log_err("Opening %s", file_path); in __write_cgroup_file()
135 log_err("Writing to %s", file_path); in __write_cgroup_file()
/kernel/linux/linux-5.10/scripts/clang-tools/
H A Dgen_compile_commands.py158 def process_line(root_directory, command_prefix, file_path):
165 file_path: The .c file from the end of the extracted command.
172 ValueError: Could not find the extracted file based on file_path and
182 abs_path = os.path.abspath(os.path.join(root_directory, file_path))
188 'command': prefix + file_path,
/kernel/linux/linux-6.6/scripts/clang-tools/
H A Dgen_compile_commands.py152 def process_line(root_directory, command_prefix, file_path):
159 file_path: The .c file from the end of the extracted command.
166 ValueError: Could not find the extracted file based on file_path and
176 abs_path = os.path.abspath(os.path.join(root_directory, file_path))
182 'command': prefix + file_path,
/kernel/linux/linux-6.6/tools/perf/util/
H A Dordered-events.h12 const char *file_path; member
57 u64 timestamp, u64 file_offset, const char *file_path);
H A Dsession.c44 const char *file_path) in perf_session__process_compressed_event()
66 decomp->file_path = file_path; in perf_session__process_compressed_event()
107 const char *file_path);
190 event->file_path); in ordered_events__deliver_event()
472 const char *file_path __maybe_unused) in perf_session__process_compressed_event_stub()
1084 u64 timestamp, u64 file_offset, const char *file_path) in perf_session__queue_event()
1086 return ordered_events__queue(&s->ordered_events, event, timestamp, file_offset, file_path); in perf_session__queue_event()
1312 const char *file_path) in dump_event()
1318 file_offset, file_path, even in dump_event()
42 perf_session__process_compressed_event(struct perf_session *session, union perf_event *event, u64 file_offset, const char *file_path) perf_session__process_compressed_event() argument
1083 perf_session__queue_event(struct perf_session *s, union perf_event *event, u64 timestamp, u64 file_offset, const char *file_path) perf_session__queue_event() argument
1310 dump_event(struct evlist *evlist, union perf_event *event, u64 file_offset, struct perf_sample *sample, const char *file_path) dump_event() argument
1529 machines__deliver_event(struct machines *machines, struct evlist *evlist, union perf_event *event, struct perf_sample *sample, struct perf_tool *tool, u64 file_offset, const char *file_path) machines__deliver_event() argument
1619 perf_session__deliver_event(struct perf_session *session, union perf_event *event, struct perf_tool *tool, u64 file_offset, const char *file_path) perf_session__deliver_event() argument
1648 perf_session__process_user_event(struct perf_session *session, union perf_event *event, u64 file_offset, const char *file_path) perf_session__process_user_event() argument
1844 perf_session__process_event(struct perf_session *session, union perf_event *event, u64 file_offset, const char *file_path) perf_session__process_event() argument
2431 process_simple(struct perf_session *session, union perf_event *event, u64 file_offset, const char *file_path) process_simple() argument
[all...]
H A Dsession.h57 const char *file_path; member
93 u64 timestamp, u64 file_offset, const char *file_path);
H A Dordered-events.c195 u64 timestamp, u64 file_offset, const char *file_path) in ordered_events__queue()
220 oevent->file_path = file_path; in ordered_events__queue()
194 ordered_events__queue(struct ordered_events *oe, union perf_event *event, u64 timestamp, u64 file_offset, const char *file_path) ordered_events__queue() argument
/kernel/linux/linux-5.10/drivers/staging/hievent/
H A Dhiview_hievent.c243 return append_array_item(event->file_path, MAX_PATH_NUMBER, path); in hievent_add_filepath()
395 if (!event->file_path[i]) in hievent_convert_string()
398 tmplen = snprintf(tmp, len - 1, " -i %s", event->file_path[i]); in hievent_convert_string()
483 kfree(event->file_path[i]); in hievent_destroy()
484 event->file_path[i] = NULL; in hievent_destroy()
H A Dhiview_hievent.h21 char *file_path[MAX_PATH_NUMBER]; member
/kernel/linux/linux-6.6/drivers/staging/hievent/
H A Dhiview_hievent.c243 return append_array_item(event->file_path, MAX_PATH_NUMBER, path); in hievent_add_filepath()
395 if (!event->file_path[i]) in hievent_convert_string()
398 tmplen = snprintf(tmp, len - 1, " -i %s", event->file_path[i]); in hievent_convert_string()
483 kfree(event->file_path[i]); in hievent_destroy()
484 event->file_path[i] = NULL; in hievent_destroy()
H A Dhiview_hievent.h21 char *file_path[MAX_PATH_NUMBER]; member
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dksm_tests.c59 static int ksm_write_sysfs(const char *file_path, unsigned long val) in ksm_write_sysfs() argument
61 FILE *f = fopen(file_path, "w"); in ksm_write_sysfs()
64 fprintf(stderr, "f %s\n", file_path); in ksm_write_sysfs()
78 static int ksm_read_sysfs(const char *file_path, unsigned long *val) in ksm_read_sysfs() argument
80 FILE *f = fopen(file_path, "r"); in ksm_read_sysfs()
83 fprintf(stderr, "f %s\n", file_path); in ksm_read_sysfs()
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dhmdfs_server.c296 struct path file_path; in check_sec_level() local
319 &file_path); in check_sec_level()
326 err = vfs_getxattr(file_path.dentry, DATA_SEC_LEVEL_LABEL, value, in check_sec_level()
335 path_put(&file_path); in check_sec_level()
750 char *file_path = recv->buf; in hmdfs_server_atomic_open() local
753 if (path_contain_dotdot(file_path, recv->path_len)) { in hmdfs_server_atomic_open()
1918 char *file_path = recv->buf; in hmdfs_server_getxattr() local
1922 if (path_contain_dotdot(file_path, recv->path_len)) { in hmdfs_server_getxattr()
1944 file_path, 0, &path); in hmdfs_server_getxattr()
1985 const char *file_path in hmdfs_server_setxattr() local
2032 const char *file_path = recv->buf; hmdfs_server_listxattr() local
[all...]
H A Dhmdfs_trace.h731 __array(char, file_path, MAX_FILTER_STR_VAL)
750 strlcpy(__entry->file_path, file->f_path.dentry->d_name.name,
771 __entry->file_path, __entry->file_id, __entry->file_ver,
816 __array(char, file_path, MAX_FILTER_STR_VAL)
830 strlcpy(__entry->file_path,
834 strlcpy(__entry->file_path, "null", MAX_FILTER_STR_VAL);
848 __entry->file_path, __entry->src_path,
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dhmdfs_server.c296 struct path file_path; in check_sec_level() local
319 &file_path); in check_sec_level()
326 err = vfs_getxattr(&nop_mnt_idmap, file_path.dentry, DATA_SEC_LEVEL_LABEL, value, in check_sec_level()
335 path_put(&file_path); in check_sec_level()
750 char *file_path = recv->buf; in hmdfs_server_atomic_open() local
753 if (path_contain_dotdot(file_path, recv->path_len)) { in hmdfs_server_atomic_open()
1918 char *file_path = recv->buf; in hmdfs_server_getxattr() local
1922 if (path_contain_dotdot(file_path, recv->path_len)) { in hmdfs_server_getxattr()
1944 file_path, 0, &path); in hmdfs_server_getxattr()
1985 const char *file_path in hmdfs_server_setxattr() local
2032 const char *file_path = recv->buf; hmdfs_server_listxattr() local
[all...]
H A Dhmdfs_trace.h731 __array(char, file_path, MAX_FILTER_STR_VAL)
750 strlcpy(__entry->file_path, file->f_path.dentry->d_name.name,
771 __entry->file_path, __entry->file_id, __entry->file_ver,
816 __array(char, file_path, MAX_FILTER_STR_VAL)
830 strlcpy(__entry->file_path,
834 strlcpy(__entry->file_path, "null", MAX_FILTER_STR_VAL);
848 __entry->file_path, __entry->src_path,
/kernel/linux/linux-6.6/tools/verification/dot2/
H A Dautomata.py22 def __init__(self, file_path):
23 self.__dot_path = file_path
H A Ddot2k.py20 def __init__(self, file_path, MonitorType):
21 super().__init__(file_path)
H A Ddot2c.py25 def __init__(self, file_path):
26 super().__init__(file_path)
/kernel/linux/linux-5.10/arch/arc/kernel/
H A Dtroubleshoot.c69 path_nm = file_path(exe_file, buf, ARC_PATH_MAX-1); in print_task_path_n_nm()
96 nm = file_path(vma->vm_file, buf, ARC_PATH_MAX-1); in show_faulting_vma()
/kernel/linux/linux-6.6/arch/arc/kernel/
H A Dtroubleshoot.c69 path_nm = file_path(exe_file, buf, ARC_PATH_MAX-1); in print_task_path_n_nm()
96 nm = file_path(vma->vm_file, buf, ARC_PATH_MAX-1); in show_faulting_vma()

Completed in 20 milliseconds

123