Searched refs:frufd (Results 1 – 2 of 2) sorted by relevance
92 static int frufd = 0; in fru_open_dev() local94 if ((opendevfru == 0) && (frufd == 0)) { in fru_open_dev()95 if ((frufd = open(FRU_PSEUDO_DEV, O_RDWR, access)) == -1) { in fru_open_dev()102 return (frufd); in fru_open_dev()
1749 int frufd; in get_node_children() local1754 if ((frufd = open(FRU_PSEUDO_DEV, O_RDWR, 0)) == -1) { in get_node_children()1762 (void) close(frufd); in get_node_children()1769 if (ioctl(frufd, SGFRU_GETCHILDLIST, &child_info) == 0) { in get_node_children()1773 (void) close(frufd); in get_node_children()1784 (void) close(frufd); in get_node_children()1790 (void) close(frufd); in get_node_children()