Searched defs:spectype (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libdevid/
H A Ddeviceid.c90 int spectype; local
101 spectype = statb.st_mode & S_IFMT;
105 if (modctl(MODSIZEOF_MINORNAME, dev, spectype, &len) != 0)
113 if (modctl(MODGETMINORNAME, dev, spectype, len, myminor_name) != 0) {
/illumos-gate/usr/src/cmd/newform/
H A Dnewform.c320 spectype, /* Specification type */ local
336 spectype = 0;
354 spectype = 11;
410 spectype = 12;
414 spectype = 13;
420 spectype = 1;
429 spectype = 2;
438 spectype = 3;
453 spectype = 4;
461 spectype
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddevinfo.c2210 char *spectype; local
2221 case S_IFCHR: spectype = "c"; break;
2222 case S_IFBLK: spectype = "b"; break;
2223 default: spectype = "?"; break;
2227 addr, mdp->ddm_dev, spectype, md_type[MIN(mdp->type, MD_TYPE_MAX)],
/illumos-gate/usr/src/uts/common/os/
H A Dmodctl.c1302 * NOTE: there is a loss of spectype information in the current
1403 modctl_sizeof_minorname(dev_t dev, int spectype, uint_t *len) argument
1409 if (ddi_lyr_get_minor_name(dev, spectype, &name) == DDI_FAILURE)
1426 modctl_get_minorname(dev_t dev, int spectype, uint_t len, char *uname) argument
1433 if (ddi_lyr_get_minor_name(dev, spectype, &name) == DDI_FAILURE)
1452 * Return the size of the (dev_t,spectype) devfspath name.
1455 modctl_devfspath_len(dev_t dev, int spectype, uint_t *len) argument
1462 if (ddi_dev_pathname(dev, spectype, name) == DDI_FAILURE) {
1478 * Return the (dev_t,spectype) devfspath name.
1481 modctl_devfspath(dev_t dev, int spectype, uint_ argument
[all...]
H A Ddevcfg.c3791 * dev_t value and/or the spectype, depending on which parameters are non-NULL.
3833 int spectype; local
3898 minorname, &devt, &spectype) == DDI_FAILURE) {
3927 spectype = dmn->ddm_spec_type;
3941 spectype = dmn->ddm_spec_type;
3946 spectype = S_IFCHR;
3954 *spectypep = spectype;
4022 int spectype; local
4026 error = resolve_pathname(prompath, &dip, &devt, &spectype);
4037 minor_name = i_ddi_devtspectype_to_minorname(dip, devt, spectype);
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c2971 int spectype; local
3008 spectype = di_minor_spectype(minor); /* block or char */
3010 getattr(phy_path, aminor, spectype, dev, &mode, &uid, &gid);
7127 * For a given physical device pathname and spectype, return the
7136 getattr(char *phy_path, char *aminor, int spectype, dev_t dev, mode_t *mode, argument
7248 *mode = spectype | mp->mp_mode;
7262 *mode = (spectype | 0600);

Completed in 104 milliseconds