Symbol: file_path
arch/arc/kernel/troubleshoot.c
69
path_nm = file_path(exe_file, buf, ARC_PATH_MAX-1);
drivers/block/loop.c
661
p = file_path(lo->lo_backing_file, buf, PAGE_SIZE - 1);
drivers/block/zram/zram_drv.c
713
p = file_path(file, buf, PAGE_SIZE - 1);
drivers/firmware/efi/libstub/efistub.h
617
void *file_path;
drivers/firmware/efi/libstub/efistub.h
632
u32 file_path;
drivers/md/md.c
7249
ptr = file_path(mddev->bitmap_info.file, file->pathname,
drivers/usb/gadget/function/f_mass_storage.c
2938
p = file_path(lun->filp, pathbuf, PATH_MAX);
drivers/usb/gadget/function/storage_common.c
341
p = file_path(curlun->filp, buf, PAGE_SIZE - 1);
fs/binfmt_elf.c
1637
filename = file_path(file, name_curpos, remaining);
fs/coredump.c
211
path = file_path(exe_file, pathbuf, PATH_MAX);
fs/ext4/super.c
883
path = file_path(file, pathname, sizeof(pathname));
fs/iomap/swapfile.c
83
p = file_path(isi->file, buf, PATH_MAX);
fs/open.c
1069
EXPORT_SYMBOL(file_path);
fs/smb/server/smb2pdu.c
6185
target_name = file_path(filp, pathname, PATH_MAX);
include/linux/fs.h
2873
extern char *file_path(struct file *, char *, int);
lib/string_helpers.c
725
pathname = file_path(file, temp, PATH_MAX + 11);
lib/test_lockup.c
147
module_param_string(file_path, test_file_path, sizeof(test_file_path), 0400);
lib/test_lockup.c
148
MODULE_PARM_DESC(file_path, "file path to test");
mm/filemap.c
4220
path = file_path(filp, pathname, sizeof(pathname));
mm/huge_memory.c
4700
static int split_huge_pages_in_file(const char *file_path, pgoff_t off_start,
mm/huge_memory.c
4712
CLASS(filename_kernel, file)(file_path);
mm/huge_memory.c
4718
file_path, off_start, off_end, new_order, in_folio_offset);
mm/huge_memory.c
4800
char file_path[MAX_INPUT_BUF_SZ];
mm/huge_memory.c
4806
strscpy(file_path, tok);
mm/huge_memory.c
4818
ret = split_huge_pages_in_file(file_path, off_start, off_end,
tools/perf/util/ordered-events.c
195
u64 timestamp, u64 file_offset, const char *file_path)
tools/perf/util/ordered-events.c
220
oevent->file_path = file_path;
tools/perf/util/ordered-events.h
12
const char *file_path;
tools/perf/util/ordered-events.h
57
u64 timestamp, u64 file_offset, const char *file_path);
tools/perf/util/session.c
1086
const char *file_path)
tools/perf/util/session.c
1092
file_offset, file_path, event->header.size, event->header.type);
tools/perf/util/session.c
137
event->file_path);
tools/perf/util/session.c
1442
const char *file_path)
tools/perf/util/session.c
1447
dump_event(evlist, event, file_offset, sample, file_path);
tools/perf/util/session.c
1552
const char *file_path)
tools/perf/util/session.c
1573
event, &sample, tool, file_offset, file_path);
tools/perf/util/session.c
1585
const char *file_path)
tools/perf/util/session.c
1597
dump_event(session->evlist, event, file_offset, &sample, file_path);
tools/perf/util/session.c
1678
err = tool->compressed(tool, session, event, file_offset, file_path);
tools/perf/util/session.c
1680
dump_event(session->evlist, event, file_offset, &sample, file_path);
tools/perf/util/session.c
1836
const char *file_path)
tools/perf/util/session.c
1860
return perf_session__process_user_event(session, event, file_offset, file_path);
tools/perf/util/session.c
1869
ret = perf_session__queue_event(session, event, timestamp, file_offset, file_path);
tools/perf/util/session.c
1874
return perf_session__deliver_event(session, event, tool, file_offset, file_path);
tools/perf/util/session.c
2227
decomp->file_path)) < 0) {
tools/perf/util/session.c
2259
const char *file_path);
tools/perf/util/session.c
2453
const char *file_path)
tools/perf/util/session.c
2455
return perf_session__process_event(session, event, file_offset, file_path);
tools/perf/util/session.c
49
const char *file_path);
tools/perf/util/session.c
808
u64 timestamp, u64 file_offset, const char *file_path)
tools/perf/util/session.c
810
return ordered_events__queue(&s->ordered_events, event, timestamp, file_offset, file_path);
tools/perf/util/session.h
136
u64 timestamp, u64 file_offset, const char *file_path);
tools/perf/util/session.h
99
const char *file_path;
tools/perf/util/tool.c
19
const char *file_path)
tools/perf/util/tool.c
244
const char *file_path __maybe_unused)
tools/perf/util/tool.c
41
decomp->file_path = file_path;
tools/testing/selftests/bpf/cgroup_helpers.c
132
char file_path[PATH_MAX + 1];
tools/testing/selftests/bpf/cgroup_helpers.c
135
snprintf(file_path, sizeof(file_path), "%s/%s", cgroup_path, file);
tools/testing/selftests/bpf/cgroup_helpers.c
136
fd = open(file_path, O_RDWR);
tools/testing/selftests/bpf/cgroup_helpers.c
138
log_err("Opening %s", file_path);
tools/testing/selftests/bpf/cgroup_helpers.c
143
log_err("Writing to %s", file_path);
tools/testing/selftests/landlock/fs_test.c
6790
const char *const file_path;
tools/testing/selftests/landlock/fs_test.c
6801
.file_path = file1_s1d1,
tools/testing/selftests/landlock/fs_test.c
6809
.file_path = TMP_DIR "/dir/file",
tools/testing/selftests/landlock/fs_test.c
6816
.file_path = TMP_DIR "/test/cgroup.procs",
tools/testing/selftests/landlock/fs_test.c
6823
.file_path = TMP_DIR "/self/status",
tools/testing/selftests/landlock/fs_test.c
6830
.file_path = TMP_DIR "/kernel/notes",
tools/testing/selftests/landlock/fs_test.c
6838
.file_path = TMP_DIR "/dir/file",
tools/testing/selftests/landlock/fs_test.c
6859
char *dir_path = dirname_alloc(variant->file_path);
tools/testing/selftests/landlock/fs_test.c
6882
if (stat(variant->file_path, &statbuf)) {
tools/testing/selftests/landlock/fs_test.c
6886
fd = creat(variant->file_path, 0600);
tools/testing/selftests/landlock/fs_test.c
6890
variant->file_path, strerror(errno));
tools/testing/selftests/landlock/fs_test.c
6911
unlink(variant->file_path);
tools/testing/selftests/landlock/fs_test.c
6916
char *dir_path = dirname_alloc(variant->file_path);
tools/testing/selftests/landlock/fs_test.c
6954
EXPECT_EQ(0, test_open(variant->file_path, O_RDONLY | O_CLOEXEC));
tools/testing/selftests/landlock/fs_test.c
6963
EXPECT_EQ(0, test_open(variant->file_path, O_RDONLY | O_CLOEXEC));
tools/testing/selftests/landlock/fs_test.c
6975
EXPECT_EQ(EACCES, test_open(variant->file_path, O_RDONLY | O_CLOEXEC));
tools/testing/selftests/landlock/fs_test.c
6993
char *dir_path = dirname_alloc(variant->file_path);
tools/testing/selftests/landlock/fs_test.c
7001
layer3_fs_tag_inode(_metadata, self, variant, variant->file_path);
tools/testing/selftests/landlock/fs_test.c
7021
EXPECT_EQ(0, remove_path(variant->file_path));
tools/testing/selftests/landlock/fs_test.c
7024
char *dir_path = dirname_alloc(variant->file_path);
tools/testing/selftests/mm/ksm_tests.c
60
static int ksm_write_sysfs(const char *file_path, unsigned long val)
tools/testing/selftests/mm/ksm_tests.c
62
return write_sysfs(file_path, val);
tools/testing/selftests/mm/ksm_tests.c
65
static int ksm_read_sysfs(const char *file_path, unsigned long *val)
tools/testing/selftests/mm/ksm_tests.c
67
return read_sysfs(file_path, val);
tools/testing/selftests/mm/vm_util.c
535
int write_sysfs(const char *file_path, unsigned long val)
tools/testing/selftests/mm/vm_util.c
537
FILE *f = fopen(file_path, "w");
tools/testing/selftests/mm/vm_util.c
540
fprintf(stderr, "f %s\n", file_path);
tools/testing/selftests/mm/vm_util.c
554
int read_sysfs(const char *file_path, unsigned long *val)
tools/testing/selftests/mm/vm_util.c
556
FILE *f = fopen(file_path, "r");
tools/testing/selftests/mm/vm_util.c
559
fprintf(stderr, "f %s\n", file_path);
tools/testing/selftests/mm/vm_util.h
114
int write_sysfs(const char *file_path, unsigned long val);
tools/testing/selftests/mm/vm_util.h
115
int read_sysfs(const char *file_path, unsigned long *val);
tools/testing/selftests/resctrl/resctrlfs.c
381
char file_path[PATH_MAX];
tools/testing/selftests/resctrl/resctrlfs.c
384
snprintf(file_path, sizeof(file_path), "%s/%s/%s", INFO_PATH, resource,
tools/testing/selftests/resctrl/resctrlfs.c
387
fp = fopen(file_path, "r");
tools/testing/selftests/resctrl/resctrlfs.c
389
ksft_print_msg("Error opening %s: %m\n", file_path);
tools/testing/selftests/resctrl/resctrlfs.c
394
ksft_print_msg("Could not get contents of %s: %m\n", file_path);