Home
last modified time | relevance | path

Searched refs:minor (Results 1 – 25 of 552) sorted by relevance

12345678910>>...23

/titanic_41/usr/src/cmd/devfsadm/
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_t node);
[all …]
H A Dcfg_link.c53 static int scsi_cfg_creat_cb(di_minor_t minor, di_node_t node);
54 static int sbd_cfg_creat_cb(di_minor_t minor, di_node_t node);
55 static int usb_cfg_creat_cb(di_minor_t minor, di_node_t node);
57 static int pci_cfg_creat_cb(di_minor_t minor, di_node_t node);
58 static int ib_cfg_creat_cb(di_minor_t minor, di_node_t node);
59 static int sata_cfg_creat_cb(di_minor_t minor, di_node_t node);
60 static int sdcard_cfg_creat_cb(di_minor_t minor, di_node_t node);
160 scsi_cfg_creat_cb(di_minor_t minor, di_node_t node) in scsi_cfg_creat_cb() argument
170 mn = di_minor_name(minor); in scsi_cfg_creat_cb()
197 (void) devfsadm_mklink(path, node, minor, 0); in scsi_cfg_creat_cb()
[all …]
H A Ddisk_link.c62 static int disk_callback_chan(di_minor_t minor, di_node_t node);
63 static int disk_callback_nchan(di_minor_t minor, di_node_t node);
64 static int disk_callback_blkdev(di_minor_t minor, di_node_t node);
65 static int disk_callback_wwn(di_minor_t minor, di_node_t node);
66 static int disk_callback_xvmd(di_minor_t minor, di_node_t node);
67 static int disk_callback_fabric(di_minor_t minor, di_node_t node);
68 static int disk_callback_sas(di_minor_t minor, di_node_t node);
69 static void disk_common(di_minor_t minor, di_node_t node, char *disk,
71 static char *diskctrl(di_node_t node, di_minor_t minor);
72 static int reserved_links_exist(di_node_t node, di_minor_t minor, int nflags);
[all …]
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) in fssnap() argument
64 (void) strcpy(mn, di_minor_name(minor)); in fssnap()
67 (void) devfsadm_mklink(SNAP_CTL_NAME, node, minor, 0); in fssnap()
69 dev = di_minor_devt(minor); in fssnap()
71 (int)minor(dev)); in fssnap()
73 (int)minor(dev)); in fssnap()
85 (void) devfsadm_mklink(path, node, minor, 0); in fssnap()
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) in dtrace() argument
58 char *mname = di_minor_name(minor); in dtrace()
62 (void) devfsadm_mklink(path, node, minor, 0); in dtrace()
68 dtrace_provider(di_minor_t minor, di_node_t node) in dtrace_provider() argument
70 char *mname = di_minor_name(minor); in dtrace_provider()
74 (void) devfsadm_mklink(path, node, minor, 0); in dtrace_provider()
H A Dlofi_link.c38 static int lofi(di_minor_t minor, di_node_t node);
80 lofi(di_minor_t minor, di_node_t node) in lofi() argument
88 (void) strcpy(mn, di_minor_name(minor)); in lofi()
91 (void) devfsadm_mklink(LOFI_CTL_NAME, node, minor, 0); in lofi()
93 dev = di_minor_devt(minor); in lofi()
95 (int)minor(dev)); in lofi()
97 (int)minor(dev)); in lofi()
109 (void) devfsadm_mklink(path, node, minor, 0); in lofi()
H A Dsgen_link.c40 static int sgen_callback(di_minor_t minor, di_node_t node);
41 static char *find_ctrlr(di_node_t node, di_minor_t minor);
64 sgen_callback(di_minor_t minor, di_node_t node) in sgen_callback() argument
72 if ((cnum = find_ctrlr(node, minor)) == NULL) in sgen_callback()
109 di_minor_name(minor), cnum, wwn, lun64); in sgen_callback()
117 di_minor_name(minor), cnum, wwn, sl); in sgen_callback()
121 di_minor_name(minor), cnum, wwn, lun64); in sgen_callback()
136 di_minor_name(minor), cnum, buf) >= sizeof (lpath)) in sgen_callback()
155 di_minor_name(minor), cnum, buf, lun) >= sizeof (lpath)) in sgen_callback()
170 di_minor_name(minor), cnum, targ, lun) >= sizeof (lpath)) in sgen_callback()
[all …]
/titanic_41/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_t node);
[all …]
/titanic_41/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);
83 ddi_other(di_minor_t minor, di_node_t node) in ddi_other() argument
87 char *mn = di_minor_name(minor); in ddi_other()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dname.c67 OM_uint32 *minor, /* Mechanism status */ in __dh_gss_compare_name() argument
74 if (minor == 0 || equal == 0) in __dh_gss_compare_name()
77 *minor = DH_SUCCESS; in __dh_gss_compare_name()
80 *minor = DH_BADARG_FAILURE; in __dh_gss_compare_name()
96 OM_uint32* minor, /* Mechanism status */ in __dh_gss_display_name() argument
103 if (minor == 0 || output == 0) in __dh_gss_display_name()
109 *minor = DH_SUCCESS; in __dh_gss_display_name()
114 *minor = DH_NOMEM_FAILURE; in __dh_gss_display_name()
148 do_netname_nametype(OM_uint32 *minor, char *input, gss_name_t *output) in do_netname_nametype() argument
153 *minor = DH_SUCCESS; in do_netname_nametype()
[all …]
H A Dseq.c65 __context_debug_set_next_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) in __context_debug_set_next_seqno() argument
70 if (minor == 0) in __context_debug_set_next_seqno()
73 *minor = DH_SUCCESS; in __context_debug_set_next_seqno()
89 __context_debug_get_next_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) in __context_debug_get_next_seqno() argument
93 if (minor == 0) in __context_debug_get_next_seqno()
99 *minor = DH_SUCCESS; in __context_debug_get_next_seqno()
108 __context_debug_set_last_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) in __context_debug_set_last_seqno() argument
113 if (minor == 0) in __context_debug_set_last_seqno()
116 *minor = DH_SUCCESS; in __context_debug_set_last_seqno()
133 __context_debug_get_last_seqno(OM_uint32 *minor, gss_ctx_id_t cntx, void *argp) in __context_debug_get_last_seqno() argument
[all …]
H A Dcred.c55 OM_uint32 *minor, /* Mechanism status */ in __dh_gss_acquire_cred() argument
70 if (minor == 0 || cred == 0) in __dh_gss_acquire_cred()
74 *minor = 0; in __dh_gss_acquire_cred()
112 *minor = DH_NOMEM_FAILURE; in __dh_gss_acquire_cred()
126 if (mechs && (*minor = __OID_to_OID_set(mechs, cntx->mech))) { in __dh_gss_acquire_cred()
133 if ((*minor = __dh_install_cred(dh_cred)) != DH_SUCCESS) { in __dh_gss_acquire_cred()
173 OM_uint32 *minor, /* Mechanism status */ in __dh_gss_inquire_cred() argument
186 if (minor == 0) in __dh_gss_inquire_cred()
191 *minor = DH_SUCCESS; in __dh_gss_inquire_cred()
205 if ((*minor = __dh_validate_cred(crid)) != DH_SUCCESS) in __dh_gss_inquire_cred()
[all …]
H A DMICwrap.c50 OM_uint32 *minor, /* Mechanism status */ in __dh_gss_sign() argument
68 if (minor == 0 || token == GSS_C_NO_BUFFER) in __dh_gss_sign()
72 if ((*minor = __dh_validate_context(cntx)) != DH_SUCCESS) in __dh_gss_sign()
102 if ((*minor = __make_token(token, message, &tok, &keys)) in __dh_gss_sign()
120 OM_uint32 *minor, /* Mechanism status */ in __dh_gss_verify() argument
135 if (minor == 0) in __dh_gss_verify()
139 if ((*minor = __dh_validate_context(cntx)) != DH_SUCCESS) in __dh_gss_verify()
155 if ((*minor = __get_token(token, message, in __dh_gss_verify()
157 switch (*minor) { in __dh_gss_verify()
212 OM_uint32 *minor, /* Mechanism status */ in __dh_gss_seal() argument
[all …]
H A Dcontext_establish.c198 OM_uint32 *minor, /* Mechanism status */ in validate_cred() argument
204 *minor = DH_SUCCESS; in validate_cred()
212 *minor = DH_NO_SECRET; in validate_cred()
222 *minor = DH_NO_PRINCIPAL; in validate_cred()
361 OM_uint32 *minor, /* Mechanism status */ in __dh_gss_accept_sec_context() argument
389 if (minor == NULL || output == NULL || gss_ctx == NULL) in __dh_gss_accept_sec_context()
393 *minor = 0; in __dh_gss_accept_sec_context()
417 stat = validate_cred(dhctx, minor, in __dh_gss_accept_sec_context()
428 if (*minor = __get_ap_token(input, dhctx->mech, &token, &sig)) { in __dh_gss_accept_sec_context()
440 *minor = DH_NOT_LOCAL; in __dh_gss_accept_sec_context()
[all …]
H A Dcontext.c57 OM_uint32 * minor, /* GSS minor status */ in __dh_gss_context_time() argument
67 if (minor == 0) in __dh_gss_context_time()
74 if ((*minor = __dh_validate_context(cntx)) != DH_SUCCESS) in __dh_gss_context_time()
97 OM_uint32 *minor, /* Mechanism status */ in __dh_gss_delete_sec_context() argument
112 if (minor == 0) in __dh_gss_delete_sec_context()
131 if ((*minor = __dh_validate_context(cntx)) != DH_SUCCESS) in __dh_gss_delete_sec_context()
138 *minor = __dh_remove_context(cntx); in __dh_gss_delete_sec_context()
161 __dh_gss_export_sec_context(void *ctx, OM_uint32 *minor, in __dh_gss_export_sec_context() argument
169 __dh_gss_import_sec_context(void * ctx, OM_uint32 *minor, in __dh_gss_import_sec_context() argument
181 OM_uint32 *minor, /* Mechanism status */ in __dh_gss_inquire_context() argument
[all …]
/titanic_41/usr/src/lib/libgss/
H A Dgssd_pname_to_uid.c124 OM_uint32 minor, major; in gsscred_expname_to_unix_cred_ext() local
138 if (gss_import_name(&minor, expName, (gss_OID)GSS_C_NT_EXPORT_NAME, in gsscred_expname_to_unix_cred_ext()
148 major = gss_display_name(&minor, intName, in gsscred_expname_to_unix_cred_ext()
152 (void) gss_release_buffer(&minor, &namebuf); in gsscred_expname_to_unix_cred_ext()
157 major = gss_pname_to_uid(&minor, intName, in gsscred_expname_to_unix_cred_ext()
171 (void) gss_release_name(&minor, &intName); in gsscred_expname_to_unix_cred_ext()
179 (void) gss_release_name(&minor, &intName); in gsscred_expname_to_unix_cred_ext()
268 OM_uint32 major, minor; in make_name_str() local
273 if (major = gss_canonicalize_name(&minor, intName, in make_name_str()
277 major = gss_export_name(&minor, canonName, &expName); in make_name_str()
[all …]
H A Dg_userok.c39 compare_names(OM_uint32 *minor, in compare_names() argument
59 status = gss_import_name(minor, in compare_names()
67 status = gss_canonicalize_name(minor, in compare_names()
76 status = gss_compare_name(minor, in compare_names()
93 __gss_userok(OM_uint32 *minor, in __gss_userok() argument
104 if (minor == NULL || user_ok == NULL) in __gss_userok()
111 *minor = GSS_S_COMPLETE; in __gss_userok()
126 major = mech->__gss_userok(mech->context, minor, mechName, in __gss_userok()
129 major = compare_names(minor, intName->mech_type, in __gss_userok()
/titanic_41/usr/src/uts/common/io/
H A Dvcons.c105 #define VT_IS_DAEMON(minor) ((minor) == VT_DAEMON_MINOR) argument
131 static uint_t vt_minor2arg(minor_t minor);
248 vc_waitactive_reply(int minor, boolean_t close) in vc_waitactive_reply() argument
259 if ((close && tmp->wa_msg_minor == minor) || in vc_waitactive_reply()
260 (!close && tmp->wa_wait_minor == minor)) { in vc_waitactive_reply()
335 vt_open(minor_t minor, queue_t *rq, cred_t *crp) in vt_open() argument
339 if (!vt_minor_valid(minor)) in vt_open()
342 pvc = vt_minor2vc(minor); in vt_open()
364 if (vc_active_console == VT_MINOR_INVALID && minor != VT_DAEMON_MINOR) in vt_open()
365 if (minor == 0 || consmode == CONS_KFB) { in vt_open()
[all …]
H A Dramdisk.c132 minor_t minor; in rd_is_busy() local
136 for (minor = 1; minor <= rd_max_disks; ++minor) { in rd_is_busy()
137 if ((rsp = ddi_get_soft_state(rd_statep, minor)) != NULL && in rd_is_busy()
151 minor_t minor; in rd_find_free_minor() local
154 for (minor = 1; minor <= rd_max_disks; ++minor) { in rd_find_free_minor()
155 if (ddi_get_soft_state(rd_statep, minor) == NULL) { in rd_find_free_minor()
156 return (minor); in rd_find_free_minor()
170 minor_t minor; in rd_find_named_disk() local
174 for (minor = 1; minor <= rd_max_disks; ++minor) { in rd_find_named_disk()
175 if ((rsp = ddi_get_soft_state(rd_statep, minor)) != NULL && in rd_find_named_disk()
[all …]
/titanic_41/usr/src/uts/sun4v/io/
H A Dds_snmp.c368 minor_t minor; in ds_snmp_get_minor() local
379 minor = ndx * DS_BITS_IN_UINT64 + i + 1; in ds_snmp_get_minor()
381 return (minor); in ds_snmp_get_minor()
392 ds_snmp_rel_minor(minor_t minor) in ds_snmp_rel_minor() argument
396 ndx = (minor - 1) / DS_BITS_IN_UINT64; in ds_snmp_rel_minor()
397 i = (minor - 1) % DS_BITS_IN_UINT64; in ds_snmp_rel_minor()
410 ds_snmp_is_open(minor_t minor) in ds_snmp_is_open() argument
415 ndx = (minor - 1) / DS_BITS_IN_UINT64; in ds_snmp_is_open()
416 i = (minor - 1) % DS_BITS_IN_UINT64; in ds_snmp_is_open()
429 minor_t minor; in ds_snmp_create_state() local
[all …]
/titanic_41/usr/src/lib/libpcp/common/
H A Dpcp_utils.c227 di_minor_t minor; in svc_name_to_glvc_dev_path() local
245 minor = di_minor_next(service_node, DI_NODE_NIL); in svc_name_to_glvc_dev_path()
247 while (minor != DI_NODE_NIL) { in svc_name_to_glvc_dev_path()
248 glvc_path = di_devfs_minor_path(minor); in svc_name_to_glvc_dev_path()
249 minor_name = di_minor_name(minor); in svc_name_to_glvc_dev_path()
261 minor = di_minor_next(service_node, minor); in svc_name_to_glvc_dev_path()
284 di_minor_t minor; in svc_name_to_vldc_dev_path() local
297 minor = di_minor_next(vldc_node, DI_NODE_NIL); in svc_name_to_vldc_dev_path()
299 while (minor != DI_NODE_NIL) { in svc_name_to_vldc_dev_path()
300 vldc_path = di_devfs_minor_path(minor); in svc_name_to_vldc_dev_path()
[all …]
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c80 di_minor_t minor, controller_t *cp);
81 static int add_cluster_devs(di_node_t node, di_minor_t minor,
84 di_node_t node, di_minor_t minor);
86 static int add_devs(di_node_t node, di_minor_t minor, void *arg);
93 static char *bus_type(di_node_t node, di_minor_t minor,
100 static char *ctype(di_node_t node, di_minor_t minor);
120 static int is_cluster_disk(di_node_t node, di_minor_t minor);
122 static int is_drive(di_minor_t minor);
123 static int is_zvol(di_node_t node, di_minor_t minor);
124 static int is_HBA(di_node_t node, di_minor_t minor);
[all …]
/titanic_41/usr/src/uts/common/xen/io/
H A Devtchn_dev.c80 #define EVTCHNDRV_MINOR2INST(minor) ((int)(minor)) argument
166 minor_t minor = getminor(dev); in evtchndrv_read() local
171 ep = EVTCHNDRV_INST2SOFTS(EVTCHNDRV_MINOR2INST(minor)); in evtchndrv_read()
243 minor_t minor = getminor(dev); in evtchndrv_write() local
249 ep = EVTCHNDRV_INST2SOFTS(EVTCHNDRV_MINOR2INST(minor)); in evtchndrv_write()
336 minor_t minor = getminor(dev); in evtchndrv_ioctl() local
341 ep = EVTCHNDRV_INST2SOFTS(EVTCHNDRV_MINOR2INST(minor)); in evtchndrv_ioctl()
449 minor_t minor = getminor(dev); in evtchndrv_poll() local
452 ep = EVTCHNDRV_INST2SOFTS(EVTCHNDRV_MINOR2INST(minor)); in evtchndrv_poll()
478 minor_t minor = getminor(*devp); in evtchndrv_open() local
[all …]
/titanic_41/usr/src/uts/common/sys/usb/clients/hid/
H A Dhidminor.h56 #define HID_MINOR_MAKE_INTERNAL(minor) \ argument
57 ((minor) | HID_MINOR_INTERNAL)
59 #define HID_IS_INTERNAL_OPEN(minor) \ argument
60 (((minor) & HID_MINOR_INTERNAL))
62 #define HID_MINOR_TO_INSTANCE(minor) \ argument
63 (((minor) & HID_MINOR_INSTANCE_MASK) >> \
/titanic_41/usr/src/cmd/prtconf/
H A Dpdevinfo.c338 di_minor_t minor = DI_MINOR_NIL; in i_find_target_node() local
340 while ((minor = di_minor_next(node, minor)) != DI_MINOR_NIL) { in i_find_target_node()
341 if (opts.o_devt == di_minor_devt(minor)) { in i_find_target_node()
417 minor_displayed(di_minor_t minor) in minor_displayed() argument
419 long data = (long)di_minor_private_get(minor); in minor_displayed()
424 minor_displayed_set(di_minor_t minor) in minor_displayed_set() argument
426 long data = (long)di_minor_private_get(minor); in minor_displayed_set()
428 di_minor_private_set(minor, (void *)data); in minor_displayed_set()
432 minor_displayed_clear(di_minor_t minor) in minor_displayed_clear() argument
434 long data = (long)di_minor_private_get(minor); in minor_displayed_clear()
[all …]

12345678910>>...23