Searched refs:lseek (Results 1 - 23 of 23) sorted by relevance

/xnu-2422.115.4/libsyscall/custom/
H A D__lseek.s33 __SYSCALL(___lseek, lseek, 3)
37 __SYSCALL_INT(___lseek, lseek, 3)
/xnu-2422.115.4/tools/tests/libMicro/
H A Dlseek.c32 * lseek
67 "notes: measures lseek()\n",
110 if (lseek(ts->ts_fd, 0L, SEEK_SET) != 0) {
113 if (lseek(ts->ts_fd, opts, SEEK_SET) != opts) {
H A DMakefile.benchmarks67 lseek \
H A Dread.c111 (void) lseek(ts->ts_fd, 0, SEEK_SET);
H A Dwrite.c125 (void) lseek(ts->ts_fd, 0, SEEK_SET);
H A Dwritev.c120 (void) lseek(ts->ts_fd, 0, SEEK_SET);
H A Dbench.sh424 lseek $OPTS -N "lseek_t8k" -s 8k -I 50 -f $TFILE
425 lseek $OPTS -N "lseek_u8k" -s 8k -I 50 -f $VFILE
H A Dcoreos_bench.sh450 lseek $OPTS -N "lseek_t8k" -s 8k -I 50 -f $TFILE
451 lseek $OPTS -N "lseek_u8k" -s 8k -I 50 -f $VFILE
H A Dembd_bench.sh435 lseek $OPTS -N "lseek_t8k" -s 8k -I 50 -f $TFILE
436 lseek $OPTS -N "lseek_u8k" -s 8k -I 50 -f $VFILE
/xnu-2422.115.4/tools/tests/libMicro/apple/
H A Dlmbench_read.c114 (void) lseek(ts->ts_fd, 0, SEEK_SET);
H A Dlmbench_write.c128 (void) lseek(ts->ts_fd, 0, SEEK_SET);
/xnu-2422.115.4/tools/tests/perf_index/
H A Dstress_file_write.c40 lseek(fd, 0, SEEK_SET);
H A Dstress_file_read.c52 lseek(fd, 0, SEEK_SET);
/xnu-2422.115.4/bsd/man/man2/
H A DMakefile107 lseek.2 \
/xnu-2422.115.4/tools/tests/unit_tests/fcntlrangecheck_tests_11202484_src/
H A Dfcntlrangecheck_tests_11202484.c60 if (lseek(fd, (off_t)1, SEEK_SET) != 1){
61 perror("lseek");
157 if (lseek(fd, (off_t)LLONG_MAX - 1, SEEK_SET) != (LLONG_MAX - 1)){
158 perror("lseek");
/xnu-2422.115.4/libsyscall/xcodescripts/
H A Dcreate-syscalls.pl141 link lseek lstat
/xnu-2422.115.4/tools/tests/xnu_quick_test/
H A Dmemory_tests.c228 lseek( my_fd, 0, SEEK_SET );
H A Dtests.c181 * Test fsync, ftruncate, lseek, pread, pwrite, read, readv, truncate, write, writev system calls.
287 lseek( my_fd, 0, SEEK_SET );
326 lseek( my_fd, 0, SEEK_SET );
343 lseek( my_fd, 0, SEEK_SET );
365 my_current_offset = lseek( my_fd, 0, SEEK_CUR );
367 printf( "lseek call failed with error %d - \"%s\" \n", errno, strerror( errno) );
382 if ( my_current_offset != lseek( my_fd, 0, SEEK_CUR ) ) {
399 if ( my_current_offset != lseek( my_fd, 0, SEEK_CUR ) ) {
567 lseek( my_fd, 0, SEEK_SET );
582 lseek( my_f
[all...]
H A Dsocket_tests.c107 my_current_offset = lseek( my_socket_fd, 0, SEEK_CUR );
109 printf( "lseek on socket should fail but did not \n" );
/xnu-2422.115.4/tools/tests/superpages/
H A Dtestsp.c529 lseek(fd, 0, SEEK_SET);
/xnu-2422.115.4/SETUP/kextsymboltool/
H A Dkextsymboltool.c98 if (offset != lseek(fd, offset, SEEK_SET))
/xnu-2422.115.4/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c276 res = lseek((int)act->act_fd, (int)args[0], SEEK_SET);
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_syscalls.c4227 lseek(proc_t p, struct lseek_args *uap, off_t *retval) function
4300 * An lseek can affect whether data is "available to read." Use

Completed in 210 milliseconds