Home
last modified time | relevance | path

Searched refs:file_path (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.15/scripts/
H A Dchecktransupdate.py33 def get_origin_path(file_path): argument
35 paths = file_path.split("/")
42 def get_latest_commit_from(file_path, commit): argument
96 def check_per_file(file_path): argument
98 opath = get_origin_path(file_path)
105 t_from_head = get_latest_commit_from(file_path, "HEAD")
108 logging.error("Cannot find the latest commit for %s", file_path)
114 logging.error("Error: Cannot find the latest origin commit for %s", file_path)
118 logging.debug("No update needed for %s", file_path)
120 logging.info(file_path)
H A Dmacro_checker.py71 def file_check_macro(file_path, report): argument
75 if not file_path.endswith(".c") and not file_path.endswith(".h"):
78 with open(file_path, "r") as f:
100 if file_path.endswith(".c") and cond_compile != 0:
103 if file_path.endswith(".h") and cond_compile != 1:
/linux-6.15/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c131 char file_path[PATH_MAX + 1]; in __write_cgroup_file() local
134 snprintf(file_path, sizeof(file_path), "%s/%s", cgroup_path, file); in __write_cgroup_file()
135 fd = open(file_path, O_RDWR); in __write_cgroup_file()
137 log_err("Opening %s", file_path); in __write_cgroup_file()
142 log_err("Writing to %s", file_path); in __write_cgroup_file()
/linux-6.15/scripts/clang-tools/
H A Dgen_compile_commands.py152 def process_line(root_directory, command_prefix, file_path): argument
176 abs_path = os.path.realpath(os.path.join(root_directory, file_path))
182 'command': prefix + file_path,
/linux-6.15/tools/testing/selftests/resctrl/
H A Dresctrlfs.c371 char file_path[PATH_MAX]; in resource_info_unsigned_get() local
374 snprintf(file_path, sizeof(file_path), "%s/%s/%s", INFO_PATH, resource, in resource_info_unsigned_get()
377 fp = fopen(file_path, "r"); in resource_info_unsigned_get()
379 ksft_print_msg("Error opening %s: %m\n", file_path); in resource_info_unsigned_get()
384 ksft_print_msg("Could not get contents of %s: %m\n", file_path); in resource_info_unsigned_get()
/linux-6.15/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 Dtool.c15 const char *file_path) in perf_session__process_compressed_event() argument
37 decomp->file_path = file_path; in perf_session__process_compressed_event()
227 const char *file_path __maybe_unused) in perf_session__process_compressed_event_stub()
H A Dsession.c47 const char *file_path);
135 event->file_path); in ordered_events__deliver_event()
1036 const char *file_path) in dump_event() argument
1271 const char *file_path) in machines__deliver_event() argument
1361 const char *file_path) in perf_session__deliver_event() argument
1382 event, &sample, tool, file_offset, file_path); in perf_session__deliver_event()
1394 const char *file_path) in perf_session__process_user_event() argument
1633 const char *file_path) in perf_session__process_event() argument
2012 decomp->file_path)) < 0) { in __perf_session__process_decomp_events()
2044 const char *file_path);
[all …]
H A Dsession.h99 const char *file_path; member
135 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() argument
220 oevent->file_path = file_path; in ordered_events__queue()
/linux-6.15/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()
/linux-6.15/tools/verification/dot2/
H A Dautomata.py22 def __init__(self, file_path, model_name=None): argument
23 self.__dot_path = file_path
H A Ddot2k.py21 def __init__(self, file_path, MonitorType, extra_params={}): argument
27 if file_path:
39 super().__init__(file_path, extra_params.get("model_name"))
H A Ddot2c.py25 def __init__(self, file_path, model_name=None): argument
26 super().__init__(file_path, model_name)
/linux-6.15/tools/testing/selftests/landlock/
H A Dfs_test.c5296 const char *const file_path; in FIXTURE_VARIANT() local
5307 .file_path = file1_s1d1, in FIXTURE_VARIANT_ADD()
5315 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
5322 .file_path = TMP_DIR "/test/cgroup.procs", in FIXTURE_VARIANT_ADD()
5329 .file_path = TMP_DIR "/self/status", in FIXTURE_VARIANT_ADD()
5336 .file_path = TMP_DIR "/kernel/notes", in FIXTURE_VARIANT_ADD()
5344 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
5388 if (stat(variant->file_path, &statbuf)) { in FIXTURE_SETUP()
5392 fd = creat(variant->file_path, 0600); in FIXTURE_SETUP()
5396 variant->file_path, strerror(errno)); in FIXTURE_SETUP()
[all …]
/linux-6.15/lib/
H A Dtest_lockup.c147 module_param_string(file_path, test_file_path, sizeof(test_file_path), 0400);
148 MODULE_PARM_DESC(file_path, "file path to test");
H A Dstring_helpers.c721 pathname = file_path(file, temp, PATH_MAX + 11); in kstrdup_quotable_file()
/linux-6.15/fs/iomap/
H A Dswapfile.c86 p = file_path(isi->file, buf, PATH_MAX); in iomap_swapfile_fail()
/linux-6.15/arch/arc/kernel/
H A Dtroubleshoot.c69 path_nm = file_path(exe_file, buf, ARC_PATH_MAX-1); in print_task_path_n_nm()
/linux-6.15/drivers/usb/gadget/function/
H A Dstorage_common.c341 p = file_path(curlun->filp, buf, PAGE_SIZE - 1); in fsg_show_file()
/linux-6.15/drivers/firmware/efi/libstub/
H A Defistub.h587 void *file_path; member
602 u32 file_path; member
/linux-6.15/mm/
H A Dhuge_memory.c4447 static int split_huge_pages_in_file(const char *file_path, pgoff_t off_start, in split_huge_pages_in_file() argument
4461 file = getname_kernel(file_path); in split_huge_pages_in_file()
4470 file_path, off_start, off_end); in split_huge_pages_in_file()
4556 char file_path[MAX_INPUT_BUF_SZ]; in split_huge_pages_write() local
4562 strscpy(file_path, tok); in split_huge_pages_write()
4574 ret = split_huge_pages_in_file(file_path, off_start, off_end, in split_huge_pages_write()
/linux-6.15/fs/
H A Dopen.c1070 char *file_path(struct file *filp, char *buf, int buflen) in file_path() function
1074 EXPORT_SYMBOL(file_path);
H A Dcoredump.c184 path = file_path(exe_file, pathbuf, PATH_MAX); in cn_print_exe_file()
H A Dbinfmt_elf.c1692 filename = file_path(file, name_curpos, remaining); in fill_files_note()

12