Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dhugetlb-read-hwpoison.c42 static int setup_filemap(char *filemap, size_t len, size_t wr_chunk_size) in setup_filemap() argument
47 offset += wr_chunk_size) { in setup_filemap()
49 memset(filemap + offset, iter, wr_chunk_size); in setup_filemap()
70 static bool seek_read_hugepage_filemap(int fd, size_t len, size_t wr_chunk_size, in seek_read_hugepage_filemap() argument
76 char val = offset / wr_chunk_size + offset % wr_chunk_size; in seek_read_hugepage_filemap()
87 ret_count = read(fd, buf, wr_chunk_size); in seek_read_hugepage_filemap()
108 size_t wr_chunk_size, size_t expected) in read_hugepage_filemap() argument
118 ret_count = read(fd, buf, wr_chunk_size); in read_hugepage_filemap()
139 test_hugetlb_read(int fd, size_t len, size_t wr_chunk_size) in test_hugetlb_read() argument
156 setup_filemap(filemap, len, wr_chunk_size); in test_hugetlb_read()
[all …]