Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/fruaccess/
H A Dlibfruaccess.c92 static int frufd = 0; in fru_open_dev() local
94 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()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/frutree/
H A Dpiclfrutree.c1749 int frufd; in get_node_children() local
1754 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()