Lines Matching defs:kvmppc_gs_elem
212 * struct kvmppc_gs_elem - serialized guest state buffer element
217 struct kvmppc_gs_elem {
260 struct kvmppc_gs_elem *gses[KVMPPC_GSE_IDEN_COUNT];
338 static inline struct kvmppc_gs_elem *kvmppc_gsb_data(struct kvmppc_gs_buff *gsb)
340 return (struct kvmppc_gs_elem *)kvmppc_gsb_header(gsb)->data;
444 static inline u16 kvmppc_gse_iden(const struct kvmppc_gs_elem *gse)
455 static inline u16 kvmppc_gse_len(const struct kvmppc_gs_elem *gse)
466 static inline u16 kvmppc_gse_total_len(const struct kvmppc_gs_elem *gse)
479 return sizeof(struct kvmppc_gs_elem) + size;
488 static inline void *kvmppc_gse_data(const struct kvmppc_gs_elem *gse)
500 static inline bool kvmppc_gse_ok(const struct kvmppc_gs_elem *gse,
514 static inline struct kvmppc_gs_elem *
515 kvmppc_gse_next(const struct kvmppc_gs_elem *gse, int *remaining)
520 return (struct kvmppc_gs_elem *)(gse->data + kvmppc_gse_len(gse));
719 static inline __be32 kvmppc_gse_get_be32(const struct kvmppc_gs_elem *gse)
730 static inline u32 kvmppc_gse_get_u32(const struct kvmppc_gs_elem *gse)
739 static inline __be64 kvmppc_gse_get_be64(const struct kvmppc_gs_elem *gse)
750 static inline u64 kvmppc_gse_get_u64(const struct kvmppc_gs_elem *gse)
759 static inline void kvmppc_gse_get_vector128(const struct kvmppc_gs_elem *gse,
821 struct kvmppc_gs_elem *gse);
822 struct kvmppc_gs_elem *kvmppc_gsp_lookup(struct kvmppc_gs_parser *gsp,