Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c1448 struct fcp_ioctl fioctl; in fcp_setup_device_data_ioctl() local
1459 fioctl.fp_minor = f32_ioctl.fp_minor; in fcp_setup_device_data_ioctl()
1460 fioctl.listlen = f32_ioctl.listlen; in fcp_setup_device_data_ioctl()
1461 fioctl.list = (caddr_t)(long)f32_ioctl.list; in fcp_setup_device_data_ioctl()
1465 if (ddi_copyin((void *)data, (void *)&fioctl, in fcp_setup_device_data_ioctl()
1473 if (ddi_copyin((void *)data, (void *)&fioctl, in fcp_setup_device_data_ioctl()
1487 if (pptr->port_instance == (uint32_t)fioctl.fp_minor) { in fcp_setup_device_data_ioctl()
1501 fioctl.listlen, KM_NOSLEEP)) == NULL) { in fcp_setup_device_data_ioctl()
1506 if (ddi_copyin(fioctl.list, dev_data, in fcp_setup_device_data_ioctl()
1507 (sizeof (struct device_data)) * fioctl.listlen, mode)) { in fcp_setup_device_data_ioctl()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/cmd/init/
H A Dinit.c141 #define fioctl(p, sptr, cmd) ioctl(fileno(p), sptr, cmd) macro