Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cp_files/
H A Dseekflood.c41 #ifndef SEEK_DATA
42 #define SEEK_DATA 3 macro
101 if (lseek(fd, 0, SEEK_DATA) < 0) { in _seek_file()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dmmap_seek.c40 #ifndef SEEK_DATA
41 #define SEEK_DATA 3 macro
51 off_t data_offset = lseek(fd, offset, SEEK_DATA); in seek_data()
/freebsd/tests/sys/fs/fusefs/
H A Dlseek.cc75 EXPECT_EQ(offset_in, lseek(fd, offset_in, SEEK_DATA)); in TEST_F()
108 EXPECT_EQ(offset, lseek(fd, offset, SEEK_DATA)); in TEST_F()
296 in.body.lseek.whence == SEEK_DATA); in TEST_F()
354 in.body.lseek.whence == SEEK_DATA); in TEST_F()
362 EXPECT_EQ(offset_out, lseek(fd, offset_in, SEEK_DATA)); in TEST_F()
389 in.body.lseek.whence == SEEK_DATA); in TEST_F()
399 EXPECT_EQ(offset_in, lseek(fd, offset_in, SEEK_DATA)); in TEST_F()
H A Dmockfs.cc260 case SEEK_DATA: in debug_request()
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dvnode.h56 #if defined(SEEK_HOLE) && defined(SEEK_DATA)
57 #define F_SEEK_DATA SEEK_DATA
/freebsd/tools/test/stress2/tools/
H A Dlsholes.c69 data = lseek(fd, pos, SEEK_DATA); in main()
/freebsd/tools/test/stress2/misc/
H A Dtruncate6.sh111 data = lseek(fd, 0, SEEK_DATA); // 131072
/freebsd/sys/sys/
H A Dunistd.h111 #define SEEK_DATA 3 /* set file offset to next data past offset */ macro
/freebsd/usr.bin/mkimg/
H A Dimage.c51 #ifndef SEEK_DATA
52 #define SEEK_DATA -1 macro
433 data = lseek(fd, cur, SEEK_DATA); 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/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)
1022 off_s = lseek(*fd, off_s, SEEK_DATA); in setup_sparse()
/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)
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_file.c351 #if defined(SEEK_HOLE) && defined(SEEK_DATA) in zpl_llseek()
354 if (whence == SEEK_DATA || whence == SEEK_HOLE) { in zpl_llseek()
/freebsd/sys/fs/fuse/
H A Dfuse_vnops.c1303 whence = SEEK_DATA; in fuse_vnop_ioctl()
1800 &offset, SEEK_DATA); in fuse_vnop_pathconf()
1813 SEEK_DATA); in fuse_vnop_pathconf()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_vnops.c114 #if defined(SEEK_HOLE) && defined(SEEK_DATA)
/freebsd/sys/kern/
H A Dvfs_vnops.c2706 case SEEK_DATA: in vn_seek()