Home
last modified time | relevance | path

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

12345678910

/titanic_41/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()
/titanic_41/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()
/titanic_41/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()
/titanic_41/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.c198 rnd_open(dev_t *devp, int flag, int otyp, cred_t *credp) in rnd_open() argument
210 if (otyp != OTYP_CHR) in rnd_open()
220 rnd_close(dev_t dev, int flag, int otyp, cred_t *credp) in rnd_close() argument
H A Dpseudonex.c257 pseudonex_open(dev_t *devp, int flags, int otyp, cred_t *credp) in pseudonex_open() argument
261 if (otyp != OTYP_CHR) in pseudonex_open()
273 pseudonex_close(dev_t dev, int flags, int otyp, cred_t *credp) in pseudonex_close() argument
277 if (otyp != OTYP_CHR) in pseudonex_close()
/titanic_41/usr/src/uts/i86pc/i86hvm/io/
H A Dxdf_shell.c137 #define OTYP_VALID(otyp) ((otyp == OTYP_BLK) || \ argument
138 (otyp == OTYP_CHR) || \
139 (otyp == OTYP_LYR))
273 int otyp; in xdfs_isopen_part() local
276 for (otyp = 0; (otyp < OTYPCNT); otyp++) { in xdfs_isopen_part()
277 if (xsp->xdfss_otyp_count[otyp][part] != 0) { in xdfs_isopen_part()
494 xdfs_open(dev_t *dev_p, int flag, int otyp, cred_t *credp) in xdfs_open() argument
504 if ((otyp < 0) || (otyp >= OTYPCNT)) in xdfs_open()
510 return (xdfs_hvm_cb_ops->cb_open(dev_p, flag, otyp, credp)); in xdfs_open()
568 xsp->xdfss_otyp_count[otyp][part]++; in xdfs_open()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ldap.c78 int otyp[MAX_CTX]; variable
873 otyp[ctxnum] = INT(hex); /* single octet type only */ in decpdu()
912 i = otyp[ctxnum]&0x1F; in decpdu()
913 switch (otyp[ctxnum] >> 6) { /* class */ in decpdu()
942 ((otyp[ctxnum]&0x20)?'*':' '), in decpdu()
948 ((otyp[ctxnum]&0x20)?'*':' '), in decpdu()
960 ((otyp[ctxnum]&0x20)?'*':' '), in decpdu()
1008 (" %c[%s %s]", ((otyp[ctxnum]&0x20)?'*':' '), in decpdu()
1013 (" %c[%s]", ((otyp[ctxnum]&0x20)?'*':' '), in decpdu()
1021 (" %c[%s]", ((otyp[ctxnum]&0x20)?'*':' '), in decpdu()
[all …]
/titanic_41/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()
/titanic_41/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
/titanic_41/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);
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd.c1417 int otyp) in mdadminopen() argument
1425 if ((otyp != OTYP_CHR) && (otyp != OTYP_LYR)) { in mdadminopen()
1436 md_ocnt[otyp]++; in mdadminopen()
1454 int otyp, in mdopen() argument
1466 return (mdadminopen(flag, otyp)); in mdopen()
1545 (dev, flag, otyp, cred_p, 0)) != 0) in mdopen()
1553 err = md_unit_incopen(mnum, flag, otyp); in mdopen()
1570 int otyp) in mdadminclose() argument
1579 if ((otyp < 0) || (otyp >= OTYPCNT)) { in mdadminclose()
1582 } else if (md_ocnt[otyp] == 0) { in mdadminclose()
[all …]
/titanic_41/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()
/titanic_41/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
/titanic_41/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
/titanic_41/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394.h94 int hci1394_open(dev_t *devp, int flag, int otyp, cred_t *credp);
95 int hci1394_close(dev_t dev, int flag, int otyp, cred_t *credp);
/titanic_41/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
/titanic_41/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
/titanic_41/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()
/titanic_41/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()
/titanic_41/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);
/titanic_41/usr/src/uts/sun4u/io/ppm/
H A Djbusppm.c55 static int jbppm_open(dev_t *dev_p, int flag, int otyp, cred_t *cred_p);
56 static int jbppm_close(dev_t dev, int flag, int otyp, cred_t *cred_p);
333 jbppm_open(dev_t *dev_p, int flag, int otyp, cred_t *cred_p) in jbppm_open() argument
361 jbppm_close(dev_t dev, int flag, int otyp, cred_t *cred_p) in jbppm_close() argument
/titanic_41/usr/src/uts/common/fs/getgen/
H A Dgetgen.c159 gg_close(dev_t dev, int flag, int otyp, cred_t *crepd) in gg_close() argument
167 if (otyp != OTYP_CHR) in gg_close()
182 gg_open(dev_t *devp, int flag, int otyp, cred_t *credp) in gg_open() argument
190 if (otyp != OTYP_CHR) in gg_open()

12345678910