Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/mm/
Dhugetlb-read-hwpoison.c238 static int create_hugetlbfs_file(struct statfs *file_stat) in create_hugetlbfs_file() argument
248 memset(file_stat, 0, sizeof(*file_stat)); in create_hugetlbfs_file()
249 if (fstatfs(fd, file_stat)) { in create_hugetlbfs_file()
253 if (file_stat->f_type != HUGETLBFS_MAGIC) { in create_hugetlbfs_file()
267 struct statfs file_stat; in main() local
280 fd = create_hugetlbfs_file(&file_stat); in main()
284 status = test_hugetlb_read(fd, file_stat.f_bsize, in main()
292 fd = create_hugetlbfs_file(&file_stat); in main()
296 status = test_hugetlb_read_hwpoison(fd, file_stat.f_bsize, in main()
304 fd = create_hugetlbfs_file(&file_stat); in main()
[all …]
/Linux-v6.6/tools/testing/selftests/net/af_unix/
Ddiag_uid.c47 struct stat file_stat; in FIXTURE_SETUP() local
60 ret = fstat(self->unix_fd, &file_stat); in FIXTURE_SETUP()
63 self->inode = file_stat.st_ino; in FIXTURE_SETUP()
/Linux-v6.6/drivers/s390/char/
Dvmur.h38 __u8 file_stat; member
Dvmur.c617 if (fcb->file_stat & (FLG_SYSTEM_HOLD | FLG_USER_HOLD)) { in verify_uri_device()
636 if (!(fcb->file_stat & FLG_IN_USE)) { in verify_uri_device()
672 if (fcb->file_stat & FLG_CP_DUMP) in get_uri_file_reclen()