Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/xen/
Dsys-hypervisor.c574 struct hyp_sysfs_attr *hyp_attr; in hyp_sysfs_show() local
575 hyp_attr = container_of(attr, struct hyp_sysfs_attr, attr); in hyp_sysfs_show()
576 if (hyp_attr->show) in hyp_sysfs_show()
577 return hyp_attr->show(hyp_attr, buffer); in hyp_sysfs_show()
586 struct hyp_sysfs_attr *hyp_attr; in hyp_sysfs_store() local
587 hyp_attr = container_of(attr, struct hyp_sysfs_attr, attr); in hyp_sysfs_store()
588 if (hyp_attr->store) in hyp_sysfs_store()
589 return hyp_attr->store(hyp_attr, buffer, len); in hyp_sysfs_store()