| /linux/tools/testing/selftests/ntb/ |
| H A D | ntb_test.sh | 99 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/tools/testing/selftests/x86/bugs/ |
| H A D | common.py | 14 def read_file(path): function 21 cpuinfo = read_file('/proc/cpuinfo') 27 cmdline = read_file('/proc/cmdline') 33 cmdline = read_file('/proc/cmdline') 43 cmdline = read_file('/proc/cmdline') 50 return read_file("/sys/devices/system/cpu/vulnerabilities/" + bug)
|
| /linux/tools/testing/selftests/powerpc/ |
| H A D | utils.c | 31 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/ |
| H A D | thp_settings.c | |
| H A D | thp_settings.h | |
| H A D | khugepaged.c | 141 if (read_file(path, buf, sizeof(buf)) < 0) in get_finfo() 142 ksft_exit_fail_perror("read_file(read_num)"); in get_finfo()
|
| /linux/tools/testing/selftests/damon/ |
| H A D | _damon_sysfs.py | 32 def read_file(path): function 190 content, err = read_file(nr_goals_file) 666 content, err = read_file(nr_targets_file) 680 content, err = read_file(nr_schemes_file) 719 content, err = read_file(nr_contexts_file) 739 self.pid, err = read_file(os.path.join(self.sysfs_dir(), 'pid')) 768 content, err = read_file( 783 content, err = read_file(os.path.join(scheme.sysfs_dir(), 799 content, err = read_file( 814 content, err = read_file( [all...] |
| /linux/scripts/basic/ |
| H A D | fixdep.c | 213 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/fs/hostfs/ |
| H A D | hostfs_user_exp.c | 10 EXPORT_SYMBOL_GPL(read_file);
|
| H A D | hostfs.h | 51 extern int read_file(int fd, unsigned long long *offset, char *buf, int len);
|
| /linux/scripts/ |
| H A D | insert-sys-cert.c | 228 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/ |
| H A D | utils.h | 53 int read_file(const char *path, char *buf, size_t count, size_t *len);
|
| /linux/tools/tracing/latency/ |
| H A D | latency-collector.c | 572 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/perf/ |
| H A D | builtin-inject.c | 2327 static int read_file(int fd, u64 offs, void *buf, size_t sz) in __cmd_inject() 2349 ret = read_file(fd, offs, buf, sz); in __cmd_inject() 2155 static int read_file(int fd, u64 offs, void *buf, size_t sz) read_file() function
|
| /linux/tools/testing/selftests/landlock/ |
| H A D | fs_test.c | 7563 * the extra ",fs\\.read_file" blocked by the executable file. in TEST_F() 7567 "fs\\.execute,fs\\.read_file", file1_s1d1)); in TEST_F() 7570 "fs\\.execute,fs\\.read_file", file1_s1d1)); in TEST_F() 7592 TEST_F(audit_layout1, read_file) in TEST_F() 7599 EXPECT_EQ(0, matches_log_fs(_metadata, self->audit_fd, "fs\\.read_file", in TEST_F() 8243 blocker = "fs\\.write_file,fs\\.read_file"; 8245 blocker = "fs\\.read_file"; 10706 * grants= fields. Opening file1_s1d1 read-only needs only read_file, but the 10708 * both, so the event reports access_request=read_file|truncate and 10709 * grants={read_file|truncat 7228 TEST_F(audit_layout1,read_file) TEST_F() argument [all...] |