Home
last modified time | relevance | path

Searched refs:mls (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/scripts/selinux/mdp/
Dmdp.c44 int i, j, mls = 0; in main() local
54 mls = 1; in main()
95 if (mls) { in main()
133 if (mls) in main()
150 mls ? ":" SYSTEMLOW : ""); in main()
156 behavior, fstype, mls ? ":" SYSTEMLOW : "") in main()
230 fstype, prefix, mls ? ":" SYSTEMLOW : "") in main()
268 fprintf(fout, "/ " OBJUSERROLETYPE "%s\n", mls ? ":" SYSTEMLOW : ""); in main()
269 fprintf(fout, "/.* " OBJUSERROLETYPE "%s\n", mls ? ":" SYSTEMLOW : ""); in main()
/linux-6.1.9/lib/zstd/compress/
Dzstd_fast.c22 U32 const mls = cParams->minMatch; in ZSTD_fillHashTable() local
33 size_t const hash0 = ZSTD_hashPtr(ip, hBits, mls); in ZSTD_fillHashTable()
39 size_t const hash = ZSTD_hashPtr(ip + p, hBits, mls); in ZSTD_fillHashTable()
50 U32 const mls) in ZSTD_compressBlock_fast_generic() argument
93 size_t const h0 = ZSTD_hashPtr(ip0, hlog, mls); in ZSTD_compressBlock_fast_generic()
95 size_t const h1 = ZSTD_hashPtr(ip1, hlog, mls); in ZSTD_compressBlock_fast_generic()
160 …hashTable[ZSTD_hashPtr(base+current0+2, hlog, mls)] = current0+2; /* here because current+2 could… in ZSTD_compressBlock_fast_generic()
161 hashTable[ZSTD_hashPtr(ip0-2, hlog, mls)] = (U32)(ip0-2-base); in ZSTD_compressBlock_fast_generic()
168 hashTable[ZSTD_hashPtr(ip0, hlog, mls)] = (U32)(ip0-base); in ZSTD_compressBlock_fast_generic()
190 U32 const mls = ms->cParams.minMatch; in ZSTD_compressBlock_fast() local
[all …]
Dzstd_double_fast.c21 U32 const mls = cParams->minMatch; in ZSTD_fillDoubleHashTable() local
37 size_t const smHash = ZSTD_hashPtr(ip + i, hBitsS, mls); in ZSTD_fillDoubleHashTable()
54 U32 const mls /* template */, ZSTD_dictMode_e const dictMode) in ZSTD_compressBlock_doubleFast_generic() argument
129 size_t const h = ZSTD_hashPtr(ip, hBitsS, mls); in ZSTD_compressBlock_doubleFast_generic()
131 size_t const dictHS = ZSTD_hashPtr(ip, dictHBitsS, mls); in ZSTD_compressBlock_doubleFast_generic()
264 hashSmall[ZSTD_hashPtr(base+indexToInsert, hBitsS, mls)] = indexToInsert; in ZSTD_compressBlock_doubleFast_generic()
265 hashSmall[ZSTD_hashPtr(ip-1, hBitsS, mls)] = (U32)(ip-1-base); in ZSTD_compressBlock_doubleFast_generic()
283 hashSmall[ZSTD_hashPtr(ip, hBitsS, mls)] = current2; in ZSTD_compressBlock_doubleFast_generic()
299 hashSmall[ZSTD_hashPtr(ip, hBitsS, mls)] = (U32)(ip-base); in ZSTD_compressBlock_doubleFast_generic()
321 const U32 mls = ms->cParams.minMatch; in ZSTD_compressBlock_doubleFast() local
[all …]
Dzstd_lazy.c22 U32 mls) in ZSTD_updateDUBT() argument
44 … size_t const h = ZSTD_hashPtr(base + idx, hashLog, mls); /* assumption : ip + 8 <= iend */ in ZSTD_updateDUBT()
159 U32 const mls, in ZSTD_DUBT_findBetterDictMatch() argument
166 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_DUBT_findBetterDictMatch()
234 U32 const mls, in ZSTD_DUBT_findBestMatch() argument
240 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_DUBT_findBestMatch()
365 mls, dictMode); in ZSTD_DUBT_findBestMatch()
385 const U32 mls /* template */, in ZSTD_BtFindBestMatch() argument
390 ZSTD_updateDUBT(ms, ip, iLimit, mls); in ZSTD_BtFindBestMatch()
391 return ZSTD_DUBT_findBestMatch(ms, ip, iLimit, offsetPtr, mls, dictMode); in ZSTD_BtFindBestMatch()
[all …]
Dzstd_opt.c384 U32 const mls, const int extDict) in ZSTD_insertBt1() argument
389 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBt1()
498 const U32 mls, const ZSTD_dictMode_e dictMode) in ZSTD_updateTree_internal() argument
507 U32 const forward = ZSTD_insertBt1(ms, base+idx, iend, mls, dictMode == ZSTD_extDict); in ZSTD_updateTree_internal()
529 U32 const mls /* template */) in ZSTD_insertBtAndGetAllMatches() argument
536 U32 const minMatch = (mls==3) ? 3 : 4; in ZSTD_insertBtAndGetAllMatches()
538 size_t const h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBtAndGetAllMatches()
621 if ((mls == 3) /*static*/ && (bestLength < mls)) { in ZSTD_insertBtAndGetAllMatches()
635 if (mlen >= mls /* == 3 > bestLength */) { in ZSTD_insertBtAndGetAllMatches()
709 size_t const dmsH = ZSTD_hashPtr(ip, dmsHashLog, mls); in ZSTD_insertBtAndGetAllMatches()
Dzstd_compress_internal.h684 size_t ZSTD_hashPtr(const void* p, U32 hBits, U32 mls) in ZSTD_hashPtr() argument
686 switch(mls) in ZSTD_hashPtr()
/linux-6.1.9/net/ipv4/
Dcipso_ipv4.c802 host_spot = netlbl_catmap_walk(secattr->attr.mls.cat, in cipso_v4_map_cat_rbm_hton()
885 ret_val = netlbl_catmap_setbit(&secattr->attr.mls.cat, in cipso_v4_map_cat_rbm_ntoh()
951 cat = netlbl_catmap_walk(secattr->attr.mls.cat, cat + 1); in cipso_v4_map_cat_enum_hton()
986 ret_val = netlbl_catmap_setbit(&secattr->attr.mls.cat, in cipso_v4_map_cat_enum_ntoh()
1066 iter = netlbl_catmap_walk(secattr->attr.mls.cat, iter + 1); in cipso_v4_map_cat_rng_hton()
1074 iter = netlbl_catmap_walkrng(secattr->attr.mls.cat, iter); in cipso_v4_map_cat_rng_hton()
1126 ret_val = netlbl_catmap_setrng(&secattr->attr.mls.cat, in cipso_v4_map_cat_rng_ntoh()
1187 secattr->attr.mls.lvl, in cipso_v4_gentag_rbm()
1241 secattr->attr.mls.lvl = level; in cipso_v4_parsetag_rbm()
1250 netlbl_catmap_free(secattr->attr.mls.cat); in cipso_v4_parsetag_rbm()
[all …]
/linux-6.1.9/security/selinux/ss/
Dmls.c571 secattr->attr.mls.lvl = context->range.level[0].sens - 1; in mls_export_netlbl_lvl()
593 context->range.level[0].sens = secattr->attr.mls.lvl + 1; in mls_import_netlbl_lvl()
618 &secattr->attr.mls.cat); in mls_export_netlbl_cat()
619 if (rc == 0 && secattr->attr.mls.cat != NULL) in mls_export_netlbl_cat()
648 secattr->attr.mls.cat); in mls_import_netlbl_cat()
/linux-6.1.9/security/smack/
Dsmack_access.c494 sap->attr.mls.lvl = level; in smk_netlbl_mls()
495 sap->attr.mls.cat = NULL; in smk_netlbl_mls()
501 rc = netlbl_catmap_setbit(&sap->attr.mls.cat, in smk_netlbl_mls()
504 netlbl_catmap_free(sap->attr.mls.cat); in smk_netlbl_mls()
Dsmackfs.c771 struct netlbl_lsm_catmap *cmp = skp->smk_netlabel.attr.mls.cat; in cipso_seq_show()
786 seq_printf(s, "%s %3d", skp->smk_known, skp->smk_netlabel.attr.mls.lvl); in cipso_seq_show()
923 old_cat = skp->smk_netlabel.attr.mls.cat; in smk_set_cipso()
924 skp->smk_netlabel.attr.mls.cat = ncats.attr.mls.cat; in smk_set_cipso()
925 skp->smk_netlabel.attr.mls.lvl = ncats.attr.mls.lvl; in smk_set_cipso()
978 struct netlbl_lsm_catmap *cmp = skp->smk_netlabel.attr.mls.cat; in cipso2_seq_show()
982 seq_printf(s, "%s %3d", skp->smk_known, skp->smk_netlabel.attr.mls.lvl); in cipso2_seq_show()
1689 if (skp->smk_netlabel.attr.mls.lvl == in smk_write_direct()
1691 skp->smk_netlabel.attr.mls.lvl = i; in smk_write_direct()
1767 if (skp->smk_netlabel.attr.mls.lvl == in smk_write_mapped()
[all …]
Dsmack_lsm.c3757 if (sap->attr.mls.lvl != skp->smk_netlabel.attr.mls.lvl) in smack_from_secattr()
3769 acat = netlbl_catmap_walk(sap->attr.mls.cat, in smack_from_secattr()
3772 skp->smk_netlabel.attr.mls.cat, in smack_from_secattr()
/linux-6.1.9/net/ipv6/
Dcalipso.c618 spot = netlbl_catmap_walk(secattr->attr.mls.cat, in calipso_map_cat_hton()
666 ret_val = netlbl_catmap_setbit(&secattr->attr.mls.cat, in calipso_map_cat_ntoh()
760 calipso[7] = secattr->attr.mls.lvl; in calipso_genopt()
1033 secattr->attr.mls.lvl = calipso[7]; in calipso_opt_getattr()
1042 netlbl_catmap_free(secattr->attr.mls.cat); in calipso_opt_getattr()
1046 if (secattr->attr.mls.cat) in calipso_opt_getattr()
/linux-6.1.9/security/selinux/
DMakefile11 ss/policydb.o ss/services.o ss/conditional.o ss/mls.o ss/context.o
/linux-6.1.9/include/net/
Dnetlabel.h203 } mls; member
368 netlbl_catmap_free(secattr->attr.mls.cat); in netlbl_secattr_destroy()
/linux-6.1.9/drivers/net/wireless/broadcom/b43legacy/
Dphy.c1125 u16 mls; in b43legacy_phy_lo_b_measure() local
1167 mls = b43legacy_phy_lo_b_r15_loop(dev) / 10; in b43legacy_phy_lo_b_measure()
1168 if (mls < phy->minlowsig[0]) { in b43legacy_phy_lo_b_measure()
1169 phy->minlowsig[0] = mls; in b43legacy_phy_lo_b_measure()
1185 mls = b43legacy_phy_lo_b_r15_loop(dev) / 10; in b43legacy_phy_lo_b_measure()
1186 if (mls < phy->minlowsig[1]) { in b43legacy_phy_lo_b_measure()
1187 phy->minlowsig[1] = mls; in b43legacy_phy_lo_b_measure()
/linux-6.1.9/tools/perf/Documentation/
Dsecurity.txt83 -rw-r--r--. 1 root root 4.5M Mar 20 12:16 selinux-policy-mls-3.14.4-48.fc31.noarch.rpm
105 # mls - Multi Level Security protection.
/linux-6.1.9/arch/mips/include/asm/octeon/
Dcvmx-pciercx-defs.h174 __BITFIELD_FIELD(uint32_t mls:4,
/linux-6.1.9/arch/mips/pci/
Dpcie-octeon.c1326 pciercx_cfg031.s.mls = 1; in __cvmx_pcie_rc_initialize_gen2()