Home
last modified time | relevance | path

Searched refs:otyp (Results 1 – 25 of 226) sorted by relevance

12345678910

/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_devctl.c48 static int px_open(dev_t *devp, int flags, int otyp, cred_t *credp);
49 static int px_close(dev_t dev, int flags, int otyp, cred_t *credp);
76 px_open(dev_t *devp, int flags, int otyp, cred_t *credp) in px_open() argument
85 if (otyp != OTYP_CHR) in px_open()
107 if (rval = pcie_open(px_p->px_dip, devp, flags, otyp, credp)) { in px_open()
136 px_close(dev_t dev, int flags, int otyp, cred_t *credp) in px_close() argument
142 if (otyp != OTYP_CHR) in px_close()
157 if (rval = pcie_close(px_p->px_dip, dev, flags, otyp, credp)) { in px_close()
/illumos-gate/usr/src/uts/common/io/usb/hubd/
H A Dhubd.c41 static int hubd_open(dev_t *devp, int flags, int otyp, cred_t *credp);
42 static int hubd_close(dev_t dev, int flag, int otyp, cred_t *credp);
182 hubd_open(dev_t *devp, int flags, int otyp, cred_t *credp) in hubd_open() argument
186 return (usba_hubdi_open(dip, devp, flags, otyp, credp)); in hubd_open()
191 hubd_close(dev_t dev, int flag, int otyp, cred_t *credp) in hubd_close() argument
195 return (usba_hubdi_close(dip, dev, flag, otyp, credp)); in hubd_close()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_devctl.c48 static int pci_open(dev_t *devp, int flags, int otyp, cred_t *credp);
49 static int pci_close(dev_t dev, int flags, int otyp, cred_t *credp);
82 pci_open(dev_t *devp, int flags, int otyp, cred_t *credp) in pci_open() argument
91 if (otyp != OTYP_CHR) in pci_open()
124 if (rval = pcihp_ops->cb_open(devp, flags, otyp, credp)) { in pci_open()
139 pci_close(dev_t dev, int flags, int otyp, cred_t *credp) in pci_close() argument
144 if (otyp != OTYP_CHR) in pci_close()
155 if (rval = pcihp_ops->cb_close(dev, flags, otyp, credp)) { in pci_close()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ldap.c76 int otyp[MAX_CTX]; variable
871 otyp[ctxnum] = INT(hex); /* single octet type only */ in decpdu()
910 i = otyp[ctxnum]&0x1F; in decpdu()
911 switch (otyp[ctxnum] >> 6) { /* class */ in decpdu()
940 ((otyp[ctxnum]&0x20)?'*':' '), in decpdu()
946 ((otyp[ctxnum]&0x20)?'*':' '), in decpdu()
958 ((otyp[ctxnum]&0x20)?'*':' '), in decpdu()
1006 (" %c[%s %s]", ((otyp[ctxnum]&0x20)?'*':' '), in decpdu()
1011 (" %c[%s]", ((otyp[ctxnum]&0x20)?'*':' '), in decpdu()
1019 (" %c[%s]", ((otyp[ctxnum]&0x20)?'*':' '), in decpdu()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dtclient.c216 tcli_open(dev_t *devp, int flag, int otyp, cred_t *cred) in tcli_open() argument
221 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in tcli_open()
236 tcli_close(dev_t dev, int flag, int otyp, cred_t *cred) in tcli_close() argument
241 if (otyp != OTYP_BLK && otyp != OTYP_CHR) in tcli_close()
H A Drandom.c200 rnd_open(dev_t *devp, int flag, int otyp, cred_t *credp) in rnd_open() argument
212 if (otyp != OTYP_CHR) in rnd_open()
222 rnd_close(dev_t dev, int flag, int otyp, cred_t *credp) in rnd_close() argument
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu.c53 static int amd_iommu_open(dev_t *devp, int flag, int otyp, cred_t *credp);
54 static int amd_iommu_close(dev_t dev, int flag, int otyp, cred_t *credp);
340 amd_iommu_open(dev_t *devp, int flag, int otyp, cred_t *credp) in amd_iommu_open() argument
357 if (otyp != OTYP_CHR) { in amd_iommu_open()
358 cmn_err(CE_WARN, "%s: invalid otyp %d", f, otyp); in amd_iommu_open()
376 amd_iommu_close(dev_t dev, int flag, int otyp, cred_t *credp) in amd_iommu_close() argument
392 if (otyp != OTYP_CHR) { in amd_iommu_close()
393 cmn_err(CE_WARN, "%s: invalid otyp %d", f, otyp); in amd_iommu_close()
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_dev.c104 static int nsmb_open(dev_t *devp, int flag, int otyp, cred_t *credp);
105 static int nsmb_close(dev_t dev, int flag, int otyp, cred_t *credp);
378 nsmb_drv_open(dev32_t *dev32p, int flags, int otyp) in nsmb_drv_open() argument
383 err = nsmb_open(&dev, flags, otyp, CRED()); in nsmb_drv_open()
396 nsmb_drv_close(dev32_t dev32, int flags, int otyp) in nsmb_drv_close() argument
401 err = nsmb_close(dev, flags, otyp, CRED()); in nsmb_drv_close()
459 nsmb_open(dev_t *dev, int flags, int otyp, cred_t *cr) in nsmb_open() argument
502 nsmb_close(dev_t dev, int flags, int otyp, cred_t *cr) in nsmb_close() argument
/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
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
292 smb_drv_open_lib(dev_t *devp, int flag, int otyp, cred_t *cr) in smb_drv_open_lib() argument
314 smb_drv_close(dev_t dev, int flag, int otyp, cred_t *credp) in smb_drv_close() argument
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_ctl.c41 eibnx_devctl_open(dev_t *devp, int flags, int otyp, cred_t *credp) in eibnx_devctl_open() argument
48 eibnx_devctl_close(dev_t dev, int flags, int otyp, cred_t *credp) in eibnx_devctl_close() argument
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dlibfknsmb.h36 int nsmb_drv_open(dev32_t *dev, int flags, int otyp);
37 int nsmb_drv_close(dev32_t dev, int flags, int otyp);
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_ioctl.h53 int ql_open(dev_t *dev_p, int flags, int otyp, cred_t *cred_p);
54 int ql_close(dev_t dev, int flags, int otyp, cred_t *cred_p);
/illumos-gate/usr/src/uts/sun4v/io/niumx/
H A Dniumx_tools.c51 static int niumx_open(dev_t *devp, int flags, int otyp, cred_t *credp);
52 static int niumx_close(dev_t dev, int flags, int otyp, cred_t *credp);
90 niumx_open(dev_t *devp, int flags, int otyp, cred_t *credp) in niumx_open() argument
98 if (otyp != OTYP_CHR) in niumx_open()
134 niumx_close(dev_t dev, int flags, int otyp, cred_t *credp) in niumx_close() argument
139 if (otyp != OTYP_CHR) in niumx_close()
/illumos-gate/usr/src/uts/sun4u/excalibur/io/
H A Dxcalwd.c79 static int xcalwd_open(dev_t *devp, int flag, int otyp, cred_t *credp);
80 static int xcalwd_close(dev_t dev, int flag, int otyp, cred_t *credp);
331 xcalwd_open(dev_t *devp, int flag, int otyp, cred_t *credp) in xcalwd_open() argument
338 if (otyp != OTYP_CHR) in xcalwd_open()
354 xcalwd_close(dev_t dev, int flag, int otyp, cred_t *credp) in xcalwd_close() argument
/illumos-gate/usr/src/uts/common/kmdb/
H A Dkdrv.c52 kdrv_open(dev_t *dev, int openflags, int otyp, cred_t *credp) in kdrv_open() argument
54 if (otyp != OTYP_CHR) in kdrv_open()
65 kdrv_close(dev_t dev, int openflags, int otyp, cred_t *credp) in kdrv_close() argument
/illumos-gate/usr/src/uts/i86pc/io/fipe/
H A Dfipe_drv.c68 fipe_open(dev_t *devp, int flag, int otyp, cred_t *credp) in fipe_open() argument
70 if (otyp != OTYP_CHR) { in fipe_open()
71 cmn_err(CE_NOTE, "!fipe: invalid otyp %d in open.", otyp); in fipe_open()
80 fipe_close(dev_t dev, int flag, int otyp, cred_t *credp) in fipe_close() argument
/illumos-gate/usr/src/uts/i86pc/io/ppm/
H A Dacpippm.c62 static int appm_open(dev_t *dev_p, int flag, int otyp, cred_t *cred_p);
63 static int appm_close(dev_t dev, int flag, int otyp, cred_t *cred_p);
333 appm_open(dev_t *dev_p, int flag, int otyp, cred_t *cred_p) in appm_open() argument
361 appm_close(dev_t dev, int flag, int otyp, cred_t *cred_p) in appm_close() argument
/illumos-gate/usr/src/uts/sun4u/io/
H A Depic.c301 epic_open(dev_t *devp, int flag, int otyp, cred_t *credp) in epic_open() argument
304 _NOTE(ARGUNUSED(otyp)) in epic_open()
314 epic_close(dev_t dev, int flag, int otyp, cred_t *credp) in epic_close() argument
317 _NOTE(ARGUNUSED(otyp)) in epic_close()
H A Dppm_xgsubr.c108 ppm_open(dev_t *devp, int flag, int otyp, cred_t *cred_p) in ppm_open() argument
110 if (otyp != OTYP_CHR) in ppm_open()
113 ppm_prefix, (void *)devp, flag, otyp)); in ppm_open()
120 ppm_close(dev_t dev, int flag, int otyp, cred_t *credp) in ppm_close() argument
123 ppm_prefix, dev, flag, otyp)); in ppm_close()
/illumos-gate/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c328 vgatext_open(dev_t *devp, int flag, int otyp, cred_t *cred) in vgatext_open() argument
335 return (gfxp_fb_open(devp, flag, otyp, cred, softc->gfxp_state)); in vgatext_open()
339 vgatext_close(dev_t devp, int flag, int otyp, cred_t *cred) in vgatext_close() argument
346 return (gfxp_fb_close(devp, flag, otyp, cred, softc->gfxp_state)); in vgatext_close()
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394.h93 int hci1394_open(dev_t *devp, int flag, int otyp, cred_t *credp);
94 int hci1394_close(dev_t dev, int flag, int otyp, cred_t *credp);
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dltc1427.c144 ltc1427_open(dev_t *devp, int flags, int otyp, cred_t *credp) in ltc1427_open() argument
165 if (otyp != OTYP_CHR) { in ltc1427_open()
191 ltc1427_close(dev_t dev, int flags, int otyp, cred_t *credp) in ltc1427_close() argument
193 _NOTE(ARGUNUSED(flags, otyp, credp)) in ltc1427_close()
H A Dpic16f819.c201 pic16f819_open(dev_t *devp, int flags, int otyp, cred_t *credp) in pic16f819_open() argument
222 if (otyp != OTYP_CHR) { in pic16f819_open()
248 pic16f819_close(dev_t dev, int flags, int otyp, cred_t *credp) in pic16f819_close() argument
250 _NOTE(ARGUNUSED(flags, otyp, credp)) in pic16f819_close()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzvol.h48 extern int zvol_open(dev_t *devp, int flag, int otyp, cred_t *cr);
50 extern int zvol_close(dev_t dev, int flag, int otyp, cred_t *cr);
/illumos-gate/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c125 static int cmdkopen(dev_t *dev_p, int flag, int otyp, cred_t *credp);
126 static int cmdkclose(dev_t dev, int flag, int otyp, cred_t *credp);
226 int part, otyp; in cmdk_isopen() local
237 for (otyp = 0; otyp < OTYPCNT; otyp++) in cmdk_isopen()
238 if (dkp->dk_open_reg[otyp] & partbit) in cmdk_isopen()
1026 cmdkclose(dev_t dev, int flag, int otyp, cred_t *credp) in cmdkclose() argument
1037 (otyp >= OTYPCNT)) in cmdkclose()
1057 if (otyp == OTYP_LYR) { in cmdkclose()
1062 ASSERT((dkp->dk_open_reg[otyp] & partbit) != 0); in cmdkclose()
1063 dkp->dk_open_reg[otyp] &= ~partbit; in cmdkclose()
[all …]

12345678910