Symbol: file_path
arch/arc/kernel/troubleshoot.c
69
path_nm = file_path(exe_file, buf, ARC_PATH_MAX-1);
drivers/block/loop.c
657
p = file_path(lo->lo_backing_file, buf, PAGE_SIZE - 1);
drivers/block/zram/zram_drv.c
715
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
7412
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
1636
filename = file_path(file, name_curpos, remaining);
fs/coredump.c
214
path = file_path(exe_file, pathbuf, PATH_MAX);
fs/ext4/super.c
889
path = file_path(file, pathname, sizeof(pathname));
fs/iomap/swapfile.c
83
p = file_path(isi->file, buf, PATH_MAX);
fs/open.c
1040
EXPORT_SYMBOL(file_path);
fs/smb/server/smb2pdu.c
6650
target_name = file_path(filp, pathname, PATH_MAX);
include/linux/fs.h
2896
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
4254
path = file_path(filp, pathname, sizeof(pathname));
mm/huge_memory.c
4709
static int split_huge_pages_in_file(const char *file_path, pgoff_t off_start,
mm/huge_memory.c
4721
CLASS(filename_kernel, file)(file_path);
mm/huge_memory.c
4727
file_path, off_start, off_end, new_order, in_folio_offset);
mm/huge_memory.c
4809
char file_path[MAX_INPUT_BUF_SZ];
mm/huge_memory.c
4815
strscpy(file_path, tok);
mm/huge_memory.c
4827
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
1265
u64 timestamp, u64 file_offset, const char *file_path)
tools/perf/util/session.c
1267
return ordered_events__queue(&s->ordered_events, event, timestamp, file_offset, file_path);
tools/perf/util/session.c
136
event->file_path);
tools/perf/util/session.c
1543
const char *file_path)
tools/perf/util/session.c
1549
file_offset, file_path, event->header.size, event->header.type);
tools/perf/util/session.c
1954
const char *file_path)
tools/perf/util/session.c
1958
dump_event(evlist, event, file_offset, sample, file_path);
tools/perf/util/session.c
2117
const char *file_path)
tools/perf/util/session.c
2228
event, &sample, tool, file_offset, file_path);
tools/perf/util/session.c
2240
const char *file_path)
tools/perf/util/session.c
2253
dump_event(session->evlist, event, file_offset, &sample, file_path);
tools/perf/util/session.c
2444
err = tool->compressed(tool, session, event, file_offset, file_path);
tools/perf/util/session.c
2446
dump_event(session->evlist, event, file_offset, &sample, file_path);
tools/perf/util/session.c
2856
const char *file_path)
tools/perf/util/session.c
2933
return perf_session__process_user_event(session, event, file_offset, file_path);
tools/perf/util/session.c
2942
ret = perf_session__queue_event(session, event, timestamp, file_offset, file_path);
tools/perf/util/session.c
2947
return perf_session__deliver_event(session, event, tool, file_offset, file_path);
tools/perf/util/session.c
3302
decomp->file_path)) < 0) {
tools/perf/util/session.c
3336
const char *file_path);
tools/perf/util/session.c
3550
const char *file_path)
tools/perf/util/session.c
3552
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.h
101
const char *file_path;
tools/perf/util/session.h
138
u64 timestamp, u64 file_offset, const char *file_path);
tools/perf/util/tool.c
19
const char *file_path)
tools/perf/util/tool.c
292
const char *file_path __maybe_unused)
tools/perf/util/tool.c
62
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/filesystems/fuse/fuse_acl_cache_test.c
192
char file_path[PATH_MAX];
tools/testing/selftests/filesystems/fuse/fuse_acl_cache_test.c
209
snprintf(self->file_path, sizeof(self->file_path),
tools/testing/selftests/filesystems/fuse/fuse_acl_cache_test.c
265
sz = lgetxattr(self->file_path, "system.posix_acl_access",
tools/testing/selftests/filesystems/fuse/fuse_acl_cache_test.c
269
sz = lgetxattr(self->file_path, "system.posix_acl_access",
tools/testing/selftests/filesystems/fuse/fuse_acl_cache_test.c
288
ASSERT_EQ(do_force_statx(self->file_path), 0);
tools/testing/selftests/filesystems/fuse/fuse_acl_cache_test.c
299
sz = lgetxattr(self->file_path, "system.posix_acl_access",
tools/testing/selftests/filesystems/fuse/fuse_acl_cache_test.c
328
sz = lgetxattr(self->file_path, "system.posix_acl_access",
tools/testing/selftests/landlock/fs_test.c
6964
const char *const file_path;
tools/testing/selftests/landlock/fs_test.c
6975
.file_path = file1_s1d1,
tools/testing/selftests/landlock/fs_test.c
6983
.file_path = TMP_DIR "/dir/file",
tools/testing/selftests/landlock/fs_test.c
6990
.file_path = TMP_DIR "/test/cgroup.procs",
tools/testing/selftests/landlock/fs_test.c
6997
.file_path = TMP_DIR "/self/status",
tools/testing/selftests/landlock/fs_test.c
7004
.file_path = TMP_DIR "/kernel/notes",
tools/testing/selftests/landlock/fs_test.c
7012
.file_path = TMP_DIR "/dir/file",
tools/testing/selftests/landlock/fs_test.c
7033
char *dir_path = dirname_alloc(variant->file_path);
tools/testing/selftests/landlock/fs_test.c
7056
if (stat(variant->file_path, &statbuf)) {
tools/testing/selftests/landlock/fs_test.c
7060
fd = creat(variant->file_path, 0600);
tools/testing/selftests/landlock/fs_test.c
7064
variant->file_path, strerror(errno));
tools/testing/selftests/landlock/fs_test.c
7085
unlink(variant->file_path);
tools/testing/selftests/landlock/fs_test.c
7090
char *dir_path = dirname_alloc(variant->file_path);
tools/testing/selftests/landlock/fs_test.c
7124
EXPECT_EQ(0, test_open(variant->file_path, O_RDONLY | O_CLOEXEC));
tools/testing/selftests/landlock/fs_test.c
7130
EXPECT_EQ(0, test_open(variant->file_path, O_RDONLY | O_CLOEXEC));
tools/testing/selftests/landlock/fs_test.c
7137
EXPECT_EQ(EACCES, test_open(variant->file_path, O_RDONLY | O_CLOEXEC));
tools/testing/selftests/landlock/fs_test.c
7155
char *dir_path = dirname_alloc(variant->file_path);
tools/testing/selftests/landlock/fs_test.c
7163
layer3_fs_tag_inode(_metadata, self, variant, variant->file_path);
tools/testing/selftests/landlock/fs_test.c
7183
EXPECT_EQ(0, remove_path(variant->file_path));
tools/testing/selftests/landlock/fs_test.c
7186
char *dir_path = dirname_alloc(variant->file_path);
tools/testing/selftests/membarrier/membarrier_rseq_stress.c
358
char buf[32], file_path[4096];
tools/testing/selftests/membarrier/membarrier_rseq_stress.c
362
snprintf(file_path, sizeof(file_path), "%s/cgroup.procs", path);
tools/testing/selftests/membarrier/membarrier_rseq_stress.c
363
return write_file(file_path, buf);
tools/testing/selftests/membarrier/membarrier_rseq_stress.c
366
snprintf(file_path, sizeof(file_path), "%s/tasks", path);
tools/testing/selftests/membarrier/membarrier_rseq_stress.c
367
int r = write_file(file_path, buf);
tools/testing/selftests/membarrier/membarrier_rseq_stress.c
370
snprintf(file_path, sizeof(file_path), "%s/cgroup.procs", path);
tools/testing/selftests/membarrier/membarrier_rseq_stress.c
371
r = write_file(file_path, buf);
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
468
int write_sysfs(const char *file_path, unsigned long val)
tools/testing/selftests/mm/vm_util.c
470
FILE *f = fopen(file_path, "w");
tools/testing/selftests/mm/vm_util.c
473
fprintf(stderr, "f %s\n", file_path);
tools/testing/selftests/mm/vm_util.c
487
int read_sysfs(const char *file_path, unsigned long *val)
tools/testing/selftests/mm/vm_util.c
489
FILE *f = fopen(file_path, "r");
tools/testing/selftests/mm/vm_util.c
492
fprintf(stderr, "f %s\n", file_path);
tools/testing/selftests/mm/vm_util.h
111
int write_sysfs(const char *file_path, unsigned long val);
tools/testing/selftests/mm/vm_util.h
112
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);