/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_helper_stream.c | 107 major_t maj; in ip_helper_stream_setup() local 147 maj = getemajor(*devp); in ip_helper_stream_setup() 148 *devp = makedevice(maj, (ulong_t)(ip_minfop->ip_minfo_dev)); in ip_helper_stream_setup()
|
/illumos-gate/usr/src/cmd/autopush/ |
H A D | autopush.c | 345 rem_info(major_t maj, minor_t min) in rem_info() argument 358 push.sap_major = maj; in rem_info() 409 get_info(major_t maj, minor_t min) in get_info() argument 420 push.sap_major = maj; in get_info()
|
/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsmops.c | 520 major_t maj; in rsmops_device_open() local 528 maj = ddi_name_to_major((char *)major_name); in rsmops_device_open() 529 if (maj == (major_t)-1) { in rsmops_device_open() 533 vp = makespecvp(makedevice(maj, minor_num), VCHR); in rsmops_device_open()
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | protocmp.c | 321 char maj[TYPESIZE], min[TYPESIZE]; in print_elem() local 337 maj[0] = '-'; in print_elem() 338 maj[1] = '\0'; in print_elem() 340 (void) sprintf(maj, "%d", e->major); in print_elem() 369 e->inode, ref_cnt, maj, min); in print_elem()
|
H A D | protodir.c | 87 char *type, *class, *file, *src, *maj, *min, *perm, *owner, *group; in parse_proto_line() local 161 if (!(maj = strtok(NULL, FS))) { in parse_proto_line() 167 e->major = atoi(maj); in parse_proto_line()
|
/illumos-gate/usr/src/test/nvme-tests/tests/nvmeadm/ |
H A D | nvmeadm_test.ksh | 136 typeset maj min 139 IFS=. read -r maj min <<< "$vers" 140 if [[ -z "$maj" ]]; then 148 if (( nt_maj > maj || (nt_maj == maj && nt_min >= min) )); then
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | ptms_conf.c | 323 major_t maj = DDI_MAJOR_T_NONE; in ptms_subsidiary_attached() local 327 maj = ddi_driver_major(pts_dip); in ptms_subsidiary_attached() 330 return (maj); in ptms_subsidiary_attached()
|
H A D | openprom.c | 803 major_t maj; in opromioctl_cb() local 816 maj = path_to_major((char *)opp->oprom_array); in opromioctl_cb() 817 if (maj == DDI_MAJOR_T_NONE) { in opromioctl_cb() 825 if ((drv_name = ddi_major_to_name(maj)) == NULL) { in opromioctl_cb()
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs_mpi.h | 56 #define PMCS_FW_VERSION(maj, min, mic) ((maj << 16)|(min << 8)|mic) argument
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | gssd_pname_to_uid.c | 375 OM_uint32 maj; in gsscred_name_to_unix_cred_ext() local 381 maj = gss_display_name(&minor, iName, &namebuf, in gsscred_name_to_unix_cred_ext() 384 if (maj == GSS_S_COMPLETE) { in gsscred_name_to_unix_cred_ext()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | nvme.h | 754 #define NVME_VERSION_ATLEAST(v, maj, min) \ argument 755 (((v)->v_major) > (maj) || \ 756 ((v)->v_major == (maj) && (v)->v_minor >= (min))) 758 #define NVME_VERSION_HIGHER(v, maj, min) \ argument 759 (((v)->v_major) > (maj) || \ 760 ((v)->v_major == (maj) && (v)->v_minor > (min)))
|
H A D | vfs.h | 553 #define VFSHASH(maj, min) (((int)((maj)+(min))) & (vfshsz - 1)) argument
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | ldap_key_seq.c | 404 int kvno, maj, min; in asn1_decode_sequence_of_keys() local 417 maj = lval; /* XXX range check? */ in asn1_decode_sequence_of_keys() 423 if (maj != 1 || min != 1) in asn1_decode_sequence_of_keys()
|
/illumos-gate/usr/src/lib/fm/libfmd_log/common/ |
H A D | fmd_log.c | 204 major_t maj = (major_t)-1L; in fmd_log_load_xref() local 212 maj = obj->eo_item.ei_uint32; in fmd_log_load_xref() 230 maj == (major_t)-1L || min == (minor_t)-1L))) in fmd_log_load_xref() 233 if (uuid == NULL && (dev = makedev(maj, min)) == NODEV) in fmd_log_load_xref()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci.c | 1481 uint8_t maj, min, count, first; in xhci_port_count() local 1498 maj = XHCI_XECP_PROT_MAJOR(rvers); in xhci_port_count() 1513 if (maj == 3 && (min == 0x10 || min == 0x01)) { in xhci_port_count() 1516 } else if (maj == 3 && min == 0) { in xhci_port_count() 1519 } else if (maj <= 2) { in xhci_port_count() 1524 "unknown USB version: %x.%x\n", maj, min); in xhci_port_count()
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | action.c | 393 int mode, maj, min, type; in do_copy() local 441 maj = sp->f_rd_maj; /* major (if it is a device) */ in do_copy() 600 (type == S_IFBLK) ? "b" : "c", maj, min); in do_copy() 610 : mknod(dst, mode|type, makedev(maj, min)); in do_copy()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi.c | 193 makedevice(major_t maj, minor_t minor) in makedevice() argument 196 return (((dev_t)maj << NBITSMINOR64) | (minor & MAXMIN64)); in makedevice() 198 return (((dev_t)maj << NBITSMINOR) | (minor & MAXMIN)); in makedevice()
|
H A D | modsysfile.c | 3203 major_t maj; in add_spec() local 3221 maj = get_major(parent); in add_spec() 3222 if (maj == DDI_MAJOR_T_NONE) { in add_spec() 3225 maj = (major_t)-2; in add_spec() 3235 maj = DDI_MAJOR_T_NONE; in add_spec() 3243 if ((parent && (maj == pl->par_major)) || ((parent == NULL) && in add_spec() 3256 pl->par_major = maj; in add_spec() 3263 if (maj == DDI_MAJOR_T_NONE) { in add_spec() 3269 if ((maj != (major_t)-2) && ((*par)->par_major == (major_t)-2)) in add_spec()
|
H A D | modsubr.c | 616 major_t maj; in mod_name_to_major() local 636 maj = (major_t)(-(mbind->b_num)); in mod_name_to_major() 638 name, maj); in mod_name_to_major()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_spnego/mech/ |
H A D | spnego_mech.c | 1388 OM_uint32 maj, min; in mechoidset2str() local 1403 maj = gss_oid_to_str(&min, mech_oid, oidstrp); in mechoidset2str() 1404 if (strlcat(buf, maj ? oid_no_map : oidstrp->value, in mechoidset2str() 1659 OM_uint32 maj, maj_sc, min; in acc_ctx_vfy_oid() local 1667 maj = gss_oid_to_str(&min, mechoid, &oidstr); in acc_ctx_vfy_oid() 1671 maj ? oid_no_map: oidstr.value, in acc_ctx_vfy_oid() 1674 if (!maj) in acc_ctx_vfy_oid() 1700 OM_uint32 maj, min; in acc_ctx_vfy_oid() local 1706 maj = gss_oid_to_str(&min, sc->internal_mech, &oidstr); in acc_ctx_vfy_oid() 1711 maj ? oid_no_map: oidstr.value, in acc_ctx_vfy_oid() [all …]
|
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/sys/ |
H A D | vfs.h | 560 #define VFSHASH(maj, min) (((int)((maj)+(min))) & (vfshsz - 1)) argument
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb_lex.l | 114 :{WS}*maj { return MAJ; }
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | immu.c | 636 major_t maj; in blacklisted_driver() local 646 if ((maj = ddi_name_to_major(*strptr++)) in blacklisted_driver() 649 if (devnamesp[maj].dn_head != NULL) { in blacklisted_driver()
|
/illumos-gate/usr/src/cmd/praudit/ |
H A D | format.c | 765 uint32_t maj; in major_64() local 767 maj = (uint32_t)(dev >> NBITSMINOR64); in major_64() 769 if (dev == NODEV || maj > MAXMAJ64) { in major_64() 773 return (int32_t)(maj); in major_64() 789 uint32_t maj; in major_32() local 791 maj = (uint32_t)(dev >> NBITSMINOR32); in major_32() 793 if (dev == NODEV || maj > MAXMAJ32) { in major_32() 797 return (int32_t)(maj); in major_32()
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/ |
H A D | rdsv3.h | 58 #define RDS_PROTOCOL(maj, min) (((maj) << 8) | min) argument
|