Home
last modified time | relevance | path

Searched refs:major_t (Results 1 – 25 of 218) sorted by relevance

123456789

/titanic_44/usr/src/lib/libc/port/gen/
H A Dmkdev.c41 __makedev(const int version, const major_t majdev, const minor_t mindev) in __makedev()
84 major_t
87 major_t maj; in __major()
94 return ((major_t)NODEV); in __major()
102 return ((major_t)NODEV); in __major()
107 return ((major_t)NODEV); in __major()
114 return ((major_t)NODEV); in __major()
/titanic_44/usr/src/uts/common/sys/
H A Dhwconf.h55 major_t hwc_major;
64 major_t par_major; /* Simple name of parent */
93 extern struct par_list *impl_make_parlist(major_t);
94 extern int impl_free_parlist(major_t);
97 extern struct hwc_spec *hwc_get_child_spec(dev_info_t *, major_t);
H A Dddi_implfuncs.h225 int i_ddi_load_drvconf(major_t);
226 int i_ddi_unload_drvconf(major_t);
231 int i_ddi_detach_installed_driver(major_t, int);
234 int i_ddi_unbind_devs_by_alias(major_t, char *);
235 void i_ddi_unbind_devs(major_t);
246 int i_ddi_devs_attached(major_t);
251 struct dev_ops *ddi_hold_driver(major_t);
252 void ddi_rele_driver(major_t);
H A Dddi.h94 extern int etoimajor(major_t);
96 extern int itoemajor(major_t, int);
113 extern major_t getemajor(dev_t);
115 extern major_t getmajor(dev_t);
117 extern dev_t makedevice(major_t, minor_t);
H A Dmkdev.h87 extern dev_t makedev(const major_t, const minor_t);
88 extern major_t major(const dev_t);
90 extern dev_t __makedev(const int, const major_t, const minor_t);
91 extern major_t __major(const int, const dev_t);
H A Dmodctl.h597 extern int major_valid(major_t);
598 extern int driver_installed(major_t);
599 extern int driver_active(major_t);
601 extern void mod_rele_dev_by_major(major_t);
602 extern struct dev_ops *mod_hold_dev_by_major(major_t);
606 extern int make_devname(char *, major_t, int);
623 extern major_t mod_name_to_major(char *);
625 extern char *mod_major_to_name(major_t);
H A Dsysmacros.h123 #define major(x) (major_t)((((unsigned)(x)) >> O_BITSMINOR) & O_MAXMAJ)
124 #define bmajor(x) (major_t)((((unsigned)(x)) >> O_BITSMINOR) & O_MAXMAJ)
128 #define getmajor(x) (major_t)((((dev_t)(x)) >> L_BITSMINOR) & L_MAXMAJ)
142 #define major(x) (major_t)((((unsigned)(x)) >> O_BITSMINOR) & O_MAXMAJ)
165 (major_t)(((unsigned int)(x) >> O_BITSMINOR) > O_MAXMAJ) ? \
175 #define getemajor(x) (major_t)((((dev_t)(x) >> L_BITSMINOR) > L_MAXMAJ) ? \
H A Dkstr.h45 extern int kstr_open(major_t, minor_t, vnode_t **, int *);
53 extern int kstr_autopush(int, major_t *, minor_t *, minor_t *, uint_t *,
H A Ddevpolicy.h54 major_t dps_maj; /* major number */
116 #define DEVPOLICY_DFLT_MAJ ((major_t)~0)
H A Dautoconf.h214 extern major_t clone_major;
215 extern major_t mm_major;
216 extern major_t nulldriver_major;
275 extern major_t path_to_major(char *);
/titanic_44/usr/src/uts/common/os/
H A Dmodsubr.c71 static void hwc_hash(struct hwc_spec *, major_t);
75 major_valid(major_t major) in major_valid()
82 driver_installed(major_t major) in driver_installed()
88 driver_active(major_t major) in driver_active()
95 mod_hold_dev_by_major(major_t major) in mod_hold_dev_by_major()
130 mod_rele_dev_by_major(major_t major) in mod_rele_dev_by_major()
173 major_t major; in mod_hold_dev_by_devi()
185 major_t major; in mod_rele_dev_by_devi()
368 impl_make_parlist(major_t major) in impl_make_parlist()
443 impl_free_parlist(major_t major) in impl_free_parlist()
[all …]
H A Dddi.c84 major_t
88 return ((major_t)((dev >> NBITSMINOR64) & MAXMAJ64)); in getmajor()
90 return ((major_t)((dev >> NBITSMINOR) & MAXMAJ)); in getmajor()
98 major_t
102 return ((major_t)((dev >> NBITSMINOR64) & MAXMAJ64)); in getemajor()
104 return ((major_t)((dev >> NBITSMINOR) & MAXMAJ)); in getemajor()
141 etoimajor(major_t emajnum) in etoimajor()
166 itoemajor(major_t imajnum, int lastemaj) in itoemajor()
193 makedevice(major_t maj, minor_t minor) in makedevice()
208 major_t major_d; in cmpdev()
[all …]
H A Dsubr.c87 major_t
90 static major_t next = 0; in getudev()
91 major_t ret; in getudev()
128 ret = (major_t)i; in getudev()
150 major_t major = dev >> L_BITSMINOR; in cmpldev()
H A Dautoconf.c64 major_t mm_major;
65 major_t nulldriver_major;
133 major_t major; in impl_create_root_class()
365 major_t major; in create_devinfo_tree()
H A Dinstance.c73 static int in_next_instance_block(major_t, int);
74 static int in_next_instance(major_t);
237 major_t m; in in_preassign_instance()
240 extern major_t devcnt; in in_preassign_instance()
341 in_set_instance(dev_info_t *dip, in_drv_t *dp, major_t major) in in_set_instance()
410 major_t major; in in_assign_instance_block()
546 major_t major; in e_ddi_assign_instance()
666 e_ddi_instance_majorinstance_to_path(major_t major, uint_t inst, char *path) in e_ddi_instance_majorinstance_to_path()
702 in_next_instance_block(major_t major, int block_size) in in_next_instance_block()
764 in_next_instance(major_t major) in in_next_instance()
[all …]
/titanic_44/usr/src/uts/i86pc/i86hvm/io/
H A Dhvm_bootstrap.c51 major_t dev_major; in hvmboot_rootconf()
54 if (dev_major == (major_t)-1) in hvmboot_rootconf()
63 if (dev_major == (major_t)-1) in hvmboot_rootconf()
/titanic_44/usr/src/uts/common/io/
H A Dvcons_conf.c72 major_t in _NOTE()
75 major_t maj = (major_t)-1; in _NOTE()
/titanic_44/usr/src/cmd/mknod/
H A Dmknod.c70 major_t majno; in main()
100 majno = (major_t)number(argv[3]); in main()
101 if (majno == (major_t)-1 || majno > MAXMAJ) { in main()
/titanic_44/usr/src/cmd/modload/
H A Daddrem.h134 extern int update_name_to_major(char *, major_t *, int);
147 extern int config_driver(char *, major_t, char *, char *, int, int);
148 extern int unconfig_driver(char *, major_t, char *, int);
/titanic_44/usr/src/head/
H A Dpkgstrct.h48 #define BADMAJOR (major_t)ULONG_MAX
61 major_t major;
/titanic_44/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c70 static int dr_is_unsafe_major(major_t major);
201 dr_is_unsafe_major(major_t major) in dr_is_unsafe_major()
239 major_t devmajor; in dr_resolve_devname()
277 major_t major; in dr_check_dip()
292 if (dname && ((major = ddi_name_to_major(dname)) != (major_t)-1)) { in dr_check_dip()
347 major_t major; in dr_suspend_devices()
369 major = (major_t)-1; in dr_suspend_devices()
427 major_t major; in dr_resume_devices()
431 major = (major_t)-1; in dr_resume_devices()
/titanic_44/usr/src/uts/sun4u/ngdr/io/
H A Ddr_quiesce.c71 static int dr_is_unsafe_major(major_t major);
202 dr_is_unsafe_major(major_t major) in dr_is_unsafe_major()
240 major_t devmajor; in dr_resolve_devname()
278 major_t major; in dr_check_dip()
293 if (dname && ((major = ddi_name_to_major(dname)) != (major_t)-1)) { in dr_check_dip()
348 major_t major; in dr_suspend_devices()
370 major = (major_t)-1; in dr_suspend_devices()
428 major_t major; in dr_resume_devices()
432 major = (major_t)-1; in dr_resume_devices()
/titanic_44/usr/src/cmd/autopush/
H A Dautopush.c112 major_t major; /* major device number */ in main()
153 major = (major_t)atol(optarg); in main()
345 rem_info(major_t maj, minor_t min) in rem_info()
409 get_info(major_t maj, minor_t min) in get_info()
520 major_t major_num; in parse_line()
/titanic_44/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ks.h61 extern int mdb_name_to_major(const char *, major_t *);
62 extern const char *mdb_major_to_name(major_t);
/titanic_44/usr/src/uts/common/avs/ns/sv/
H A Dsv.h95 major_t svc_major; /* major_t of underlying raw device */
105 major_t svc_major; /* major_t of underlying raw device */

123456789