Home
last modified time | relevance | path

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

/openbmc/linux/drivers/xen/
H A Dsys-hypervisor.c634 struct hyp_sysfs_attr *hyp_attr; in hyp_sysfs_show() local
635 hyp_attr = container_of(attr, struct hyp_sysfs_attr, attr); in hyp_sysfs_show()
636 if (hyp_attr->show) in hyp_sysfs_show()
637 return hyp_attr->show(hyp_attr, buffer); in hyp_sysfs_show()
646 struct hyp_sysfs_attr *hyp_attr; in hyp_sysfs_store() local
647 hyp_attr = container_of(attr, struct hyp_sysfs_attr, attr); in hyp_sysfs_store()
648 if (hyp_attr->store) in hyp_sysfs_store()
649 return hyp_attr->store(hyp_attr, buffer, len); in hyp_sysfs_store()