Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 129) sorted by relevance

123456

/sysdeps/unix/sysv/linux/generic/wordsize-32/
A Dsendfile.c26 sendfile (int out_fd, int in_fd, off_t *offset, size_t count) in sendfile() argument
31 if (offset != NULL) in sendfile()
33 if (*offset < 0 || (off_t) (*offset + count) < 0) in sendfile()
38 off64 = *offset; in sendfile()
42 offset ? &off64 : NULL, count); in sendfile()
43 if (offset) in sendfile()
44 *offset = off64; in sendfile()
/sysdeps/posix/
A Dposix_fallocate.c31 posix_fallocate (int fd, __off_t offset, __off_t len) in posix_fallocate() argument
35 if (offset < 0 || len < 0) in posix_fallocate()
40 if ((__off_t) ((uint64_t) offset + (uint64_t) len) < 0) in posix_fallocate()
62 if (st.st_size < offset) in posix_fallocate()
64 int ret = __ftruncate (fd, offset); in posix_fallocate()
100 for (offset += (len - 1) % increment; len > 0; offset += increment) in posix_fallocate()
104 if (offset < st.st_size) in posix_fallocate()
107 ssize_t rsize = __pread (fd, &c, 1, offset); in posix_fallocate()
117 if (__pwrite (fd, "", 1, offset) != 1) in posix_fallocate()
A Dposix_fallocate64.c31 __posix_fallocate64_l64 (int fd, __off64_t offset, __off64_t len) in __posix_fallocate64_l64() argument
35 if (offset < 0 || len < 0) in __posix_fallocate64_l64()
40 if ((__off64_t) ((uint64_t) offset + (uint64_t) len) < 0) in __posix_fallocate64_l64()
62 if (st.st_size < offset) in __posix_fallocate64_l64()
64 int ret = __ftruncate64 (fd, offset); in __posix_fallocate64_l64()
100 for (offset += (len - 1) % increment; len > 0; offset += increment) in __posix_fallocate64_l64()
104 if (offset < st.st_size) in __posix_fallocate64_l64()
107 ssize_t rsize = __libc_pread64 (fd, &c, 1, offset); in __posix_fallocate64_l64()
117 if (__libc_pwrite64 (fd, "", 1, offset) != 1) in __posix_fallocate64_l64()
132 __posix_fallocate64_l32 (int fd, off64_t offset, size_t len) in __posix_fallocate64_l32() argument
[all …]
/sysdeps/unix/sysv/linux/
A Dmmap.c30 # define MMAP_ADJUST_OFFSET(offset) offset argument
34 __mmap (void *addr, size_t len, int prot, int flags, int fd, off_t offset) in __mmap() argument
38 if (offset & MMAP_OFF_LOW_MASK) in __mmap()
43 offset / (uint32_t) MMAP2_PAGE_UNIT); in __mmap()
46 MMAP_ADJUST_OFFSET (offset)); in __mmap()
A Dposix_fadvise64.c23 int __posix_fadvise64_l64 (int fd, off64_t offset, off64_t len, int advise);
42 __posix_fadvise64_l64 (int fd, off64_t offset, off64_t len, int advise) in libc_hidden_proto()
46 SYSCALL_LL64 (offset), SYSCALL_LL64 (len)); in libc_hidden_proto()
49 __ALIGNMENT_ARG SYSCALL_LL64 (offset), in libc_hidden_proto()
61 int __posix_fadvise64_l32 (int fd, off64_t offset, size_t len, int advise);
65 __posix_fadvise64_l32 (int fd, off64_t offset, size_t len, int advise) in __posix_fadvise64_l32() argument
67 return __posix_fadvise64_l64 (fd, offset, len, advise); in __posix_fadvise64_l32()
A Dmmap64.c42 # define MMAP_PREPARE(addr, len, prot, flags, fd, offset) argument
46 __mmap64 (void *addr, size_t len, int prot, int flags, int fd, off64_t offset) in __mmap64() argument
50 if (offset & MMAP_OFF_MASK) in __mmap64()
53 MMAP_PREPARE (addr, len, prot, flags, fd, offset); in __mmap64()
56 (off_t) (offset / MMAP2_PAGE_UNIT)); in __mmap64()
58 return (void *) MMAP_CALL (mmap, addr, len, prot, flags, fd, offset); in __mmap64()
A Dpwritev.c26 pwritev (int fd, const struct iovec *vector, int count, off_t offset) in pwritev() argument
28 return SYSCALL_CANCEL (pwritev, fd, vector, count, LO_HI_LONG (offset)); in pwritev()
34 pwritev (int fd, const struct iovec *vector, int count, off_t offset) in pwritev() argument
37 LO_HI_LONG (offset)); in pwritev()
40 return __atomic_pwritev_replacement (fd, vector, count, offset); in pwritev()
A Dpreadv.c26 preadv (int fd, const struct iovec *vector, int count, off_t offset) in preadv() argument
28 return SYSCALL_CANCEL (preadv, fd, vector, count, LO_HI_LONG (offset)); in preadv()
34 preadv (int fd, const struct iovec *vector, int count, off_t offset) in preadv() argument
37 LO_HI_LONG (offset)); in preadv()
40 return __atomic_preadv_replacement (fd, vector, count, offset); in preadv()
A Dpreadv64.c24 preadv64 (int fd, const struct iovec *vector, int count, off64_t offset) in preadv64() argument
26 return SYSCALL_CANCEL (preadv, fd, vector, count, LO_HI_LONG (offset)); in preadv64()
32 preadv64 (int fd, const struct iovec *vector, int count, off64_t offset) in preadv64() argument
35 LO_HI_LONG (offset)); in preadv64()
38 return __atomic_preadv64_replacement (fd, vector, count, offset); in preadv64()
A Dpwritev64.c24 pwritev64 (int fd, const struct iovec *vector, int count, off64_t offset) in pwritev64() argument
26 return SYSCALL_CANCEL (pwritev, fd, vector, count, LO_HI_LONG (offset)); in pwritev64()
32 pwritev64 (int fd, const struct iovec *vector, int count, off64_t offset) in pwritev64() argument
35 LO_HI_LONG (offset)); in pwritev64()
38 return __atomic_pwritev64_replacement (fd, vector, count, offset); in pwritev64()
A Dpwritev2.c25 pwritev2 (int fd, const struct iovec *vector, int count, off_t offset, in pwritev2() argument
30 LO_HI_LONG (offset), flags); in pwritev2()
48 if (offset == -1) in pwritev2()
51 return pwritev (fd, vector, count, offset); in pwritev2()
A Dpreadv2.c25 preadv2 (int fd, const struct iovec *vector, int count, off_t offset, in preadv2() argument
29 LO_HI_LONG (offset), flags); in preadv2()
47 if (offset == -1) in preadv2()
50 return preadv (fd, vector, count, offset); in preadv2()
A Dposix_fallocate64.c21 extern int __posix_fallocate64_l64 (int fd, __off64_t offset, __off64_t len);
29 __posix_fallocate64_l64 (int fd, __off64_t offset, __off64_t len) in libc_hidden_proto()
32 SYSCALL_LL64 (offset), SYSCALL_LL64 (len)); in libc_hidden_proto()
37 return internal_fallocate64 (fd, offset, len); in libc_hidden_proto()
A Dtst-fallocate-common.c50 do_test_with_offset (off_t offset) in do_test_with_offset() argument
61 ret = fallocate (temp_fd, 0, offset, BLK_SIZE); in do_test_with_offset()
75 if (finfo.st_size < (offset + BLK_SIZE)) in do_test_with_offset()
77 (long long unsigned int)offset + BLK_SIZE); in do_test_with_offset()
79 if (lseek (temp_fd, offset, SEEK_SET) == (off_t) -1) in do_test_with_offset()
85 if (lseek (temp_fd, offset, SEEK_SET) == (off_t) -1) in do_test_with_offset()
A Dpreadv64v2.c23 preadv64v2 (int fd, const struct iovec *vector, int count, off64_t offset, in preadv64v2() argument
27 LO_HI_LONG (offset), flags); in preadv64v2()
46 if (offset == -1) in preadv64v2()
49 return preadv64 (fd, vector, count, offset); in preadv64v2()
A Dpwritev64v2.c23 pwritev64v2 (int fd, const struct iovec *vector, int count, off64_t offset, in pwritev64v2() argument
27 LO_HI_LONG (offset), flags); in pwritev64v2()
45 if (offset == -1) in pwritev64v2()
48 return pwritev64 (fd, vector, count, offset); in pwritev64v2()
A Dposix_fadvise.c42 posix_fadvise (int fd, off_t offset, off_t len, int advise) in posix_fadvise() argument
46 __ALIGNMENT_ARG SYSCALL_LL (offset), in posix_fadvise()
51 SYSCALL_LL (offset), SYSCALL_LL (len)); in posix_fadvise()
59 __ALIGNMENT_ARG SYSCALL_LL (offset), in posix_fadvise()
/sysdeps/unix/sysv/linux/s390/s390-32/
A Dposix_fadvise64.c22 int __posix_fadvise64_l64 (int fd, off64_t offset, off64_t len, int advise);
23 int __posix_fadvise64_l32 (int fd, off64_t offset, size_t len, int advise);
31 off64_t offset; member
37 __posix_fadvise64_l64 (int fd, off64_t offset, off64_t len, int advise) in __posix_fadvise64_l64() argument
42 parameters.offset = offset; in __posix_fadvise64_l64()
57 __posix_fadvise64_l32 (int fd, off64_t offset, size_t len, int advise) in __posix_fadvise64_l32() argument
59 return __posix_fadvise64_l64 (fd, offset, len, advise); in __posix_fadvise64_l32()
/sysdeps/mach/hurd/
A Dsendfile.c25 sendfile (int out_fd, int in_fd, off_t *offset, size_t count) in sendfile() argument
27 if (offset == NULL || sizeof (off_t) == sizeof (off64_t)) in sendfile()
28 return __sendfile64 (out_fd, in_fd, (off64_t *) offset, count); in sendfile()
31 off64_t ofs = *offset; in sendfile()
33 *offset = ofs; in sendfile()
A Dlseek64.c24 __libc_lseek64 (int fd, off64_t offset, int whence) in __libc_lseek64() argument
27 if (err = HURD_DPORT_USE (fd, __io_seek (port, offset, whence, &offset))) in __libc_lseek64()
29 return offset; in __libc_lseek64()
A Dsendfile64.c27 __sendfile64 (int out_fd, int in_fd, off64_t *offset, size_t count) in __sendfile64() argument
41 offset ? *offset : (off_t) -1, in __sendfile64()
53 if (offset) in __sendfile64()
54 *offset += datalen; in __sendfile64()
/sysdeps/x86_64/multiarch/
A Dstrspn-c.c66 int offset = (int) ((size_t) a & 15); in __strspn_sse42() local
67 if (offset != 0) in __strspn_sse42()
73 mask = __m128i_shift_right (mask0, offset); in __strspn_sse42()
77 if (length == 16 - offset) in __strspn_sse42()
113 offset = (int) ((size_t) s & 15); in __strspn_sse42()
114 if (offset != 0) in __strspn_sse42()
120 value = __m128i_shift_right (value, offset); in __strspn_sse42()
124 if (length < 16 - offset) in __strspn_sse42()
128 if (index < 16 - offset) in __strspn_sse42()
A Dstrcspn-c.c88 int offset = (int) ((size_t) a & 15); in STRCSPN_SSE42() local
89 if (offset != 0) in STRCSPN_SSE42()
95 mask = __m128i_shift_right (mask0, offset); in STRCSPN_SSE42()
99 if (length == 16 - offset) in STRCSPN_SSE42()
135 offset = (int) ((size_t) s & 15); in STRCSPN_SSE42()
136 if (offset != 0) in STRCSPN_SSE42()
142 value = __m128i_shift_right (value, offset); in STRCSPN_SSE42()
151 if (index < 16 - offset) in STRCSPN_SSE42()
/sysdeps/sparc/sparc32/
A Dmemset.S24 std source, [base + offset + 0x00]; \
25 std source, [base + offset + 0x08]; \
26 std source, [base + offset + 0x10]; \
27 std source, [base + offset + 0x18]; \
28 std source, [base + offset + 0x20]; \
29 std source, [base + offset + 0x28]; \
30 std source, [base + offset + 0x30]; \
31 std source, [base + offset + 0x38];
34 std source, [base - offset - 0x38]; \
35 std source, [base - offset - 0x30]; \
[all …]
/sysdeps/x86_64/fpu/
A Dsvml_d_exp_data.h34 .macro double_vector offset value
35 .if .-__svml_dexp_data != \offset
43 .macro float_vector offset value
44 .if .-__svml_dexp_data != \offset

Completed in 34 milliseconds

123456