Home
last modified time | relevance | path

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

12

/freebsd-13.1/crypto/openssl/crypto/pem/
H A Dpvkfmt.c50 *in += nbyte; in read_lebn()
151 unsigned int nbyte, hnbyte; in blob_length() local
152 nbyte = (bitlen + 7) >> 3; in blob_length()
171 return 4 + nbyte; in blob_length()
251 unsigned int nbyte; in b2i_dss() local
255 nbyte = (bitlen + 7) >> 3; in b2i_dss()
527 nbyte = RSA_size(rsa); in check_bitlen_rsa()
560 int nbyte, hnbyte; in write_rsa() local
563 nbyte = RSA_size(rsa); in write_rsa()
582 int nbyte; in write_dsa() local
[all …]
/freebsd-13.1/tools/tools/kttcp/sys/
H A Dkttcp.c146 static int nbyte = 65536; variable
175 nbyte = MIN(len, (unsigned long long)nbyte); in kttcp_send()
176 aiov.iov_len = nbyte; in kttcp_send()
177 auio.uio_resid = nbyte; in kttcp_send()
223 nbyte = MIN(len, (unsigned long long)nbyte); in kttcp_recv()
224 aiov.iov_len = nbyte; in kttcp_recv()
225 auio.uio_resid = nbyte; in kttcp_recv()
/freebsd-13.1/stand/libsa/
H A Dufsread.c168 fsread_size(ufs_ino_t inode, void *buf, size_t nbyte, size_t *fsizep) in fsread_size() argument
189 if ((buf == NULL && nbyte != 0) || dmadat == NULL) in fsread_size()
258 if (nbyte > n) in fsread_size()
259 nbyte = n; in fsread_size()
260 nb = nbyte; in fsread_size()
317 return nbyte; in fsread_size()
321 fsread(ufs_ino_t inode, void *buf, size_t nbyte) in fsread() argument
324 return fsread_size(inode, buf, nbyte, NULL); in fsread()
H A Ddosfs.c382 nb = (u_int)nbyte; in dos_read()
420 *resid = nbyte - nb + cnt; in dos_read()
865 nbyte = fs->fatsz != 32 ? 2 : 4; in fatget()
870 if (offset + nbyte > FATBLKSZ) in fatget()
925 if ((n = SECSIZ - off) > nbyte) in ioread()
926 n = nbyte; in ioread()
934 nbyte -= n; in ioread()
936 n = nbyte & (SECSIZ - 1); in ioread()
937 if (nbyte -= n) { in ioread()
940 offset += nbyte; in ioread()
[all …]
/freebsd-13.1/usr.sbin/btxld/
H A Dbtxld.c447 copy(int fdi, int fdo, size_t nbyte, off_t offset) in copy() argument
452 while (nbyte) { in copy()
453 if ((n = sizeof(buf)) > nbyte) in copy()
454 n = nbyte; in copy()
458 nbyte -= n; in copy()
467 readx(int fd, void *buf, size_t nbyte, off_t offset) in readx() argument
473 if ((n = read(fd, buf, nbyte)) == -1) in readx()
482 writex(int fd, const void *buf, size_t nbyte) in writex() argument
486 if ((n = write(fd, buf, nbyte)) == -1) in writex()
488 if ((size_t)n != nbyte) in writex()
/freebsd-13.1/sys/kern/
H A Dsys_generic.c188 size_t nbyte; member
201 aiov.iov_len = uap->nbyte; in sys_read()
217 size_t nbyte; member
236 if (nbyte > IOSIZE_MAX) in kern_pread()
239 aiov.iov_len = nbyte; in kern_pread()
242 auio.uio_resid = nbyte; in kern_pread()
389 size_t nbyte; member
418 size_t nbyte; member
438 if (nbyte > IOSIZE_MAX) in kern_pwrite()
441 aiov.iov_len = nbyte; in kern_pwrite()
[all …]
/freebsd-13.1/contrib/apr-util/include/
H A Dapr_buckets.h830 const char *str, apr_size_t nbyte);
1378 apr_size_t nbyte,
1390 apr_size_t nbyte);
1400 apr_size_t nbyte,
1412 apr_size_t nbyte);
1429 apr_size_t nbyte,
1442 apr_size_t nbyte,
/freebsd-13.1/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-13.1/stand/mips/beri/boot2/
H A Dboot2.c155 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) in xfsread() argument
157 if ((size_t)fsread(inode, buf, nbyte) != nbyte) { in xfsread()
200 size_t nbyte; in main() local
229 nbyte = fsread(ino, cmd, sizeof(cmd) - 1); in main()
230 cmd[nbyte] = '\0'; in main()
/freebsd-13.1/tools/tools/vhba/medium/
H A Dvhba_medium.c126 unsigned int nbyte; in vhbamedium_act() local
250 nbyte = (char *)ptr - &junk[0]; in vhbamedium_act()
251 ptr[0] = nbyte - 4; in vhbamedium_act()
259 data_len = min(data_len, nbyte); in vhbamedium_act()
/freebsd-13.1/tools/tools/vhba/lots/
H A Dvhba_lots.c126 unsigned int nbyte; in vhbalots_act() local
250 nbyte = (char *)ptr - &junk[0]; in vhbalots_act()
251 ptr[0] = nbyte - 4; in vhbalots_act()
259 data_len = min(data_len, nbyte); in vhbalots_act()
/freebsd-13.1/tools/tools/vhba/simple/
H A Dvhba_simple.c126 unsigned int nbyte; in vhbasimple_act() local
250 nbyte = (char *)ptr - &junk[0]; in vhbasimple_act()
251 ptr[0] = nbyte - 4; in vhbasimple_act()
259 data_len = min(data_len, nbyte); in vhbasimple_act()
/freebsd-13.1/stand/i386/boot2/
H A Dboot2.c151 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) in xfsread() argument
154 if ((size_t)fsread(inode, buf, nbyte) != nbyte) { in xfsread()
206 size_t nbyte; in main() local
224 nbyte = fsread(ino, cmd, sizeof(cmd) - 1); in main()
225 cmd[nbyte] = '\0'; in main()
/freebsd-13.1/tools/tools/vhba/faulty/
H A Dvhba_faulty.c140 unsigned int nbyte; in faulty_act() local
264 nbyte = (char *)ptr - &junk[0]; in faulty_act()
265 ptr[0] = nbyte - 4; in faulty_act()
273 data_len = min(data_len, nbyte); in faulty_act()
/freebsd-13.1/tools/tools/vhba/rptluns/
H A Dvhba_rptluns.c155 unsigned int nbyte; in vhbarptluns_act() local
279 nbyte = (char *)ptr - &junk[0]; in vhbarptluns_act()
280 ptr[0] = nbyte - 4; in vhbarptluns_act()
288 data_len = min(data_len, nbyte); in vhbarptluns_act()
/freebsd-13.1/contrib/apr-util/buckets/
H A Dapr_brigade.c432 const char *str, apr_size_t nbyte) in apr_brigade_write() argument
451 if (nbyte > remaining) { in apr_brigade_write()
456 e = apr_bucket_transient_create(str, nbyte, b->bucket_alloc); in apr_brigade_write()
461 e = apr_bucket_heap_create(str, nbyte, NULL, b->bucket_alloc); in apr_brigade_write()
482 memcpy(buf, str, nbyte); in apr_brigade_write()
483 e->length += nbyte; in apr_brigade_write()
/freebsd-13.1/contrib/tcsh/
H A Dsh.misc.c684 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-13.1/tools/tools/vhba/mptest/
H A Dvhba_mptest.c166 unsigned int nbyte; in mptest_act() local
290 nbyte = (char *)ptr - &junk[0]; in mptest_act()
291 ptr[0] = nbyte - 4; in mptest_act()
299 data_len = min(data_len, nbyte); in mptest_act()
/freebsd-13.1/stand/i386/isoboot/
H A Disoboot.c112 xfsread(uint64_t inode, void *buf, size_t nbyte) in xfsread() argument
115 if ((size_t)cd9660_fsread(inode, buf, nbyte) != nbyte) { in xfsread()
/freebsd-13.1/stand/i386/gptboot/
H A Dgptboot.c129 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) in xfsread() argument
132 if ((size_t)fsread(inode, buf, nbyte) != nbyte) { in xfsread()
/freebsd-13.1/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h49 #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-13.1/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_sprom.c1146 size_t nbyte; in bhnd_nvram_sprom_read_var() local
1230 nbyte = iwidth; in bhnd_nvram_sprom_read_var()
1232 intv_type, ptr, &nbyte, var_btype); in bhnd_nvram_sprom_read_var()
/freebsd-13.1/sys/sys/
H A Dsyscallsubr.h237 int kern_pread(struct thread *td, int fd, void *buf, size_t nbyte,
244 int kern_pwrite(struct thread *td, int fd, const void *buf, size_t nbyte,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def332 /// void __kmpc_alloc_shared(size_t nbyte);
335 /// void __kmpc_free_shared(void *ptr, size_t nbyte);
1112 /// ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset);
1133 /// ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset);
1140 /// ssize_t read(int fildes, void *buf, size_t nbyte);
1465 /// ssize_t write(int fildes, const void *buf, size_t nbyte);
/freebsd-13.1/sys/compat/freebsd32/
H A Dfreebsd32_proto.h415 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member
423 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member
461 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member
468 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member
1066 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member
1074 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member

12