Home
last modified time | relevance | path

Searched refs:scapset (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/cmd/sgs/rtld/common/
H A Dcap.c117 hwcap1_check(Syscapset *scapset, Xword val, Rej_desc *rej) in hwcap1_check() argument
125 ((mval = (val & ~scapset->sc_hw_1)) != 0)) { in hwcap1_check()
142 hwcap2_check(Syscapset *scapset, Xword val, Rej_desc *rej) in hwcap2_check() argument
149 if ((mval = (val & ~scapset->sc_hw_2)) != 0) { in hwcap2_check()
167 sfcap1_check(Syscapset *scapset, Xword val, Rej_desc *rej) in sfcap1_check() argument
194 platcap_check(Syscapset *scapset, const char *str, Rej_desc *rej) in platcap_check() argument
199 if ((scapset->sc_plat == NULL) && in platcap_check()
200 (scapset->sc_platsz == 0)) in platcap_check()
201 platform_name(scapset); in platcap_check()
203 if ((scapset->sc_plat == NULL) || in platcap_check()
[all …]
H A Dobject.c202 check_plat_names(Syscapset *scapset, Alist *caps, Rej_desc *rej) in check_plat_names() argument
208 if (platcap_check(scapset, capstr->cs_str, rej) == 1) in check_plat_names()
215 check_mach_names(Syscapset *scapset, Alist *caps, Rej_desc *rej) in check_mach_names() argument
221 if (machcap_check(scapset, capstr->cs_str, rej) == 1) in check_mach_names()
248 Syscapset *scapset; in elf_obj_fini() local
265 scapset = alt_scapset; in elf_obj_fini()
267 scapset = org_scapset; in elf_obj_fini()
270 (hwcap1_check(scapset, omsk, &rej) == 0)) || in elf_obj_fini()
272 (sfcap1_check(scapset, omsk, &rej) == 0)) || in elf_obj_fini()
274 (hwcap2_check(scapset, omsk, &rej) == 0)) || in elf_obj_fini()
[all …]
H A Dpaths.c431 Syscapset *scapset; in expand() local
434 scapset = alt_scapset; in expand()
436 scapset = org_scapset; in expand()
444 ((scapset->sc_plat == NULL) && in expand()
445 (scapset->sc_platsz == 0))) in expand()
446 platform_name(scapset); in expand()
449 scapset->sc_plat) { in expand()
450 nlen += scapset->sc_platsz; in expand()
452 (void) strncpy(nptr, scapset->sc_plat, in expand()
453 scapset->sc_platsz); in expand()
[all …]
H A Dglobals.c158 static Syscapset scapset = { 0 }; variable
159 Syscapset *org_scapset = &scapset; /* original system and */
160 Syscapset *alt_scapset = &scapset; /* alternative system */
H A Dutil.c3661 platform_name(Syscapset *scapset) in platform_name() argument
3666 if ((scapset->sc_platsz = size = in platform_name()
3670 if ((scapset->sc_plat = malloc(size)) == NULL) { in platform_name()
3671 scapset->sc_platsz = (size_t)-1; in platform_name()
3674 (void) strcpy(scapset->sc_plat, info); in platform_name()
3683 machine_name(Syscapset *scapset) in machine_name() argument
3688 if ((scapset->sc_machsz = size = in machine_name()
3692 if ((scapset->sc_mach = malloc(size)) == NULL) { in machine_name()
3693 scapset->sc_machsz = (size_t)-1; in machine_name()
3696 (void) strcpy(scapset->sc_mach, info); in machine_name()
/titanic_50/usr/src/cmd/sgs/libld/common/
H A Dsections.c1429 is_cap_redundant(Objcapset *ocapset, Objcapset *scapset) in is_cap_redundant() argument
1444 salp = scapset->oc_plat.cl_val; in is_cap_redundant()
1465 salp = scapset->oc_plat.cl_val; in is_cap_redundant()
1489 smsk = scapset->oc_hw_2.cm_val; in is_cap_redundant()
1499 smsk = scapset->oc_hw_1.cm_val; in is_cap_redundant()
1765 Objcapset *scapset = &cgp->cg_set; in make_cap() local
1771 if (scapset->oc_id.cs_str) { in make_cap()
1780 scapset->oc_id.cs_str) == -1) in make_cap()
1782 scapset->oc_id.cs_ndx = capndx; in make_cap()
1786 if (scapset->oc_plat.cl_val) { in make_cap()
[all …]
H A Dfiles.c511 Objcapset *scapset = &cgp->cg_set; in ld_cap_move_symtoobj() local
515 if (scapset->oc_id.cs_str) { in ld_cap_move_symtoobj()
516 if (scapset->oc_flags & FLG_OCS_USRDEFID) in ld_cap_move_symtoobj()
517 id_cap(ofl, scapset->oc_id.cs_str, in ld_cap_move_symtoobj()
518 scapset->oc_flags); in ld_cap_move_symtoobj()
520 if (scapset->oc_plat.cl_val) { in ld_cap_move_symtoobj()
521 for (ALIST_TRAVERSE(scapset->oc_plat.cl_val, idx2, in ld_cap_move_symtoobj()
527 if (scapset->oc_mach.cl_val) { in ld_cap_move_symtoobj()
528 for (ALIST_TRAVERSE(scapset->oc_mach.cl_val, idx2, in ld_cap_move_symtoobj()
534 if (scapset->oc_hw_2.cm_val) in ld_cap_move_symtoobj()
[all …]
/titanic_50/usr/src/cmd/sgs/liblddbg/common/
H A Dsyms.c70 Half mach, Syscapset *scapset) in Dbg_syms_cap_lookup() argument
81 str = conv_cap_val_hw1(scapset->sc_hw_1, mach, 0, in Dbg_syms_cap_lookup()
85 str = conv_cap_val_sf1(scapset->sc_sf_1, mach, 0, in Dbg_syms_cap_lookup()
89 str = conv_cap_val_hw2(scapset->sc_hw_2, mach, 0, in Dbg_syms_cap_lookup()
93 str = scapset->sc_mach; in Dbg_syms_cap_lookup()
96 str = scapset->sc_plat; in Dbg_syms_cap_lookup()