| /illumos-gate/usr/src/uts/common/contract/ |
| H A D | device.c | 362 int spec_type, proc_t *owner, int *errorp); 506 int spec_type; in ctmpl_device_set() local 559 spec_type = 0; in ctmpl_device_set() 561 if (resolve_pathname(str_value, &dip, NULL, &spec_type) != 0) { in ctmpl_device_set() 566 if (spec_type != S_IFCHR && spec_type != S_IFBLK) { in ctmpl_device_set() 650 int spec_type; in ctmpl_device_create() local 673 spec_type = 0; in ctmpl_device_create() 675 if (resolve_pathname(buf, NULL, &dev, &spec_type) != 0 || in ctmpl_device_create() 677 (spec_type != S_IFCHR && spec_type != S_IFBLK)) { in ctmpl_device_create() 686 dev, spec_type, curproc, &error); in ctmpl_device_create() [all …]
|
| /illumos-gate/usr/src/uts/common/sys/contract/ |
| H A D | device_impl.h | 75 ct_ack_t contract_device_offline(dev_info_t *dip, dev_t dev, int spec_type); 76 void contract_device_degrade(dev_info_t *dip, dev_t dev, int spec_type); 77 void contract_device_undegrade(dev_info_t *dip, dev_t dev, int spec_type); 78 int contract_device_open(dev_t dev, int spec_type, contract_t **ctpp); 80 ct_ack_t contract_device_negotiate(dev_info_t *dip, dev_t dev, int spec_type, 82 void contract_device_finalize(dev_info_t *dip, dev_t dev, int spec_type, 84 void contract_device_negend(dev_info_t *dip, dev_t dev, int spec_type,
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | driver_lyr.c | 590 int spec_type; in ldi_vp_from_name() local 610 ret = resolve_pathname(path, &dip, &dev, &spec_type); in ldi_vp_from_name() 614 ASSERT(STYP_VALID(spec_type)); in ldi_vp_from_name() 615 vp = makespecvp(dev, STYP_TO_VTYP(spec_type)); in ldi_vp_from_name() 3295 dev_t dev, int spec_type) in ldi_ev_device_match() argument 3301 ASSERT((dev == DDI_DEV_T_ANY && spec_type == 0) || in ldi_ev_device_match() 3302 (spec_type == S_IFCHR || spec_type == S_IFBLK)); in ldi_ev_device_match() 3313 if (dev != lecp->lec_dev || spec_type != lecp->lec_spec) in ldi_ev_device_match() 3336 ldi_invoke_notify(dev_info_t *dip, dev_t dev, int spec_type, char *event, in ldi_invoke_notify() argument 3347 ASSERT((dev == DDI_DEV_T_ANY && spec_type == 0) || in ldi_invoke_notify() [all …]
|
| H A D | sunddi.c | 5631 ddi_create_minor_common(dev_info_t *dip, const char *name, int spec_type, in ddi_create_minor_common() argument 5638 if (spec_type != S_IFCHR && spec_type != S_IFBLK) in ddi_create_minor_common() 5719 dmdp->ddm_spec_type = spec_type; in ddi_create_minor_common() 5754 ddi_create_minor_node(dev_info_t *dip, const char *name, int spec_type, in ddi_create_minor_node() argument 5757 return (ddi_create_minor_common(dip, name, spec_type, minor_num, in ddi_create_minor_node() 5762 ddi_create_priv_minor_node(dev_info_t *dip, const char *name, int spec_type, in ddi_create_priv_minor_node() argument 5766 return (ddi_create_minor_common(dip, name, spec_type, minor_num, in ddi_create_priv_minor_node() 5771 ddi_create_default_minor_node(dev_info_t *dip, const char *name, int spec_type, in ddi_create_default_minor_node() argument 5774 return (ddi_create_minor_common(dip, name, spec_type, minor_num, in ddi_create_default_minor_node() 5784 ddi_create_internal_pathname(dev_info_t *dip, char *name, int spec_type, in ddi_create_internal_pathname() argument [all …]
|
| /illumos-gate/usr/src/uts/common/sys/ |
| H A D | sunldi_impl.h | 170 int ldi_invoke_notify(dev_info_t *dip, dev_t dev, int spec_type, char *event, 172 void ldi_invoke_finalize(dev_info_t *dip, dev_t dev, int spec_type, char *event,
|
| H A D | sunldi.h | 156 extern int ldi_ev_notify(dev_info_t *dip, minor_t minor, int spec_type, 158 extern void ldi_ev_finalize(dev_info_t *dip, minor_t minor, int spec_type,
|
| H A D | devinfo_impl.h | 179 int spec_type; /* block or char access type */ member 300 int spec_type; /* block or char */ member
|
| H A D | sunddi.h | 1596 ddi_create_minor_node(dev_info_t *dip, const char *name, int spec_type, 1600 ddi_create_priv_minor_node(dev_info_t *dip, const char *name, int spec_type, 1746 ddi_dev_pathname(dev_t devt, int spec_type, char *name); 2133 ddi_lyr_get_minor_name(dev_t dev, int spec_type, char **minor_name);
|
| H A D | sservice.h | 471 int spec_type; /* dev special type (block/char) */ member
|
| H A D | ddi_impldefs.h | 717 int spec_type; /* block or char */ member 768 #define ddm_spec_type d_minor.spec_type
|
| /illumos-gate/usr/src/cmd/prtconf/ |
| H A D | pdevinfo.c | 1332 int spec_type; in dump_minor_data_paths() local 1345 spec_type = di_minor_spectype(minor); in dump_minor_data_paths() 1367 (spec_type == S_IFBLK) ? "blk" : "chr", type); in dump_minor_data_paths() 1465 int displayed_path, spec_type; in link_lnode_disp() local 1473 spec_type = di_link_spectype(link); in link_lnode_disp() 1483 (spec_type == S_IFBLK) ? "blk" : "chr"); in link_lnode_disp() 1504 (spec_type != di_minor_spectype(minor))) in link_lnode_disp()
|
| /illumos-gate/usr/src/uts/common/io/ |
| H A D | devinfo.c | 200 int spec_type; /* block or char access type */ member 2114 i_link_alloc(int spec_type) in i_link_alloc() argument 2119 i_link->spec_type = spec_type; in i_link_alloc() 2281 (i_link->spec_type == (*i_link_next)->spec_type)) { in di_ldi_callback() 2341 me->spec_type = i_link->spec_type; in i_link_walker() 2548 me->spec_type = mnode->ddm_spec_type; in di_getmdata()
|
| H A D | cmlb.c | 266 int spec_type, minor_t minor_num); 1421 cmlb_create_minor(dev_info_t *dip, char *name, int spec_type, in cmlb_create_minor() argument 1428 name, spec_type, minor_num)); in cmlb_create_minor() 1431 name, spec_type, minor_num, node_type, flag)); in cmlb_create_minor()
|
| /illumos-gate/usr/src/uts/common/pcmcia/sys/ |
| H A D | cs.h | 976 int32_t spec_type; /* dev special type (block or char) */ member 1219 int32_t spec_type; /* dev special type (block or char) */ member
|
| /illumos-gate/usr/src/uts/common/fs/specfs/ |
| H A D | specvnops.c | 701 int spec_type; in spec_open() local 702 spec_type = (STOV(csp)->v_type == VCHR) ? S_IFCHR : S_IFBLK; in spec_open() 703 if (contract_device_open(newdev, spec_type, NULL) != 0) { in spec_open()
|
| /illumos-gate/usr/src/uts/sun/io/ |
| H A D | zs_common.c | 153 int spec_type, minor_t minor_num);
|
| /illumos-gate/usr/src/lib/libdevinfo/ |
| H A D | devinfo.c | 1434 return (DI_MINOR(minor)->spec_type); in di_minor_spectype() 3388 return (DI_LINK(link)->spec_type); in di_link_spectype()
|
| /illumos-gate/usr/src/uts/common/pcmcia/nexus/ |
| H A D | pcmcia.c | 3919 init->spec_type, in pcmcia_create_device() 3954 device.type = init->spec_type; in pcmcia_create_device()
|
| /illumos-gate/usr/src/uts/common/pcmcia/cs/ |
| H A D | cs.c | 7697 ss_make_device_node.spec_type = devnode_desc->spec_type;
|
| /illumos-gate/usr/src/uts/sun4/io/ |
| H A D | su_driver.c | 135 int spec_type, minor_t minor_num);
|