Searched refs:major (Results 1 - 25 of 336) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libtecla/common/
H A Dversion.c9 * major int * The major version number of the library
10 * will be assigned to *major. This number is
24 void libtecla_version(int *major, int *minor, int *micro) argument
26 if(major)
27 *major = TECLA_MAJOR_VER;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinq_names.c40 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
[all...]
H A Dinq_cred.c110 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);
/illumos-gate/usr/src/ucbhead/sys/
H A Dsysmacros.h49 /* major part of a device */
50 #define major(x) ((int)(((unsigned)(x)>>8)&0377)) macro
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dsysmacros.h44 /* major part of a device */
45 #define major(x) ((int)(((unsigned)(x)>>8)&0377)) macro
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_version.c41 uint64_t major; local
50 major = (uint64_t)p1275_cell2int(ci[4]);
53 status = hv_api_set_version(api_group, major, minor, &supported_minor);
66 uint64_t major; local
75 status = hv_api_get_version(api_group, &major, &minor);
78 ci[5] = p1275_int2cell(major);
/illumos-gate/usr/src/lib/libgss/
H A Dgssd_pname_to_uid.c124 OM_uint32 minor, major; local
148 major = gss_display_name(&minor, intName,
150 if (major == GSS_S_COMPLETE) {
157 major = gss_pname_to_uid(&minor, intName,
159 if (major == GSS_S_COMPLETE) {
186 major = private_gsscred_expname_to_unix_cred(expName, uidOut, gidOut,
189 if (debug && major == GSS_S_COMPLETE) {
208 return (major);
268 OM_uint32 major, minor; local
273 if (major
321 OM_uint32 major, minor; local
505 OM_uint32 major, tmpMinor; local
[all...]
H A Dg_utils.c67 OM_uint32 major = GSS_S_COMPLETE; local
72 major = GSS_S_FAILURE;
80 major = GSS_S_FAILURE;
160 return (major);
171 OM_uint32 major = GSS_S_FAILURE; local
182 if ((major = __gss_read_qop_file()) != GSS_S_COMPLETE)
183 return (major);
204 OM_uint32 major; local
218 if ((major = __gss_read_qop_file()) != GSS_S_COMPLETE)
219 return (major);
242 OM_uint32 major = GSS_S_COMPLETE; local
278 OM_uint32 major; local
[all...]
H A Dg_userok.c102 OM_uint32 major; local
126 major = mech->__gss_userok(mech->context, minor, mechName,
129 major = compare_names(minor, intName->mech_type,
132 return (major);
H A Dg_imp_name.c193 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
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Deft.h47 uint16_t major; member in struct:eftheader
/illumos-gate/usr/src/cmd/arch/
H A Darch.sh41 0) OP=major;;
60 major) $ECHO $MAJOR;;
/illumos-gate/usr/src/psm/promif/ieee1275/sun4v/
H A Dprom_sun4v_api_version.c33 * This interface allows the client to negotiate a major/minor
37 prom_set_sun4v_api_version(uint64_t api_group, uint64_t major, uint64_t minor, argument
49 ci[4] = (cell_t)major; /* Arg2: major */
64 * major/minor version number associated with the specified sun4v
68 prom_get_sun4v_api_version(uint64_t api_group, uint64_t *major, uint64_t *minor) argument
80 ci[5] = (cell_t)-1; /* Res2: major number */
87 *major = (uint64_t)(ci[5]);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/devices/
H A Ddevices_common.kshlib46 # On illumos we need access to the root zpool to get the major/minor
94 # Bring out major and minor number.
96 major=${devstr##*\(}
97 major=${major%%/*}
101 log_must mknod $filename b $major $minor
/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss_misc.c144 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
[all...]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_krb5ssp.c117 OM_uint32 major, minor, ret_flags; local
136 major = gss_accept_sec_context(&minor, &be->be_gssctx,
155 if (GSS_ERROR(major)) {
157 "mech=0x%x, major=0x%x, minor=0x%x",
158 (int)mech_type, major, minor);
164 switch (major) {
260 OM_uint32 major, minor; local
266 major = gss_inquire_sec_context_by_oid(
271 if (GSS_ERROR(major)) {
273 "major
309 OM_uint32 major, minor; local
[all...]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dim.c79 major_t major; local
85 if (modctl(MODGETMAJBIND, drv_name, strlen(drv_name) + 1, &major) < 0)
88 /* find the length of the devices path given major,instance */
89 if (modctl(MODGETDEVFSPATH_MI_LEN, major, instance, &len) != 0)
103 if (modctl(MODGETDEVFSPATH_MI, major, instance, len, devices) != 0) {
/illumos-gate/usr/src/lib/libast/common/string/
H A Dfmtdev.c40 unsigned int ma = major(idevice(st));
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf.c127 major_t major; local
130 if ((major = ddi_driver_major(pinfo->pi_provider_dev.pd_hw))
132 drvmod = ddi_major_to_name(major);
/illumos-gate/usr/src/uts/common/sys/
H A Dmkdev.h43 #define ONBITSMAJOR 7 /* # of SVR3 major device bits */
45 #define OMAXMAJ 0x7f /* SVR3 max major value */
46 #define OMAXMIN 0xff /* SVR3 max major value */
49 * 32-bit Solaris device major/minor sizes.
53 #define MAXMAJ32 0x3ffful /* SVR4 max major value */
56 #define NBITSMAJOR64 32 /* # of major device bits in 64-bit Solaris */
61 #define MAXMAJ64 0xfffffffful /* max major value */
84 #undef major macro
88 extern major_t major(const dev_t);
98 #define major(de macro
[all...]
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_ddi.c49 * return internal major number corresponding to device
77 * encode external major and minor number arguments into a
102 major_t major = dev >> L_BITSMINOR; local
105 if (major > L_MAXMAJ32 || minor > L_MAXMIN32) {
110 *dst = (dev32_t)((major << L_BITSMINOR32) | minor);
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_misc.c52 cmn_err(CE_WARN, "out of major numbers");
71 major_t major = dev >> L_BITSMINOR; local
74 if (major > L_MAXMAJ32 || minor > L_MAXMIN32) {
79 *dst = (dev32_t)((major << L_BITSMINOR32) | minor);
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_transport.c108 major_t major; local
142 major = ddi_driver_major(P_TO_TRAN(pkt)->tran_hba_dip);
143 if (!BT_TEST(scsi_pkt_bad_alloc_bitmap, major) &&
145 BT_SET(scsi_pkt_bad_alloc_bitmap, major);
152 BT_SET(scsi_pkt_bad_alloc_bitmap, major);
/illumos-gate/usr/src/uts/common/os/
H A Dmodsubr.c75 major_valid(major_t major) argument
77 return (major != DDI_MAJOR_T_NONE &&
78 (major >= 0 && major < devcnt));
82 driver_installed(major_t major) argument
84 return (major_valid(major) && devnamesp[major].dn_name != NULL);
88 driver_active(major_t major) argument
90 return (driver_installed(major) && !(devnamesp[major]
95 mod_hold_dev_by_major(major_t major) argument
130 mod_rele_dev_by_major(major_t major) argument
173 major_t major; local
185 major_t major; local
368 impl_make_parlist(major_t major) argument
443 impl_free_parlist(major_t major) argument
646 mod_major_to_name(major_t major) argument
704 make_devname(char *name, major_t major, int dn_flags) argument
947 hwc_hash(struct hwc_spec *spec_list, major_t major) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dhsvc.c72 * currently negotiated major/minor number, a singly linked
88 uint64_t major; /* major number */ member in struct:hsvc
188 "%p\n", (void *)hsvcp, hsvcp->group, hsvcp->major,
304 uint64_t major = hsvcinfop->hsvc_major; local
310 api_group, major, minor, hsvcinfop->hsvc_modname));
334 * If major number mismatch, then return ENOTSUP.
341 if (hsvcp->major != major) {
362 * Call OBP CIF interface to negotiate a major/mino
486 uint64_t major, supported_minor; local
[all...]

Completed in 259 milliseconds

1234567891011>>