Searched refs:minor (Results 1 - 25 of 512) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libtecla/common/
H A Dversion.c14 * minor int * The minor version number of the library
15 * will be assigned to *minor. This number is
24 void libtecla_version(int *major, int *minor, int *micro) argument
28 if(minor)
29 *minor = TECLA_MINOR_VER;
/illumos-gate/usr/src/uts/common/sys/usb/clients/hid/
H A Dhidminor.h46 * So we change minor node numbering scheme to be:
47 * external node minor num == instance << 1
48 * internal node minor num == instance << 1 | 0x1
56 #define HID_MINOR_MAKE_INTERNAL(minor) \
57 ((minor) | HID_MINOR_INTERNAL)
59 #define HID_IS_INTERNAL_OPEN(minor) \
60 (((minor) & HID_MINOR_INTERNAL))
62 #define HID_MINOR_TO_INSTANCE(minor) \
63 (((minor) & HID_MINOR_INSTANCE_MASK) >> \
/illumos-gate/usr/src/cmd/devfsadm/sparc/
H A Dmisc_link_sparc.c38 static int ddi_other(di_minor_t minor, di_node_t node);
39 static int diskette(di_minor_t minor, di_node_t node);
40 static int ecpp_create(di_minor_t minor, di_node_t node);
41 static int mc_node(di_minor_t minor, di_node_t node);
42 static int starcat_sbbc_node(di_minor_t minor, di_node_t node);
43 static int lom(di_minor_t minor, di_node_t node);
44 static int ntwdt_create(di_minor_t minor, di_node_t node);
45 static int bmc(di_minor_t minor, di_node_t node);
78 * Handles minor node type "ddi_other"
83 ddi_other(di_minor_t minor, di_node_ argument
104 diskette(di_minor_t minor, di_node_t node) argument
129 ecpp_create(di_minor_t minor, di_node_t node) argument
165 mc_node(di_minor_t minor, di_node_t node) argument
204 starcat_sbbc_node(di_minor_t minor, di_node_t node) argument
220 lom(di_minor_t minor, di_node_t node) argument
230 ntwdt_create(di_minor_t minor, di_node_t node) argument
240 bmc(di_minor_t minor, di_node_t node) argument
[all...]
/illumos-gate/usr/src/cmd/devfsadm/i386/
H A Dmisc_link_i386.c39 static int lp(di_minor_t minor, di_node_t node);
40 static int serial_dialout(di_minor_t minor, di_node_t node);
41 static int serial(di_minor_t minor, di_node_t node);
42 static int diskette(di_minor_t minor, di_node_t node);
43 static int vt00(di_minor_t minor, di_node_t node);
44 static int kdmouse(di_minor_t minor, di_node_t node);
45 static int ipmi(di_minor_t minor, di_node_t node);
46 static int smbios(di_minor_t minor, di_node_t node);
47 static int agp_process(di_minor_t minor, di_node_t node);
48 static int drm_node(di_minor_t minor, di_node_
185 vt00(di_minor_t minor, di_node_t node) argument
198 diskette(di_minor_t minor, di_node_t node) argument
244 lp(di_minor_t minor, di_node_t node) argument
291 serial(di_minor_t minor, di_node_t node) argument
323 serial_dialout(di_minor_t minor, di_node_t node) argument
347 kdmouse(di_minor_t minor, di_node_t node) argument
354 ipmi(di_minor_t minor, di_node_t node) argument
365 smbios(di_minor_t minor, di_node_t node) argument
372 agp_process(di_minor_t minor, di_node_t node) argument
496 drm_node(di_minor_t minor, di_node_t node) argument
571 mc_node(di_minor_t minor, di_node_t node) argument
605 xsvc(di_minor_t minor, di_node_t node) argument
624 srn(di_minor_t minor, di_node_t node) argument
643 ucode(di_minor_t minor, di_node_t node) argument
650 heci(di_minor_t minor, di_node_t node) argument
[all...]
H A Dxen_link.c42 static int xdt(di_minor_t minor, di_node_t node);
91 devxen(di_minor_t minor, di_node_t node) argument
95 (void) snprintf(buf, sizeof (buf), "xen/%s", di_minor_name(minor));
96 (void) devfsadm_mklink(buf, node, minor, 0);
102 xdt(di_minor_t minor, di_node_t node) argument
104 char *mname = di_minor_name(minor);
108 (void) devfsadm_mklink(path, node, minor, 0);
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dsysmacros.h38 * Major/minor device constructing/busting macros.
47 /* minor part of a device */
48 #define minor(x) ((int)((x)&0377)) macro
/illumos-gate/usr/src/cmd/devfsadm/
H A Dvscan_link.c33 static int vscan(di_minor_t minor, di_node_t node);
49 vscan(di_minor_t minor, di_node_t node) argument
51 char *mname = di_minor_name(minor);
55 (void) devfsadm_mklink(path, node, minor, 0);
H A Dzfs_link.c37 static int zfs(di_minor_t minor, di_node_t node);
54 zfs(di_minor_t minor, di_node_t node) argument
58 (void) strcpy(mn, di_minor_name(minor));
61 (void) devfsadm_mklink(ZFS_DRIVER, node, minor, 0);
H A Dzut_link.c37 static int zut(di_minor_t minor, di_node_t node);
54 zut(di_minor_t minor, di_node_t node) argument
56 if (strcmp(di_minor_name(minor), ZUT_DRIVER) == 0)
57 (void) devfsadm_mklink(ZUT_DRIVER, node, minor, 0);
H A Dmisc_link.c37 static int display(di_minor_t minor, di_node_t node);
38 static int parallel(di_minor_t minor, di_node_t node);
39 static int node_slash_minor(di_minor_t minor, di_node_t node);
40 static int driver_minor(di_minor_t minor, di_node_t node);
41 static int node_name(di_minor_t minor, di_node_t node);
42 static int minor_name(di_minor_t minor, di_node_t node);
43 static int wifi_minor_name(di_minor_t minor, di_node_t node);
44 static int conskbd(di_minor_t minor, di_node_t node);
45 static int consms(di_minor_t minor, di_node_t node);
46 static int power_button(di_minor_t minor, di_node_
260 display(di_minor_t minor, di_node_t node) argument
288 parallel(di_minor_t minor, di_node_t node) argument
318 ses_callback(di_minor_t minor, di_node_t node) argument
353 node_slash_minor(di_minor_t minor, di_node_t node) argument
366 driver_minor(di_minor_t minor, di_node_t node) argument
381 node_name(di_minor_t minor, di_node_t node) argument
383 (void) devfsadm_mklink(di_node_name(node), node, minor, 0); local
392 minor_name(di_minor_t minor, di_node_t node) argument
413 wifi_minor_name(di_minor_t minor, di_node_t node) argument
425 conskbd(di_minor_t minor, di_node_t node) argument
432 consms(di_minor_t minor, di_node_t node) argument
439 power_button(di_minor_t minor, di_node_t node) argument
446 fc_port(di_minor_t minor, di_node_t node) argument
480 printer_create(di_minor_t minor, di_node_t node) argument
517 se_hdlc_create(di_minor_t minor, di_node_t node) argument
555 gpio(di_minor_t minor, di_node_t node) argument
592 ppm(di_minor_t minor, di_node_t node) argument
603 av_create(di_minor_t minor, di_node_t node) argument
634 tsalarm_create(di_minor_t minor, di_node_t node) argument
651 ntwdt_create(di_minor_t minor, di_node_t node) argument
658 zcons_create(di_minor_t minor, di_node_t node) argument
682 cpuid(di_minor_t minor, di_node_t node) argument
693 glvc(di_minor_t minor, di_node_t node) argument
712 kmdrv_create(di_minor_t minor, di_node_t node) argument
[all...]
H A Ddtrace_link.c31 static int dtrace(di_minor_t minor, di_node_t node);
32 static int dtrace_provider(di_minor_t minor, di_node_t node);
56 dtrace(di_minor_t minor, di_node_t node) argument
58 char *mname = di_minor_name(minor);
62 (void) devfsadm_mklink(path, node, minor, 0);
68 dtrace_provider(di_minor_t minor, di_node_t node) argument
70 char *mname = di_minor_name(minor);
74 (void) devfsadm_mklink(path, node, minor, 0);
H A Dfssnap_link.c38 static int fssnap(di_minor_t minor, di_node_t node);
56 fssnap(di_minor_t minor, di_node_t node) argument
64 (void) strcpy(mn, di_minor_name(minor));
67 (void) devfsadm_mklink(SNAP_CTL_NAME, node, minor, 0);
69 dev = di_minor_devt(minor);
71 (int)minor(dev));
73 (int)minor(dev));
85 (void) devfsadm_mklink(path, node, minor, 0);
/illumos-gate/usr/src/ucbhead/sys/
H A Dsysmacros.h41 * Major/minor device constructing/busting macros.
52 /* minor part of a device */
53 #define minor(x) ((int)((x)&0377)) macro
/illumos-gate/usr/src/uts/common/sys/usb/clients/ugen/
H A Dugend.h54 #define UGEN_MINOR_TO_INSTANCE(minor) \
55 (((minor) & UGEN_MINOR_INSTANCE_MASK) >> \
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dname.c67 OM_uint32 *minor, /* Mechanism status */
74 if (minor == 0 || equal == 0)
77 *minor = DH_SUCCESS;
80 *minor = DH_BADARG_FAILURE;
96 OM_uint32* minor, /* Mechanism status */
103 if (minor == 0 || output == 0)
109 *minor = DH_SUCCESS;
114 *minor = DH_NOMEM_FAILURE;
128 * if ((*minor = __OID_copy(name_type, __DH_GSS_C_NT_NETNAME))
148 do_netname_nametype(OM_uint32 *minor, cha argument
66 __dh_gss_compare_name(void *ctx, OM_uint32 *minor, gss_name_t name1, gss_name_t name2, int *equal ) argument
95 __dh_gss_display_name(void * ctx, OM_uint32* minor, gss_name_t name, gss_buffer_t output, gss_OID *name_type ) argument
168 do_uid_nametype(OM_uint32 *minor, uid_t uid, gss_name_t *output) argument
196 do_username_nametype(OM_uint32 *minor, char *uname, gss_name_t *output) argument
302 do_hostbase_nametype(OM_uint32 *minor, char *input, gss_name_t *output) argument
331 do_exported_netname(dh_context_t ctx, OM_uint32 *minor, gss_buffer_t input, gss_name_t *output ) argument
442 __dh_gss_import_name(void *ctx, OM_uint32 *minor, gss_buffer_t input, gss_OID name_type, gss_name_t *output ) argument
526 __dh_gss_release_name(void *ctx, OM_uint32 *minor, gss_name_t *name) argument
554 __dh_gss_inquire_names_for_mech(void *ctx, OM_uint32 *minor, gss_OID mech, gss_OID_set *names) argument
588 __dh_pname_to_uid(void *ctx, OM_uint32 *minor, const gss_name_t pname, uid_t *uid ) argument
634 __dh_gss_export_name(void *ctx, OM_uint32 *minor, const gss_name_t input_name, gss_buffer_t exported_name ) argument
773 __dh_gss_internal_release_oid(void *ctx, OM_uint32 *minor, gss_OID *oid) argument
[all...]
H A Dcred.c55 OM_uint32 *minor, /* Mechanism status */
70 if (minor == 0 || cred == 0)
74 *minor = 0;
112 *minor = DH_NOMEM_FAILURE;
126 if (mechs && (*minor = __OID_to_OID_set(mechs, cntx->mech))) {
133 if ((*minor = __dh_install_cred(dh_cred)) != DH_SUCCESS) {
158 * __dh_gss_add_cred(void * ctx, OM_uint32 *minor, gss_cred_id_t cred_in,
173 OM_uint32 *minor, /* Mechanism status */
186 if (minor == 0)
191 *minor
54 __dh_gss_acquire_cred(void *ctx, OM_uint32 *minor, gss_name_t principal, OM_uint32 expire_req, gss_OID_set desired_mechs, gss_cred_usage_t usage, gss_cred_id_t *cred, gss_OID_set *mechs, OM_uint32 *expire_rec ) argument
172 __dh_gss_inquire_cred(void *ctx, OM_uint32 *minor, gss_cred_id_t cred, gss_name_t *name, OM_uint32 *lifetime, gss_cred_usage_t *usage, gss_OID_set *mechs ) argument
245 __dh_gss_inquire_cred_by_mech(void *ctx, OM_uint32 *minor, gss_cred_id_t cred, gss_OID mech, gss_name_t *name, OM_uint32 *init_time, OM_uint32 *accept_time, gss_cred_usage_t *usage ) argument
291 __dh_gss_release_cred(void *ctx, OM_uint32 *minor, gss_cred_id_t *cred ) argument
[all...]
H A Dseq.c58 * gss_context_cntl(OM_uint32 *minor, gss_ctx_id_t ctx, int cmd, void *argp);
65 __context_debug_set_next_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) argument
70 if (minor == 0)
73 *minor = DH_SUCCESS;
89 __context_debug_get_next_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) argument
93 if (minor == 0)
99 *minor = DH_SUCCESS;
108 __context_debug_set_last_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) argument
113 if (minor == 0)
116 *minor
133 __context_debug_get_last_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) argument
165 __context_debug_print_seq_hist(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) argument
188 __context_debug_get_hist_size(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) argument
205 __context_debug(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) argument
360 OM_uint32 minor; local
[all...]
/illumos-gate/usr/src/lib/libgss/
H A Dg_userok.c39 compare_names(OM_uint32 *minor, argument
59 status = gss_import_name(minor,
67 status = gss_canonicalize_name(minor,
76 status = gss_compare_name(minor,
93 __gss_userok(OM_uint32 *minor, argument
104 if (minor == NULL || user_ok == NULL)
111 *minor = GSS_S_COMPLETE;
126 major = mech->__gss_userok(mech->context, minor, mechName,
129 major = compare_names(minor, intName->mech_type,
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_onexit.h55 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,
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dpname_to_uid.c56 krb5_pname_to_uid(minor, pname, uidOut)
57 OM_uint32 *minor;
68 *minor = (OM_uint32) G_VALIDATE_FAILED;
74 *minor = stat;
H A Dset_ccache.c48 OM_uint32 minor = 0; local
77 minor = k5_setspecific(K5_KEY_GSS_KRB5_SET_CCACHE_OLD_NAME, gss_out_name);
78 if (minor) {
81 err = minor;
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dacpinex.h46 #define ACPINEX_IS_DEVCTL(minor) \
47 (((minor) & ACPINEX_MINOR_TYPE_MASK) == ACPINEX_DEVCTL_MINOR)
49 #define ACPINEX_GET_INSTANCE(minor) ((minor) >> ACPINEX_INSTANCE_SHIFT)
/illumos-gate/usr/src/uts/intel/os/
H A Ddacf.conf34 # pushmod is the STREAMS module to be pushed on the minor node specified by
42 # is the STREAMS module to be pushed on the minor node specified by
52 minor-nodetype="ddi_keyboard" consconfig_dacf:kb_config post-attach -
53 minor-nodetype="ddi_keyboard" consconfig_dacf:kb_config pre-detach -
65 minor-nodetype="ddi_network" net_dacf:net_config post-attach -
66 minor-nodetype="ddi_network" net_dacf:net_config pre-detach -
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_version.c42 uint64_t minor; local
51 minor = (uint64_t)p1275_cell2int(ci[5]);
53 status = hv_api_set_version(api_group, major, minor, &supported_minor);
67 uint64_t minor; local
75 status = hv_api_get_version(api_group, &major, &minor);
79 ci[6] = p1275_int2cell(minor);
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvldc_impl.h56 /* get port number from minor number */
57 #define VLDCPORT(vldcp, minor) \
58 ((vldcp)->minor_tbl[(minor) & VLDC_MINOR_MASK].portno)
60 /* get minor table entry from minor number */
61 #define VLDCMINOR(vldcp, minor) \
62 (&((vldcp)->minor_tbl[(minor) & VLDC_MINOR_MASK]))
64 /* get instance number from minor number */
65 #define VLDCINST(minor) ((minor) >> VLDC_INST_SHIF
[all...]

Completed in 136 milliseconds

1234567891011>>