Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mm/
H A 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 …]
/openbmc/linux/tools/testing/selftests/net/af_unix/
H A 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()
/openbmc/linux/drivers/s390/char/
H A Dvmur.h38 __u8 file_stat; member
H A 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()
/openbmc/fb-ipmi-oem/src/
H A Dusb-dbg.cpp393 struct stat file_stat; in chk_cri_sel_update() local
400 if ((stat("/mnt/data/cri_sel", &file_stat) == 0) && in chk_cri_sel_update()
401 (file_stat.st_mtime != frame_sel.mtime || pre_pos != pos)) in chk_cri_sel_update()
/openbmc/qemu/system/
H A Dphysmem.c1308 struct stat file_stat; in file_ram_open() local
1310 if (fstat(fd, &file_stat)) { in file_ram_open()
1316 } else if (S_ISDIR(file_stat.st_mode)) { in file_ram_open()