Searched refs:read_file_alloc (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/powerpc/syscalls/ |
H A D | rtas_filter.c | 63 return read_file_alloc(path, prop_val, prop_len); in get_property() 90 err = read_file_alloc("/proc/ppc64/rtas/rmo_buffer", &buf, NULL); in read_kregion_bounds()
|
/linux/tools/testing/selftests/powerpc/papr_vpd/ |
H A D | papr_vpd.c | 222 if (read_file_alloc(model_path, &model, NULL)) in get_system_loc_code() 225 if (read_file_alloc(system_id_path, &system_id, NULL)) in get_system_loc_code()
|
/linux/tools/testing/selftests/powerpc/include/ |
H A D | utils.h | 55 int read_file_alloc(const char *path, char **buf, size_t *len);
|
/linux/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | gzfht_test.c | 212 if (read_file_alloc(argv[1], &inbuf, &inlen)) in compress_file()
|
/linux/tools/testing/selftests/powerpc/ |
H A D | utils.c | 68 int read_file_alloc(const char *path, char **buf, size_t *len) in read_file_alloc() function
|