Lines Matching refs:ctx
19 * @param ctx Vboot context
22 static __inline struct vb2_shared_data *vb2_get_sd(struct vb2_context *ctx) {
23 return (struct vb2_shared_data *)ctx->workbuf;
39 * @param ctx Vboot context
42 void vb2_workbuf_from_ctx(struct vb2_context *ctx, struct vb2_workbuf *wb);
47 * @param ctx Vboot context
51 int vb2_read_gbb_header(struct vb2_context *ctx, struct vb2_gbb_header *gbb);
65 void vb2_fail(struct vb2_context *ctx, uint8_t reason, uint8_t subcode);
70 * This uses ctx->workbuf_used=0 as a flag to indicate that the data has not
74 * @param ctx Vboot context to initialize
77 int vb2_init_context(struct vb2_context *ctx);
82 * On exit, check ctx->flags for VB2_CONTEXT_RECOVERY_MODE; if present, jump to
88 * @param ctx Vboot context
90 void vb2_check_recovery(struct vb2_context *ctx);
95 * @param ctx Vboot context
98 int vb2_fw_parse_gbb(struct vb2_context *ctx);
103 * @param ctx Vboot context
106 int vb2_check_dev_switch(struct vb2_context *ctx);
111 * @param ctx Vboot context
114 int vb2_check_tpm_clear(struct vb2_context *ctx);
119 * @param ctx Vboot context
122 int vb2_select_fw_slot(struct vb2_context *ctx);
129 * @param ctx Vboot context
132 int vb2_load_fw_keyblock(struct vb2_context *ctx);
139 * @param ctx Vboot context
142 int vb2_load_fw_preamble(struct vb2_context *ctx);