snp_msg_desc
int snp_msg_init(struct snp_msg_desc *mdesc, int vmpck_id)
struct snp_msg_desc *snp_msg_alloc(void)
struct snp_msg_desc *mdesc;
mdesc = kzalloc_obj(struct snp_msg_desc);
void snp_msg_free(struct snp_msg_desc *mdesc)
static void snp_disable_vmpck(struct snp_msg_desc *mdesc)
static inline u64 __snp_get_msg_seqno(struct snp_msg_desc *mdesc)
static u64 snp_get_msg_seqno(struct snp_msg_desc *mdesc)
static void snp_inc_msg_seqno(struct snp_msg_desc *mdesc)
static int verify_and_dec_payload(struct snp_msg_desc *mdesc, struct snp_guest_req *req)
static int enc_payload(struct snp_msg_desc *mdesc, u64 seqno, struct snp_guest_req *req)
static int __handle_guest_request(struct snp_msg_desc *mdesc, struct snp_guest_req *req)
int snp_send_guest_request(struct snp_msg_desc *mdesc, struct snp_guest_req *req)
struct snp_msg_desc *mdesc;
int snp_msg_init(struct snp_msg_desc *mdesc, int vmpck_id);
struct snp_msg_desc *snp_msg_alloc(void);
void snp_msg_free(struct snp_msg_desc *mdesc);
int snp_send_guest_request(struct snp_msg_desc *mdesc, struct snp_guest_req *req);
static inline int snp_msg_init(struct snp_msg_desc *mdesc, int vmpck_id) { return -1; }
static inline struct snp_msg_desc *snp_msg_alloc(void) { return NULL; }
static inline void snp_msg_free(struct snp_msg_desc *mdesc) { }
static inline int snp_send_guest_request(struct snp_msg_desc *mdesc,
struct snp_msg_desc *mdesc = snp_dev->msg_desc;
struct snp_msg_desc *mdesc = snp_dev->msg_desc;
struct snp_msg_desc *msg_desc;
struct snp_msg_desc *mdesc;
struct snp_msg_desc *mdesc = snp_dev->msg_desc;