Home
last modified time | relevance | path

Searched refs:snp_msg_desc (Results 1 – 3 of 3) sorted by relevance

/linux/arch/x86/include/asm/
H A Dsev.h305 struct snp_msg_desc { struct
525 int snp_msg_init(struct snp_msg_desc *mdesc, int vmpck_id);
526 struct snp_msg_desc *snp_msg_alloc(void);
527 void snp_msg_free(struct snp_msg_desc *mdesc);
528 int snp_send_guest_request(struct snp_msg_desc *mdesc, struct snp_guest_req *req);
633 static inline int snp_msg_init(struct snp_msg_desc *mdesc, int vmpck_id) { return -1; } in snp_msg_init()
634 static inline struct snp_msg_desc *snp_msg_alloc(void) { return NULL; } in snp_msg_alloc()
635 static inline void snp_msg_free(struct snp_msg_desc *mdesc) { } in snp_msg_free()
636 static inline int snp_send_guest_request(struct snp_msg_desc *mdesc, in snp_send_guest_request()
/linux/arch/x86/coco/sev/
H A Dcore.c1934 int snp_msg_init(struct snp_msg_desc *mdesc, int vmpck_id) in snp_msg_init()
1962 struct snp_msg_desc *snp_msg_alloc(void) in snp_msg_alloc()
1964 struct snp_msg_desc *mdesc; in snp_msg_alloc()
1969 mdesc = kzalloc(sizeof(struct snp_msg_desc), GFP_KERNEL); in snp_msg_alloc()
2001 void snp_msg_free(struct snp_msg_desc *mdesc) in snp_msg_free()
2036 static void snp_disable_vmpck(struct snp_msg_desc *mdesc) in snp_disable_vmpck()
2044 static inline u64 __snp_get_msg_seqno(struct snp_msg_desc *mdesc) in __snp_get_msg_seqno()
2057 static u64 snp_get_msg_seqno(struct snp_msg_desc *mdesc) in snp_get_msg_seqno()
2077 static void snp_inc_msg_seqno(struct snp_msg_desc *mdesc) in snp_inc_msg_seqno()
2086 static int verify_and_dec_payload(struct snp_msg_desc *mdesc, struct snp_guest_req *req) in verify_and_dec_payload()
[all …]
/linux/drivers/virt/coco/sev-guest/
H A Dsev-guest.c41 struct snp_msg_desc *msg_desc;
70 struct snp_msg_desc *mdesc = snp_dev->msg_desc; in get_report()
121 struct snp_msg_desc *mdesc = snp_dev->msg_desc; in get_derived_key()
174 struct snp_msg_desc *mdesc = snp_dev->msg_desc; in get_ext_report()
629 struct snp_msg_desc *mdesc; in sev_guest_probe()