Home
last modified time | relevance | path

Searched refs:SEEK_SET (Results 1 – 21 of 21) sorted by relevance

/xnu-8019.80.24/bsd/sys/_types/
H A D_seek_set.h32 #ifndef SEEK_SET
33 #define SEEK_SET 0 /* set file offset to offset */ macro
/xnu-8019.80.24/libkern/libkern/
H A Dzconf.h322 #ifndef SEEK_SET
323 # define SEEK_SET 0 /* Seek from beginning of file. */ macro
/xnu-8019.80.24/tools/tests/perf_index/
H A Dtest_file_helper.c110 retval = lseek(fd, 0, SEEK_SET); in test_file_read()
186 retval = lseek(fd, 0, SEEK_SET); in test_file_write()
/xnu-8019.80.24/tests/
H A Dlockf_EOF_77264182.c44 .l_whence = SEEK_SET
H A Dposix_spawn_filtering.c103 T_ASSERT_EQ(lseek(env_output_fd, 0, SEEK_SET), 0ull, "lseek should succeed");
H A Dpwrite.c45 T_ASSERT_POSIX_SUCCESS(lseek(fd, 0, SEEK_SET), "Reset file offset"); in test_file_equals()
H A Dioperf.c188 T_ASSERT_POSIX_SUCCESS(lseek(test_file_fd, 0, SEEK_SET), "lseek begin"); in perform_io()
H A Ddisk_mount_conditioner.c495 lseek(fd, 0, SEEK_SET); in time_for_read()
H A Dkqueue_file_tests.c356 res = lseek((int)act->act_fd, (int)args[0], SEEK_SET); in execute_action()
/xnu-8019.80.24/bsd/nfs/
H A Dnfs_lock.c805 msg->lm_fl.l_whence = SEEK_SET; in nfs3_setlock_rpc()
848 msg->lm_fl.l_whence = SEEK_SET; in nfs3_unlock_rpc()
888 msg->lm_fl.l_whence = SEEK_SET; in nfs3_getlock_rpc()
902 fl->l_whence = SEEK_SET; in nfs3_getlock_rpc()
H A Dnfs_syscalls.c796 lf.l_whence = SEEK_SET; in fhopen()
H A Dnfs4_vnops.c3917 fl->l_whence = SEEK_SET; in nfs4_getlock_rpc()
3978 fl->l_whence = SEEK_SET; in nfs_advlock_getlock()
4812 case SEEK_SET: in nfs_vnop_advlock()
/xnu-8019.80.24/bsd/sys/
H A Dunistd.h126 #define L_SET SEEK_SET
/xnu-8019.80.24/SETUP/json_compilation_db/
H A Djson_compilation_db.c115 ret = fseeko(dst, 0, SEEK_SET); in main()
/xnu-8019.80.24/bsd/kern/
H A Dkern_lockf.c232 case SEEK_SET: in lf_advlock()
1099 fl->l_whence = SEEK_SET; in lf_getlock()
H A Dkern_descrip.c257 .l_whence = SEEK_SET, in fg_drop()
2342 } else if (fl->l_whence == SEEK_SET) { in check_file_seek_range()
3149 if ((fl.l_whence == SEEK_SET) && (fl.l_start < 0)) { in sys_fcntl_nocancel()
3166 case SEEK_SET: in sys_fcntl_nocancel()
5373 lf.l_whence = SEEK_SET; in sys_flock()
/xnu-8019.80.24/tools/tests/superpages/
H A Dtestsp.c649 lseek(fd, 0, SEEK_SET); in test_fileio()
/xnu-8019.80.24/SETUP/kextsymboltool/
H A Dkextsymboltool.c100 if (offset != lseek(fd, offset, SEEK_SET)) { in seekFile()
/xnu-8019.80.24/bsd/vfs/
H A Dvfs_xattr.c3423 lf.l_whence = SEEK_SET; in lock_xattrfile()
3438 lf.l_whence = SEEK_SET; in unlock_xattrfile()
H A Dvfs_vnops.c1755 .l_whence = SEEK_SET, in vn_closefile()
H A Dvfs_syscalls.c4228 .l_whence = SEEK_SET, in open1()
4362 .l_whence = SEEK_SET, in open1()