| /freebsd-14.2/tools/tools/kttcp/sys/ |
| H A D | kttcp.c | 145 static int nbyte = 65536; variable 174 nbyte = MIN(len, (unsigned long long)nbyte); in kttcp_send() 175 aiov.iov_len = nbyte; in kttcp_send() 176 auio.uio_resid = nbyte; in kttcp_send() 222 nbyte = MIN(len, (unsigned long long)nbyte); in kttcp_recv() 223 aiov.iov_len = nbyte; in kttcp_recv() 224 auio.uio_resid = nbyte; in kttcp_recv()
|
| /freebsd-14.2/crypto/openssl/crypto/pem/ |
| H A D | pvkfmt.c | 58 *in += nbyte; in read_lebn() 271 return 4 + nbyte; in ossl_blob_length() 626 int nbyte, hnbyte, bitlen; in check_bitlen_rsa() local 633 nbyte = RSA_size(rsa); in check_bitlen_rsa() 666 int nbyte, hnbyte; in write_rsa() local 669 nbyte = RSA_size(rsa); in write_rsa() 673 write_lebn(out, n, nbyte); in write_rsa() 683 write_lebn(out, d, nbyte); in write_rsa() 717 int nbyte; in write_dsa() local 723 nbyte = BN_num_bytes(p); in write_dsa() [all …]
|
| /freebsd-14.2/stand/libsa/ |
| H A D | ufsread.c | 165 fsread_size(ufs_ino_t inode, void *buf, size_t nbyte, size_t *fsizep) in fsread_size() argument 186 if ((buf == NULL && nbyte != 0) || dmadat == NULL) in fsread_size() 255 if (nbyte > n) in fsread_size() 256 nbyte = n; in fsread_size() 257 nb = nbyte; in fsread_size() 314 return nbyte; in fsread_size() 318 fsread(ufs_ino_t inode, void *buf, size_t nbyte) in fsread() argument 321 return fsread_size(inode, buf, nbyte, NULL); in fsread()
|
| H A D | dosfs.c | 378 nb = (u_int)nbyte; in dos_read() 416 *resid = nbyte - nb + cnt; in dos_read() 861 nbyte = fs->fatsz != 32 ? 2 : 4; in fatget() 866 if (offset + nbyte > FATBLKSZ) in fatget() 921 if ((n = SECSIZ - off) > nbyte) in ioread() 922 n = nbyte; in ioread() 930 nbyte -= n; in ioread() 932 n = nbyte & (SECSIZ - 1); in ioread() 933 if (nbyte -= n) { in ioread() 936 offset += nbyte; in ioread() [all …]
|
| /freebsd-14.2/stand/kboot/libkboot/ |
| H A D | host_syscalls.c | 122 host_read(int fd, void *buf, size_t nbyte) in host_read() argument 124 return host_syscall(SYS_read, fd, (uintptr_t)buf, nbyte); in host_read() 168 host_write(int fd, const void *buf, size_t nbyte) in host_write() argument 170 return host_syscall(SYS_write, fd, (uintptr_t)buf, nbyte); in host_write()
|
| /freebsd-14.2/usr.sbin/btxld/ |
| H A D | btxld.c | 442 copy(int fdi, int fdo, size_t nbyte, off_t offset) in copy() argument 447 while (nbyte) { in copy() 448 if ((n = sizeof(buf)) > nbyte) in copy() 449 n = nbyte; in copy() 453 nbyte -= n; in copy() 462 readx(int fd, void *buf, size_t nbyte, off_t offset) in readx() argument 468 if ((n = read(fd, buf, nbyte)) == -1) in readx() 477 writex(int fd, const void *buf, size_t nbyte) in writex() argument 481 if ((n = write(fd, buf, nbyte)) == -1) in writex() 483 if ((size_t)n != nbyte) in writex()
|
| /freebsd-14.2/sys/kern/ |
| H A D | sys_generic.c | 187 size_t nbyte; member 200 aiov.iov_len = uap->nbyte; in sys_read() 216 size_t nbyte; member 235 if (nbyte > IOSIZE_MAX) in kern_pread() 238 aiov.iov_len = nbyte; in kern_pread() 241 auio.uio_resid = nbyte; in kern_pread() 388 size_t nbyte; member 417 size_t nbyte; member 437 if (nbyte > IOSIZE_MAX) in kern_pwrite() 440 aiov.iov_len = nbyte; in kern_pwrite() [all …]
|
| /freebsd-14.2/tools/tools/vhba/simple/ |
| H A D | vhba_simple.c | 125 unsigned int nbyte; in vhbasimple_act() local 249 nbyte = (char *)ptr - &junk[0]; in vhbasimple_act() 250 ptr[0] = nbyte - 4; in vhbasimple_act() 258 data_len = min(data_len, nbyte); in vhbasimple_act()
|
| /freebsd-14.2/tools/tools/vhba/medium/ |
| H A D | vhba_medium.c | 125 unsigned int nbyte; in vhbamedium_act() local 249 nbyte = (char *)ptr - &junk[0]; in vhbamedium_act() 250 ptr[0] = nbyte - 4; in vhbamedium_act() 258 data_len = min(data_len, nbyte); in vhbamedium_act()
|
| /freebsd-14.2/tools/tools/vhba/lots/ |
| H A D | vhba_lots.c | 125 unsigned int nbyte; in vhbalots_act() local 249 nbyte = (char *)ptr - &junk[0]; in vhbalots_act() 250 ptr[0] = nbyte - 4; in vhbalots_act() 258 data_len = min(data_len, nbyte); in vhbalots_act()
|
| /freebsd-14.2/stand/i386/boot2/ |
| H A D | boot2.c | 148 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) in xfsread() argument 151 if ((size_t)fsread(inode, buf, nbyte) != nbyte) { in xfsread() 203 size_t nbyte; in main() local 221 nbyte = fsread(ino, cmd, sizeof(cmd) - 1); in main() 222 cmd[nbyte] = '\0'; in main()
|
| /freebsd-14.2/tools/tools/vhba/faulty/ |
| H A D | vhba_faulty.c | 139 unsigned int nbyte; in faulty_act() local 263 nbyte = (char *)ptr - &junk[0]; in faulty_act() 264 ptr[0] = nbyte - 4; in faulty_act() 272 data_len = min(data_len, nbyte); in faulty_act()
|
| /freebsd-14.2/tools/tools/vhba/rptluns/ |
| H A D | vhba_rptluns.c | 154 unsigned int nbyte; in vhbarptluns_act() local 278 nbyte = (char *)ptr - &junk[0]; in vhbarptluns_act() 279 ptr[0] = nbyte - 4; in vhbarptluns_act() 287 data_len = min(data_len, nbyte); in vhbarptluns_act()
|
| /freebsd-14.2/stand/kboot/include/ |
| H A D | host_syscall.h | 177 ssize_t host_read(int fd, void *buf, size_t nbyte); 184 ssize_t host_write(int fd, const void *buf, size_t nbyte);
|
| /freebsd-14.2/contrib/tcsh/ |
| H A D | sh.misc.c | 684 xread(int fildes, void *buf, size_t nbyte) in xread() argument 693 while ((res = read(fildes, buf, nbyte)) == -1 && errno == EINTR); in xread() 712 xwrite(int fildes, const void *buf, size_t nbyte) in xwrite() argument 721 while ((res = write(fildes, buf, nbyte)) == -1 && errno == EINTR); in xwrite()
|
| /freebsd-14.2/tools/tools/vhba/mptest/ |
| H A D | vhba_mptest.c | 165 unsigned int nbyte; in mptest_act() local 289 nbyte = (char *)ptr - &junk[0]; in mptest_act() 290 ptr[0] = nbyte - 4; in mptest_act() 298 data_len = min(data_len, nbyte); in mptest_act()
|
| /freebsd-14.2/stand/i386/isoboot/ |
| H A D | isoboot.c | 109 xfsread(uint64_t inode, void *buf, size_t nbyte) in xfsread() argument 112 if ((size_t)cd9660_fsread(inode, buf, nbyte) != nbyte) { in xfsread()
|
| /freebsd-14.2/stand/i386/gptboot/ |
| H A D | gptboot.c | 126 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) in xfsread() argument 129 if ((size_t)fsread(inode, buf, nbyte) != nbyte) { in xfsread()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/include/sanitizer/ |
| H A D | netbsd_syscall_hooks.h | 49 #define __sanitizer_syscall_pre_read(fd, buf, nbyte) \ argument 51 (long long)(nbyte)) 52 #define __sanitizer_syscall_post_read(res, fd, buf, nbyte) \ argument 54 (long long)(nbyte)) 55 #define __sanitizer_syscall_pre_write(fd, buf, nbyte) \ argument 57 (long long)(nbyte)) 60 (long long)(nbyte)) 2883 long long nbyte); 2885 long long buf, long long nbyte); 2887 long long nbyte); [all …]
|
| /freebsd-14.2/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_data_sprom.c | 1144 size_t nbyte; in bhnd_nvram_sprom_read_var() local 1228 nbyte = iwidth; in bhnd_nvram_sprom_read_var() 1230 intv_type, ptr, &nbyte, var_btype); in bhnd_nvram_sprom_read_var()
|
| /freebsd-14.2/sys/compat/linux/ |
| H A D | linux_file.c | 983 error = kern_pread(td, uap->fd, uap->buf, uap->nbyte, offset); in linux_pread() 1008 kern_pwrite(td, uap->fd, uap->buf, uap->nbyte, offset))); in linux_pwrite() 1857 .nbyte = args->nbyte, in linux_write()
|
| /freebsd-14.2/sys/sys/ |
| H A D | syscallsubr.h | 278 int kern_pread(struct thread *td, int fd, void *buf, size_t nbyte, 285 int kern_pwrite(struct thread *td, int fd, const void *buf, size_t nbyte,
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.def | 545 /// void* __kmpc_alloc_shared(size_t nbyte); 550 /// void __kmpc_free_shared(void *ptr, size_t nbyte); 1850 /// ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); 1885 /// ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset); 1896 /// ssize_t read(int fildes, void *buf, size_t nbyte); 2437 /// ssize_t write(int fildes, const void *buf, size_t nbyte);
|
| /freebsd-14.2/sys/compat/freebsd32/ |
| H A D | freebsd32_proto.h | 416 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member 426 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member 958 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member 966 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member
|
| /freebsd-14.2/crypto/heimdal/appl/telnet/telnet/ |
| H A D | commands.c | 193 int nbyte; /* Number of bytes to send this command */ member 276 count += s->nbyte; in sendcmd()
|