Searched refs:buf_off (Results 1 – 6 of 6) sorted by relevance
| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | bio_b64.c | 35 int buf_off; member 134 ctx->buf_off = 0; in b64_read() 141 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_read() 142 i = ctx->buf_len - ctx->buf_off; in b64_read() 145 OPENSSL_assert(ctx->buf_off + i < (int)sizeof(ctx->buf)); in b64_read() 146 memcpy(out, &(ctx->buf[ctx->buf_off]), i); in b64_read() 150 ctx->buf_off += i; in b64_read() 151 if (ctx->buf_len == ctx->buf_off) { in b64_read() 153 ctx->buf_off = 0; in b64_read() 290 ctx->buf_off = 0; in b64_read() [all …]
|
| H A D | bio_enc.c | 31 int buf_off; member 120 i = ctx->buf_len - ctx->buf_off; in enc_read() 123 memcpy(out, &(ctx->buf[ctx->buf_off]), i); in enc_read() 127 ctx->buf_off += i; in enc_read() 128 if (ctx->buf_len == ctx->buf_off) { in enc_read() 130 ctx->buf_off = 0; in enc_read() 168 ctx->buf_off = 0; in enc_read() 227 ctx->buf_off = i; in enc_read() 251 n = ctx->buf_len - ctx->buf_off; in enc_write() 253 i = BIO_write(next, &(ctx->buf[ctx->buf_off]), n); in enc_write() [all …]
|
| H A D | bio_ok.c | 101 size_t buf_off; member 188 i = ctx->buf_len - ctx->buf_off; in ok_read() 191 memcpy(out, &(ctx->buf[ctx->buf_off]), i); in ok_read() 195 ctx->buf_off += i; in ok_read() 198 if (ctx->buf_len == ctx->buf_off) { in ok_read() 199 ctx->buf_off = 0; in ok_read() 275 n = ctx->buf_len - ctx->buf_off; in ok_write() 277 i = BIO_write(next, &(ctx->buf[ctx->buf_off]), n); in ok_write() 284 ctx->buf_off += i; in ok_write() 290 if (ctx->buf_len == ctx->buf_off) { in ok_write() [all …]
|
| /freebsd/sys/dev/mlx5/mlx5_ib/ |
| H A D | mlx5_ib_mem.c | 188 u64 buf_off; in mlx5_ib_get_buf_offset() local 192 buf_off = addr & page_mask; in mlx5_ib_get_buf_offset() 196 if (buf_off & off_mask) in mlx5_ib_get_buf_offset() 199 *offset = buf_off >> ilog2(off_size); in mlx5_ib_get_buf_offset()
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | dmu_direct.c | 39 size_t buf_off = 0; in make_abd_for_dbuf() local 47 buf_off = 0; in make_abd_for_dbuf() 49 buf_off = db->db.db_offset - offset; in make_abd_for_dbuf() 50 size -= buf_off; in make_abd_for_dbuf() 60 abd_t *buf = abd_get_offset_size(data, buf_off, buf_size); in make_abd_for_dbuf()
|
| /freebsd/sys/dev/ntb/test/ |
| H A D | ntb_tool.c | 508 int *cmd_op, ssize_t buf_off, ssize_t buf_size, char *type) in tool_mw_read_fn() argument 520 index = buf_off; in tool_mw_read_fn() 542 "->", buf_size, buf_off); in tool_mw_read_fn()
|