file_path
path_nm = file_path(exe_file, buf, ARC_PATH_MAX-1);
p = file_path(lo->lo_backing_file, buf, PAGE_SIZE - 1);
p = file_path(file, buf, PAGE_SIZE - 1);
void *file_path;
u32 file_path;
ptr = file_path(mddev->bitmap_info.file, file->pathname,
p = file_path(lun->filp, pathbuf, PATH_MAX);
p = file_path(curlun->filp, buf, PAGE_SIZE - 1);
filename = file_path(file, name_curpos, remaining);
path = file_path(exe_file, pathbuf, PATH_MAX);
path = file_path(file, pathname, sizeof(pathname));
p = file_path(isi->file, buf, PATH_MAX);
EXPORT_SYMBOL(file_path);
target_name = file_path(filp, pathname, PATH_MAX);
extern char *file_path(struct file *, char *, int);
pathname = file_path(file, temp, PATH_MAX + 11);
module_param_string(file_path, test_file_path, sizeof(test_file_path), 0400);
MODULE_PARM_DESC(file_path, "file path to test");
path = file_path(filp, pathname, sizeof(pathname));
static int split_huge_pages_in_file(const char *file_path, pgoff_t off_start,
CLASS(filename_kernel, file)(file_path);
file_path, off_start, off_end, new_order, in_folio_offset);
char file_path[MAX_INPUT_BUF_SZ];
strscpy(file_path, tok);
ret = split_huge_pages_in_file(file_path, off_start, off_end,
u64 timestamp, u64 file_offset, const char *file_path)
oevent->file_path = file_path;
const char *file_path;
u64 timestamp, u64 file_offset, const char *file_path);
const char *file_path)
file_offset, file_path, event->header.size, event->header.type);
event->file_path);
const char *file_path)
dump_event(evlist, event, file_offset, sample, file_path);
const char *file_path)
event, &sample, tool, file_offset, file_path);
const char *file_path)
dump_event(session->evlist, event, file_offset, &sample, file_path);
err = tool->compressed(tool, session, event, file_offset, file_path);
dump_event(session->evlist, event, file_offset, &sample, file_path);
const char *file_path)
return perf_session__process_user_event(session, event, file_offset, file_path);
ret = perf_session__queue_event(session, event, timestamp, file_offset, file_path);
return perf_session__deliver_event(session, event, tool, file_offset, file_path);
decomp->file_path)) < 0) {
const char *file_path);
const char *file_path)
return perf_session__process_event(session, event, file_offset, file_path);
const char *file_path);
u64 timestamp, u64 file_offset, const char *file_path)
return ordered_events__queue(&s->ordered_events, event, timestamp, file_offset, file_path);
u64 timestamp, u64 file_offset, const char *file_path);
const char *file_path;
const char *file_path)
const char *file_path __maybe_unused)
decomp->file_path = file_path;
char file_path[PATH_MAX + 1];
snprintf(file_path, sizeof(file_path), "%s/%s", cgroup_path, file);
fd = open(file_path, O_RDWR);
log_err("Opening %s", file_path);
log_err("Writing to %s", file_path);
const char *const file_path;
.file_path = file1_s1d1,
.file_path = TMP_DIR "/dir/file",
.file_path = TMP_DIR "/test/cgroup.procs",
.file_path = TMP_DIR "/self/status",
.file_path = TMP_DIR "/kernel/notes",
.file_path = TMP_DIR "/dir/file",
char *dir_path = dirname_alloc(variant->file_path);
if (stat(variant->file_path, &statbuf)) {
fd = creat(variant->file_path, 0600);
variant->file_path, strerror(errno));
unlink(variant->file_path);
char *dir_path = dirname_alloc(variant->file_path);
EXPECT_EQ(0, test_open(variant->file_path, O_RDONLY | O_CLOEXEC));
EXPECT_EQ(0, test_open(variant->file_path, O_RDONLY | O_CLOEXEC));
EXPECT_EQ(EACCES, test_open(variant->file_path, O_RDONLY | O_CLOEXEC));
char *dir_path = dirname_alloc(variant->file_path);
layer3_fs_tag_inode(_metadata, self, variant, variant->file_path);
EXPECT_EQ(0, remove_path(variant->file_path));
char *dir_path = dirname_alloc(variant->file_path);
static int ksm_write_sysfs(const char *file_path, unsigned long val)
return write_sysfs(file_path, val);
static int ksm_read_sysfs(const char *file_path, unsigned long *val)
return read_sysfs(file_path, val);
int write_sysfs(const char *file_path, unsigned long val)
FILE *f = fopen(file_path, "w");
fprintf(stderr, "f %s\n", file_path);
int read_sysfs(const char *file_path, unsigned long *val)
FILE *f = fopen(file_path, "r");
fprintf(stderr, "f %s\n", file_path);
int write_sysfs(const char *file_path, unsigned long val);
int read_sysfs(const char *file_path, unsigned long *val);
char file_path[PATH_MAX];
snprintf(file_path, sizeof(file_path), "%s/%s/%s", INFO_PATH, resource,
fp = fopen(file_path, "r");
ksft_print_msg("Error opening %s: %m\n", file_path);
ksft_print_msg("Could not get contents of %s: %m\n", file_path);