Home
last modified time | relevance | path

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

12345678910>>...12

/illumos-gate/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.h94 minor_t minor;
117 static minor_t pshot_minor_encode(int, minor_t);
118 static int pshot_minor_decode_inst(minor_t);
119 static minor_t pshot_minor_decode_nodenum(minor_t);
168 static int pshot_devctl(pshot_t *, minor_t, int, intptr_t, int, cred_t *,
170 static int pshot_testctl(pshot_t *, minor_t, int, intptr_t, int, cred_t *,
H A Dptms.h46 minor_t pt_minor; /* Minor number of this pty */
111 extern struct pt_ttys *ptms_minor2ptty(minor_t);
113 extern int ptms_minor_valid(minor_t ptmin, uid_t *uid, gid_t *gid);
114 extern int ptms_minor_exists(minor_t ptmin);
115 extern void ptms_set_owner(minor_t ptmin, uid_t uid, gid_t gid);
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 Dkstr.h43 extern int kstr_open(major_t, minor_t, vnode_t **, int *);
51 extern int kstr_autopush(int, major_t *, minor_t *, minor_t *, uint_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 Dwscons.h38 extern int wcvnget(minor_t, vnode_t **);
39 extern void wcvnrele(minor_t, vnode_t *);
/illumos-gate/usr/src/uts/common/io/
H A Dptms_conf.c231 static minor_t ptms_grow(void);
340 minor_t dminor; in pt_ttys_alloc()
374 dminor = (minor_t)(uintptr_t) in pt_ttys_alloc()
414 ptms_minor2ptty(minor_t dminor) in ptms_minor2ptty()
430 ptms_set_owner(minor_t dminor, uid_t ruid, gid_t rgid) in ptms_set_owner()
462 ptms_minor_valid(minor_t dminor, uid_t *ruid, gid_t *rgid) in ptms_minor_valid()
507 ptms_minor_exists(minor_t dminor) in ptms_minor_exists()
566 static minor_t
569 minor_t old_size = ptms_nslots; in ptms_grow()
570 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 Deventfd.c60 minor_t minor = getminor(*devp); in eventfd_open()
67 minor = (minor_t)(uintptr_t)vmem_alloc(eventfd_minor, 1, in eventfd_open()
91 minor_t minor = getminor(dev); in eventfd_read()
155 minor_t minor = getminor(dev); in eventfd_write()
214 minor_t minor = getminor(dev); in eventfd_poll()
242 minor_t minor = getminor(dev); in eventfd_ioctl()
267 minor_t minor = getminor(dev); in eventfd_close()
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.c57 kstr_open(major_t maj, minor_t min, vnode_t **vpp, int *fd) in kstr_open()
217 kstr_autopush(int op, major_t *maj, minor_t *min, minor_t *lastmin, in kstr_autopush()
275 *min = (minor_t)-1; in kstr_autopush()
310 if (*min == (minor_t)-1) { in kstr_autopush()
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_ddi.c66 minor_t
70 return ((minor_t)(dev & MAXMIN64)); in getminor()
72 return ((minor_t)(dev & MAXMIN)); in getminor()
81 makedevice(major_t maj, minor_t minor) in makedevice()
103 minor_t minor = dev & L_MAXMIN; in cmpldev()
/illumos-gate/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);
/illumos-gate/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);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmkdev.c43 __makedev(const int version, const major_t majdev, const minor_t mindev) in __makedev()
145 minor_t
150 return ((minor_t)NODEV); in __minor()
162 return ((minor_t)NODEV); in __minor()
/illumos-gate/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()
152 zfs_onexit_add_cb(minor_t minor, void (*func)(void *), void *data, in zfs_onexit_add_cb()
199 zfs_onexit_del_cb(minor_t minor, uint64_t action_handle, boolean_t fire) in zfs_onexit_del_cb()
231 zfs_onexit_cb_data(minor_t minor, uint64_t action_handle, void **data) in zfs_onexit_cb_data()
/illumos-gate/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;
/illumos-gate/usr/src/cmd/mknod/
H A Dmknod.c69 minor_t minno; in main()
104 minno = (minor_t)number(argv[4]); in main()
105 if (minno == (minor_t)-1 || minno > MAXMIN) { in main()
/illumos-gate/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()
/illumos-gate/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 …]
/illumos-gate/usr/src/uts/common/io/ksensor/
H A Dksensor_drv.c41 if (ddi_create_minor_node(ksensor_dip, name, S_IFCHR, (minor_t)id, in ksensor_create_cb()
76 ksensor_ioctl_kind(minor_t min, intptr_t arg, int mode) in ksensor_ioctl_kind()
93 ksensor_ioctl_scalar(minor_t min, intptr_t arg, int mode) in ksensor_ioctl_scalar()
113 minor_t m; in ksensor_ioctl()
/illumos-gate/usr/src/cmd/modload/
H A Dplcysubr.h46 int parse_minor_range(const char *, minor_t *, minor_t *, char *);
/illumos-gate/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()

12345678910>>...12