Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/xen/
Dsys-hypervisor.c577 struct hyp_sysfs_attr *hyp_attr; in hyp_sysfs_show() local
578 hyp_attr = container_of(attr, struct hyp_sysfs_attr, attr); in hyp_sysfs_show()
579 if (hyp_attr->show) in hyp_sysfs_show()
580 return hyp_attr->show(hyp_attr, buffer); in hyp_sysfs_show()
589 struct hyp_sysfs_attr *hyp_attr; in hyp_sysfs_store() local
590 hyp_attr = container_of(attr, struct hyp_sysfs_attr, attr); in hyp_sysfs_store()
591 if (hyp_attr->store) in hyp_sysfs_store()
592 return hyp_attr->store(hyp_attr, buffer, len); in hyp_sysfs_store()