Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/
H A Dfirmware_attributes_class.c11 static int fw_attr_inuse; variable
22 if (!fw_attr_inuse) { /*first time class is being used*/ in fw_attributes_class_get()
29 fw_attr_inuse++; in fw_attributes_class_get()
39 if (!fw_attr_inuse) { in fw_attributes_class_put()
43 fw_attr_inuse--; in fw_attributes_class_put()
44 if (!fw_attr_inuse) /* No more consumers */ in fw_attributes_class_put()