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

12

/freebsd-11-stable/usr.sbin/kgzip/
H A Dxio.c52 size_t nbyte, off_t offset)
57 while (nbyte) {
58 if ((n = sizeof(buf)) > nbyte)
59 n = nbyte;
63 nbyte -= n;
72 xzero(const struct iodesc * id, size_t nbyte) argument
78 while (nbyte) {
79 if ((n = sizeof(buf)) > nbyte)
80 n = nbyte;
82 nbyte
51 xcopy(const struct iodesc * idi, const struct iodesc * ido, size_t nbyte, off_t offset) argument
90 xread(const struct iodesc * id, void *buf, size_t nbyte, off_t offset) argument
105 xwrite(const struct iodesc * id, const void *buf, size_t nbyte) argument
[all...]
/freebsd-11-stable/tools/tools/kttcp/sys/
H A Dkttcp.c146 static int nbyte = 65536; variable
175 nbyte = MIN(len, (unsigned long long)nbyte);
176 aiov.iov_len = nbyte;
177 auio.uio_resid = nbyte;
223 nbyte = MIN(len, (unsigned long long)nbyte);
224 aiov.iov_len = nbyte;
225 auio.uio_resid = nbyte;
/freebsd-11-stable/stand/powerpc/kboot/
H A Dhost_syscall.h33 ssize_t host_read(int fd, void *buf, size_t nbyte);
34 ssize_t host_write(int fd, const void *buf, size_t nbyte);
/freebsd-11-stable/crypto/openssl/crypto/pem/
H A Dpvkfmt.c94 static int read_lebn(const unsigned char **in, unsigned int nbyte, BIGNUM **r) argument
99 p = *in + nbyte - 1;
100 tmpbuf = OPENSSL_malloc(nbyte);
104 for (i = 0; i < nbyte; i++)
106 *r = BN_bin2bn(tmpbuf, nbyte, NULL);
109 *in += nbyte;
210 unsigned int nbyte, hnbyte; local
211 nbyte = (bitlen + 7) >> 3;
220 return 44 + 3 * nbyte;
226 return 64 + 2 * nbyte;
311 unsigned int nbyte; local
366 unsigned int nbyte, hnbyte; local
554 int nbyte, hnbyte, bitlen; local
585 int nbyte, hnbyte; local
602 int nbyte; local
[all...]
/freebsd-11-stable/stand/libsa/
H A Dufsread.c168 fsread_size(ufs_ino_t inode, void *buf, size_t nbyte, size_t *fsizep) argument
189 if ((buf == NULL && nbyte != 0) || dmadat == NULL)
258 if (nbyte > n)
259 nbyte = n;
260 nb = nbyte;
317 return nbyte;
321 fsread(ufs_ino_t inode, void *buf, size_t nbyte) argument
324 return fsread_size(inode, buf, nbyte, NULL);
H A Ddosfs.c282 dos_read(struct open_file *fd, void *buf, size_t nbyte, size_t *resid) argument
295 nb = (u_int)nbyte;
333 *resid = nbyte - nb + cnt;
757 u_int val_in, val_out, offset, blknum, nbyte; local
768 nbyte = fs->fatsz != 32 ? 2 : 4;
769 if (offset + nbyte > secbyt(fs->spf))
773 if (offset + nbyte > FATBLKSZ)
818 ioread(DOS_FS *fs, u_int offset, void *buf, size_t nbyte) argument
828 if ((n = SECSIZ - off) > nbyte)
829 n = nbyte;
[all...]
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_filio.c117 ra.nbyte = uap->nbyte;
140 uap->fd, uap->buf, uap->nbyte, rv));
182 wa.nbyte = uap->nbyte;
187 uap->fd, uap->buf, uap->nbyte, rv));
H A Dsvr4_fcntl.c518 pra.nbyte = uap->nbyte;
542 pra.nbyte = uap->nbyte;
563 pwa.nbyte = uap->nbyte;
586 pwa.nbyte = uap->nbyte;
/freebsd-11-stable/contrib/apr-util/include/
H A Dapr_buckets.h825 * @param nbyte The number of bytes to write
830 const char *str, apr_size_t nbyte);
1373 * @param nbyte The size of the data to insert.
1378 apr_size_t nbyte,
1385 * @param nbyte The size of the data to insert.
1390 apr_size_t nbyte);
1395 * @param nbyte The size of the data to insert.
1400 apr_size_t nbyte,
1407 * @param nbyte The size of the data to insert.
1412 apr_size_t nbyte);
[all...]
/freebsd-11-stable/usr.sbin/btxld/
H A Dbtxld.c446 copy(int fdi, int fdo, size_t nbyte, off_t offset) argument
451 while (nbyte) {
452 if ((n = sizeof(buf)) > nbyte)
453 n = nbyte;
457 nbyte -= n;
466 readx(int fd, void *buf, size_t nbyte, off_t offset) argument
472 if ((n = read(fd, buf, nbyte)) == -1)
481 writex(int fd, const void *buf, size_t nbyte) argument
485 if ((n = write(fd, buf, nbyte)) == -1)
487 if ((size_t)n != nbyte)
[all...]
/freebsd-11-stable/stand/mips/beri/boot2/
H A Dboot2.c155 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) argument
157 if ((size_t)fsread(inode, buf, nbyte) != nbyte) {
200 size_t nbyte; local
229 nbyte = fsread(ino, cmd, sizeof(cmd) - 1);
230 cmd[nbyte] = '\0';
/freebsd-11-stable/sys/kern/
H A Dsys_generic.c186 size_t nbyte; member in struct:read_args
198 if (uap->nbyte > IOSIZE_MAX)
201 aiov.iov_len = uap->nbyte;
204 auio.uio_resid = uap->nbyte;
217 size_t nbyte; member in struct:pread_args
226 return (kern_pread(td, uap->fd, uap->buf, uap->nbyte, uap->offset));
230 kern_pread(struct thread *td, int fd, void *buf, size_t nbyte, off_t offset) argument
236 if (nbyte > IOSIZE_MAX)
239 aiov.iov_len = nbyte;
242 auio.uio_resid = nbyte;
400 size_t nbyte; member in struct:write_args
431 size_t nbyte; member in struct:pwrite_args
444 kern_pwrite(struct thread *td, int fd, const void *buf, size_t nbyte, off_t offset) argument
[all...]
/freebsd-11-stable/tools/tools/vhba/faulty/
H A Dvhba_faulty.c140 unsigned int nbyte; local
264 nbyte = (char *)ptr - &junk[0];
265 ptr[0] = nbyte - 4;
273 data_len = min(data_len, nbyte);
/freebsd-11-stable/tools/tools/vhba/lots/
H A Dvhba_lots.c126 unsigned int nbyte; local
250 nbyte = (char *)ptr - &junk[0];
251 ptr[0] = nbyte - 4;
259 data_len = min(data_len, nbyte);
/freebsd-11-stable/tools/tools/vhba/medium/
H A Dvhba_medium.c126 unsigned int nbyte; local
250 nbyte = (char *)ptr - &junk[0];
251 ptr[0] = nbyte - 4;
259 data_len = min(data_len, nbyte);
/freebsd-11-stable/tools/tools/vhba/rptluns/
H A Dvhba_rptluns.c155 unsigned int nbyte; local
279 nbyte = (char *)ptr - &junk[0];
280 ptr[0] = nbyte - 4;
288 data_len = min(data_len, nbyte);
/freebsd-11-stable/tools/tools/vhba/simple/
H A Dvhba_simple.c126 unsigned int nbyte; local
250 nbyte = (char *)ptr - &junk[0];
251 ptr[0] = nbyte - 4;
259 data_len = min(data_len, nbyte);
/freebsd-11-stable/contrib/apr-util/buckets/
H A Dapr_brigade.c432 const char *str, apr_size_t nbyte)
451 if (nbyte > remaining) {
456 e = apr_bucket_transient_create(str, nbyte, b->bucket_alloc);
461 e = apr_bucket_heap_create(str, nbyte, NULL, b->bucket_alloc);
482 memcpy(buf, str, nbyte);
483 e->length += nbyte;
/freebsd-11-stable/stand/pc98/boot2/
H A Dboot2.c150 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) argument
153 if ((size_t)fsread(inode, buf, nbyte) != nbyte) {
331 size_t nbyte; local
359 nbyte = fsread(ino, cmd, sizeof(cmd) - 1);
360 cmd[nbyte] = '\0';
/freebsd-11-stable/stand/i386/boot2/
H A Dboot2.c151 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) argument
154 if ((size_t)fsread(inode, buf, nbyte) != nbyte) {
206 size_t nbyte; local
224 nbyte = fsread(ino, cmd, sizeof(cmd) - 1);
225 cmd[nbyte] = '\0';
/freebsd-11-stable/tools/tools/vhba/mptest/
H A Dvhba_mptest.c166 unsigned int nbyte; local
290 nbyte = (char *)ptr - &junk[0];
291 ptr[0] = nbyte - 4;
299 data_len = min(data_len, nbyte);
/freebsd-11-stable/contrib/tcsh/
H A Dsh.misc.c665 xread(int fildes, void *buf, size_t nbyte) argument
674 while ((res = read(fildes, buf, nbyte)) == -1 && errno == EINTR);
693 xwrite(int fildes, const void *buf, size_t nbyte) argument
702 while ((res = write(fildes, buf, nbyte)) == -1 && errno == EINTR);
/freebsd-11-stable/stand/i386/isoboot/
H A Disoboot.c112 xfsread(uint64_t inode, void *buf, size_t nbyte) argument
115 if ((size_t)cd9660_fsread(inode, buf, nbyte) != nbyte) {
/freebsd-11-stable/stand/i386/gptboot/
H A Dgptboot.c129 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) argument
132 if ((size_t)fsread(inode, buf, nbyte) != nbyte) {
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h49 #define __sanitizer_syscall_pre_read(fd, buf, nbyte) \
51 (long long)(nbyte))
52 #define __sanitizer_syscall_post_read(res, fd, buf, nbyte) \
54 (long long)(nbyte))
55 #define __sanitizer_syscall_pre_write(fd, buf, nbyte) \
57 (long long)(nbyte))
58 #define __sanitizer_syscall_post_write(res, fd, buf, nbyte) \
60 (long long)(nbyte))
892 #define __sanitizer_syscall_pre_pread(fd, buf, nbyte, PAD, offset) \
894 (long long)(nbyte), (lon
[all...]

Completed in 209 milliseconds

12