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 D | seekflood.c | 41 #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 D | mmap_seek.c | 40 #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 D | lseek.cc | 75 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 D | mockfs.cc | 260 case SEEK_DATA: in debug_request()
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | vnode.h | 56 #if defined(SEEK_HOLE) && defined(SEEK_DATA) 57 #define F_SEEK_DATA SEEK_DATA
|
/freebsd/tools/test/stress2/tools/ |
H A D | lsholes.c | 69 data = lseek(fd, pos, SEEK_DATA); in main()
|
/freebsd/tools/test/stress2/misc/ |
H A D | truncate6.sh | 111 data = lseek(fd, 0, SEEK_DATA); // 131072
|
/freebsd/sys/sys/ |
H A D | unistd.h | 111 #define SEEK_DATA 3 /* set file offset to next data past offset */ macro
|
/freebsd/usr.bin/mkimg/ |
H A D | image.c | 51 #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 D | vfs_compat.h | 63 #if defined(SEEK_HOLE) && defined(SEEK_DATA)
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_entry_from_file.c | 943 #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 D | test_sparse_basic.c | 211 #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 D | zpl_file.c | 351 #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 D | fuse_vnops.c | 1303 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 D | zfs_vnops.c | 114 #if defined(SEEK_HOLE) && defined(SEEK_DATA)
|
/freebsd/sys/kern/ |
H A D | vfs_vnops.c | 2706 case SEEK_DATA: in vn_seek()
|