Home
last modified time | relevance | path

Searched refs:otype (Results 1 – 25 of 53) sorted by last modified time

123

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c5950 emlxs_open(dev_t *dev_p, int32_t flag, int32_t otype, cred_t *cred_p) in emlxs_open() argument
5971 if (otype != OTYP_CHR) { in emlxs_open()
6006 emlxs_close(dev_t dev, int32_t flag, int32_t otype, cred_t *cred_p) in emlxs_close() argument
6018 if (otype != OTYP_CHR) { in emlxs_close()
/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
549 if (otype != OTYP_CHR) { in vhci_open()
575 vhci_close(dev_t dev, int flag, int otype, cred_t *credp) in vhci_close() argument
579 if (otype != OTYP_CHR) { in vhci_close()
/illumos-gate/usr/src/cmd/isns/isnsd/xml/
H A Ddata.c176 int otype in get_index_by_otype() argument
181 if (xmlArg1[i] == otype && xmlType[i][0] == 'o') { in get_index_by_otype()
626 int otype, in locate_xml_node() argument
648 i = get_index_by_otype(otype); in locate_xml_node()
1258 isns_type_t otype; in xml_delete_obj() local
1267 otype = obj->type; in xml_delete_obj()
1277 otype, in xml_delete_obj()
/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);
147 static int qlt_close(dev_t dev, int flag, int otype, cred_t *credp);
2623 qlt_open(dev_t *devp, int flag, int otype, cred_t *credp) in qlt_open() argument
2628 if (otype != OTYP_CHR) { in qlt_open()
2674 qlt_close(dev_t dev, int flag, int otype, cred_t *credp) in qlt_close() argument
2679 if (otype != OTYP_CHR) { in qlt_close()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_acl.c1200 dmu_object_type_t otype; in zfs_aclset_common() local
1239 otype = DMU_OT_OLDACL; in zfs_aclset_common()
1245 otype = DMU_OT_ACL; in zfs_aclset_common()
1285 otype, aclp->z_acl_bytes, in zfs_aclset_common()
1286 otype == DMU_OT_ACL ? in zfs_aclset_common()
1288 otype == DMU_OT_ACL ? in zfs_aclset_common()
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_pool.c885 void ip_pool_iterderef(otype, unit, data, ifs) in ip_pool_iterderef() argument
886 u_int otype; in ip_pool_iterderef()
898 switch (otype)
H A Dip_fil_solaris.c1146 int iplopen(devp, flags, otype, cred) in iplopen() argument
1148 int flags, otype;
1156 cmn_err(CE_CONT, "iplopen(%x,%x,%x,%x)\n", devp, flags, otype, cred);
1158 if (!(otype & OTYP_CHR))
1184 int iplclose(dev, flags, otype, cred) in iplclose() argument
1186 int flags, otype;
1192 cmn_err(CE_CONT, "iplclose(%x,%x,%x,%x)\n", dev, flags, otype, cred);
H A Dip_htable.c765 void fr_htable_iterderef(otype, unit, data, ifs) in fr_htable_iterderef() argument
766 u_int otype; in fr_htable_iterderef()
778 switch (otype)
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_set.c277 if (op->otype == ONOFF) { in set()
294 switch (op->otype) { in set()
324 if (op->otype == OTERM) { in set()
420 switch (op->otype) { in propts()
447 switch (op->otype) { in propt()
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c86 static int stmf_open(dev_t *devp, int flag, int otype, cred_t *credp);
87 static int stmf_close(dev_t dev, int flag, int otype, cred_t *credp);
432 stmf_open(dev_t *devp, int flag, int otype, cred_t *credp) in stmf_open() argument
453 stmf_close(dev_t dev, int flag, int otype, cred_t *credp) in stmf_close() argument
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd.c2110 char otype[OBP_MAXDRVNAME]; in get_node_type() local
2139 otypelen = sizeof (otype); in get_node_type()
2141 OBP_DEVICETYPE, (caddr_t)otype, &otypelen)) { in get_node_type()
2146 idx = sbd_otype_to_idx(otype); in get_node_type()
2156 "get_node_type: %s unit fail %p", otype, (void *)dip); in get_node_type()
2373 sbd_otype_to_idx(char *otype) in sbd_otype_to_idx() argument
2379 if (strcmp(otype, SBD_OTYPE(idx)) == 0) { in sbd_otype_to_idx()
/illumos-gate/usr/src/uts/common/io/
H A Dtphci.c198 tphci_open(dev_t *devp, int flag, int otype, cred_t *credp) in tphci_open() argument
202 if (otype != OTYP_CHR) { in tphci_open()
217 tphci_close(dev_t dev, int flag, int otype, cred_t *credp) in tphci_close() argument
220 if (otype != OTYP_CHR) { in tphci_close()
H A Ddevinfo.c558 di_close(dev_t dev, int flag, int otype, cred_t *cred_p) in di_close() argument
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c1204 scsa2usb_ugen_close(dev_t dev, int flag, int otype, cred_t *cr) in scsa2usb_ugen_close() argument
1228 otype, cr); in scsa2usb_ugen_close()
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c346 static int fcp_open(dev_t *devp, int flag, int otype, cred_t *credp);
347 static int fcp_close(dev_t dev, int flag, int otype, cred_t *credp);
1299 fcp_open(dev_t *devp, int flag, int otype, cred_t *credp) in fcp_open() argument
1301 if (otype != OTYP_CHR) { in fcp_open()
1334 fcp_close(dev_t dev, int flag, int otype, cred_t *credp) in fcp_close() argument
1336 if (otype != OTYP_CHR) { in fcp_close()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_drv_test.c42 vdt_open(dev_t *devp, int flag, int otype, cred_t *cr) in vdt_open() argument
46 if (otype != OTYP_CHR) { in vdt_open()
71 vdt_close(dev_t dev, int flag, int otype, cred_t *cr) in vdt_close() argument
73 if (otype != OTYP_CHR) { in vdt_close()
/illumos-gate/usr/src/uts/intel/io/viona/
H A Dviona_main.c287 static int viona_open(dev_t *devp, int flag, int otype, cred_t *credp);
288 static int viona_close(dev_t dev, int flag, int otype, cred_t *credp);
466 viona_open(dev_t *devp, int flag, int otype, cred_t *credp) in viona_open() argument
471 if (otype != OTYP_CHR) { in viona_open()
505 viona_close(dev_t dev, int flag, int otype, cred_t *credp) in viona_close() argument
510 if (otype != OTYP_CHR) { in viona_close()
/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Dusmn.c45 usmn_open(dev_t *devp, int flags, int otype, cred_t *credp) in usmn_open() argument
59 if (otype != OTYP_CHR) { in usmn_open()
H A Dzen_udf.c45 zen_udf_open(dev_t *devp, int flags, int otype, cred_t *credp) in zen_udf_open() argument
59 if (otype != OTYP_CHR) { in zen_udf_open()
/illumos-gate/usr/src/uts/common/os/
H A Ddriver.c310 dev_lopen(dev_t *devp, int flag, int otype, struct cred *cred) in dev_lopen() argument
316 vp = makespecvp(*devp, (otype == OTYP_BLK) ? VBLK : VCHR); in dev_lopen()
343 dev_lclose(dev_t dev, int flag, int otype, struct cred *cred) in dev_lclose() argument
351 vp = makespecvp(dev, (otype == OTYP_BLK) ? VBLK : VCHR); in dev_lclose()
/illumos-gate/usr/src/uts/common/io/overlay/
H A Doverlay_target.c1507 overlay_target_open(dev_t *devp, int flags, int otype, cred_t *credp) in overlay_target_open() argument
1518 if (otype & OTYP_BLK) in overlay_target_open()
1630 overlay_target_close(dev_t dev, int flags, int otype, cred_t *credp) in overlay_target_close() argument
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_parser.c332 dt_type_promote(dt_node_t *lp, dt_node_t *rp, ctf_file_t **ofp, ctf_id_t *otype) in dt_type_promote() argument
394 *otype = ltype; in dt_type_promote()
399 *otype = rtype; in dt_type_promote()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_protect.c277 uint8_t otype, olen; in get_dhcpv4_option() local
287 otype = *start++; in get_dhcpv4_option()
289 if (otype == type && olen > 0) { in get_dhcpv4_option()
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c68 static int sbd_open(dev_t *devp, int flag, int otype, cred_t *credp);
69 static int sbd_close(dev_t dev, int flag, int otype, cred_t *credp);
336 sbd_open(dev_t *devp, int flag, int otype, cred_t *credp) in sbd_open() argument
338 if (otype != OTYP_CHR) in sbd_open()
345 sbd_close(dev_t dev, int flag, int otype, cred_t *credp) in sbd_close() argument
/illumos-gate/usr/src/uts/common/inet/ipd/
H A Dipd.c973 ipd_open(dev_t *devp, int flag, int otype, cred_t *credp) in ipd_open() argument
978 if (otype != OTYP_CHR) in ipd_open()
1027 ipd_close(dev_t dev, int flag, int otype, cred_t *credp) in ipd_close() argument

123