Searched refs:file_stat (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | hugetlb-read-hwpoison.c | 238 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 D | diag_uid.c | 47 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 D | vmur.h | 38 __u8 file_stat; member
|
H A D | vmur.c | 617 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 D | usb-dbg.cpp | 307 struct stat file_stat; in chk_cri_sel_update() local 314 if ((stat("/mnt/data/cri_sel", &file_stat) == 0) && in chk_cri_sel_update() 315 (file_stat.st_mtime != frame_sel.mtime || pre_pos != pos)) in chk_cri_sel_update()
|
/openbmc/qemu/system/ |
H A D | physmem.c | 1343 struct stat file_stat; in file_ram_open() local 1345 if (fstat(fd, &file_stat)) { in file_ram_open() 1351 } else if (S_ISDIR(file_stat.st_mode)) { in file_ram_open()
|