/sysdeps/generic/ |
A D | memcopy.h | 76 #define BYTE_COPY_FWD(dst_bp, src_bp, nbytes) \ argument 79 size_t __nbytes = (nbytes); \ 97 size_t __nbytes = (nbytes); \ 124 src_bp += (nbytes) & -OPSIZ; \ 125 dst_bp += (nbytes) & -OPSIZ; \ 126 (nbytes_left) = (nbytes) % OPSIZ; \ 146 src_ep -= (nbytes) & -OPSIZ; \ 147 dst_ep -= (nbytes) & -OPSIZ; \ 148 (nbytes_left) = (nbytes) % OPSIZ; \ 166 if ((nbytes) >= PAGE_COPY_THRESHOLD \ [all …]
|
/sysdeps/i386/ |
A D | memcopy.h | 25 #define BYTE_COPY_FWD(dst_bp, src_bp, nbytes) \ argument 34 "0" (dst_bp), "1" (src_bp), "2" (nbytes) : \ 39 #define BYTE_COPY_BWD(dst_ep, src_ep, nbytes) \ argument 51 "0" (dst_ep - 1), "1" (src_ep - 1), "2" (nbytes) : \ 58 #define WORD_COPY_FWD(dst_bp, src_bp, nbytes_left, nbytes) \ argument 68 "0" (dst_bp), "1" (src_bp), "2" ((nbytes) / 4) : \ 70 (nbytes_left) = (nbytes) % 4; \ 74 #define WORD_COPY_BWD(dst_ep, src_ep, nbytes_left, nbytes) \ argument 86 "0" (dst_ep - 4), "1" (src_ep - 4), "2" ((nbytes) / 4) : \ 90 (nbytes_left) = (nbytes) % 4; \
|
/sysdeps/mach/ |
A D | pagecopy.h | 26 #define PAGE_COPY_FWD(dstp, srcp, nbytes_left, nbytes) \ argument 27 ((nbytes_left) = ((nbytes) \ 29 (vm_address_t) srcp, trunc_page (nbytes), \ 31 ? trunc_page (nbytes) \
|
/sysdeps/i386/i586/ |
A D | memcopy.h | 27 #define WORD_COPY_FWD(dst_bp, src_bp, nbytes_left, nbytes) \ argument 57 "0" (dst_bp), "1" (src_bp), "2" (nbytes) : \ 62 #define WORD_COPY_BWD(dst_ep, src_ep, nbytes_left, nbytes) \ argument 92 "0" (dst_ep), "1" (src_ep), "2" (nbytes) : \
|
/sysdeps/m68k/ |
A D | memcopy.h | 30 #define WORD_COPY_FWD(dst_bp, src_bp, nbytes_left, nbytes) \ argument 33 size_t __nwords = (nbytes) / sizeof (op_t); \ 69 (nbytes_left) = (nbytes) % sizeof (op_t); \ 73 #define WORD_COPY_BWD(dst_ep, src_ep, nbytes_left, nbytes) \ argument 76 size_t __nblocks = (nbytes) / 32 + 1; \ 79 switch ((nbytes) / sizeof (op_t) % 8) \ 109 (nbytes_left) = (nbytes) % sizeof (op_t); \
|
/sysdeps/mach/hurd/ |
A D | read_nocancel.c | 25 __read_nocancel (int fd, void *buf, size_t nbytes) in __read_nocancel() argument 27 error_t err = HURD_FD_USE (fd, _hurd_fd_read (descriptor, buf, &nbytes, -1)); in __read_nocancel() 28 return err ? __hurd_dfail (fd, err) : nbytes; in __read_nocancel()
|
A D | write_nocancel.c | 24 __write_nocancel (int fd, const void *buf, size_t nbytes) in __write_nocancel() argument 27 buf, &nbytes, -1)); in __write_nocancel() 28 return err ? __hurd_dfail (fd, err) : nbytes; in __write_nocancel()
|
A D | pread64_nocancel.c | 26 __pread64_nocancel (int fd, void *buf, size_t nbytes, off64_t offset) in __pread64_nocancel() argument 32 err = HURD_FD_USE (fd, _hurd_fd_read (descriptor, buf, &nbytes, offset)); in __pread64_nocancel() 33 return err ? __hurd_dfail (fd, err) : nbytes; in __pread64_nocancel()
|
A D | pwrite64_nocancel.c | 26 __pwrite64_nocancel (int fd, const void *buf, size_t nbytes, off64_t offset) in __pwrite64_nocancel() argument 32 err = HURD_FD_USE (fd, _hurd_fd_write (descriptor, buf, &nbytes, offset)); in __pwrite64_nocancel() 33 return err ? __hurd_dfail (fd, err) : nbytes; in __pwrite64_nocancel()
|
A D | pread.c | 24 __libc_pread (int fd, void *buf, size_t nbytes, off_t offset) in __libc_pread() argument 26 return __libc_pread64 (fd, buf, nbytes, (off64_t) offset); in __libc_pread()
|
A D | pwrite.c | 26 __libc_pwrite (int fd, const void *buf, size_t nbytes, off_t offset) in __libc_pwrite() argument 28 return __libc_pwrite64 (fd, buf, nbytes, (off64_t) offset); in __libc_pwrite()
|
A D | pread64.c | 24 __libc_pread64 (int fd, void *buf, size_t nbytes, off64_t offset) in __libc_pread64() argument 28 ret = __pread64_nocancel (fd, buf, nbytes, offset); in __libc_pread64()
|
A D | pwrite64.c | 24 __libc_pwrite64 (int fd, const void *buf, size_t nbytes, off64_t offset) in __libc_pwrite64() argument 28 ret = __pwrite64_nocancel (fd, buf, nbytes, offset); in __libc_pwrite64()
|
A D | read.c | 23 __libc_read (int fd, void *buf, size_t nbytes) in __libc_read() argument 27 ret = __read_nocancel (fd, buf, nbytes); in __libc_read()
|
A D | write.c | 22 __libc_write (int fd, const void *buf, size_t nbytes) in __libc_write() argument 26 ret = __write_nocancel (fd, buf, nbytes); in __libc_write()
|
/sysdeps/unix/sysv/linux/mips/mips64/ |
A D | getdents64.c | 30 __getdents64 (int fd, void *buf, size_t nbytes) in __getdents64() argument 34 if (nbytes > INT_MAX) in __getdents64() 35 nbytes = INT_MAX; in __getdents64() 40 ssize_t ret = INLINE_SYSCALL_CALL (getdents64, fd, buf, nbytes); in __getdents64() 74 size_t kbuf_size = nbytes < KBUF_SIZE ? nbytes : KBUF_SIZE; in __getdents64() 102 if (nb + new_reclen > nbytes) in __getdents64()
|
/sysdeps/powerpc/powerpc32/power4/ |
A D | memcopy.h | 61 #define BYTE_COPY_FWD(dst_bp, src_bp, nbytes) \ argument 64 size_t __nbytes = (nbytes); \ 89 #define BYTE_COPY_BWD(dst_ep, src_ep, nbytes) \ argument 92 size_t __nbytes = (nbytes); \
|
/sysdeps/unix/sysv/linux/ |
A D | getdents64.c | 26 __getdents64 (int fd, void *buf, size_t nbytes) in __getdents64() argument 30 if (nbytes > INT_MAX) in __getdents64() 31 nbytes = INT_MAX; in __getdents64() 32 return INLINE_SYSCALL_CALL (getdents64, fd, buf, nbytes); in __getdents64() 65 __old_getdents64 (int fd, char *buf, size_t nbytes) 77 ssize_t retval = INLINE_SYSCALL_CALL (getdents64, fd, buf, nbytes);
|
A D | read_nocancel.c | 24 __read_nocancel (int fd, void *buf, size_t nbytes) in __read_nocancel() argument 26 return INLINE_SYSCALL_CALL (read, fd, buf, nbytes); in __read_nocancel()
|
A D | write_nocancel.c | 24 __write_nocancel (int fd, const void *buf, size_t nbytes) in __write_nocancel() argument 26 return INLINE_SYSCALL_CALL (write, fd, buf, nbytes); in __write_nocancel()
|
A D | read.c | 24 __libc_read (int fd, void *buf, size_t nbytes) in __libc_read() argument 26 return SYSCALL_CANCEL (read, fd, buf, nbytes); in __libc_read()
|
A D | write.c | 24 __libc_write (int fd, const void *buf, size_t nbytes) in __libc_write() argument 26 return SYSCALL_CANCEL (write, fd, buf, nbytes); in __libc_write()
|
A D | getdirentries.c | 24 getdirentries (int fd, char *buf, size_t nbytes, off_t *basep) in getdirentries() argument 28 ssize_t result = __getdents (fd, buf, nbytes); in getdirentries()
|
A D | getdirentries64.c | 25 getdirentries64 (int fd, char *buf, size_t nbytes, off64_t *basep) in getdirentries64() argument 29 ssize_t result = __getdents64 (fd, buf, nbytes); in getdirentries64()
|
/sysdeps/unix/sysv/linux/nios2/ |
A D | cacheflush.c | 25 _flush_cache (char *addr, const int nbytes, const int op) in _flush_cache() argument 27 return INLINE_SYSCALL (cacheflush, 3, addr, nbytes, op); in _flush_cache()
|