Searched refs:SEEK_SET (Results 1 – 19 of 19) sorted by relevance
| /xnu-11215.81.4/bsd/sys/_types/ |
| H A D | _seek_set.h | 35 #ifndef SEEK_SET 36 #define SEEK_SET 0 /* set file offset to offset */ macro
|
| /xnu-11215.81.4/tests/ |
| H A D | lockf_basic.c | 44 fl->l_whence = SEEK_SET; in ofd_get() 56 fl->l_whence = SEEK_SET; in posix_get() 68 .l_whence = SEEK_SET, in posix_lock() 81 .l_whence = SEEK_SET, in ofd_lock() 94 .l_whence = SEEK_SET, in posix_unlock() 107 .l_whence = SEEK_SET, in ofd_unlock()
|
| H A D | lockf_EOF_77264182.c | 44 .l_whence = SEEK_SET
|
| H A D | posix_spawn_filtering.c | 104 T_ASSERT_EQ(lseek(env_output_fd, 0, SEEK_SET), 0ull, "lseek should succeed");
|
| H A D | pwrite.c | 45 T_ASSERT_POSIX_SUCCESS(lseek(fd, 0, SEEK_SET), "Reset file offset"); in test_file_equals()
|
| H A D | ioperf.c | 188 T_ASSERT_POSIX_SUCCESS(lseek(test_file_fd, 0, SEEK_SET), "lseek begin"); in perform_io()
|
| H A D | disk_mount_conditioner.c | 495 lseek(fd, 0, SEEK_SET); in time_for_read()
|
| H A D | kqueue_file_tests.c | 356 res = lseek((int)act->act_fd, (int)args[0], SEEK_SET); in execute_action()
|
| /xnu-11215.81.4/tools/tests/perf_index/ |
| H A D | test_file_helper.c | 110 retval = lseek(fd, 0, SEEK_SET); in test_file_read() 186 retval = lseek(fd, 0, SEEK_SET); in test_file_write()
|
| /xnu-11215.81.4/libkern/libkern/ |
| H A D | zconf.h | 322 #ifndef SEEK_SET 323 # define SEEK_SET 0 /* Seek from beginning of file. */ macro
|
| /xnu-11215.81.4/bsd/sys/ |
| H A D | unistd.h | 126 #define L_SET SEEK_SET
|
| /xnu-11215.81.4/bsd/kern/ |
| H A D | kern_lockf.c | 233 case SEEK_SET: in lf_advlock() 1164 fl->l_whence = SEEK_SET; in lf_getlock()
|
| H A D | kern_descrip.c | 277 .l_whence = SEEK_SET, in fg_drop() 361 .l_whence = SEEK_SET, in fg_transfer_filelocks() 378 .l_whence = SEEK_SET, in fg_transfer_filelocks() 2351 } else if (fl->l_whence == SEEK_SET) { in check_file_seek_range() 3183 if ((fl.l_whence == SEEK_SET) && (fl.l_start < 0)) { in sys_fcntl_nocancel() 3200 case SEEK_SET: in sys_fcntl_nocancel() 5776 lf.l_whence = SEEK_SET; in sys_flock()
|
| /xnu-11215.81.4/tools/tests/superpages/ |
| H A D | testsp.c | 649 lseek(fd, 0, SEEK_SET); in test_fileio()
|
| /xnu-11215.81.4/SETUP/kextsymboltool/ |
| H A D | kextsymboltool.c | 100 if (offset != lseek(fd, offset, SEEK_SET)) { in seekFile()
|
| /xnu-11215.81.4/bsd/nfs/ |
| H A D | nfs_syscalls.c | 544 lf.l_whence = SEEK_SET; in fhopen()
|
| /xnu-11215.81.4/bsd/vfs/ |
| H A D | vfs_vnops.c | 1827 .l_whence = SEEK_SET, in vn_closefile()
|
| H A D | vfs_xattr.c | 3241 .l_whence = SEEK_SET, in open_xattrfile() 3340 .l_whence = SEEK_SET, in close_xattrfile()
|
| H A D | vfs_syscalls.c | 4766 .l_whence = SEEK_SET, in open1() 4948 .l_whence = SEEK_SET, in open1()
|