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

/linux-master/tools/testing/selftests/ntb/
H A Dntb_test.sh99 function read_file() function
147 PEER_PORT=$(read_file "${PEER_DIR}/port")
164 LOCAL_PORT=$(read_file "$LOC/port")
165 REMOTE_PORT=$(read_file "$REM/port")
191 if [[ $(read_file "$REM/link") != "N" ]]; then
209 DB_VALID_MASK=$(read_file "$LOC/db_valid_mask")
214 DB=$(read_file "$REM/db")
268 RVAL=$(read_file "$REM/../spad$i")
293 MSG_OUTBITS_MASK=$(read_file "$LOC/../msg_inbits")
294 MSG_INBITS_MASK=$(read_file "
[all...]
/linux-master/fs/hostfs/
H A Dhostfs_user_exp.c10 EXPORT_SYMBOL_GPL(read_file); variable
H A Dhostfs.h82 extern int read_file(int fd, unsigned long long *offset, char *buf, int len);
H A Dhostfs_user.c125 int read_file(int fd, unsigned long long *offset, char *buf, int len) function
H A Dhostfs_kern.c441 bytes_read = read_file(FILE_HOSTFS_I(file)->fd, &start, buffer,
/linux-master/tools/testing/selftests/mm/
H A Dthp_settings.c45 int read_file(const char *path, char *buf, size_t buflen) function
93 if (read_file(path, buf, sizeof(buf)) < 0) {
94 perror("read_file()");
125 if (!read_file(path, buf, sizeof(buf))) {
343 ret = read_file(path, buf, sizeof(buf));
H A Dthp_settings.h59 int read_file(const char *path, char *buf, size_t buflen);
H A Dkhugepaged.c162 if (read_file(path, buf, sizeof(buf)) < 0) {
163 perror("read_file(read_num)");
/linux-master/tools/testing/selftests/powerpc/
H A Dutils.c31 int read_file(const char *path, char *buf, size_t count, size_t *len) function
159 err = read_file("/proc/self/auxv", buf, buf_size, NULL);
174 return read_file(path, buf, count, NULL);
311 err = read_file(path, buffer, sizeof(buffer) - 1, NULL);
323 err = read_file(path, buffer, sizeof(buffer) - 1, NULL);
499 return read_file(path, result, result_size, NULL);
/linux-master/tools/testing/selftests/damon/
H A D_damon_sysfs.py17 def read_file(path): function
275 content, err = read_file(nr_targets_file)
289 content, err = read_file(nr_schemes_file)
319 content, err = read_file(nr_contexts_file)
341 content, err = read_file(os.path.join(scheme.sysfs_dir(),
357 content, err = read_file(
/linux-master/scripts/basic/
H A Dfixdep.c214 static void *read_file(const char *filename) function
396 buf = read_file(p);
429 buf = read_file(depfile);
/linux-master/drivers/gpu/drm/ci/xfails/
H 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-master/tools/testing/selftests/powerpc/include/
H A Dutils.h53 int read_file(const char *path, char *buf, size_t count, size_t *len);
/linux-master/scripts/
H A Dinsert-sys-cert.c228 static char *read_file(char *file_name, int *size) function
310 cert = read_file(cert_file, &cert_size);
/linux-master/tools/tracing/latency/
H A Dlatency-collector.c572 static char *read_file(const char *file, enum errhandling h) function
629 maxlat = read_file(TR_MAXLAT, ERR_WARN);
1380 tracer = read_file(TR_CURRENT, ERR_EXIT);
1381 orig_th = read_file(TR_THRESH, ERR_EXIT);
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dcore-pkey.c375 ret = read_file(core_pattern_file, core_pattern, PATH_MAX - 1, &len);
/linux-master/tools/perf/
H A Dbuiltin-inject.c1883 static int read_file(int fd, u64 offs, void *buf, size_t sz) function
1905 ret = read_file(fd, offs, buf, sz);

Completed in 170 milliseconds