Lines Matching refs:kaddr
38 struct pvclock_vcpu_stolen_time __rcu *kaddr; member
55 struct pvclock_vcpu_stolen_time *kaddr = NULL; in para_steal_clock() local
67 kaddr = rcu_dereference(reg->kaddr); in para_steal_clock()
68 if (!kaddr) { in para_steal_clock()
73 ret = le64_to_cpu(READ_ONCE(kaddr->stolen_time)); in para_steal_clock()
80 struct pvclock_vcpu_stolen_time *kaddr = NULL; in stolen_time_cpu_down_prepare() local
84 if (!reg->kaddr) in stolen_time_cpu_down_prepare()
87 kaddr = rcu_replace_pointer(reg->kaddr, NULL, true); in stolen_time_cpu_down_prepare()
89 memunmap(kaddr); in stolen_time_cpu_down_prepare()
96 struct pvclock_vcpu_stolen_time *kaddr = NULL; in stolen_time_cpu_online() local
107 kaddr = memremap(res.a0, in stolen_time_cpu_online()
111 rcu_assign_pointer(reg->kaddr, kaddr); in stolen_time_cpu_online()
113 if (!reg->kaddr) { in stolen_time_cpu_online()
118 if (le32_to_cpu(kaddr->revision) != 0 || in stolen_time_cpu_online()
119 le32_to_cpu(kaddr->attributes) != 0) { in stolen_time_cpu_online()