Home
last modified time | relevance | path

Searched refs:cat (Results 1 – 25 of 55) sorted by relevance

123

/xen/xen/xsm/flask/ss/
A Dcontext.h49 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy()
54 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy()
56 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy()
72 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low()
77 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[0].cat); in mls_context_cpy_low()
79 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy_low()
90 ebitmap_cmp(&c1->range.level[0].cat,&c2->range.level[0].cat) && in mls_context_cmp()
92 ebitmap_cmp(&c1->range.level[1].cat,&c2->range.level[1].cat)); in mls_context_cmp()
100 ebitmap_destroy(&c->range.level[0].cat); in mls_context_destroy()
101 ebitmap_destroy(&c->range.level[1].cat); in mls_context_destroy()
A Dmls_types.h23 struct ebitmap cat; /* category set */ member
36 ebitmap_cmp(&l1->cat, &l2->cat)); in mls_level_eq()
45 ebitmap_contains(&l1->cat, &l2->cat)); in mls_level_dom()
A Dmls.c49 e = &context->range.level[l].cat; in mls_compute_context_len()
114 e = &context->range.level[l].cat; in mls_sid_to_context()
183 ebitmap_for_each_positive_bit(&l->cat, node, i) in mls_level_isvalid()
187 if ( !ebitmap_get_bit(&levdatum->level->cat, i) ) in mls_level_isvalid()
314 rc = ebitmap_set_bit(&context->range.level[l].cat, in mls_context_to_sid()
367 rc = ebitmap_cpy(&context->range.level[1].cat, in mls_context_to_sid()
368 &context->range.level[0].cat); in mls_context_to_sid()
390 rc = ebitmap_cpy(&context->range.level[l].cat, in mls_range_set()
391 &range->level[l].cat); in mls_range_set()
438 ebitmap_destroy(&c->range.level[l].cat); in mls_convert_context()
[all …]
A Dpolicydb.c601 ebitmap_destroy(&usrdatum->range.level[0].cat); in user_destroy()
602 ebitmap_destroy(&usrdatum->range.level[1].cat); in user_destroy()
603 ebitmap_destroy(&usrdatum->dfltlevel.cat); in user_destroy()
614 ebitmap_destroy(&levdatum->level->cat); in sens_destroy()
714 ebitmap_destroy(&lrt->target_range.level[0].cat); in policydb_destroy()
715 ebitmap_destroy(&lrt->target_range.level[1].cat); in policydb_destroy()
868 rc = ebitmap_read(&r->level[0].cat, fp); in mls_read_range_helper()
877 rc = ebitmap_read(&r->level[1].cat, fp); in mls_read_range_helper()
887 rc = ebitmap_cpy(&r->level[1].cat, &r->level[0].cat); in mls_read_range_helper()
899 ebitmap_destroy(&r->level[0].cat); in mls_read_range_helper()
[all …]
/xen/docs/
A Dsupport-matrix-generate72 cat docs/misc/support-matrix-head.html
89 git cat-file blob "$obj" >"$tmp_mdfile"
104 git cat-file blob "$commitish:$versionfile" >"$tmp_versionfile"
126 cat >&4 <<END
134 cat >&4 <<END
167 cat <<END
180 cat "$tmp_revisions"
184 cat <<END
A Dconfigure1225 cat <<_ACEOF
1282 cat <<\_ACEOF
1290 cat <<\_ACEOF
1585 cat confdefs.h
2270 cat >confcache <<\_ACEOF
2338 cat confcache >"$cache_file"
3067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3068 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3116 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
[all …]
/xen/tools/libxl/
A Dlibxl_psr.c373 cat_info->cos_max = hw_info->u.cat.cos_max; in libxl__hw_info_to_libxl_cat_info()
374 cat_info->cbm_len = hw_info->u.cat.cbm_len; in libxl__hw_info_to_libxl_cat_info()
375 cat_info->cdp_enabled = hw_info->u.cat.cdp_enabled; in libxl__hw_info_to_libxl_cat_info()
481 xl_info->u.cat.cos_max = xc_info->cat.cos_max; in libxl__xc_hw_info_to_libxl_hw_info()
482 xl_info->u.cat.cbm_len = xc_info->cat.cbm_len; in libxl__xc_hw_info_to_libxl_hw_info()
483 xl_info->u.cat.cdp_enabled = xc_info->cat.cdp_enabled; in libxl__xc_hw_info_to_libxl_hw_info()
A Dcheck-xl-vcpupin-parse16 cat <<END
39 cat >$fprefix.expected
145 cat >$outfile <<END
/xen/xen/tools/kconfig/
A Dmerge_config.sh116 cat $INITFILE > $TMP_FILE
125 cat $ORIG_MERGE_FILE > $MERGE_FILE
153 cat $MERGE_FILE >> $TMP_FILE
/xen/tools/firmware/etherboot/
A DMakefile29 cat $^ > $@.tmp
47 for i in $$(cat patches/series) ; do \
50 cat Config >>$@
/xen/tools/libacpi/
A DMakefile55 cat dsdt_acpi_info.asl >> $@.$(TMP_SUFFIX)
63 cat dsdt_acpi_info.asl >> $@.$(TMP_SUFFIX)
69 cat dsdt_acpi_info.asl >> $@
/xen/
A D.travis.yml82 - cat xen/.config
83 - cat tools/config.log
84 - cat docs/config.log
A Dconfigure1237 cat <<_ACEOF
1294 cat <<\_ACEOF
1306 cat <<\_ACEOF
1401 cat <<\_ACEOF
1415 cat >config.log <<_ACEOF
1427 cat <<_ASUNAME
1462 cat >&5 <<_ACEOF
1601 cat confdefs.h
2317 cat >confcache <<\_ACEOF
2385 cat confcache >"$cache_file"
[all …]
/xen/tools/xl/
A Dxl_psr.c361 if (!info->u.cat.cdp_enabled) { in psr_print_one_domain_val()
441 (1ull << info->u.cat.cbm_len) - 1); in psr_print_socket()
442 if (info->u.cat.cdp_enabled) in psr_print_socket()
753 bool all = true, cmt = false, cat = false, mba = false; in main_psr_hwinfo() local
766 all = false; cat = true; in main_psr_hwinfo()
776 if (!ret && (all || cat)) in main_psr_hwinfo()
780 if (all || cat) in main_psr_hwinfo()
/xen/tools/
A Dconfigure1414 cat <<_ACEOF
1471 cat <<\_ACEOF
1483 cat <<\_ACEOF
1800 cat conftest.er1 >&5
2096 cat >config.log <<_ACEOF
2108 cat <<_ASUNAME
2143 cat >&5 <<_ACEOF
2282 cat confdefs.h
2895 cat conftest.er1 >&5
5044 cat conftest.er1 >&5
[all …]
/xen/stubdom/
A Dconfigure1265 cat <<_ACEOF
1322 cat <<\_ACEOF
1334 cat <<\_ACEOF
1679 cat confdefs.h
2792 cat conftest.er1 >&5
3267 cat >conftest.make <<\_ACEOF
3709 cat >confcache <<\_ACEOF
3777 cat confcache >"$cache_file"
4506 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4554 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
[all …]
/xen/xen/xsm/flask/policy/
A Dmkaccess_vector.sh15 cat $* | $awk "
A Dmkflask.sh19 cat $* | $awk "
/xen/xen/arch/x86/
A Dpsr.c98 } cat; member
288 unsigned int cbm_len = feat->cat.cbm_len; in cat_check_cbm()
326 feat->cat.cbm_len = (regs->a & CAT_CBM_LEN_MASK) + 1; in cat_init_feature()
336 feat->cos_reg_val[0] = cat_default_val(feat->cat.cbm_len); in cat_init_feature()
341 cat_default_val(feat->cat.cbm_len)); in cat_init_feature()
356 get_cdp_code(feat, 0) = cat_default_val(feat->cat.cbm_len); in cat_init_feature()
357 get_cdp_data(feat, 0) = cat_default_val(feat->cat.cbm_len); in cat_init_feature()
359 wrmsrl(MSR_IA32_PSR_L3_MASK(0), cat_default_val(feat->cat.cbm_len)); in cat_init_feature()
360 wrmsrl(MSR_IA32_PSR_L3_MASK(1), cat_default_val(feat->cat.cbm_len)); in cat_init_feature()
378 feat->cos_max, feat->cat.cbm_len); in cat_init_feature()
[all …]
/xen/tools/firmware/vgabios/
A Ddataseghack22 cat temp.awk.1 temp.awk.2 temp.awk.3 | sed -e 's/^\.data//' -e 's/^\.bss//' -e 's/^\.text//' > $1
/xen/docs/features/
A Dintel_psr_cat_cdp.pandoc55 Add "psr=cat" to boot line parameter to enable all supported level CAT
60 1. `psr-cat-show [OPTIONS] domain-id`:
73 2. `psr-cat-set [OPTIONS] domain-id cbm`:
102 Option `-a, --cat`: Show CAT/CDP hardware info.
235 'psr-cat-set' can set CBM for one domain per socket. On each socket, we
249 1. Boot line parameter "psr=cat" enables L2 CAT and L3 CAT if hardware
270 1. psr-cat-show -lX domain-id
281 2. psr-cat-set -lX domain-id cbm
420 root@:~$ xl psr-hwinfo --cat
427 root@:~$ xl psr-cat-cbm-set -l2 1 0x7f
[all …]
/xen/xen/tools/
A Dbinfile27 cat <<EOF >$target
A Dscmversion36 cat .scmversion
/xen/tools/libxc/
A Dxc_psr.c359 hw_info->cat.cos_max = sysctl.u.psr_alloc.u.cat_info.cos_max; in xc_psr_get_hw_info()
360 hw_info->cat.cbm_len = sysctl.u.psr_alloc.u.cat_info.cbm_len; in xc_psr_get_hw_info()
361 hw_info->cat.cdp_enabled = (type == XC_PSR_CAT_L2) ? in xc_psr_get_hw_info()
/xen/m4/
A Docaml.m4195 cat > conftest.ml <<EOF
221 cat > conftest.ml <<EOF
234 cat > conftest.ml <<EOF

Completed in 181 milliseconds

123