Lines Matching refs:share

824 static int check_share(struct pkvm_mem_share *share)  in check_share()  argument
826 const struct pkvm_mem_transition *tx = &share->tx; in check_share()
843 ret = hyp_ack_share(completer_addr, tx, share->completer_prot); in check_share()
859 static int __do_share(struct pkvm_mem_share *share) in __do_share() argument
861 const struct pkvm_mem_transition *tx = &share->tx; in __do_share()
878 ret = hyp_complete_share(completer_addr, tx, share->completer_prot); in __do_share()
903 static int do_share(struct pkvm_mem_share *share) in do_share() argument
907 ret = check_share(share); in do_share()
911 return WARN_ON(__do_share(share)); in do_share()
914 static int check_unshare(struct pkvm_mem_share *share) in check_unshare() argument
916 const struct pkvm_mem_transition *tx = &share->tx; in check_unshare()
946 static int __do_unshare(struct pkvm_mem_share *share) in __do_unshare() argument
948 const struct pkvm_mem_transition *tx = &share->tx; in __do_unshare()
987 static int do_unshare(struct pkvm_mem_share *share) in do_unshare() argument
991 ret = check_unshare(share); in do_unshare()
995 return WARN_ON(__do_unshare(share)); in do_unshare()
1091 struct pkvm_mem_share share = { in __pkvm_host_share_hyp() local
1111 ret = do_share(&share); in __pkvm_host_share_hyp()
1124 struct pkvm_mem_share share = { in __pkvm_host_unshare_hyp() local
1144 ret = do_unshare(&share); in __pkvm_host_unshare_hyp()
1264 struct pkvm_mem_share share = { in __pkvm_host_share_ffa() local
1278 ret = do_share(&share); in __pkvm_host_share_ffa()
1287 struct pkvm_mem_share share = { in __pkvm_host_unshare_ffa() local
1301 ret = do_unshare(&share); in __pkvm_host_unshare_ffa()