Home
last modified time | relevance | path

Searched refs:fioctl (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c1444 struct fcp_ioctl fioctl; in fcp_setup_device_data_ioctl() local
1455 fioctl.fp_minor = f32_ioctl.fp_minor; in fcp_setup_device_data_ioctl()
1456 fioctl.listlen = f32_ioctl.listlen; in fcp_setup_device_data_ioctl()
1457 fioctl.list = (caddr_t)(long)f32_ioctl.list; in fcp_setup_device_data_ioctl()
1461 if (ddi_copyin((void *)data, (void *)&fioctl, in fcp_setup_device_data_ioctl()
1469 if (ddi_copyin((void *)data, (void *)&fioctl, in fcp_setup_device_data_ioctl()
1483 if (pptr->port_instance == (uint32_t)fioctl.fp_minor) { in fcp_setup_device_data_ioctl()
1497 fioctl.listlen, KM_NOSLEEP)) == NULL) { in fcp_setup_device_data_ioctl()
1502 if (ddi_copyin(fioctl.list, dev_data, in fcp_setup_device_data_ioctl()
1503 (sizeof (struct device_data)) * fioctl.listlen, mode)) { in fcp_setup_device_data_ioctl()
[all …]
/titanic_41/usr/src/lib/sun_fc/common/
H A DFCHBAPort.cc711 struct fcp_ioctl fioctl; in getTargetMappings() local
739 fioctl.fp_minor = instanceNumber; in getTargetMappings()
740 fioctl.listlen = ((uint32_t) (sizeof (fc_hba_mapping_entry_t))) * in getTargetMappings()
743 fioctl.list = (caddr_t)mappings; in getTargetMappings()
749 if (ioctl(fd, FCP_GET_TARGET_MAPPINGS, &fioctl) != 0) { in getTargetMappings()
/titanic_41/usr/src/cmd/init/
H A Dinit.c137 #define fioctl(p, sptr, cmd) ioctl(fileno(p), sptr, cmd) macro