Home
last modified time | relevance | path

Searched refs:read_file (Results 1 – 17 of 17) sorted by relevance

/linux/tools/testing/selftests/ntb/
A Dntb_test.sh99 function read_file() function
164 LOCAL_PORT=$(read_file "$LOC/port")
165 REMOTE_PORT=$(read_file "$REM/port")
214 DB=$(read_file "$REM/db")
268 RVAL=$(read_file "$REM/../spad$i")
302 RVAL=$(read_file "$REM/../msg$i")
434 LOC_END=$(read_file "$LOC/count")
435 REM_END=$(read_file "$REM/count")
454 CNT=$(read_file "$LOC/count")
485 read_file "$LOCAL_PERF/run"
[all …]
/linux/tools/testing/selftests/damon/
A D_damon_sysfs.py28 def read_file(path): function
151 content, err = read_file(nr_goals_file)
348 content, err = read_file(nr_targets_file)
362 content, err = read_file(nr_schemes_file)
394 content, err = read_file(nr_contexts_file)
430 content, err = read_file(
445 content, err = read_file(os.path.join(scheme.sysfs_dir(),
461 content, err = read_file(
476 content, err = read_file(
487 content, err = read_file(nr_contexts_file)
/linux/tools/testing/selftests/powerpc/
A Dutils.c31 int read_file(const char *path, char *buf, size_t count, size_t *len) in read_file() function
159 err = read_file("/proc/self/auxv", buf, buf_size, NULL); in read_auxv()
174 return read_file(path, buf, count, NULL); in read_debugfs_file()
311 err = read_file(path, buffer, sizeof(buffer) - 1, NULL); in read_long()
323 err = read_file(path, buffer, sizeof(buffer) - 1, NULL); in read_ulong()
499 return read_file(path, result, result_size, NULL); in read_sysfs_file()
/linux/tools/testing/selftests/mm/
A Dthp_settings.c46 int read_file(const char *path, char *buf, size_t buflen) in read_file() function
94 if (read_file(path, buf, sizeof(buf)) < 0) { in read_num()
126 if (!read_file(path, buf, sizeof(buf))) { in thp_read_string()
367 ret = read_file(path, buf, sizeof(buf)); in __thp_supported_orders()
A Dthp_settings.h65 int read_file(const char *path, char *buf, size_t buflen);
A Dkhugepaged.c162 if (read_file(path, buf, sizeof(buf)) < 0) { in get_finfo()
/linux/scripts/basic/
A Dfixdep.c213 static void *read_file(const char *filename) in read_file() function
391 buf = read_file(p); in parse_dep_file()
424 buf = read_file(depfile); in main()
/linux/drivers/gpu/drm/ci/xfails/
A Dupdate-xfails.py31 def read_file(file_path): function
147 fails_txt = read_file(fails_txt_path)
148 flakes_txt = read_file(flakes_txt_path)
/linux/fs/hostfs/
A Dhostfs_user_exp.c10 EXPORT_SYMBOL_GPL(read_file);
A Dhostfs.h83 extern int read_file(int fd, unsigned long long *offset, char *buf, int len);
A Dhostfs_user.c126 int read_file(int fd, unsigned long long *offset, char *buf, int len) in read_file() function
A Dhostfs_kern.c454 bytes_read = read_file(FILE_HOSTFS_I(file)->fd, &start, buffer, in hostfs_read_folio()
/linux/scripts/
A Dinsert-sys-cert.c228 static char *read_file(char *file_name, int *size) in read_file() function
310 cert = read_file(cert_file, &cert_size); in main()
/linux/tools/testing/selftests/powerpc/include/
A Dutils.h53 int read_file(const char *path, char *buf, size_t count, size_t *len);
/linux/tools/tracing/latency/
A Dlatency-collector.c572 static char *read_file(const char *file, enum errhandling h) in read_file() function
629 maxlat = read_file(TR_MAXLAT, ERR_WARN); in cleanup_exit()
1380 tracer = read_file(TR_CURRENT, ERR_EXIT); in save_and_disable_tracer()
1381 orig_th = read_file(TR_THRESH, ERR_EXIT); in save_and_disable_tracer()
/linux/tools/testing/selftests/powerpc/ptrace/
A Dcore-pkey.c375 ret = read_file(core_pattern_file, core_pattern, PATH_MAX - 1, &len); in setup_core_pattern()
/linux/tools/perf/
A Dbuiltin-inject.c2072 static int read_file(int fd, u64 offs, void *buf, size_t sz) in read_file() function
2094 ret = read_file(fd, offs, buf, sz); in feat_copy()

Completed in 51 milliseconds