Searched refs:nbyte (Results 1 - 25 of 29) sorted by relevance

12

/netbsd-6-1-5-RELEASE/lib/libc/sys/
H A Dpread.c58 _sys_pread(int fd, void *buf, size_t nbyte, off_t offset)
61 return __pread(fd, buf, nbyte, 0, offset);
H A Dpwrite.c58 _sys_pwrite(int fd, const void *buf, size_t nbyte, off_t offset)
61 return __pwrite(fd, buf, nbyte, 0, offset);
/netbsd-6-1-5-RELEASE/sys/arch/atari/dev/
H A Dmd_root.c266 cpy_uncompressed(void * buf, int nbyte, struct read_info *rsp) argument
269 if ((rsp->bufp + nbyte) >= rsp->ebufp)
271 memcpy(rsp->bufp, buf, nbyte);
272 rsp->bufp += nbyte;
277 * Read a maximum of 'nbyte' bytes into 'buf'.
280 md_compressed(void * buf, int nbyte, struct read_info *rsp) argument
290 nbyte &= ~(DEV_BSIZE - 1);
292 while (nbyte > 0) {
297 bp->b_bcount = min(rsp->chunk, nbyte);
315 nbyte
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/zaurus/stand/zboot/
H A Dpathfs.c45 pathfs_read(struct open_file *fd, void *vbuf, size_t nbyte, size_t *resid) argument
51 while (off < nbyte) {
52 rsz = uread((int)fd->f_devdata, buf + off, nbyte - off);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/pem/
H A Dpvkfmt.c90 static int read_lebn(const unsigned char **in, unsigned int nbyte, BIGNUM **r) argument
95 p = *in + nbyte - 1;
96 tmpbuf = OPENSSL_malloc(nbyte);
100 for (i = 0; i < nbyte; i++)
102 *r = BN_bin2bn(tmpbuf, nbyte, NULL);
106 *in += nbyte;
216 unsigned int nbyte, hnbyte; local
217 nbyte = (bitlen + 7) >> 3;
226 return 44 + 3 * nbyte;
231 return 64 + 2 * nbyte;
318 unsigned int nbyte; local
376 unsigned int nbyte, hnbyte; local
578 int nbyte, hnbyte, bitlen; local
613 int nbyte, hnbyte; local
631 int nbyte; local
[all...]
/netbsd-6-1-5-RELEASE/lib/librmt/
H A Drmtlib.c411 _rmt_read(int fildes, void *buf, size_t nbyte) argument
421 (void)snprintf(buffer, sizeof buffer, "R%zu\n", nbyte);
425 if (rv > nbyte)
426 rv = (int)nbyte;
444 _rmt_write(int fildes, const void *buf, size_t nbyte) argument
451 (void)snprintf(buffer, sizeof buffer, "W%zu\n", nbyte);
456 if (write(WRITE(fildes), buf, nbyte) == nbyte) {
684 rmtread(int fildes, void *buf, size_t nbyte) argument
690 return _rmt_read(fildes - REM_BIAS, buf, nbyte);
701 rmtwrite(int fildes, const void *buf, size_t nbyte) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/compat/svr4/
H A Dsvr4_fcntl.c411 SCARG(&pra, nbyte) = SCARG(uap, nbyte);
429 SCARG(&pra, nbyte) = SCARG(uap, nbyte);
447 SCARG(&pwa, nbyte) = SCARG(uap, nbyte);
465 SCARG(&pwa, nbyte) = SCARG(uap, nbyte);
H A Dsvr4_syscallargs.h524 syscallarg(size_t) nbyte; member in struct:svr4_sys_pread_args
532 syscallarg(size_t) nbyte; member in struct:svr4_sys_pwrite_args
653 syscallarg(size_t) nbyte; member in struct:svr4_sys_pread64_args
661 syscallarg(size_t) nbyte; member in struct:svr4_sys_pwrite64_args
H A Dsvr4_stream.c1454 SCARG(&wa, nbyte) = dat.len;
1803 SCARG(&ra, nbyte) = dat.maxlen;
/netbsd-6-1-5-RELEASE/sys/compat/svr4_32/
H A Dsvr4_32_fcntl.c398 SCARG(&pra, nbyte) = SCARG(uap, nbyte);
416 SCARG(&pra, nbyte) = SCARG(uap, nbyte);
434 SCARG(&pwa, nbyte) = SCARG(uap, nbyte);
452 SCARG(&pwa, nbyte) = SCARG(uap, nbyte);
H A Dsvr4_32_syscallargs.h519 syscallarg(netbsd32_size_t) nbyte; member in struct:svr4_32_sys_pread_args
527 syscallarg(netbsd32_size_t) nbyte; member in struct:svr4_32_sys_pwrite_args
648 syscallarg(netbsd32_size_t) nbyte; member in struct:svr4_32_sys_pread64_args
656 syscallarg(netbsd32_size_t) nbyte; member in struct:svr4_32_sys_pwrite64_args
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dsys_generic.c105 syscallarg(size_t) nbyte;
121 return (dofileread(fd, fp, SCARG(uap, buf), SCARG(uap, nbyte),
126 dofileread(int fd, struct file *fp, void *buf, size_t nbyte, argument
138 aiov.iov_len = nbyte;
141 auio.uio_resid = nbyte;
307 syscallarg(size_t) nbyte;
323 return (dofilewrite(fd, fp, SCARG(uap, buf), SCARG(uap, nbyte),
329 size_t nbyte, off_t *offset, int flags, register_t *retval)
337 aiov.iov_len = nbyte;
340 auio.uio_resid = nbyte;
328 dofilewrite(int fd, struct file *fp, const void *buf, size_t nbyte, off_t *offset, int flags, register_t *retval) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/lib/libsa/
H A Ddosfs.c274 dosfs_read(struct open_file *fd, void *vbuf, size_t nbyte, size_t *resid) argument
282 nb = (u_int) nbyte;
322 *resid = nbyte - nb + cnt;
733 ioread(DOS_FS *fs, u_int offset, void *buf, u_int nbyte) argument
745 if ((n = SECSIZ - off) > nbyte)
746 n = nbyte;
749 nbyte -= n;
751 n = nbyte & (SECSIZ - 1);
752 if (nbyte -= n) {
753 if ((err = ioget(fs->fd, bytsec(offset), s, bytsec(nbyte))))
[all...]
/netbsd-6-1-5-RELEASE/sys/compat/linux32/common/
H A Dlinux32_unistd.c577 syscallarg(netbsd32_size_t) nbyte;
584 SCARG(&pra, nbyte) = SCARG(uap, nbyte);
600 syscallarg(netbsd32_size_t) nbyte;
607 SCARG(&pra, nbyte) = SCARG(uap, nbyte);
/netbsd-6-1-5-RELEASE/sys/compat/linux/common/
H A Dlinux_file.c592 syscallarg(size_t) nbyte;
599 SCARG(&pra, nbyte) = SCARG(uap, nbyte);
614 syscallarg(size_t) nbyte;
621 SCARG(&pra, nbyte) = SCARG(uap, nbyte);
/netbsd-6-1-5-RELEASE/sys/rump/librump/rumpkern/
H A Drump_syscalls.c73 rump___sysimpl_read(int fd, void * buf, size_t nbyte) argument
82 SPARG(&callarg, nbyte) = nbyte;
98 rump___sysimpl_write(int fd, const void * buf, size_t nbyte)
107 SPARG(&callarg, nbyte) = nbyte;
1660 rump___sysimpl_pread(int fd, void * buf, size_t nbyte, off_t offset)
1669 SPARG(&callarg, nbyte) = nbyte;
1687 rump___sysimpl_pwrite(int fd, const void * buf, size_t nbyte, off_
[all...]
/netbsd-6-1-5-RELEASE/sys/compat/linux/arch/amd64/
H A Dlinux_syscallargs.h111 syscallarg(size_t) nbyte; member in struct:linux_sys_pread_args
119 syscallarg(size_t) nbyte; member in struct:linux_sys_pwrite_args
/netbsd-6-1-5-RELEASE/sys/compat/linux/arch/mips/
H A Dlinux_syscallargs.h664 syscallarg(size_t) nbyte; member in struct:linux_sys_pread_args
672 syscallarg(size_t) nbyte; member in struct:linux_sys_pwrite_args
/netbsd-6-1-5-RELEASE/sys/compat/linux/arch/powerpc/
H A Dlinux_syscallargs.h629 syscallarg(size_t) nbyte; member in struct:linux_sys_pread_args
637 syscallarg(size_t) nbyte; member in struct:linux_sys_pwrite_args
/netbsd-6-1-5-RELEASE/sys/compat/linux32/arch/amd64/
H A Dlinux32_syscallargs.h630 syscallarg(netbsd32_size_t) nbyte; member in struct:linux32_sys_pread_args
638 syscallarg(netbsd32_size_t) nbyte; member in struct:linux32_sys_pwrite_args
/netbsd-6-1-5-RELEASE/sys/compat/netbsd32/
H A Dnetbsd32_netbsd.c192 syscallarg(netbsd32_size_t) nbyte;
198 NETBSD32TOX_UAP(nbyte, size_t);
208 syscallarg(netbsd32_size_t) nbyte;
214 NETBSD32TOX_UAP(nbyte, size_t);
1354 syscallarg(netbsd32_size_t) nbyte;
1362 NETBSD32TOX_UAP(nbyte, size_t);
1374 syscallarg(netbsd32_size_t) nbyte;
1382 NETBSD32TOX_UAP(nbyte, size_t);
/netbsd-6-1-5-RELEASE/sys/compat/linux/arch/alpha/
H A Dlinux_syscallargs.h710 syscallarg(size_t) nbyte; member in struct:linux_sys_pread_args
718 syscallarg(size_t) nbyte; member in struct:linux_sys_pwrite_args
/netbsd-6-1-5-RELEASE/sys/compat/linux/arch/arm/
H A Dlinux_syscallargs.h649 syscallarg(size_t) nbyte; member in struct:linux_sys_pread_args
657 syscallarg(size_t) nbyte; member in struct:linux_sys_pwrite_args
/netbsd-6-1-5-RELEASE/sys/compat/linux/arch/i386/
H A Dlinux_syscallargs.h672 syscallarg(size_t) nbyte; member in struct:linux_sys_pread_args
680 syscallarg(size_t) nbyte; member in struct:linux_sys_pwrite_args
/netbsd-6-1-5-RELEASE/sys/compat/linux/arch/m68k/
H A Dlinux_syscallargs.h648 syscallarg(size_t) nbyte; member in struct:linux_sys_pread_args
656 syscallarg(size_t) nbyte; member in struct:linux_sys_pwrite_args

Completed in 326 milliseconds

12