Searched refs:maj (Results 1 - 25 of 70) sorted by relevance

123

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dstore_cred.c46 OM_uint32 maj = GSS_S_COMPLETE; local
89 maj = GSS_S_FAILURE;
94 maj = GSS_S_FAILURE;
100 maj = GSS_S_FAILURE;
111 return (maj);
127 OM_uint32 maj, maj2, min; local
174 maj = krb5_gss_inquire_cred(minor_status, input_cred,
176 if (GSS_ERROR(maj))
181 maj = GSS_S_CREDENTIALS_EXPIRED;
188 maj
[all...]
/illumos-gate/usr/src/cmd/cpio/
H A Dcpiostat.c44 major_t maj, min; local
46 maj = major(dev); /* get major number */
50 return ((maj << 8) | min);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmkdev.c87 major_t maj; local
91 maj = (devnum >> ONBITSMINOR);
92 if (devnum == NODEV || maj > OMAXMAJ) {
99 maj = (devnum >> NBITSMINOR);
105 if (maj > MAXMAJ) {
117 return (maj);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dval_cred.c81 OM_uint32 maj; local
89 maj = krb5_gss_validate_cred_1(minor_status, cred_handle, context);
90 if (maj == 0) {
97 return maj;
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevpolicy.c130 major_t maj; local
133 if (modctl(MODGETMAJBIND, line, col - line + 1, &maj)
160 char *maj; local
187 maj = strtok(line, "\n\t ");
189 if (maj == NULL)
195 if (strcmp(maj, "*") == 0) {
211 min = strchr(maj, ':');
224 if (modctl(MODGETMAJBIND, maj, strlen(maj) + 1,
240 err_print(MINOR_TOO_LONG, maj, mi
[all...]
/illumos-gate/usr/src/tools/protolist/
H A Dprotolist.c51 char maj[10], min[10]; local
68 maj[0] = min[0] = symsrc[0] = '-';
69 maj[1] = min[1] = symsrc[1] = '\0';
106 (void) sprintf(maj, "%ld", major(st->st_rdev));
114 (void) sprintf(maj, "%ld", major(st->st_rdev));
146 inum, st->st_nlink, maj, min);
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_ddi.c81 makedevice(major_t maj, minor_t minor) argument
84 return (((dev_t)maj << NBITSMINOR64) | (minor & MAXMIN64));
86 return (((dev_t)maj << NBITSMINOR) | (minor & MAXMIN));
/illumos-gate/usr/src/uts/common/sys/
H A Dconf.h83 #define STREAMSTAB(maj) (devopsp[(maj)] == NULL ? NULL : \
84 (devopsp[(maj)]->devo_cb_ops == NULL ? \
86 devopsp[(maj)]->devo_cb_ops->cb_str))
87 #define CBFLAG(maj) (devopsp[(maj)]->devo_cb_ops->cb_flag)
H A Dmkdev.h97 #define makedev(maj, min) (__makedev(NEWDEV, maj, min))
H A Dautoconf.h245 #define NETWORK_DRV(maj) (devnamesp[(maj)].dn_flags & DN_NETWORK_DRIVER)
246 #define GLDV3_DRV(maj) (devnamesp[(maj)].dn_flags & DN_GLDV3_DRIVER)
247 #define NETWORK_PHYSDRV(maj) \
248 (devnamesp[(maj)].dn_flags & DN_NETWORK_PHYSDRIVER)
H A Dnvme.h89 #define NVME_VERSION_ATLEAST(v, maj, min) \
90 (((v)->v_major) > (maj) || \
91 ((v)->v_major == (maj) && (v)->v_minor >= (min)))
93 #define NVME_VERSION_HIGHER(v, maj, min) \
94 (((v)->v_major) > (maj) || \
95 ((v)->v_major == (maj) && (v)->v_minor > (min)))
/illumos-gate/usr/src/uts/common/io/
H A Dvcons_conf.c75 major_t maj = (major_t)-1; local
80 maj = ddi_driver_major(wc_dip);
84 return (maj);
H A Dclone.c157 * maj and the minor returned by the device open, or
168 major_t maj; local
184 maj = etoimajor(emaj); /* get internal major of cloned driver */
186 if (maj >= devcnt)
207 if (ddi_hold_installed_driver(maj) == NULL)
210 if ((str = STREAMSTAB(maj)) == NULL) {
211 ddi_rele_driver(maj);
230 ddi_rele_driver(maj);
242 dp = &devimpl[maj];
322 ddi_rele_driver(maj);
[all...]
H A Dl_strplumb.c59 kstr_open(major_t maj, minor_t min, vnode_t **vpp, int *fd) argument
64 vp = makespecvp(makedevice(maj, min), VCHR);
212 * "maj", "min", and "lastmin" are value-result parameters.
219 kstr_autopush(int op, major_t *maj, minor_t *min, minor_t *lastmin, argument
251 push.sap_major = *maj;
264 *maj = push.sap_major;
270 *maj = push.sap_major;
276 *maj = push.sap_major;
298 push.sap_major = *maj;
326 push.sap_major = *maj;
[all...]
H A Dptms_conf.c314 major_t maj = DDI_MAJOR_T_NONE; local
318 maj = ddi_driver_major(pts_dip);
321 return (maj);
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvio_util.h159 #define VIO_VER_IS_NEGOTIATED(ver, maj, min) \
160 ((ver.major == (maj)) && (ver.minor == (min)))
162 boolean_t vio_ver_is_supported(vio_ver_t ver, uint16_t maj, uint16_t min);
/illumos-gate/usr/src/cmd/devinfo/
H A Ddevinfo.c132 major_t maj; local
141 maj = major(statbuf.st_rdev);
147 device, maj, min,
155 device, maj, min,
/illumos-gate/usr/src/cmd/filesync/
H A Drename.c144 long maj, min; local
151 maj = new->f_info[side].f_d_maj;
173 if (((side == OPT_SRC) ? fp->f_s_maj : fp->f_d_maj) != maj)
/illumos-gate/usr/src/uts/common/os/
H A Ddriver.c625 major_t maj; local
628 if ((maj = getmajor(dev)) >= devcnt)
631 dnp = &(devnamesp[maj]);
633 if (devopsp[maj] && devopsp[maj]->devo_cb_ops &&
634 !devopsp[maj]->devo_cb_ops->cb_str) {
649 major_t maj; local
652 if ((maj = getmajor(dev)) >= devcnt)
655 dnp = &(devnamesp[maj]);
657 if (devopsp[maj]
[all...]
H A Ddevpolicy.c280 devpolicyent_bymajor(major_t maj) argument
293 if (devpolicy[mid].t_major == maj)
295 else if (maj < devpolicy[mid].t_major)
312 major_t maj = getmajor(dev); local
316 if (maj == clone_major)
317 maj = getminor(dev);
321 i = devpolicyent_bymajor(maj);
327 res = NETWORK_DRV(maj) ? netpolicy : dfltpolicy;
/illumos-gate/usr/src/cmd/modload/
H A Ddrvsubr.c608 int maj; local
647 maj = atoi(entry);
648 if (maj > size)
649 size = maj;
691 maj = atoi(entry);
692 if ((ptr->cached_file[maj] = strdup(drv)) == NULL) {
698 (void) strcpy(ptr->cached_file[maj], drv);
704 for (maj = 0; maj <= ptr->size; maj
749 int maj; local
[all...]
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_vtops.c155 major_t maj; local
158 if ((maj = vt_wc_attached()) == (major_t)-1)
177 vap->va_rdev = makedevice(maj, min);
236 major_t maj; local
241 if ((maj = vt_wc_attached()) == (major_t)-1)
260 vap->va_rdev = makedevice(maj, min);
H A Dsdev_ptsops.c168 major_t maj; local
183 maj = ptms_slave_attached();
184 if (maj == (major_t)-1) {
205 vap->va_rdev = makedevice(maj, min);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_helper_stream.c107 major_t maj; local
148 maj = getemajor(*devp);
149 *devp = makedevice(maj, (ulong_t)(ip_minfop->ip_minfo_dev));
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_dyndns.c428 * maj: GSS major status
434 display_stat(OM_uint32 maj, OM_uint32 min) argument
440 (void) gss_display_status(&min2, maj, GSS_C_GSS_CODE, GSS_C_NULL_OID,
1023 OM_uint32 min, maj, time_rec; local
1039 if ((maj = gss_import_name(&min, &service_buf,
1041 display_stat(maj, min);
1052 maj = gss_init_sec_context(&min, cred_handle, gss_context,
1056 if (maj != GSS_S_COMPLETE && maj != GSS_S_CONTINUE_NEEDED) {
1062 display_stat(maj, mi
1554 OM_uint32 min, maj; local
[all...]

Completed in 91 milliseconds

123