/titanic_50/usr/src/uts/sun4/io/px/ |
H A D | px_devctl.c | 48 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_50/usr/src/uts/common/io/usb/hubd/ |
H A D | hubd.c | 41 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_50/usr/src/uts/sun4u/io/pci/ |
H A D | pci_devctl.c | 48 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_50/usr/src/uts/common/io/ |
H A D | tclient.c | 216 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 D | random.c | 198 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 D | pseudonex.c | 257 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_50/usr/src/uts/i86pc/i86hvm/io/ |
H A D | xdf_shell.c | 137 #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_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ldap.c | 78 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_50/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu.c | 53 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_50/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_ctl.c | 41 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_50/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_ioctl.h | 53 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_50/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx_tools.c | 51 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_50/usr/src/uts/common/kmdb/ |
H A D | kdrv.c | 52 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_50/usr/src/uts/sun4u/excalibur/io/ |
H A D | xcalwd.c | 79 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_50/usr/src/uts/common/sys/1394/adapters/ |
H A D | hci1394.h | 94 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_50/usr/src/uts/i86pc/io/fipe/ |
H A D | fipe_drv.c | 68 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_50/usr/src/uts/i86pc/io/ppm/ |
H A D | acpippm.c | 62 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_50/usr/src/uts/sun4u/io/ |
H A D | epic.c | 301 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 D | ppm_xgsubr.c | 108 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_50/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | ltc1427.c | 144 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 D | pic16f819.c | 201 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_50/usr/src/uts/common/fs/zfs/sys/ |
H A D | zvol.h | 48 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_50/usr/src/uts/sun4u/io/ppm/ |
H A D | jbusppm.c | 55 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_50/usr/src/uts/common/fs/getgen/ |
H A D | getgen.c | 159 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()
|
/titanic_50/usr/src/uts/intel/io/dktp/disk/ |
H A D | cmdk.c | 121 static int cmdkopen(dev_t *dev_p, int flag, int otyp, cred_t *credp); 122 static int cmdkclose(dev_t dev, int flag, int otyp, cred_t *credp); 236 int part, otyp; in cmdk_isopen() local 247 for (otyp = 0; otyp < OTYPCNT; otyp++) in cmdk_isopen() 248 if (dkp->dk_open_reg[otyp] & partbit) in cmdk_isopen() 1062 cmdkclose(dev_t dev, int flag, int otyp, cred_t *credp) in cmdkclose() argument 1073 (otyp >= OTYPCNT)) in cmdkclose() 1093 if (otyp == OTYP_LYR) { in cmdkclose() 1098 ASSERT((dkp->dk_open_reg[otyp] & partbit) != 0); in cmdkclose() 1099 dkp->dk_open_reg[otyp] &= ~partbit; in cmdkclose() [all …]
|