Home
last modified time | relevance | path

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

/freebsd/tests/sys/fs/fusefs/
H A Dlseek.cc408 EXPECT_EQ(-1, lseek(fd, -1, SEEK_HOLE)); in TEST_F()
410 EXPECT_EQ(-1, lseek(fd, fsize, SEEK_HOLE)); in TEST_F()
434 in.body.lseek.whence == SEEK_HOLE); in TEST_F()
443 EXPECT_EQ(offset_out, lseek(fd, offset_in, SEEK_HOLE)); in TEST_F()
470 in.body.lseek.whence == SEEK_HOLE); in TEST_F()
481 EXPECT_EQ(fsize, lseek(fd, offset_in, SEEK_HOLE)); in TEST_F()
482 EXPECT_EQ(-1, lseek(fd, -1, SEEK_HOLE)); in TEST_F()
484 EXPECT_EQ(-1, lseek(fd, fsize, SEEK_HOLE)); in TEST_F()
508 in.body.lseek.whence == SEEK_HOLE); in TEST_F()
514 EXPECT_EQ(-1, lseek(fd, offset_in, SEEK_HOLE)); in TEST_F()
H A Dmockfs.cc256 case SEEK_HOLE: in debug_request()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dmmap_seek.c43 #ifndef SEEK_HOLE
44 #define SEEK_HOLE 4 macro
62 off_t hole_offset = lseek(fd, offset, SEEK_HOLE); in seek_hole()
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dvnode.h56 #if defined(SEEK_HOLE) && defined(SEEK_DATA)
58 #define F_SEEK_HOLE SEEK_HOLE
/freebsd/bin/cp/tests/
H A Dsparse.c29 (hole = lseek(fd, 0, SEEK_HOLE)) < 0 || in sparse()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_disk_entry_from_file.c943 #if !defined(SEEK_HOLE) || !defined(SEEK_DATA)
953 #if defined(SEEK_HOLE) && defined(SEEK_DATA)
1008 off_s = lseek(*fd, 0, SEEK_HOLE); in setup_sparse()
1037 off_e = lseek(*fd, off_s, SEEK_HOLE); in setup_sparse()
1057 if (lseek(*fd, 0, SEEK_HOLE) == 0 && in setup_sparse()
/freebsd/tools/test/stress2/tools/
H A Dlsholes.c66 hole = lseek(fd, pos, SEEK_HOLE); in main()
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_sparse_basic.c211 #if !defined(SEEK_HOLE) || !defined(SEEK_DATA)
233 #elif defined(SEEK_HOLE) && defined(SEEK_DATA)
252 r = lseek(fd, 0, SEEK_HOLE); in is_sparse_supported()
/freebsd/tools/test/stress2/misc/
H A Dtruncate6.sh110 hole = lseek(fd, 0, SEEK_HOLE); // 0
H A Dzfs16.sh97 if ((hole = lseek(fd, 0, SEEK_HOLE)) == -1)
H A Dzfs12.sh125 if ((hole = lseek(fd, 0, SEEK_HOLE)) == -1)
/freebsd/sys/sys/
H A Dunistd.h112 #define SEEK_HOLE 4 /* set file offset to next hole past offset */ macro
/freebsd/usr.bin/mkimg/
H A Dimage.c54 #ifndef SEEK_HOLE
55 #define SEEK_HOLE -1 macro
430 hole = lseek(fd, cur, SEEK_HOLE); in image_copyin_mapped()
/freebsd/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dvfs_compat.h63 #if defined(SEEK_HOLE) && defined(SEEK_DATA)
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_file.c315 #if defined(SEEK_HOLE) && defined(SEEK_DATA) in zpl_llseek()
318 if (whence == SEEK_DATA || whence == SEEK_HOLE) { in zpl_llseek()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_vnops.c114 #if defined(SEEK_HOLE) && defined(SEEK_DATA)
/freebsd/sys/fs/fuse/
H A Dfuse_vnops.c1305 whence = SEEK_HOLE; in fuse_vnop_ioctl()
/freebsd/sys/kern/
H A Dvfs_vnops.c2711 case SEEK_HOLE: in vn_seek()