Home
last modified time | relevance | path

Searched refs:minor_t (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/titanic_44/usr/src/uts/common/sys/
H A Dvt_impl.h59 minor_t vc_minor;
66 minor_t vc_switchto;
102 #define VT_MINOR_INVALID ((minor_t)-1)
115 int vt_open(minor_t minor, queue_t *rq, cred_t *crp);
117 vc_state_t *vt_minor2vc(minor_t);
121 extern minor_t vc_active_console;
122 extern minor_t vc_cons_user;
124 extern minor_t vc_last_console;
129 boolean_t vt_minor_valid(minor_t minor);
H A Dpshot.h96 minor_t minor;
119 static minor_t pshot_minor_encode(int, minor_t);
120 static int pshot_minor_decode_inst(minor_t);
121 static minor_t pshot_minor_decode_nodenum(minor_t);
170 static int pshot_devctl(pshot_t *, minor_t, int, intptr_t, int, cred_t *,
172 static int pshot_testctl(pshot_t *, minor_t, int, intptr_t, int, cred_t *,
H A Dmkdev.h87 extern dev_t makedev(const major_t, const minor_t);
89 extern minor_t minor(const dev_t);
90 extern dev_t __makedev(const int, const major_t, const minor_t);
92 extern minor_t __minor(const int, const dev_t);
H A Dptms.h47 minor_t pt_minor; /* Minor number of this pty */
112 extern struct pt_ttys *ptms_minor2ptty(minor_t);
114 extern int ptms_minor_valid(minor_t ptmin, uid_t *uid, gid_t *gid);
115 extern int ptms_minor_exists(minor_t ptmin);
116 extern void ptms_set_owner(minor_t ptmin, uid_t uid, gid_t gid);
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 Dwscons.h40 extern int wcvnget(minor_t, vnode_t **);
41 extern void wcvnrele(minor_t, vnode_t *);
H A Dddi.h114 extern minor_t geteminor(dev_t);
116 extern minor_t getminor(dev_t);
117 extern dev_t makedevice(major_t, minor_t);
H A Dsysmacros.h132 #define minor(x) (minor_t)((x) & O_MAXMIN)
136 #define getminor(x) (minor_t)((x) & L_MAXMIN)
146 #define minor(x) (minor_t)((x) & O_MAXMIN)
169 (minor_t)((x) & O_MAXMIN)
177 #define geteminor(x) (minor_t)((x) & L_MAXMIN)
/titanic_44/usr/src/uts/common/io/
H A Dptms_conf.c224 static minor_t ptms_grow(void);
333 minor_t dminor; in pt_ttys_alloc()
367 dminor = (minor_t)(uintptr_t) in pt_ttys_alloc()
407 ptms_minor2ptty(minor_t dminor) in ptms_minor2ptty()
423 ptms_set_owner(minor_t dminor, uid_t ruid, gid_t rgid) in ptms_set_owner()
458 ptms_minor_valid(minor_t dminor, uid_t *ruid, gid_t *rgid) in ptms_minor_valid()
503 ptms_minor_exists(minor_t dminor) in ptms_minor_exists()
562 static minor_t
565 minor_t old_size = ptms_nslots; in ptms_grow()
566 minor_t delta = MIN(pt_maxdelta, old_size); in ptms_grow()
[all …]
H A Dvcons.c111 minor_t vc_last_console = VT_MINOR_INVALID; /* the last used console */
114 static volatile minor_t vc_inuse_max_minor = 0;
131 static uint_t vt_minor2arg(minor_t minor);
132 static minor_t vt_arg2minor(uint_t arg);
277 minor_t index; in vt_close()
335 vt_open(minor_t minor, queue_t *rq, cred_t *crp) in vt_open()
407 static minor_t
408 vt_find_prev(minor_t cur) in vt_find_prev()
410 minor_t i, t, max; in vt_find_prev()
423 static minor_t
[all …]
H A Dvcons_conf.c53 minor_t vc_active_console = VT_MINOR_INVALID;
59 minor_t vc_cons_user = VT_MINOR_INVALID;
122 vt_minor_valid(minor_t minor) in vt_minor_valid()
H A Dl_strplumb.c59 kstr_open(major_t maj, minor_t min, vnode_t **vpp, int *fd) in kstr_open()
219 kstr_autopush(int op, major_t *maj, minor_t *min, minor_t *lastmin, in kstr_autopush()
277 *min = (minor_t)-1; in kstr_autopush()
312 if (*min == (minor_t)-1) { in kstr_autopush()
/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()
124 minor_t
131 return ((minor_t)NODEV); in __minor()
138 return ((minor_t)NODEV); in __minor()
144 return ((minor_t)NODEV); in __minor()
/titanic_44/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_onexit.h53 extern int zfs_onexit_fd_hold(int fd, minor_t *minorp);
55 extern int zfs_onexit_add_cb(minor_t minor, void (*func)(void *), void *data,
57 extern int zfs_onexit_del_cb(minor_t minor, uint64_t action_handle,
59 extern int zfs_onexit_cb_data(minor_t minor, uint64_t action_handle,
H A Ddsl_userhold.h43 int dsl_dataset_user_hold(nvlist_t *holds, minor_t cleanup_minor,
51 minor_t minor, uint64_t now, struct dmu_tx *tx);
/titanic_44/usr/src/uts/common/io/audio/impl/
H A Daudio_client.h118 void auclnt_register_ops(minor_t, audio_client_ops_t *);
120 minor_t auclnt_get_minor(audio_client_t *);
121 minor_t auclnt_get_original_minor(audio_client_t *);
122 minor_t auclnt_get_minor_type(audio_client_t *);
270 void *auclnt_get_minor_data(audio_client_t *, minor_t);
271 void *auclnt_get_dev_minor_data(audio_dev_t *, minor_t);
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzfs_onexit.c108 zfs_onexit_minor_to_state(minor_t minor, zfs_onexit_t **zo) in zfs_onexit_minor_to_state()
124 zfs_onexit_fd_hold(int fd, minor_t *minorp) in zfs_onexit_fd_hold()
147 zfs_onexit_add_cb(minor_t minor, void (*func)(void *), void *data, in zfs_onexit_add_cb()
194 zfs_onexit_del_cb(minor_t minor, uint64_t action_handle, boolean_t fire) in zfs_onexit_del_cb()
226 zfs_onexit_cb_data(minor_t minor, uint64_t action_handle, void **data) in zfs_onexit_cb_data()
/titanic_44/usr/src/uts/common/inet/
H A Dipsec_info.h120 minor_t ks_in_serial; /* Serial # of sending socket. */
130 minor_t ks_out_serial; /* Serial # of sending socket. */
141 minor_t ks_err_serial;
/titanic_44/usr/src/cmd/mknod/
H A Dmknod.c71 minor_t minno; in main()
106 minno = (minor_t)number(argv[4]); in main()
107 if (minno == (minor_t)-1 || minno > MAXMIN) { in main()
/titanic_44/usr/src/cmd/autopush/
H A Dautopush.c113 minor_t minor; /* minor device number */ in main()
168 minor = (minor_t)atol(optarg); in main()
280 if (push.sap_minor == (minor_t)-1) in set_info()
345 rem_info(major_t maj, minor_t min) in rem_info()
409 get_info(major_t maj, minor_t min) in get_info()
555 pushp->sap_minor = (minor_t)atol(wp); in parse_line()
568 pushp->sap_lastminor = (minor_t)atol(wp); in parse_line()
/titanic_44/usr/src/cmd/modload/
H A Dplcysubr.h48 int parse_minor_range(const char *, minor_t *, minor_t *, char *);
/titanic_44/usr/src/uts/sun4v/io/
H A Dds_snmp.c363 static minor_t
368 minor_t minor; in ds_snmp_get_minor()
392 ds_snmp_rel_minor(minor_t minor) in ds_snmp_rel_minor()
410 ds_snmp_is_open(minor_t minor) in ds_snmp_is_open()
429 minor_t minor; in ds_snmp_create_state()
470 minor_t minor; in ds_snmp_destroy_state()
543 minor_t minor; in ds_snmp_read()
649 minor_t minor; in ds_snmp_write()
764 minor_t minor; in ds_snmp_ioctl()
899 minor_t minor; in ds_snmp_unreg_handler()
[all …]
/titanic_44/usr/src/uts/common/os/
H A Dddi.c112 minor_t
116 return ((minor_t)(dev & MAXMIN64)); in getminor()
118 return ((minor_t)(dev & MAXMIN)); in getminor()
126 minor_t
130 return ((minor_t)(dev & MAXMIN64)); in geteminor()
132 return ((minor_t)(dev & MAXMIN)); in geteminor()
193 makedevice(major_t maj, minor_t minor) in makedevice()
209 minor_t minor_d; in cmpdev()
227 minor_t minor_d; in expdev()
/titanic_44/usr/src/head/
H A Dpkgstrct.h49 #define BADMINOR (minor_t)ULONG_MAX
62 minor_t minor;
/titanic_44/usr/src/uts/common/sys/rsm/
H A Drsm.h230 minor_t rnum; /* segment's resource number */
237 minor_t rnum;
271 minor_t rnum; /* segment resource number */
291 minor_t rnum; /* segment resource number */

12345678910>>...12