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.c318 spectype, /* Specification type */ in cnvtspec() local
334 spectype = 0; in cnvtspec()
352 spectype = 11; in cnvtspec()
408 spectype = 12; in cnvtspec()
412 spectype = 13; 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()
[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.c2285 char *spectype; in print_minornode() local
2296 case S_IFCHR: spectype = "c"; break; in print_minornode()
2297 case S_IFBLK: spectype = "b"; break; in print_minornode()
2298 default: spectype = "?"; break; in print_minornode()
2302 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.c1421 modctl_sizeof_minorname(dev_t dev, int spectype, uint_t *len) in modctl_sizeof_minorname() argument
1427 if (ddi_lyr_get_minor_name(dev, spectype, &name) == DDI_FAILURE) in modctl_sizeof_minorname()
1444 modctl_get_minorname(dev_t dev, int spectype, uint_t len, char *uname) in modctl_get_minorname() argument
1451 if (ddi_lyr_get_minor_name(dev, spectype, &name) == DDI_FAILURE) in modctl_get_minorname()
1473 modctl_devfspath_len(dev_t dev, int spectype, uint_t *len) in modctl_devfspath_len() argument
1480 if (ddi_dev_pathname(dev, spectype, name) == DDI_FAILURE) { in modctl_devfspath_len()
1499 modctl_devfspath(dev_t dev, int spectype, uint_t len, char *uname) in modctl_devfspath() argument
1507 if (ddi_dev_pathname(dev, spectype, name) == DDI_FAILURE) { in modctl_devfspath()
H A Ddevcfg.c4002 int spectype; in resolve_pathname() local
4066 minorname, &devt, &spectype) == DDI_FAILURE) { in resolve_pathname()
4095 spectype = dmn->ddm_spec_type; in resolve_pathname()
4109 spectype = dmn->ddm_spec_type; in resolve_pathname()
4114 spectype = S_IFCHR; in resolve_pathname()
4122 *spectypep = spectype; in resolve_pathname()
4190 int spectype; in i_ddi_prompath_to_devfspath() local
4193 error = resolve_pathname(prompath, &dip, &devt, &spectype); in i_ddi_prompath_to_devfspath()
4204 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()