Home
last modified time | relevance | path

Searched refs:spectype (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/newform/
H A Dnewform.c334 spectype = 0; in cnvtspec()
352 spectype = 11; in cnvtspec()
418 spectype = 1; in cnvtspec()
427 spectype = 2; in cnvtspec()
436 spectype = 3; in cnvtspec()
451 spectype = 4; in cnvtspec()
459 spectype = 5; in cnvtspec()
467 spectype = 6; in cnvtspec()
475 spectype = 7; in cnvtspec()
483 spectype = 8; in cnvtspec()
[all …]
/illumos-gate/usr/src/lib/libdevid/
H A Ddeviceid.c91 int spectype; in devid_get_minor_name() local
102 spectype = statb.st_mode & S_IFMT; in devid_get_minor_name()
106 if (modctl(MODSIZEOF_MINORNAME, dev, spectype, &len) != 0) in devid_get_minor_name()
114 if (modctl(MODGETMINORNAME, dev, spectype, len, myminor_name) != 0) { in devid_get_minor_name()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddevinfo.c2293 char *spectype; in print_minornode() local
2304 case S_IFCHR: spectype = "c"; break; in print_minornode()
2305 case S_IFBLK: spectype = "b"; break; in print_minornode()
2306 default: spectype = "?"; break; in print_minornode()
2310 addr, mdp->ddm_dev, spectype, md_type[MIN(mdp->type, MD_TYPE_MAX)], in print_minornode()
/illumos-gate/usr/src/uts/common/os/
H A Dmodctl.c1409 modctl_sizeof_minorname(dev_t dev, int spectype, uint_t *len) in modctl_sizeof_minorname() argument
1415 if (ddi_lyr_get_minor_name(dev, spectype, &name) == DDI_FAILURE) in modctl_sizeof_minorname()
1432 modctl_get_minorname(dev_t dev, int spectype, uint_t len, char *uname) in modctl_get_minorname() argument
1439 if (ddi_lyr_get_minor_name(dev, spectype, &name) == DDI_FAILURE) in modctl_get_minorname()
1461 modctl_devfspath_len(dev_t dev, int spectype, uint_t *len) in modctl_devfspath_len() argument
1468 if (ddi_dev_pathname(dev, spectype, name) == DDI_FAILURE) { in modctl_devfspath_len()
1487 modctl_devfspath(dev_t dev, int spectype, uint_t len, char *uname) in modctl_devfspath() argument
1495 if (ddi_dev_pathname(dev, spectype, name) == DDI_FAILURE) { in modctl_devfspath()
H A Ddevcfg.c3990 int spectype; in resolve_pathname() local
4054 minorname, &devt, &spectype) == DDI_FAILURE) { in resolve_pathname()
4083 spectype = dmn->ddm_spec_type; in resolve_pathname()
4097 spectype = dmn->ddm_spec_type; in resolve_pathname()
4102 spectype = S_IFCHR; in resolve_pathname()
4110 *spectypep = spectype; in resolve_pathname()
4178 int spectype; in i_ddi_prompath_to_devfspath() local
4181 error = resolve_pathname(prompath, &dip, &devt, &spectype); in i_ddi_prompath_to_devfspath()
4192 minor_name = i_ddi_devtspectype_to_minorname(dip, devt, spectype); in i_ddi_prompath_to_devfspath()
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm_impl.h458 static void getattr(char *devname, char *aminor, int spectype, dev_t dev,
H A Ddevfsadm.c2983 int spectype; in reset_node_permissions() local
3020 spectype = di_minor_spectype(minor); /* block or char */ in reset_node_permissions()
3022 getattr(phy_path, aminor, spectype, dev, &mode, &uid, &gid); in reset_node_permissions()
7149 getattr(char *phy_path, char *aminor, int spectype, dev_t dev, mode_t *mode, in getattr() argument
7261 *mode = spectype | mp->mp_mode; in getattr()
7275 *mode = (spectype | 0600); in getattr()