Home
last modified time | relevance | path

Searched refs:bctx (Results 1 – 4 of 4) sorted by relevance

/linux/io_uring/
H A Dbpf_filter.c26 static void io_uring_populate_bpf_ctx(struct io_uring_bpf_ctx *bctx, in io_uring_populate_bpf_ctx() argument
31 bctx->opcode = req->opcode; in io_uring_populate_bpf_ctx()
32 bctx->sqe_flags = (__force int) req->flags & SQE_VALID_FLAGS; in io_uring_populate_bpf_ctx()
33 bctx->user_data = req->cqe.user_data; in io_uring_populate_bpf_ctx()
35 memset((void *) bctx + offsetof(struct io_uring_bpf_ctx, pdu_size), 0, in io_uring_populate_bpf_ctx()
36 sizeof(*bctx) - offsetof(struct io_uring_bpf_ctx, pdu_size)); in io_uring_populate_bpf_ctx()
43 bctx->pdu_size = def->filter_pdu_size; in io_uring_populate_bpf_ctx()
44 def->filter_populate(bctx, req); in io_uring_populate_bpf_ctx()
H A Dopenclose.c85 void io_openat_bpf_populate(struct io_uring_bpf_ctx *bctx, struct io_kiocb *req) in io_openat_bpf_populate() argument
89 bctx->open.flags = open->how.flags; in io_openat_bpf_populate()
90 bctx->open.mode = open->how.mode; in io_openat_bpf_populate()
91 bctx->open.resolve = open->how.resolve; in io_openat_bpf_populate()
/linux/drivers/crypto/
H A Domap-sham.c307 struct omap_sham_hmac_ctx *bctx = tctx->base; in omap_sham_copy_hash_omap4() local
308 u32 *opad = (u32 *)bctx->opad; in omap_sham_copy_hash_omap4()
454 struct omap_sham_hmac_ctx *bctx = tctx->base; in omap_sham_write_ctrl_omap4() local
464 (u32 *)bctx->ipad, nr_dr); in omap_sham_write_ctrl_omap4()
466 (u32 *)bctx->ipad + nr_dr, nr_dr); in omap_sham_write_ctrl_omap4()
994 struct omap_sham_hmac_ctx *bctx = tctx->base; in omap_sham_init() local
996 memcpy(ctx->buffer, bctx->ipad, bs); in omap_sham_init()
1104 struct omap_sham_hmac_ctx *bctx = tctx->base; in omap_sham_finish_hmac() local
1105 int bs = crypto_shash_blocksize(bctx->shash); in omap_sham_finish_hmac()
1106 int ds = crypto_shash_digestsize(bctx->shash); in omap_sham_finish_hmac()
[all …]
/linux/fs/btrfs/
H A Dsend.c1310 struct backref_ctx *bctx = ctx_; in iterate_backrefs() local
1314 clone_root = bsearch((void *)(uintptr_t)root_id, bctx->sctx->clone_roots, in iterate_backrefs()
1315 bctx->sctx->clone_roots_cnt, in iterate_backrefs()
1322 if (clone_root->root == bctx->sctx->send_root && in iterate_backrefs()
1323 ino == bctx->cur_objectid && in iterate_backrefs()
1324 offset == bctx->cur_offset) in iterate_backrefs()
1331 if (clone_root->root == bctx->sctx->send_root) { in iterate_backrefs()
1337 if (ino > bctx->cur_objectid) in iterate_backrefs()
1345 if (ino == bctx->cur_objectid && in iterate_backrefs()
1346 offset + bctx->extent_len > in iterate_backrefs()
[all …]