Home
last modified time | relevance | path

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

123456789

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/
A Dpread_write.c37 # define MY_PREAD(fd, buf, count, offset) __syscall_pread(fd, buf, count, 0, OFF_HI_LO(offset)) in _syscall6() argument
42 # define MY_PREAD(fd, buf, count, offset) __syscall_pread(fd, buf, count, OFF_HI_LO(offset)) in _syscall6()
46 size_t, count, off_t, offset) in _syscall6()
47 # define MY_PREAD(fd, buf, count, offset) __syscall_pread(fd, buf, count, offset) in _syscall6()
48 # define MY_PREAD64(fd, buf, count, offset) __syscall_pread(fd, buf, count, offset) in _syscall6()
69 # define MY_PWRITE(fd, buf, count, offset) __syscall_pwrite(fd, buf, count, offset) in _syscall6()
70 # define MY_PWRITE64(fd, buf, count, offset) __syscall_pwrite(fd, buf, count, offset) in _syscall6()
80 (fd, buf, count, offset))
87 (fd, buf, count, offset))
96 (fd, buf, count, offset))
[all …]
A Dmmap64.c24 void *mmap64(void *addr, size_t len, int prot, int flags, int fd, __off64_t offset) in mmap64() argument
26 if (offset != (off_t) offset || in mmap64()
27 (offset + len) != (off_t) (offset + len)) { in mmap64()
32 return mmap(addr, len, prot, flags, fd, (off_t) offset); in mmap64()
46 void *mmap64(void *addr, size_t len, int prot, int flags, int fd, __off64_t offset) in mmap64() argument
58 if (offset & ((1 << MMAP2_PAGE_SHIFT) - 1)) { in mmap64()
69 sysoff = (uint64_t)offset >> MMAP2_PAGE_SHIFT; in mmap64()
A Dsendfile.c16 _syscall4(ssize_t, sendfile, int, out_fd, int, in_fd, __off_t *, offset,
27 ssize_t sendfile(int out_fd, int in_fd, __off_t *offset, size_t count)
44 if (offset == NULL || (int)offset < 0) {
49 if (offset) {
51 off64 = *offset;
59 *offset = off64;
A Dmmap.c21 int, prot, int, flags, int, fd, __off_t, offset)
33 int, prot, int, flags, int, fd, __off_t, offset)
36 int fd, __off_t offset)
41 if (offset & mmap2_mask) {
47 ((__u_quad_t) offset >> mmap2_shift));
50 ((__u_long) offset >> mmap2_shift));
60 int fd, __off_t offset)
69 buffer[5] = (unsigned long) offset;
A Dlseek.c16 _syscall3(off_t, __NC(lseek), int, fd, off_t, offset, int, whence)
20 off_t __NC(lseek)(int fd, off_t offset, int whence)
23 return lseek64(fd, offset, whence);
28 __LONG_LONG_PAIR(high, offset),
35 off_t __NC(lseek)(int fd, off_t offset attribute_unused, int whence)
56 CANCELLABLE_SYSCALL(off_t, lseek, (int fd, off_t offset, int whence), (fd, offset, whence))
A Dsync_file_range.c23 static int __NC(sync_file_range)(int fd, off64_t offset, off64_t nbytes, unsigned int flags) in __NC()
26 return INLINE_SYSCALL(sync_file_range, 4, fd, offset, nbytes, flags); in __NC()
29 OFF64_HI_LO(offset), OFF64_HI_LO(nbytes), flags); in __NC()
32 OFF64_HI_LO(offset), OFF64_HI_LO(nbytes), flags); in __NC()
35 …_SYSCALL(int, sync_file_range, (int fd, off64_t offset, off64_t nbytes, unsigned int flags), (fd,
A Dllseek.c23 off64_t __NC(lseek64)(int fd, off64_t offset, int whence) in __NC()
27 return (off64_t)INLINE_SYSCALL(_llseek, 5, fd, (off_t) OFF64_HI(offset), in __NC()
28 (off_t) OFF64_LO(offset), &result, whence) ?: result; in __NC()
30 CANCELLABLE_SYSCALL(off64_t, lseek64, (int fd, off64_t offset, int whence), (fd, offset, whence))
A Dposix_fadvise.c26 int posix_fadvise64(int fd, off64_t offset, off64_t len, int advice);
29 int posix_fadvise(int fd, off_t offset, off_t len, int advice) in posix_fadvise() argument
32 return posix_fadvise64(fd, offset, len, advice); in posix_fadvise()
37 ret = INTERNAL_SYSCALL(fadvise64, err, 4, fd, offset, len, advice); in posix_fadvise()
44 OFF_HI_LO (offset), len, advice); in posix_fadvise()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/wordexp/
A Dwordexp.c185 ++(*offset); in parse_backslash()
193 ++(*offset); in parse_backslash()
212 ++(*offset); in parse_qtd_backslash()
405 for (; words[*offset] != '\0'; ++*offset) { in parse_glob()
459 --*offset; in parse_glob()
479 for (; words[*offset]; ++(*offset)) { in parse_squote()
624 for (; words[*offset]; ++(*offset)) { in parse_arith()
1014 for (; words[*offset]; ++(*offset)) { in parse_comm()
1076 for (; words[*offset]; ++(*offset)) { in parse_backtick()
1251 for (; words[*offset]; ++(*offset)) { in parse_param()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/include/
A Dendian.h60 # define OFF_HI(offset) (offset >> 31) argument
61 # define OFF_LO(offset) (offset) argument
62 # define OFF64_HI(offset) (uint32_t)(offset >> 32) argument
63 # define OFF64_LO(offset) (uint32_t)(offset & 0xffffffff) argument
64 # define OFF_HI_LO(offset) __LONG_LONG_PAIR(OFF_HI(offset), OFF_LO(offset)) argument
65 # define OFF64_HI_LO(offset) __LONG_LONG_PAIR(OFF64_HI(offset), OFF64_LO(offset)) argument
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/mips/
A Dpread_write.c17 static _syscall4(ssize_t, __syscall_pread, int, fd, void *, buf, size_t, count, off_t, offset)
18 # define MY_PREAD(fd, buf, count, offset) \ argument
19 __syscall_pread(fd, buf, count, offset)
20 # define MY_PREAD64(fd, buf, count, offset) \ argument
21 __syscall_pread(fd, buf, count, offset)
24 …atic _syscall4(ssize_t, __syscall_pwrite, int, fd, const void *, buf, size_t, count, off_t, offset)
25 # define MY_PWRITE(fd, buf, count, offset) \ argument
26 __syscall_pwrite(fd, buf, count, offset)
27 # define MY_PWRITE64(fd, buf, count, offset) \ argument
28 __syscall_pwrite(fd, buf, count, offset)
/l4re-core-master/l4sys/include/cxx/
A Dipc_array203 offset = align_to<LEN>(offset);
207 offset = align_to<A>(offset + sizeof(LEN));
241 offset = align_to<LEN>(offset);
245 offset = align_to<A>(offset + sizeof(LEN));
265 offset = align_to<LEN>(offset);
271 offset = align_to<A>(offset + sizeof(LEN));
299 offset = align_to<LEN>(offset);
305 offset = align_to<A>(offset + sizeof(LEN));
326 offset = align_to<LEN>(offset);
330 offset = align_to<A>(offset + sizeof(LEN));
[all …]
A Dipc_ret_array74 offset = align_to<A>(offset);
75 arg = reinterpret_cast<A const *>(msg + offset);
76 if (L4_UNLIKELY(!check_size<A>(offset, limit, ret)))
79 return offset + ret * sizeof(A);
92 offset = align_to<A>(offset);
95 offset += sizeof(A) * ret;
96 return offset;
107 offset = align_to<A>(offset);
108 arg = ret_array(reinterpret_cast<A*>(msg + offset),
109 (limit - offset) / sizeof(A));
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/sparc/sparc32/
A Dmemset.S26 std source, [base + offset + 0x00]; \
27 std source, [base + offset + 0x08]; \
28 std source, [base + offset + 0x10]; \
29 std source, [base + offset + 0x18]; \
30 std source, [base + offset + 0x20]; \
31 std source, [base + offset + 0x28]; \
32 std source, [base + offset + 0x30]; \
33 std source, [base + offset + 0x38];
36 std source, [base - offset - 0x38]; \
37 std source, [base - offset - 0x30]; \
[all …]
A Dmemcpy.S31 st %t0, [%dst + offset + 0x00]; \
32 st %t1, [%dst + offset + 0x04]; \
38 st %t7, [%dst + offset + 0x1c];
48 std %t6, [%dst + offset + 0x18];
56 st %t3, [%dst - offset - 0x04];
62 std %t2, [%dst - offset - 0x08];
68 stb %t1, [%dst - offset - 0x01];
83 st %t7, [%dst - offset - 0x04];
93 std %t6, [%dst - offset - 0x08];
101 st %t3, [%dst + offset + 0x0c];
[all …]
/l4re-core-master/moe/server/src/
A Ddataspace_cont.cc31 Moe::Dataspace_cont::address(l4_addr_t offset, in address() argument
35 if (!check_limit(offset)) in address()
41 l4_addr_t adr = l4_addr_t(_start) + offset; in address()
74 Moe::Dataspace_cont::copy_address(l4_addr_t offset, Flags, l4_addr_t *addr, in copy_address() argument
77 if (!check_limit(offset)) in copy_address()
80 *addr = l4_addr_t(_start) + offset; in copy_address()
81 *size = this->size() - offset; in copy_address()
100 Moe::Dataspace_cont::dma_map(Dma_space *dma, l4_addr_t offset, l4_size_t *size, in dma_map() argument
108 if (offset >= this->size()) in dma_map()
111 *dma_addr = (l4_addr_t)start() + offset; in dma_map()
[all …]
A Ddataspace.h87 virtual int pre_allocate(l4_addr_t offset, l4_size_t size, unsigned rights) = 0;
116 bool check_limit(l4_addr_t offset) const throw() in check_limit() argument
117 { return offset < round_size(); } in check_limit()
118 bool check_range(l4_addr_t offset, unsigned long sz) const throw() in check_range() argument
119 { return offset < round_size() && size() - offset >= sz; } in check_range()
126 virtual int dma_map(Dma_space *dma, l4_addr_t offset, l4_size_t *size,
131 L4Re::Dataspace::Offset offset,
136 L4Re::Dataspace::Offset offset, in op_allocate() argument
138 { return pre_allocate(offset, size, rights & 3); } in op_allocate()
158 L4Re::Dataspace::Offset offset, in op_clear() argument
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/sparc/sparc64/sparcv9b/
A Dmemcpy.S338 ldx [%src - offset - 0x20], %t0; \
339 ldx [%src - offset - 0x18], %t1; \
340 ldx [%src - offset - 0x10], %t2; \
341 ldx [%src - offset - 0x08], %t3; \
351 stw %t3, [%dst - offset - 0x04]; \
353 stw %t3, [%dst - offset - 0x08];
363 stx %t3, [%dst - offset - 0x08]; \
371 stx %t3, [%dst - offset - 0x28];
374 ldx [%src + offset + 0x00], %t0; \
381 stw %t3, [%dst + offset + 0x08];
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/sparc/sparc64/
A Dmemcpy.S87 ldx [%src + offset + 0x00], %t0; \
100 stw %t3, [%dst + offset + 0x1c]; \
102 stw %t3, [%dst + offset + 0x18];
120 stx %t3, [%dst + offset + 0x38];
123 ldx [%src - offset - 0x10], %t0; \
130 stw %t3, [%dst - offset - 0x08];
136 stx %t1, [%dst - offset - 0x08];
155 stw %t3, [%dst - offset - 0x08];
173 stx %t3, [%dst - offset - 0x28];
183 stw %t3, [%dst + offset + 0x08];
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/time/
A Dadjtime.c37 tntx.offset = tmp.tv_usec + tmp.tv_sec * 1000000L; in adjtime()
46 if (tntx.offset < 0) in adjtime()
48 otv->tv_usec = -(-tntx.offset % 1000000); in adjtime()
49 otv->tv_sec = -(-tntx.offset / 1000000); in adjtime()
53 otv->tv_usec = tntx.offset % 1000000; in adjtime()
54 otv->tv_sec = tntx.offset / 1000000; in adjtime()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/misc/
A Dseek.c15 off_t offset; in main() member
60 ret = lseek(fd, tests[i].offset, tests[i].whence); in main()
61 if (ret != tests[i].offset) { in main()
62 fprintf(stderr, "lseek(%li,%i) failed (wanted %li, got %li): ", (long)tests[i].offset, in main()
63 tests[i].whence, (long)tests[i].offset, (long)ret); in main()
67 ret = fseek(fp, tests[i].offset, tests[i].whence); in main()
69 fprintf(stderr, "fseek(%li,%i) failed (wanted 0, got %li): ", (long)tests[i].offset, in main()
/l4re-core-master/l4re_c/lib/src/
A Ddataspace.cc30 l4re_ds_offset_t offset, in l4re_ds_map() argument
37 return x->map(offset, L4Re::Dataspace::Flags(flags), local_addr, min_addr, max_addr); in l4re_ds_map()
41 l4re_ds_map_region(l4re_ds_t ds, l4re_ds_offset_t offset, in l4re_ds_map_region() argument
47 return x->map_region(offset, L4Re::Dataspace::Flags(flags), min_addr, max_addr); in l4re_ds_map_region()
51 l4re_ds_clear(l4re_ds_t ds, l4re_ds_offset_t offset, l4re_ds_size_t size) L4_NOTHROW in l4re_ds_clear() argument
54 return x->clear(offset, size); in l4re_ds_clear()
59 l4re_ds_offset_t offset, l4re_ds_size_t size) L4_NOTHROW in l4re_ds_allocate() argument
62 return x->allocate(offset, size); in l4re_ds_allocate()
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/include/
A Ddl-syscall.h158 _dl_pread(int fd, void *buf, size_t count, off_t offset) in _syscall2()
160 return __syscall_pread(fd, buf, count, offset, offset >> 31); in _syscall2()
168 _dl_pread(int fd, void *buf, size_t count, off_t offset)
170 return __syscall_pread(fd, buf, count, __LONG_LONG_PAIR(offset >> 31, offset));
199 int flags, int fd, unsigned long offset) in _syscall2()
203 return (void *)INLINE_SYSCALL(mmap, 6, addr, size, prot, flags, fd, offset); in _syscall2()
209 if (offset & ((1 << MMAP2_PAGE_SHIFT) - 1)) in _syscall2()
213 shifted = offset >> MMAP2_PAGE_SHIFT; in _syscall2()
224 buffer[5] = (unsigned long) offset; in _syscall2()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/
A Dwrapsyscall.c95 CANCELABLE_SYSCALL (off_t, lseek, (int fd, off_t offset, int whence),
96 (fd, offset, whence))
101 (fd, offset, whence))
138 off_t offset),
139 (fd, buf, count, offset))
145 off64_t offset),
146 (fd, buf, count, offset))
151 off_t offset),
152 (fd, buf, n, offset))
158 off64_t offset),
[all …]
/l4re-core-master/libc_backends/lib/l4re_file/
A Dmmap.cc49 int fd, off64_t offset) in mmap64() argument
50 noexcept(noexcept(mmap64(addr, length, prot, flags, fd, offset))) in mmap64()
52 if (offset & ~L4_PAGEMASK) in mmap64()
57 return mmap2(addr, length, prot, flags, fd, offset >> 12); in mmap64()
61 int fd, off_t offset) in mmap() argument
62 noexcept(noexcept(mmap(addr, length, prot, flags, fd, offset))) in mmap()
64 return mmap64(addr, length, prot, flags, fd, offset); in mmap()

Completed in 39 milliseconds

123456789