/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | inq_names.c | 40 OM_uint32 major, minor; local 53 major = gss_create_empty_oid_set(minor_status, name_types); 54 if (major == GSS_S_COMPLETE) { 57 ((major = generic_gss_add_oid_set_member(minor_status, 61 ((major = generic_gss_add_oid_set_member(minor_status, 65 ((major = generic_gss_add_oid_set_member(minor_status, 69 ((major = generic_gss_add_oid_set_member(minor_status, 73 ((major = generic_gss_add_oid_set_member(minor_status, 77 ((major = generic_gss_add_oid_set_member(minor_status, 81 ((major = generic_gss_add_oid_set_member(minor_status, [all …]
|
H A D | inq_cred.c | 110 OM_uint32 major; local 112 if ((major = kg_get_defcred(minor_status, (gss_cred_id_t *)&cred)) && 113 GSS_ERROR(major)) { 115 return(major); 118 OM_uint32 major; local 120 major = krb5_gss_validate_cred(minor_status, cred_handle); 121 if (GSS_ERROR(major)) { 123 return(major);
|
H A D | init_sec_context.c | 1672 OM_uint32 major; in get_default_cred() local 1684 if (((major = kg_get_defcred(minor_status, cred_handle)) != NULL) && in get_default_cred() 1685 GSS_ERROR(major)) { in get_default_cred() 1689 return (major); in get_default_cred() 1701 major = load_root_cred_using_keytab(minor_status, in get_default_cred() 1704 if (major != GSS_S_COMPLETE) in get_default_cred() 1705 major = load_root_cred_using_keytab(minor_status, in get_default_cred() 1707 if (major != GSS_S_COMPLETE) in get_default_cred() 1708 major = load_root_cred_using_keytab(minor_status, in get_default_cred() 1711 if (major != GSS_S_COMPLETE) in get_default_cred() [all …]
|
/titanic_41/usr/src/lib/libgss/ |
H A D | gssd_pname_to_uid.c | 124 OM_uint32 minor, major; in gsscred_expname_to_unix_cred_ext() local 148 major = gss_display_name(&minor, intName, in gsscred_expname_to_unix_cred_ext() 150 if (major == GSS_S_COMPLETE) { in gsscred_expname_to_unix_cred_ext() 157 major = gss_pname_to_uid(&minor, intName, in gsscred_expname_to_unix_cred_ext() 159 if (major == GSS_S_COMPLETE) { in gsscred_expname_to_unix_cred_ext() 186 major = private_gsscred_expname_to_unix_cred(expName, uidOut, gidOut, in gsscred_expname_to_unix_cred_ext() 189 if (debug && major == GSS_S_COMPLETE) { in gsscred_expname_to_unix_cred_ext() 208 return (major); 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() [all …]
|
H A D | g_utils.c | 67 OM_uint32 major = GSS_S_COMPLETE; in __gss_read_qop_file() local 72 major = GSS_S_FAILURE; in __gss_read_qop_file() 80 major = GSS_S_FAILURE; in __gss_read_qop_file() 160 return (major); in __gss_read_qop_file() 171 OM_uint32 major = GSS_S_FAILURE; in __gss_qop_to_num() local 182 if ((major = __gss_read_qop_file()) != GSS_S_COMPLETE) in __gss_qop_to_num() 183 return (major); in __gss_qop_to_num() 204 OM_uint32 major; in __gss_num_to_qop() local 218 if ((major = __gss_read_qop_file()) != GSS_S_COMPLETE) in __gss_num_to_qop() 219 return (major); in __gss_num_to_qop() [all …]
|
H A D | g_imp_name.c | 193 OM_uint32 major, mechOidLen, nameLen, curLength; local 255 major = mech->gss_import_name(mech->context, minor, 259 if (major != GSS_S_COMPLETE) 262 major = generic_gss_copy_oid(minor, &mechOid, 264 if (major != GSS_S_COMPLETE) 267 return (major); 356 major = mech->gss_import_name(mech->context, minor, &expName, 358 if (major != GSS_S_COMPLETE) { 360 return (major); 363 major = generic_gss_copy_oid(minor, &mechOid, &unionName->mech_type); [all …]
|
/titanic_41/usr/src/cmd/mandoc/ |
H A D | mdoc_hash.c | 43 int i, j, major; in mdoc_hash_init() local 52 major = 12 * (tolower((unsigned char)p[1]) - 97); in mdoc_hash_init() 54 major = 12 * 26; in mdoc_hash_init() 57 if (UCHAR_MAX == table[major + j]) { in mdoc_hash_init() 58 table[major + j] = (unsigned char)i; in mdoc_hash_init() 69 int major, i, j; in mdoc_hash_find() local 77 major = 12 * (tolower((unsigned char)p[1]) - 97); in mdoc_hash_find() 79 major = 12 * 26; in mdoc_hash_find() 87 if (UCHAR_MAX == (i = table[major + j])) in mdoc_hash_find()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | modsubr.c | 75 major_valid(major_t major) in major_valid() argument 77 return (major != DDI_MAJOR_T_NONE && in major_valid() 78 (major >= 0 && major < devcnt)); in major_valid() 82 driver_installed(major_t major) in driver_installed() argument 84 return (major_valid(major) && devnamesp[major].dn_name != NULL); in driver_installed() 88 driver_active(major_t major) in driver_active() argument 90 return (driver_installed(major) && !(devnamesp[major].dn_flags & in driver_active() 95 mod_hold_dev_by_major(major_t major) in mod_hold_dev_by_major() argument 101 if (!driver_active(major)) in mod_hold_dev_by_major() 104 LOCK_DEV_OPS(&(devnamesp[major].dn_lock)); in mod_hold_dev_by_major() [all …]
|
H A D | devcfg.c | 779 major_t major = DDI_MAJOR_T_NONE; in bind_node() local 796 major = ddi_compatible_driver_major(dip, &p); in bind_node() 797 if (major == DDI_MAJOR_T_NONE) in bind_node() 800 devi->devi_major = major; in bind_node() 859 major_t major; in init_node() local 976 major = ddi_name_to_major(path); in init_node() 977 if (driver_active(major) && (major != DEVI(dip)->devi_major) && in init_node() 2204 major_t major; in find_sibling() local 2217 major = ddi_name_to_major(cname); in find_sibling() 2218 if (major == DDI_MAJOR_T_NONE) in find_sibling() [all …]
|
H A D | autoconf.c | 133 major_t major; in impl_create_root_class() local 141 if ((major = ddi_name_to_major("rootnex")) == DDI_MAJOR_T_NONE) in impl_create_root_class() 167 if (make_mbind(rootname, major, NULL, mb_hashtab) != 0) { in impl_create_root_class() 179 if (make_mbind(rootname, major, NULL, mb_hashtab) != 0) in impl_create_root_class() 365 major_t major; in create_devinfo_tree() local 384 major = ddi_name_to_major("rootnex"); in create_devinfo_tree() 385 ASSERT(major != DDI_MAJOR_T_NONE); in create_devinfo_tree() 386 DEVI(top_devinfo)->devi_major = major; in create_devinfo_tree() 387 devnamesp[major].dn_head = top_devinfo; in create_devinfo_tree()
|
H A D | instance.c | 341 in_set_instance(dev_info_t *dip, in_drv_t *dp, major_t major) in in_set_instance() argument 347 dp->ind_instance = in_next_instance(major); in in_set_instance() 410 major_t major; in in_assign_instance_block() local 444 major = ddi_driver_major(dip); in in_assign_instance_block() 504 instance_base = in_next_instance_block(major, nibp); in in_assign_instance_block() 546 major_t major; in e_ddi_assign_instance() local 611 major = ddi_driver_major(dip); in e_ddi_assign_instance() 612 ASSERT(major != DDI_MAJOR_T_NONE); in e_ddi_assign_instance() 614 in_set_instance(dip, dp, 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() argument [all …]
|
/titanic_41/usr/src/cmd/ssh/sshd/ |
H A D | gss-serv.c | 161 ctx->major = gss_accept_sec_context(&ctx->minor, &ctx->context, in ssh_gssapi_accept_ctx() 166 if (GSS_ERROR(ctx->major)) in ssh_gssapi_accept_ctx() 169 if (ctx->major == GSS_S_CONTINUE_NEEDED && send_tok->length == 0) in ssh_gssapi_accept_ctx() 172 else if (GSS_ERROR(ctx->major) && send_tok->length == 0) in ssh_gssapi_accept_ctx() 175 if (ctx->major == GSS_S_COMPLETE && in ssh_gssapi_accept_ctx() 195 ctx->major = GSS_S_BAD_MECH; in ssh_gssapi_accept_ctx() 201 if (ctx->major == GSS_S_COMPLETE) { in ssh_gssapi_accept_ctx() 202 ctx->major = gss_inquire_context(&ctx->minor, ctx->context, in ssh_gssapi_accept_ctx() 206 if (GSS_ERROR(ctx->major)) { in ssh_gssapi_accept_ctx() 209 return (ctx->major); in ssh_gssapi_accept_ctx() [all …]
|
/titanic_41/usr/src/uts/common/rpc/sec_gss/ |
H A D | rpcsec_gss_misc.c | 144 OM_uint32 major, minor; local 186 if ((major = kgss_seal(&minor, context, TRUE, qop, &in_buf, 189 "major = %x, minor = %x", major, minor); 197 if ((major = kgss_sign(&minor, context, qop, &in_buf, 200 "major = %x, minor = %x", major, minor); 244 OM_uint32 major = GSS_S_COMPLETE, minor = 0; local 260 major = GSS_S_FAILURE; 261 major = kgss_unseal(&minor, context, &in_buf, &out_buf, &conf, 264 if (major != GSS_S_COMPLETE) { 266 "major = %x, minor = %x", major, minor); [all …]
|
/titanic_41/usr/src/uts/sun4v/promif/ |
H A D | promif_version.c | 41 uint64_t major; in promif_set_sun4v_api_version() local 50 major = (uint64_t)p1275_cell2int(ci[4]); in promif_set_sun4v_api_version() 53 status = hv_api_set_version(api_group, major, minor, &supported_minor); in promif_set_sun4v_api_version() 66 uint64_t major; in promif_get_sun4v_api_version() local 75 status = hv_api_get_version(api_group, &major, &minor); in promif_get_sun4v_api_version() 78 ci[5] = p1275_int2cell(major); in promif_get_sun4v_api_version()
|
/titanic_41/usr/src/uts/sun4v/os/ |
H A D | hsvc.c | 88 uint64_t major; /* major number */ member 188 "%p\n", (void *)hsvcp, hsvcp->group, hsvcp->major, in hsvc_dump() 304 uint64_t major = hsvcinfop->hsvc_major; in hsvc_register() local 310 api_group, major, minor, hsvcinfop->hsvc_modname)); in hsvc_register() 341 if (hsvcp->major != major) { in hsvc_register() 396 major, minor, supported_minor); in hsvc_register() 401 major, minor, hvstat, *supported_minor)); in hsvc_register() 414 } else if (major != 1) { in hsvc_register() 435 hsvcp->major = major; in hsvc_register() 486 uint64_t major, supported_minor; in hsvc_unregister() local [all …]
|
/titanic_41/usr/src/uts/i86pc/io/dr/ |
H A D | dr_quiesce.c | 70 static int dr_is_unsafe_major(major_t major); 201 dr_is_unsafe_major(major_t major) in dr_is_unsafe_major() argument 206 if ((dname = ddi_major_to_name(major)) == NULL) { in dr_is_unsafe_major() 207 PR_QR("dr_is_unsafe_major: invalid major # %d\n", major); in dr_is_unsafe_major() 277 major_t major; in dr_check_dip() local 292 if (dname && ((major = ddi_name_to_major(dname)) != (major_t)-1)) { in dr_check_dip() 296 major, ref); in dr_check_dip() 299 if (NETWORK_PHYSDRV(major) && !GLDV3_DRV(major)) in dr_check_dip() 302 if (dr_is_unsafe_major(major) && i_ddi_devi_attached(dip)) { in dr_check_dip() 304 major); in dr_check_dip() [all …]
|
/titanic_41/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_quiesce.c | 71 static int dr_is_unsafe_major(major_t major); 202 dr_is_unsafe_major(major_t major) in dr_is_unsafe_major() argument 207 if ((dname = ddi_major_to_name(major)) == NULL) { in dr_is_unsafe_major() 208 PR_QR("dr_is_unsafe_major: invalid major # %d\n", major); in dr_is_unsafe_major() 278 major_t major; in dr_check_dip() local 293 if (dname && ((major = ddi_name_to_major(dname)) != (major_t)-1)) { in dr_check_dip() 297 major, ref); in dr_check_dip() 300 if (NETWORK_PHYSDRV(major) && !GLDV3_DRV(major)) in dr_check_dip() 303 if (dr_is_unsafe_major(major) && i_ddi_devi_attached(dip)) { in dr_check_dip() 305 major); in dr_check_dip() [all …]
|
/titanic_41/usr/src/lib/lvm/libsvm/common/ |
H A D | modops.c | 98 major_t major; in mod_unload() local 110 &major)) != 0) { in mod_unload() 114 if ((modctl(MODUNLOADDRVCONF, major) != 0) || in mod_unload() 115 (modctl(MODLOADDRVCONF, major) != 0)) { in mod_unload()
|
/titanic_41/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_raw.c | 57 major_t major; member 69 raw_maj_t *major; /* pointer to major structure */ member 163 if (maj->major == umaj) { in _raw_get_maj_info() 208 maj->major = umaj; in _raw_get_maj_info() 243 if (maj->major == umaj) { in nsc_get_strategy() 265 if (maj->major == umaj) { in nsc_get_devops() 392 cdi->major = _raw_get_maj_info(getmajor(rdev)); in _raw_open() 393 if (cdi->major == NULL) { in _raw_open() 501 if (cd == -1 || _nsc_raw_files[cd].major == NULL) { in _raw_strategy() 507 return ((*_nsc_raw_files[cd].major->strategy)(bp)); in _raw_strategy() [all …]
|
/titanic_41/usr/src/psm/promif/ieee1275/sun4v/ |
H A D | prom_sun4v_api_version.c | 37 prom_set_sun4v_api_version(uint64_t api_group, uint64_t major, uint64_t minor, in prom_set_sun4v_api_version() argument 49 ci[4] = (cell_t)major; /* Arg2: major */ in prom_set_sun4v_api_version() 68 prom_get_sun4v_api_version(uint64_t api_group, uint64_t *major, uint64_t *minor) in prom_get_sun4v_api_version() argument 87 *major = (uint64_t)(ci[5]); in prom_get_sun4v_api_version()
|
/titanic_41/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss_utils.c | 152 OM_uint32 major, minor; in __rpc_gss_get_principal_name() local 187 if ((major = gss_import_name(&minor, &name_buf, in __rpc_gss_get_principal_name() 190 "failed 0x%x", major); in __rpc_gss_get_principal_name() 197 if ((major = gss_canonicalize_name(&minor, gss_name, mech_oid, in __rpc_gss_get_principal_name() 200 "failed 0x%x", major); in __rpc_gss_get_principal_name() 210 if ((major = gss_export_name(&minor, gss_canon_name, &name_buf)) != in __rpc_gss_get_principal_name() 213 "failed %x", major); in __rpc_gss_get_principal_name()
|
/titanic_41/usr/src/lib/libtecla/common/ |
H A D | version.c | 24 void libtecla_version(int *major, int *minor, int *micro) in libtecla_version() argument 26 if(major) in libtecla_version() 27 *major = TECLA_MAJOR_VER; in libtecla_version()
|
/titanic_41/usr/src/cmd/ttymon/ |
H A D | ulockf.c | 356 (unsigned long) major(_st_buf.st_dev), 357 (unsigned long) major(_st_buf.st_rdev), 395 (unsigned long) major(_st_buf.st_dev), 396 (unsigned long) major(_st_buf.st_rdev), 418 (unsigned long) major(_st_buf.st_dev), 419 (unsigned long) major(_st_buf.st_rdev), 442 (unsigned long) major(_st_buf.st_dev), 443 (unsigned long) major(_st_buf.st_rdev),
|
/titanic_41/usr/src/test/zfs-tests/tests/functional/devices/ |
H A D | devices_common.kshlib | 91 major=${devstr##*\(} 92 major=${major%%/*} 96 log_must $MKNOD $filename b $major $minor
|
/titanic_41/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_transport.c | 108 major_t major; in scsi_transport() local 142 major = ddi_driver_major(P_TO_TRAN(pkt)->tran_hba_dip); in scsi_transport() 143 if (!BT_TEST(scsi_pkt_bad_alloc_bitmap, major) && in scsi_transport() 145 BT_SET(scsi_pkt_bad_alloc_bitmap, major); in scsi_transport() 152 BT_SET(scsi_pkt_bad_alloc_bitmap, major); in scsi_transport()
|