Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/ntb/
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 "$REM/../msg_inbits")
[all …]
/Linux-v5.10/scripts/basic/
Dfixdep.c261 static void *read_file(const char *filename) in read_file() function
361 buf = read_file(m); in parse_dep_file()
399 buf = read_file(depfile); in main()
/Linux-v5.10/fs/hostfs/
Dhostfs.h81 extern int read_file(int fd, unsigned long long *offset, char *buf, int len);
Dhostfs_user.c124 int read_file(int fd, unsigned long long *offset, char *buf, int len) in read_file() function
Dhostfs_kern.c441 bytes_read = read_file(FILE_HOSTFS_I(file)->fd, &start, buffer, in hostfs_readpage()
/Linux-v5.10/scripts/
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-v5.10/tools/lib/traceevent/Documentation/
Dlibtraceevent-parse_head.txt44 buf = read_file("/sys/kernel/tracing/events/header_page", &size);
Dlibtraceevent-parse_event.txt48 buf = read_file("/sys/kernel/tracing/events/ftrace/print/format", &size);
/Linux-v5.10/tools/testing/selftests/vm/
Dkhugepaged.c123 static int read_file(const char *path, char *buf, size_t buflen) in read_file() function
174 if (!read_file(path, buf, sizeof(buf))) { in read_string()
235 ret = read_file(path, buf, sizeof(buf)); in read_num()