Home
last modified time | relevance | path

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

12

/Linux-v6.6/tools/testing/selftests/bpf/
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()
/Linux-v6.6/scripts/clang-tools/
Dgen_compile_commands.py152 def process_line(root_directory, command_prefix, file_path): argument
176 abs_path = os.path.abspath(os.path.join(root_directory, file_path))
182 'command': prefix + file_path,
/Linux-v6.6/tools/perf/util/
Dordered-events.h12 const char *file_path; member
57 u64 timestamp, u64 file_offset, const char *file_path);
Dsession.c44 const char *file_path) in perf_session__process_compressed_event() argument
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() argument
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() argument
1318 file_offset, file_path, event->header.size, event->header.type); in dump_event()
1534 const char *file_path) in machines__deliver_event() argument
[all …]
Dsession.h57 const char *file_path; member
93 u64 timestamp, u64 file_offset, const char *file_path);
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-v6.6/tools/testing/selftests/mm/
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-v6.6/tools/verification/dot2/
Dautomata.py22 def __init__(self, file_path): argument
23 self.__dot_path = file_path
Ddot2k.py20 def __init__(self, file_path, MonitorType): argument
21 super().__init__(file_path)
Ddot2c.py25 def __init__(self, file_path): argument
26 super().__init__(file_path)
/Linux-v6.6/arch/arc/kernel/
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()
/Linux-v6.6/tools/testing/selftests/landlock/
Dfs_test.c4519 const char *const file_path; in FIXTURE_VARIANT() local
4527 .file_path = file1_s1d1, in FIXTURE_VARIANT_ADD()
4535 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
4542 .file_path = TMP_DIR "/test/cgroup.procs", in FIXTURE_VARIANT_ADD()
4549 .file_path = TMP_DIR "/self/status", in FIXTURE_VARIANT_ADD()
4556 .file_path = TMP_DIR "/kernel/notes", in FIXTURE_VARIANT_ADD()
4564 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
4580 slash = strrchr(variant->file_path, '/'); in FIXTURE_SETUP()
4582 dir_len = (size_t)slash - (size_t)variant->file_path; in FIXTURE_SETUP()
4586 strncpy(self->dir_path, variant->file_path, dir_len); in FIXTURE_SETUP()
[all …]
/Linux-v6.6/lib/
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");
Dstring_helpers.c711 pathname = file_path(file, temp, PATH_MAX + 11); in kstrdup_quotable_file()
/Linux-v6.6/fs/iomap/
Dswapfile.c86 p = file_path(isi->file, buf, PATH_MAX); in iomap_swapfile_fail()
/Linux-v6.6/mm/
Dhuge_memory.c3058 static int split_huge_pages_in_file(const char *file_path, pgoff_t off_start, in split_huge_pages_in_file() argument
3069 file = getname_kernel(file_path); in split_huge_pages_in_file()
3078 file_path, off_start, off_end); in split_huge_pages_in_file()
3143 char file_path[MAX_INPUT_BUF_SZ]; in split_huge_pages_write() local
3149 strcpy(file_path, tok); in split_huge_pages_write()
3160 ret = split_huge_pages_in_file(file_path, off_start, off_end); in split_huge_pages_write()
/Linux-v6.6/drivers/usb/gadget/function/
Dstorage_common.c341 p = file_path(curlun->filp, buf, PAGE_SIZE - 1); in fsg_show_file()
/Linux-v6.6/drivers/firmware/efi/libstub/
Defistub.h585 void *file_path; member
600 u32 file_path; member
/Linux-v6.6/fs/
Dopen.c1049 char *file_path(struct file *filp, char *buf, int buflen) in file_path() function
1053 EXPORT_SYMBOL(file_path);
Dcoredump.c177 path = file_path(exe_file, pathbuf, PATH_MAX); in cn_print_exe_file()
Dbinfmt_elf.c1683 filename = file_path(file, name_curpos, remaining); in fill_files_note()
/Linux-v6.6/fs/xfs/scrub/
Dtrace.h795 path = file_path(xf->file, pathname, sizeof(pathname) - 1);
/Linux-v6.6/drivers/block/
Dloop.c676 p = file_path(lo->lo_backing_file, buf, PAGE_SIZE - 1); in loop_attr_backing_file_show()
/Linux-v6.6/drivers/block/zram/
Dzram_drv.c449 p = file_path(file, buf, PAGE_SIZE - 1); in backing_dev_show()
/Linux-v6.6/include/linux/
Dfs.h2778 extern char *file_path(struct file *, char *, int);

12