Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/picl/plugins/sun4u/lw8/fruaccess/
H A Dlibfruaccess.c94 static int frufd = 0; in fru_open_dev() local
96 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()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/
H A Dpiclfrutree.c1751 int frufd; in get_node_children() local
1756 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()