Home
last modified time | relevance | path

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

/openbmc/linux/drivers/xen/
H A Dsys-hypervisor.c434 static struct hyp_sysfs_attr flag_attrs[FLAG_COUNT] = { variable
447 if (likely(flag_attrs[fnum].attr.name == NULL)) { in xen_sysfs_flags_init()
449 flag_attrs[fnum].attr.name = flag_unames[fnum]; in xen_sysfs_flags_init()
450 flag_attrs[fnum].attr.mode = 0444; in xen_sysfs_flags_init()
451 flag_attrs[fnum].show = flag_show; in xen_sysfs_flags_init()
452 flag_attrs[fnum].hyp_attr_value = 1 << fnum; in xen_sysfs_flags_init()
454 xen_flags_group.attrs[fnum] = &flag_attrs[fnum].attr; in xen_sysfs_flags_init()