Home
last modified time | relevance | path

Searched refs:buf_off (Results 1 – 7 of 7) sorted by relevance

/freebsd/crypto/openssl/crypto/evp/
H A Dbio_b64.c35 int buf_off; member
128 ctx->buf_off = 0; in b64_read()
135 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); in b64_read()
136 i = ctx->buf_len - ctx->buf_off; in b64_read()
139 OPENSSL_assert(ctx->buf_off + i < (int)sizeof(ctx->buf)); in b64_read()
140 memcpy(out, &(ctx->buf[ctx->buf_off]), i); in b64_read()
144 ctx->buf_off += i; in b64_read()
145 if (ctx->buf_len == ctx->buf_off) { in b64_read()
147 ctx->buf_off = 0; in b64_read()
299 ctx->buf_off = 0; in b64_read()
[all …]
H A Dbio_enc.c31 int buf_off; member
122 i = ctx->buf_len - ctx->buf_off; in enc_read()
125 memcpy(out, &(ctx->buf[ctx->buf_off]), i); in enc_read()
129 ctx->buf_off += i; in enc_read()
130 if (ctx->buf_len == ctx->buf_off) { in enc_read()
132 ctx->buf_off = 0; in enc_read()
165 ctx->buf_off = 0; in enc_read()
224 ctx->buf_off = i; in enc_read()
248 n = ctx->buf_len - ctx->buf_off; in enc_write()
250 i = BIO_write(next, &(ctx->buf[ctx->buf_off]), n); in enc_write()
[all …]
H A Dbio_ok.c100 size_t buf_off; member
189 i = ctx->buf_len - ctx->buf_off; in ok_read()
192 memcpy(out, &(ctx->buf[ctx->buf_off]), i); in ok_read()
196 ctx->buf_off += i; in ok_read()
199 if (ctx->buf_len == ctx->buf_off) { in ok_read()
200 ctx->buf_off = 0; in ok_read()
277 n = ctx->buf_len - ctx->buf_off; in ok_write()
279 i = BIO_write(next, &(ctx->buf[ctx->buf_off]), n); in ok_write()
286 ctx->buf_off += i; in ok_write()
292 if (ctx->buf_len == ctx->buf_off) { in ok_write()
[all …]
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_mem.c188 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 Ddmu_direct.c38 size_t buf_off = 0; in make_abd_for_dbuf() local
46 buf_off = 0; in make_abd_for_dbuf()
48 buf_off = db->db.db_offset - offset; in make_abd_for_dbuf()
49 size -= buf_off; in make_abd_for_dbuf()
59 abd_t *buf = abd_get_offset_size(data, buf_off, buf_size); in make_abd_for_dbuf()
/freebsd/crypto/openssl/util/
H A Dcheck-format-test-negatives.c84 ctx->buf_off = 0; /* do not confuse with var decl */ in f()
/freebsd/sys/dev/ntb/test/
H A Dntb_tool.c508 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()