/freebsd/contrib/bc/tests/bc/ |
H A D | lib2.txt | 117 sbytes(0) 118 sbytes(1) 119 sbytes(-1) 120 sbytes(2) 121 sbytes(127) 122 sbytes(128) 123 sbytes(-127) 124 sbytes(-128) 125 sbytes(-129) 126 sbytes(254) [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | sendfile2.sh | 87 off_t sbytes; 123 sbytes = 0; 124 n = sendfile(f, s, sent, chunk, NULL, &sbytes, 0); 127 chunk -= sbytes; 128 size -= sbytes; 129 sent += sbytes;
|
H A D | sendfile26.sh | 97 off_t sbytes = 0; 102 NULL, &sbytes, 0); 104 cursor += sbytes; 105 to_send -= sbytes; 108 sbytes = to_send; 109 ret = sendfile(fd, sock, cursor, &sbytes, NULL, 0); 115 cursor += sbytes; 116 to_send -= sbytes;
|
H A D | sendfile_shm.sh | 106 off_t sbytes; 109 error = sendfile(shmfd, s, 0, size, NULL, &sbytes, 0); 112 printf("sent %jd bytes, requested %jd\n", (uintmax_t)sbytes,
|
/freebsd/lib/libsecureboot/openpgp/ |
H A D | opgp_sig.c | 284 unsigned char *sdata, size_t sbytes, 312 sdata = ddata = dearmor((char *)sdata, sbytes, &sbytes); 314 rc = decode_packet(2, &ptr, sbytes, (decoder_t)decode_sig, sig); 473 size_t fbytes, sbytes; 476 if ((sdata = read_file(sigfile, &sbytes))) { 483 sbytes, flags)) {
|
H A D | opgp_key.c | 393 size_t fbytes, sbytes; in openpgp_self_tests() local 400 sbytes = strlen(sdata); in openpgp_self_tests() 403 (unsigned char *)sdata, sbytes, 0); in openpgp_self_tests()
|
H A D | packet.h | 71 unsigned char *sdata, size_t sbytes, int flags);
|
/freebsd/sys/kern/ |
H A D | kern_sendfile.c | 688 off_t off, sbytes, rem, obj_size, nobj_size; in vn_sendfile() local 702 hdrlen = sbytes = 0; in vn_sendfile() 1203 sbytes += space + hdrlen; in vn_sendfile() 1219 sbytes += td->td_retval[0]; in vn_sendfile() 1234 (*sent) = sbytes; in vn_sendfile() 1273 off_t sbytes; in sendfile() local 1283 sbytes = 0; in sendfile() 1327 uap->nbytes, &sbytes, uap->flags, td); in sendfile() 1330 if (uap->sbytes != NULL) in sendfile() 1331 (void)copyout(&sbytes, uap->sbytes, sizeof(off_t)); in sendfile() [all …]
|
H A D | systrace_args.c | 1932 uarg[a++] = (intptr_t)p->sbytes; /* off_t * */ in systrace_args()
|
/freebsd/crypto/openssl/include/internal/ |
H A D | ktls.h | 196 off_t sbytes = 0; in ktls_sendfile() local 199 ret = sendfile(fd, s, off, size, NULL, &sbytes, flags); in ktls_sendfile() 200 if (ret == -1 && sbytes == 0) in ktls_sendfile() 202 return sbytes; in ktls_sendfile()
|
/freebsd/crypto/openssl/engines/ |
H A D | e_afalg.c | 470 ssize_t sbytes; in afalg_start_cipher_sk() local 508 sbytes = sendmsg(actx->sfd, &msg, 0); in afalg_start_cipher_sk() 509 if (sbytes < 0) { in afalg_start_cipher_sk() 535 sbytes = sendmsg(actx->sfd, &msg, 0); in afalg_start_cipher_sk() 536 if (sbytes < 0) { in afalg_start_cipher_sk() 542 if (sbytes != (ssize_t) inl) { in afalg_start_cipher_sk() 543 ALG_WARN("Cipher operation send bytes %zd != inlen %zd\n", sbytes, in afalg_start_cipher_sk()
|
/freebsd/sys/compat/linux/ |
H A D | linux_socket.c | 2439 off_t *offset, l_size_t count, off_t *sbytes) in sendfile_fallback() argument 2511 *sbytes = bytes_sent; in sendfile_fallback() 2527 off_t *offset, l_size_t count, off_t *sbytes) in sendfile_sendfile() argument 2541 sbytes, 0, td); in sendfile_sendfile() 2542 if (error == EAGAIN && *sbytes > 0) { in sendfile_sendfile() 2550 current_offset += *sbytes; in sendfile_sendfile() 2564 off_t sbytes; in linux_sendfile_common() local 2589 sbytes = 0; in linux_sendfile_common() 2592 &sbytes); in linux_sendfile_common() 2595 &sbytes); in linux_sendfile_common() [all …]
|
/freebsd/lib/libc/tests/sys/ |
H A D | sendfile_test.c | 907 off_t sbytes; in sbytes_positive_test() local 918 error = sendfile(fd, client_sock, 0, 0, NULL, &sbytes, SF_FLAGS(0, 0)); in sbytes_positive_test() 925 ATF_CHECK_EQ_MSG(pattern_size, sbytes, in sbytes_positive_test()
|
/freebsd/contrib/bc/gen/ |
H A D | lib2.bc | 307 define sbytes(x){ 332 define s2u(x){return s2un(x,sbytes(x))} 446 define void int(x){intn(x,sbytes(x))}
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | read.cc | 1304 off_t sbytes; in TEST_F() local 1327 ASSERT_EQ(0, sendfile(fd, sp[1], 0, bufsize, NULL, &sbytes, 0)) in TEST_F() 1349 off_t sbytes; in TEST_F() local 1365 ASSERT_NE(0, sendfile(fd, sp[1], 0, bufsize, NULL, &sbytes, 0)); in TEST_F()
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_misc.c | 2139 off_t offset, sbytes; in freebsd32_do_sendfile() local 2193 uap->nbytes, &sbytes, uap->flags, td); in freebsd32_do_sendfile() 2196 if (uap->sbytes != NULL) in freebsd32_do_sendfile() 2197 (void)copyout(&sbytes, uap->sbytes, sizeof(off_t)); in freebsd32_do_sendfile()
|
H A D | freebsd32_proto.h | 320 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; member 937 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; member
|
H A D | freebsd32_systrace_args.c | 1833 uarg[a++] = (intptr_t)p->sbytes; /* off_t * */ in systrace_args()
|
/freebsd/lib/libsys/ |
H A D | _libsys.h | 695 …file(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr * hdtr, off_t * sbytes, int flags);
|
/freebsd/sys/sys/ |
H A D | sysproto.h | 1035 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; member 2517 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; member
|