Home
last modified time | relevance | path

Searched refs:dev_ctx (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/crypto/ccp/
H A Dsev-dev-tio.c677 IS_SLA_NULL(dev_data->scratch) || IS_SLA_NULL(dev_data->dev_ctx)) { in spdm_ctrl_alloc()
754 dev_data->dev_ctx = sla_alloc(tio_status->devctx_size, true); in sev_tio_dev_create()
755 if (IS_SLA_NULL(dev_data->dev_ctx)) in sev_tio_dev_create()
764 create.dev_ctx_sla = dev_data->dev_ctx; in sev_tio_dev_create()
785 .dev_ctx_sla = dev_data->dev_ctx, in sev_tio_dev_reclaim()
794 if (IS_SLA_NULL(dev_data->dev_ctx)) in sev_tio_dev_reclaim()
799 sla_free(dev_data->dev_ctx, tio_status->devctx_size, true); in sev_tio_dev_reclaim()
800 dev_data->dev_ctx = SLA_NULL; in sev_tio_dev_reclaim()
813 .dev_ctx_sla = dev_data->dev_ctx, in sev_tio_dev_connect()
821 if (WARN_ON(IS_SLA_NULL(dev_data->dev_ctx))) in sev_tio_dev_connect()
[all …]
H A Dsev-dev-tio.h36 struct sla_addr_t dev_ctx; member
/linux/tools/testing/selftests/ublk/
H A Dfault_inject.c13 static int ublk_fault_inject_tgt_init(const struct dev_ctx *ctx, in ublk_fault_inject_tgt_init()
76 static void ublk_fault_inject_cmd_line(struct dev_ctx *ctx, int argc, char *argv[]) in ublk_fault_inject_cmd_line()
H A Dkublk.h65 struct dev_ctx { struct
138 int (*init_tgt)(const struct dev_ctx *ctx, struct ublk_dev *);
150 void (*parse_cmd_line)(struct dev_ctx *ctx, int argc, char *argv[]);
288 static inline void ublk_set_integrity_params(const struct dev_ctx *ctx, in ublk_set_integrity_params()
H A Dkublk.c597 static int ublk_dev_prep(const struct dev_ctx *ctx, struct ublk_dev *dev) in ublk_dev_prep()
1062 static int ublk_send_dev_event(const struct dev_ctx *ctx, struct ublk_dev *dev, int dev_id) in ublk_send_dev_event()
1088 static int ublk_start_daemon(const struct dev_ctx *ctx, struct ublk_dev *dev) in ublk_start_daemon()
1299 static int __cmd_dev_add(const struct dev_ctx *ctx) in __cmd_dev_add()
1411 static int __cmd_dev_list(struct dev_ctx *ctx);
1413 static int cmd_dev_add(struct dev_ctx *ctx) in cmd_dev_add()
1477 static int __cmd_dev_del(struct dev_ctx *ctx) in __cmd_dev_del()
1505 static int cmd_dev_del(struct dev_ctx *ctx) in cmd_dev_del()
1519 static int cmd_dev_stop(struct dev_ctx *ctx) in cmd_dev_stop()
1555 static int __cmd_dev_list(struct dev_ctx *ctx) in __cmd_dev_list()
[all …]
H A Dstripe.c279 static int ublk_stripe_tgt_init(const struct dev_ctx *ctx, struct ublk_dev *dev) in ublk_stripe_tgt_init()
364 static void ublk_stripe_cmd_line(struct dev_ctx *ctx, int argc, char *argv[]) in ublk_stripe_cmd_line()
H A Dnull.c13 static int ublk_null_tgt_init(const struct dev_ctx *ctx, struct ublk_dev *dev) in ublk_null_tgt_init()
H A Dfile_backed.c178 static int ublk_loop_tgt_init(const struct dev_ctx *ctx, struct ublk_dev *dev) in ublk_loop_tgt_init()
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c1564 .dev_ctx = MFC_CTX_BUF_SIZE_V6,
1593 .dev_ctx = MFC_CTX_BUF_SIZE_V7,
1627 .dev_ctx = MFC_CTX_BUF_SIZE_V8,
1661 .dev_ctx = MFC_CTX_BUF_SIZE_V10,
1684 .dev_ctx = MFC_CTX_BUF_SIZE_V12,