Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/include/asm/
H A Dsev.h258 struct snp_msg_desc { struct
478 int snp_msg_init(struct snp_msg_desc *mdesc, int vmpck_id);
479 struct snp_msg_desc *snp_msg_alloc(void);
480 void snp_msg_free(struct snp_msg_desc *mdesc);
481 int snp_send_guest_request(struct snp_msg_desc *mdesc, struct snp_guest_req *req,
522 static inline int snp_msg_init(struct snp_msg_desc *mdesc, int vmpck_id) { return -1; } in snp_msg_init()
523 static inline struct snp_msg_desc *snp_msg_alloc(void) { return NULL; } in snp_msg_alloc()
524 static inline void snp_msg_free(struct snp_msg_desc *mdesc) { } in snp_msg_free()
525 static inline int snp_send_guest_request(struct snp_msg_desc *mdesc, struct snp_guest_req *req, in snp_send_guest_request()
/linux-6.15/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()
120 struct snp_msg_desc *mdesc = snp_dev->msg_desc; in get_derived_key()
175 struct snp_msg_desc *mdesc = snp_dev->msg_desc; in get_ext_report()
629 struct snp_msg_desc *mdesc; in sev_guest_probe()
/linux-6.15/arch/x86/coco/sev/
H A Dcore.c2874 int snp_msg_init(struct snp_msg_desc *mdesc, int vmpck_id) in snp_msg_init()
2902 struct snp_msg_desc *snp_msg_alloc(void) in snp_msg_alloc()
2904 struct snp_msg_desc *mdesc; in snp_msg_alloc()
2909 mdesc = kzalloc(sizeof(struct snp_msg_desc), GFP_KERNEL); in snp_msg_alloc()
2941 void snp_msg_free(struct snp_msg_desc *mdesc) in snp_msg_free()
2976 static void snp_disable_vmpck(struct snp_msg_desc *mdesc) in snp_disable_vmpck()
2984 static inline u64 __snp_get_msg_seqno(struct snp_msg_desc *mdesc) in __snp_get_msg_seqno()
2997 static u64 snp_get_msg_seqno(struct snp_msg_desc *mdesc) in snp_get_msg_seqno()
3017 static void snp_inc_msg_seqno(struct snp_msg_desc *mdesc) in snp_inc_msg_seqno()
3188 int snp_send_guest_request(struct snp_msg_desc *mdesc, struct snp_guest_req *req, in snp_send_guest_request()
[all …]