Searched refs:inl (Results 26 - 50 of 73) sorted by relevance

123

/freebsd-11-stable/crypto/openssl/crypto/evp/
H A Dbio_ok.c296 static int ok_write(BIO *b, const char *in, int inl) argument
301 if (inl <= 0)
302 return inl;
305 ret = inl;
335 if ((in == NULL) || (inl <= 0))
338 n = (inl + ctx->buf_len > OK_BLOCK_SIZE + OK_BLOCK_BLOCK) ?
339 (int)(OK_BLOCK_SIZE + OK_BLOCK_BLOCK - ctx->buf_len) : inl;
344 inl -= n;
353 } while (inl > 0);
H A Dbio_md.c147 static int md_write(BIO *b, const char *in, int inl) argument
152 if ((in == NULL) || (inl <= 0))
157 ret = BIO_write(b->next_bio, in, inl);
H A Dbio_b64.c368 static int b64_write(BIO *b, const char *in, int inl) argument
406 if ((in == NULL) || (inl <= 0))
409 while (inl > 0) {
410 n = (inl > B64_BLOCK_SIZE) ? B64_BLOCK_SIZE : inl;
419 if (n > inl)
420 n = inl;
459 inl -= n;
H A De_idea.c77 const unsigned char *in, size_t inl)
76 idea_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) argument
H A Devp_lib.c225 const unsigned char *in, unsigned int inl)
227 return ctx->cipher->do_cipher(ctx, out, in, inl);
224 EVP_Cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) argument
/freebsd-11-stable/crypto/openssl/crypto/bio/
H A Dbss_log.c168 static int MS_CALLBACK slg_write(BIO *b, const char *in, int inl) argument
170 int ret = inl;
242 if ((buf = (char *)OPENSSL_malloc(inl + 1)) == NULL) {
245 memcpy(buf, in, inl);
246 buf[inl] = '\0';
H A Dbio_lib.c220 int BIO_write(BIO *b, const void *in, int inl) argument
235 ((i = (int)cb(b, BIO_CB_WRITE, in, inl, 0L, 1L)) <= 0))
243 i = b->method->bwrite(b, in, inl);
249 i = (int)cb(b, BIO_CB_WRITE | BIO_CB_RETURN, in, inl, 0L, (long)i);
283 int BIO_gets(BIO *b, char *in, int inl) argument
295 if ((cb != NULL) && ((i = (int)cb(b, BIO_CB_GETS, in, inl, 0L, 1L)) <= 0))
303 i = b->method->bgets(b, in, inl);
306 i = (int)cb(b, BIO_CB_GETS | BIO_CB_RETURN, in, inl, 0L, (long)i);
H A Dbss_fd.c177 static int fd_write(BIO *b, const char *in, int inl) argument
181 ret = UP_write(b->num, in, inl);
H A Dbss_sock.c150 static int sock_write(BIO *b, const char *in, int inl) argument
155 ret = writesocket(b->num, in, inl);
H A Dbss_rtcp.c241 static int rtcp_write(BIO *b, const char *in, int inl) argument
249 for (i = 0; i < inl; i += segment) {
250 segment = inl - i;
H A Dbss_file.c263 static int MS_CALLBACK file_write(BIO *b, const char *in, int inl) argument
269 ret = UP_fwrite(in, (int)inl, 1, b->ptr);
271 ret = fwrite(in, (int)inl, 1, (FILE *)b->ptr);
273 ret = inl;
274 /* ret=fwrite(in,1,(int)inl,(FILE *)b->ptr); */
277 * version above can cause 'inl' write calls under some stupid stdio
H A Dbss_acpt.c320 static int acpt_write(BIO *b, const char *in, int inl) argument
334 ret = BIO_write(b->next_bio, in, inl);
H A Dbss_dgram.c421 static int dgram_write(BIO *b, const char *in, int inl) argument
428 ret = writesocket(b->num, in, inl);
439 ret = sendto(b->num, (char *)in, inl, 0, &data->peer.sa, peerlen);
441 ret = sendto(b->num, in, inl, 0, &data->peer.sa, peerlen);
1384 static int dgram_sctp_write(BIO *b, const char *in, int inl) argument
1425 if (!(tmp = OPENSSL_malloc(inl))) {
1432 memcpy(data->saved_message.data, in, inl);
1433 data->saved_message.length = inl;
1434 return inl;
1438 iov[0].iov_len = inl;
[all...]
/freebsd-11-stable/sys/i386/pci/
H A Dpci_cfgreg.c351 data = inl(port);
401 id = inl(port);
406 class = inl(port) >> 8;
439 oldval1 = inl(CONF1_ADDR_PORT);
451 mode1res = inl(CONF1_ADDR_PORT);
464 mode1res = inl(CONF1_ADDR_PORT);
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c256 uint8_t *inl = __DEVOLATILE(uint8_t *, dseg); local
259 m_copydata(mb, 0, len, inl + 4);
556 uint8_t *inl = __DEVOLATILE(uint8_t *, dseg); local
560 m_copydata(mb, 0, len, inl + 4);
561 memset(inl + 4 + len, 0, MIN_PKT_LEN - len);
564 m_copydata(mb, 0, len, inl + 4);
567 m_copydata(mb, 0, spc, inl + 4);
568 m_copydata(mb, spc, len - spc, inl + 8 + spc);
578 uint8_t *inl = __DEVOLATILE(uint8_t *, dseg); local
582 *(volatile uint32_t *)inl
[all...]
/freebsd-11-stable/sys/i386/i386/
H A Dgeode.c108 u = inl(gpio + 4);
144 return (inl(geode_counter));
163 c = inl(geode_counter);
/freebsd-11-stable/crypto/openssl/crypto/comp/
H A Dc_zlib.c435 static int bio_zlib_write(BIO *b, const char *in, int inl);
575 static int bio_zlib_write(BIO *b, const char *in, int inl) argument
580 if (!in || !inl)
602 zout->avail_in = inl;
609 int tot = inl - zout->avail_in;
621 return inl;
/freebsd-11-stable/contrib/ofed/libmlx4/
H A Dqp.c222 int inl = 0; local
292 inl = 1;
297 inl = 1;
374 inl = 0;
385 inl += len;
387 if (inl > qp->max_inline_data) {
388 inl = 0;
433 size += (inl + num_seg * sizeof * seg + 15) / 16;
471 if (nreq == 1 && inl && size > 1 && size <= ctx->bf_buf_size / 16) {
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_qp.c248 struct mlx4_wqe_inline_seg *inl; local
265 inl = wqe + s;
266 inl->byte_count = cpu_to_be32(1 << 31 | (size - s - sizeof *inl));
2304 struct mlx4_wqe_inline_seg *inl = wqe + sizeof *mlx; local
2376 ((unsigned long) (inl + 1) & (MLX4_INLINE_ALIGN - 1));
2378 inl->byte_count = cpu_to_be32((1U << 31) | header_size);
2379 memcpy(inl + 1, sqp->header_buf, header_size);
2382 inl->byte_count = cpu_to_be32((1U << 31) | spc);
2383 memcpy(inl
2433 struct mlx4_wqe_inline_seg *inl = wqe + sizeof *mlx; local
2808 struct mlx4_wqe_inline_seg *inl = wqe; local
2926 struct mlx4_wqe_inline_seg *inl = wqe; local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/engine/
H A Deng_openssl.c256 const unsigned char *in, size_t inl)
261 RC4(&test(ctx)->ks, inl, in, out);
255 test_rc4_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) argument
/freebsd-11-stable/crypto/openssl/apps/
H A Denc.c121 int ret = 1, inl; local
653 inl = BIO_read(rbio, (char *)buff, bsize);
654 if (inl <= 0)
656 if (BIO_write(wbio, (char *)buff, inl) != inl) {
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dqp.c277 int inl = 0; local
287 inl += len;
290 if (unlikely(inl > qp->max_inline_data))
304 if (likely(inl)) {
305 seg->byte_count = htobe32(inl | MLX5_INLINE_SEG);
306 *sz = align(inl + sizeof seg->byte_count, 16) / 16;
623 int inl = 0; local
866 inl = 1;
940 (inl || ctx->prefer_bf) && size > 1 &&
/freebsd-11-stable/sys/dev/bvm/
H A Dbvm_console.c89 c = inl(bvm_cons_port);
/freebsd-11-stable/sys/pc98/pc98/
H A Dbusio.s70 inl %dx,%eax
192 inl %dx,%eax
397 inl %dx,%eax
736 inl %dx,%eax
866 inl %dx,%eax
1084 inl %dx,%eax
1578 inl %dx,%eax
1714 inl %dx,%eax
/freebsd-11-stable/sys/powerpc/include/
H A Dpio.h163 #define inl(a) (__inl((volatile u_int32_t *)(a))) macro
164 #define in32(a) inl(a)

Completed in 189 milliseconds

123