Lines Matching refs:devctl
36 get_sas_address(topo_mod_t *mod, char *devctl, uint32_t enclosure,
46 if ((fd = open(devctl, O_RDWR)) == -1) {
48 devctl, strerror(errno));
53 topo_mod_dprintf(mod, "ioctl 1 on '%s' failed: %s\n", devctl,
69 topo_mod_dprintf(mod, "ioctl 2 on '%s' failed: %s\n", devctl,
97 char *devctl = NULL;
106 TOPO_BINDING_DEVCTL, &devctl, &err) != 0 ||
111 if (devctl != NULL)
112 topo_mod_strfree(mod, devctl);
118 return (get_sas_address(mod, devctl, enclosure, slot, sas_address));