Searched refs:frufd (Results 1 – 2 of 2) sorted by relevance
94 static int frufd = 0; in fru_open_dev() local96 if ((opendevfru == 0) && (frufd == 0)) { in fru_open_dev()97 if ((frufd = open(FRU_PSEUDO_DEV, O_RDWR, access)) == -1) { in fru_open_dev()104 return (frufd); in fru_open_dev()
1751 int frufd; in get_node_children() local1756 if ((frufd = open(FRU_PSEUDO_DEV, O_RDWR, 0)) == -1) { in get_node_children()1764 (void) close(frufd); in get_node_children()1771 if (ioctl(frufd, SGFRU_GETCHILDLIST, &child_info) == 0) { in get_node_children()1775 (void) close(frufd); in get_node_children()1786 (void) close(frufd); in get_node_children()1792 (void) close(frufd); in get_node_children()