Home
last modified time | relevance | path

Searched refs:spec_type (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/contract/
H A Ddevice_impl.h75 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/contract/
H A Ddevice.c506 int spec_type; in ctmpl_device_set() local
559 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()
677 (spec_type != S_IFCHR && spec_type != S_IFBLK)) { in ctmpl_device_create()
1210 ASSERT(spec_type == S_IFCHR || spec_type == S_IFBLK); in contract_device_create()
1432 (spec_type == S_IFBLK || spec_type == S_IFCHR)); in wait_for_acks()
1603 (spec_type == S_IFBLK || spec_type == S_IFCHR)); in contract_device_publish()
2048 ASSERT(spec_type == S_IFBLK || spec_type == S_IFCHR); in contract_device_negotiate()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Ddriver_lyr.c590 int spec_type; in ldi_vp_from_name() local
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()
3347 ASSERT((dev == DDI_DEV_T_ANY && spec_type == 0) || in ldi_invoke_notify()
3348 (spec_type == S_IFCHR || spec_type == S_IFBLK)); in ldi_invoke_notify()
3503 ASSERT(spec_type == S_IFBLK || spec_type == S_IFCHR); in ldi_ev_notify()
3579 (spec_type == S_IFCHR || spec_type == S_IFBLK)); in ldi_invoke_finalize()
[all …]
H A Dsunddi.c5610 if (spec_type != S_IFCHR && spec_type != S_IFBLK) in ddi_create_minor_common()
5691 dmdp->ddm_spec_type = spec_type; in ddi_create_minor_common()
5729 return (ddi_create_minor_common(dip, name, spec_type, minor_num, in ddi_create_minor_node()
5738 return (ddi_create_minor_common(dip, name, spec_type, minor_num, in ddi_create_priv_minor_node()
5746 return (ddi_create_minor_common(dip, name, spec_type, minor_num, in ddi_create_default_minor_node()
6702 ddi_dev_pathname(dev_t devt, int spec_type, char *path) in ddi_dev_pathname() argument
6730 if ((spec_type == S_IFCHR) || (spec_type == S_IFBLK)) { in ddi_dev_pathname()
6738 devt, spec_type); in ddi_dev_pathname()
7520 ((((spec_type & (S_IFCHR|S_IFBLK))) == 0) || in i_ddi_devtspectype_to_minorname()
7521 (dmdp->ddm_spec_type == spec_type))) in i_ddi_devtspectype_to_minorname()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dsunldi_impl.h170 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 Dsunldi.h156 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 Ddevinfo_impl.h179 int spec_type; /* block or char access type */ member
300 int spec_type; /* block or char */ member
H A Dsunddi.h1578 ddi_create_minor_node(dev_info_t *dip, const char *name, int spec_type,
1582 ddi_create_priv_minor_node(dev_info_t *dip, const char *name, int spec_type,
1728 ddi_dev_pathname(dev_t devt, int spec_type, char *name);
2115 ddi_lyr_get_minor_name(dev_t dev, int spec_type, char **minor_name);
H A Dsservice.h471 int spec_type; /* dev special type (block/char) */ member
H A Dddi_impldefs.h717 int spec_type; /* block or char */ member
768 #define ddm_spec_type d_minor.spec_type
/illumos-gate/usr/src/cmd/prtconf/
H A Dpdevinfo.c1327 int spec_type; in dump_minor_data_paths() local
1340 spec_type = di_minor_spectype(minor); in dump_minor_data_paths()
1362 (spec_type == S_IFBLK) ? "blk" : "chr", type); in dump_minor_data_paths()
1460 int displayed_path, spec_type; in link_lnode_disp() local
1468 spec_type = di_link_spectype(link); in link_lnode_disp()
1478 (spec_type == S_IFBLK) ? "blk" : "chr"); in link_lnode_disp()
1499 (spec_type != di_minor_spectype(minor))) in link_lnode_disp()
/illumos-gate/usr/src/uts/common/io/
H A Ddevinfo.c200 int spec_type; /* block or char access type */ member
2117 i_link_alloc(int spec_type) in i_link_alloc() argument
2122 i_link->spec_type = spec_type; in i_link_alloc()
2284 (i_link->spec_type == (*i_link_next)->spec_type)) { in di_ldi_callback()
2344 me->spec_type = i_link->spec_type; in i_link_walker()
2551 me->spec_type = mnode->ddm_spec_type; in di_getmdata()
H A Dcmlb.c266 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 Dcs.h976 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 Dspecvnops.c701 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 Dzs_common.c153 int spec_type, minor_t minor_num);
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo.c1430 return (DI_MINOR(minor)->spec_type); in di_minor_spectype()
3384 return (DI_LINK(link)->spec_type); in di_link_spectype()
/illumos-gate/usr/src/uts/common/pcmcia/nexus/
H A Dpcmcia.c3919 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 Dcs.c7697 ss_make_device_node.spec_type = devnode_desc->spec_type;
/illumos-gate/usr/src/uts/sun4/io/
H A Dsu_driver.c135 int spec_type, minor_t minor_num);