Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/sys/contract/
H A Ddevice_impl.h77 ct_ack_t contract_device_offline(dev_info_t *dip, dev_t dev, int spec_type);
78 void contract_device_degrade(dev_info_t *dip, dev_t dev, int spec_type);
79 void contract_device_undegrade(dev_info_t *dip, dev_t dev, int spec_type);
80 int contract_device_open(dev_t dev, int spec_type, contract_t **ctpp);
82 ct_ack_t contract_device_negotiate(dev_info_t *dip, dev_t dev, int spec_type,
84 void contract_device_finalize(dev_info_t *dip, dev_t dev, int spec_type,
86 void contract_device_negend(dev_info_t *dip, dev_t dev, int spec_type,
/titanic_50/usr/src/uts/common/contract/
H A Ddevice.c361 int spec_type, proc_t *owner, int *errorp);
505 int spec_type; in ctmpl_device_set() local
557 spec_type = 0; in ctmpl_device_set()
559 if (resolve_pathname(str_value, &dip, NULL, &spec_type) != 0) { in ctmpl_device_set()
564 if (spec_type != S_IFCHR && spec_type != S_IFBLK) { in ctmpl_device_set()
648 int spec_type; in ctmpl_device_create() local
671 spec_type = 0; in ctmpl_device_create()
673 if (resolve_pathname(buf, NULL, &dev, &spec_type) != 0 || in ctmpl_device_create()
675 (spec_type != S_IFCHR && spec_type != S_IFBLK)) { in ctmpl_device_create()
684 dev, spec_type, curproc, &error); in ctmpl_device_create()
[all …]
/titanic_50/usr/src/uts/common/os/
H A Ddriver_lyr.c590 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()
3278 dev_t dev, int spec_type) in ldi_ev_device_match() argument
3284 ASSERT((dev == DDI_DEV_T_ANY && spec_type == 0) || in ldi_ev_device_match()
3285 (spec_type == S_IFCHR || spec_type == S_IFBLK)); in ldi_ev_device_match()
3296 if (dev != lecp->lec_dev || spec_type != lecp->lec_spec) in ldi_ev_device_match()
3319 ldi_invoke_notify(dev_info_t *dip, dev_t dev, int spec_type, char *event, in ldi_invoke_notify() argument
3330 ASSERT((dev == DDI_DEV_T_ANY && spec_type == 0) || in ldi_invoke_notify()
[all …]
H A Dsunddi.c5683 ddi_create_minor_common(dev_info_t *dip, char *name, int spec_type, in ddi_create_minor_common() argument
5690 if (spec_type != S_IFCHR && spec_type != S_IFBLK) in ddi_create_minor_common()
5771 dmdp->ddm_spec_type = spec_type; in ddi_create_minor_common()
5806 ddi_create_minor_node(dev_info_t *dip, char *name, int spec_type, in ddi_create_minor_node() argument
5809 return (ddi_create_minor_common(dip, name, spec_type, minor_num, in ddi_create_minor_node()
5814 ddi_create_priv_minor_node(dev_info_t *dip, char *name, int spec_type, in ddi_create_priv_minor_node() argument
5818 return (ddi_create_minor_common(dip, name, spec_type, minor_num, in ddi_create_priv_minor_node()
5823 ddi_create_default_minor_node(dev_info_t *dip, char *name, int spec_type, in ddi_create_default_minor_node() argument
5826 return (ddi_create_minor_common(dip, name, spec_type, minor_num, in ddi_create_default_minor_node()
5836 ddi_create_internal_pathname(dev_info_t *dip, char *name, int spec_type, in ddi_create_internal_pathname() argument
[all …]
/titanic_50/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 Dddi_implfuncs.h204 i_ddi_devtspectype_to_minorname(dev_info_t *dip, dev_t dev, int spec_type);
H A Dsunddi.h1564 ddi_create_minor_node(dev_info_t *dip, char *name, int spec_type,
1568 ddi_create_priv_minor_node(dev_info_t *dip, char *name, int spec_type,
1714 ddi_dev_pathname(dev_t devt, int spec_type, char *name);
2091 ddi_lyr_get_minor_name(dev_t dev, int spec_type, char **minor_name);
H A Dsservice.h473 int spec_type; /* dev special type (block/char) */ member
H A Dddi_impldefs.h709 int spec_type; /* block or char */ member
760 #define ddm_spec_type d_minor.spec_type
/titanic_50/usr/src/cmd/tnf/prex/
H A Dspec.h49 typedef enum spec_type { enum
/titanic_50/usr/src/cmd/prtconf/
H A Dpdevinfo.c1109 int spec_type; in dump_minor_data_paths() local
1122 spec_type = di_minor_spectype(minor); in dump_minor_data_paths()
1144 (spec_type == S_IFBLK) ? "blk" : "chr", type); in dump_minor_data_paths()
1242 int displayed_path, spec_type; in link_lnode_disp() local
1250 spec_type = di_link_spectype(link); in link_lnode_disp()
1260 (spec_type == S_IFBLK) ? "blk" : "chr"); in link_lnode_disp()
1281 (spec_type != di_minor_spectype(minor))) in link_lnode_disp()
/titanic_50/usr/src/uts/common/io/
H A Ddevinfo.c198 int spec_type; /* block or char access type */ member
2115 i_link_alloc(int spec_type) in i_link_alloc() argument
2120 i_link->spec_type = spec_type; in i_link_alloc()
2282 (i_link->spec_type == (*i_link_next)->spec_type)) { in di_ldi_callback()
2342 me->spec_type = i_link->spec_type; in i_link_walker()
2549 me->spec_type = mnode->ddm_spec_type; in di_getmdata()
H A Dcmlb.c264 int spec_type, minor_t minor_num);
1415 cmlb_create_minor(dev_info_t *dip, char *name, int spec_type, argument
1422 name, spec_type, minor_num));
1425 name, spec_type, minor_num, node_type, flag));
/titanic_50/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
/titanic_50/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c698 int spec_type; in spec_open() local
699 spec_type = (STOV(csp)->v_type == VCHR) ? S_IFCHR : S_IFBLK; in spec_open()
700 if (contract_device_open(newdev, spec_type, NULL) != 0) { in spec_open()
/titanic_50/usr/src/uts/sun/io/
H A Dzs_common.c153 int spec_type, minor_t minor_num);
/titanic_50/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()
/titanic_50/usr/src/uts/common/pcmcia/nexus/
H A Dpcmcia.c3916 init->spec_type, in pcmcia_create_device()
3951 device.type = init->spec_type; in pcmcia_create_device()
/titanic_50/usr/src/uts/common/pcmcia/cs/
H A Dcs.c7699 ss_make_device_node.spec_type = devnode_desc->spec_type;
/titanic_50/usr/src/uts/sun4/io/
H A Dsu_driver.c133 int spec_type, minor_t minor_num);