Home
last modified time | relevance | path

Searched refs:devp (Results 1 – 25 of 326) sorted by last modified time

12345678910>>...14

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip.c651 static int ip_open(queue_t *q, dev_t *devp, int flag, int sflag,
5983 err = mi_open_link(&ipst->ips_ip_g_head, (IDP)q->q_ptr, devp, flag, in ip_modopen()
5996 ip_openv4(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) in ip_openv4() argument
5998 return (ip_open(q, devp, flag, sflag, credp, B_FALSE)); in ip_openv4()
6003 ip_openv6(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) in ip_openv6() argument
6005 return (ip_open(q, devp, flag, sflag, credp, B_TRUE)); in ip_openv6()
6010 ip_open(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp, in ip_open() argument
6025 return (ip_modopen(q, devp, flag, sflag, credp)); in ip_open()
6033 return (ip_helper_stream_setup(q, devp, flag, sflag, in ip_open()
6102 maj = getemajor(*devp); in ip_open()
[all …]
H A Dip_helper_stream.c104 ip_helper_stream_setup(queue_t *q, dev_t *devp, int flag, int sflag, in ip_helper_stream_setup() argument
147 maj = getemajor(*devp); in ip_helper_stream_setup()
148 *devp = makedevice(maj, (ulong_t)(ip_minfop->ip_minfo_dev)); in ip_helper_stream_setup()
/illumos-gate/usr/src/uts/common/inet/
H A Dip.h3250 extern int ip_openv4(queue_t *q, dev_t *devp, int flag, int sflag,
3252 extern int ip_openv6(queue_t *q, dev_t *devp, int flag, int sflag,
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_init.c231 smb_drv_open(dev_t *devp, int flag, int otyp, cred_t *cr) in smb_drv_open() argument
234 minor_t m = getminor(*devp); in smb_drv_open()
239 rc = smb_drv_open_ctl(devp, flag, otyp, cr); in smb_drv_open()
242 rc = smb_drv_open_lib(devp, flag, otyp, cr); in smb_drv_open()
257 smb_drv_open_ctl(dev_t *devp, int flag, int otyp, cred_t *cr) in smb_drv_open_ctl() argument
270 clone = makedevice(getmajor(*devp), mi); in smb_drv_open_ctl()
278 *devp = clone; in smb_drv_open_ctl()
292 smb_drv_open_lib(dev_t *devp, int flag, int otyp, cred_t *cr) in smb_drv_open_lib() argument
297 *devp = makedevice(getmajor(*devp), mi); in smb_drv_open_lib()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_ioctl.c7101 zfs_ctldev_init(dev_t *devp) in zfs_ctldev_init() argument
7107 ASSERT(getminor(*devp) == 0); in zfs_ctldev_init()
7116 *devp = makedevice(getemajor(*devp), minor); in zfs_ctldev_init()
7147 zfsdev_open(dev_t *devp, int flag, int otyp, cred_t *cr) in zfsdev_open() argument
7151 if (getminor(*devp) != 0) in zfsdev_open()
7152 return (zvol_open(devp, flag, otyp, cr)); in zfsdev_open()
7157 error = zfs_ctldev_init(devp); in zfsdev_open()
/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Damdzen.c2327 amdzen_topo_open(dev_t *devp, int flag, int otyp, cred_t *credp) in amdzen_topo_open() argument
2345 m = getminor(*devp); in amdzen_topo_open()
H A Dzen_umc.c3056 zen_umc_open(dev_t *devp, int flag, int otyp, cred_t *credp) in zen_umc_open() argument
3068 if (getminor(*devp) >= umc->umc_ndfs) { in zen_umc_open()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_sol_dev.c2932 vmm_open(dev_t *devp, int flag, int otyp, cred_t *credp) in vmm_open() argument
2945 minor = getminor(*devp); in vmm_open()
/illumos-gate/usr/src/uts/common/io/nvme/
H A Dnvme.c5328 nvme_open(dev_t *devp, int flag, int otyp, cred_t *cred_p) in nvme_open() argument
5336 minor_t m = getminor(*devp); in nvme_open()
5426 *devp = makedevice(getmajor(*devp), (minor_t)minor->nm_minor); in nvme_open()
/illumos-gate/usr/src/cmd/consadm/
H A Dconsadm.c928 safeopen(char *devp) in safeopen() argument
941 if ((fd = open(devp, O_RDWR | O_NOCTTY | O_NONBLOCK | O_NDELAY)) < 0) in safeopen()
/illumos-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c1100 npe_open(dev_t *devp, int flags, int otyp, cred_t *credp) in npe_open() argument
1102 minor_t minor = getminor(*devp); in npe_open()
1123 rv = pcie_open(pci_p->pci_dip, devp, flags, otyp, credp); in npe_open()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c545 vhci_open(dev_t *devp, int flag, int otype, cred_t *credp) in vhci_open() argument
553 vhci = ddi_get_soft_state(vhci_softstate, MINOR2INST(getminor(*devp))); in vhci_open()
563 "!vhci%d: Already open\n", getminor(*devp)); in vhci_open()
4666 struct scsi_device *devp) in vhci_get_device_type_mpxio_options() argument
4673 struct scsi_inquiry *inq = devp->sd_inq; in vhci_get_device_type_mpxio_options()
5821 struct scsi_device *devp; in vhci_ctl() local
5863 devp = ddi_get_driver_private(cdip); in vhci_ctl()
5864 if (devp == NULL) { in vhci_ctl()
5870 vlun = ADDR2VLUN(&devp->sd_address); in vhci_ctl()
/illumos-gate/usr/src/uts/common/sys/
H A Dpcie_impl.h634 extern int pcie_open(dev_info_t *dip, dev_t *devp, int flags, int otyp,
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcie.c818 pcie_open(dev_info_t *dip, dev_t *devp, int flags, int otyp, cred_t *credp) in pcie_open() argument
/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dppt.c140 ppt_open(dev_t *devp, int flag, int otyp, cred_t *cr) in ppt_open() argument
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt.c146 static int qlt_open(dev_t *devp, int flag, int otype, cred_t *credp);
2623 qlt_open(dev_t *devp, int flag, int otype, cred_t *credp) in qlt_open() argument
2639 instance = (int)getminor(*devp); in qlt_open()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi_init.c139 static boolean_t identify_physical_device(pqi_state_t *s, pqi_device_t *devp,
1530 identify_physical_device(pqi_state_t *s, pqi_device_t *devp, in identify_physical_device() argument
1545 idx = CISS_GET_DRIVE_NUMBER(devp->pd_scsi3addr); in identify_physical_device()
H A Dsmartpqi_intr.c308 pqi_device_t *devp; in disable_aio_path() local
310 devp = io->io_cmd->pc_device; in disable_aio_path()
311 devp->pd_aio_enabled = 0; in disable_aio_path()
H A Dsmartpqi_main.c257 pqi_device_t *devp; in smartpqi_detach() local
299 ASSERT(list_is_empty(&devp->pd_cmd_list)); in smartpqi_detach()
301 ddi_devid_free_guid(devp->pd_guid); in smartpqi_detach()
302 if (devp->pd_pip != NULL) in smartpqi_detach()
303 (void) mdi_pi_free(devp->pd_pip, 0); in smartpqi_detach()
304 if (devp->pd_pip_offlined) in smartpqi_detach()
305 (void) mdi_pi_free(devp->pd_pip_offlined, 0); in smartpqi_detach()
306 list_destroy(&devp->pd_cmd_list); in smartpqi_detach()
307 mutex_destroy(&devp->pd_mutex); in smartpqi_detach()
308 list_remove(&s->s_devnodes, devp); in smartpqi_detach()
[all …]
H A Dsmartpqi_hba.c460 pqi_device_t *devp; in pqi_init_pkt() local
468 if ((devp = scsi_device_hba_private_get(ap->a.a_sd)) == NULL) in pqi_init_pkt()
483 cmd->pc_device = devp; in pqi_init_pkt()
910 pqi_device_t *devp; local
912 if ((devp = scsi_device_hba_private_get(ap->a.a_sd)) == NULL)
915 pqi_fail_drive_cmds(devp, CMD_ABORTED);
H A Dsmartpqi_hw.c195 pqi_device_t *devp = cmd->pc_device; in pqi_transport_command() local
199 if (is_aio_enabled(devp) == B_TRUE) { in pqi_transport_command()
526 pqi_device_t *devp = cmd->pc_device; in setup_aio_request() local
540 rqst->nexus_id = devp->pd_aio_handle; in setup_aio_request()
547 (void) memcpy(rqst->lun_number, devp->pd_scsi3addr, in setup_aio_request()
568 pqi_device_t *devp = cmd->pc_device; in setup_raid_request() local
585 (void) memcpy(rqst->rp_lun, devp->pd_scsi3addr, sizeof (rqst->rp_lun)); in setup_raid_request()
730 pqi_device_t *devp; in fail_outstanding_cmds() local
735 for (devp = list_head(&s->s_devnodes); devp != NULL; in fail_outstanding_cmds()
736 devp = list_next(&s->s_devnodes, devp)) { in fail_outstanding_cmds()
[all …]
H A Dsmartpqi.h589 void pqi_fail_drive_cmds(pqi_device_t *devp, uchar_t reason);
/illumos-gate/usr/src/uts/common/io/
H A Ddevfm.c176 fm_open(dev_t *devp, int flag, int typ, struct cred *cred) in fm_open() argument
180 if (getminor(*devp) != 0) in fm_open()
H A Dbofi.c834 bofi_open(dev_t *devp, int flag, int otyp, cred_t *credp) in bofi_open() argument
836 int minor = (int)getminor(*devp); in bofi_open()
876 *devp = makedevice(getmajor(*devp), minor); in bofi_open()
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_var.h1119 #define SDEV2ADDR(devp) (&((devp)->sd_address)) argument
1120 #define SDEV2TRAN(devp) ((devp)->sd_address.a_hba_tran) argument

12345678910>>...14