/linux/security/selinux/ss/ |
H A D | context.h | 48 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy() 53 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy() 55 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy() 69 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low() 74 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[0].cat); in mls_context_cpy_low() 76 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy_low() 90 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[1].cat); in mls_context_cpy_high() 95 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy_high() 97 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy_high() 121 rc = ebitmap_and(&dr->level[0].cat, &r1->level[0].cat, in mls_context_glblub() [all …]
|
H A D | mls.c | 50 e = &context->range.level[l].cat; in mls_compute_context_len() 110 e = &context->range.level[l].cat; in mls_sid_to_context() 174 return ebitmap_contains(&levdatum->level->cat, &l->cat, in mls_level_isvalid() 312 rc = ebitmap_set_bit(&context->range.level[l].cat, in mls_context_to_sid() 330 &context->range.level[l].cat, i, 1); in mls_context_to_sid() 340 rc = ebitmap_cpy(&context->range.level[1].cat, in mls_context_to_sid() 341 &context->range.level[0].cat); in mls_context_to_sid() 386 rc = ebitmap_cpy(&context->range.level[l].cat, in mls_range_set() 387 &range->level[l].cat); in mls_range_set() 461 ebitmap_for_each_positive_bit(&oldc->range.level[l].cat, node, in mls_convert_context() [all …]
|
H A D | mls_types.h | 22 struct ebitmap cat; /* category set */ member 32 return ((l1->sens == l2->sens) && ebitmap_cmp(&l1->cat, &l2->cat)); in mls_level_eq() 39 ebitmap_contains(&l1->cat, &l2->cat, 0)); in mls_level_dom()
|
/linux/drivers/s390/net/ |
H A D | ctcm_dbug.h | 98 #define CTCM_DBF_DEV_NAME(cat, dev, text) \ argument 100 CTCM_DBF_TEXT_(cat, CTC_DBF_INFO, "%s(%s) :- %s", \ 104 #define MPC_DBF_DEV_NAME(cat, dev, text) \ argument 106 CTCM_DBF_TEXT_(MPC_##cat, CTC_DBF_INFO, "%s(%s) := %s", \ 110 #define CTCMY_DBF_DEV_NAME(cat, dev, text) \ argument 113 MPC_DBF_DEV_NAME(cat, dev, text); \ 115 CTCM_DBF_DEV_NAME(cat, dev, text); \ 123 #define CTCM_DBF_DEV(cat, dev, text) \ argument 125 CTCM_DBF_TEXT_(cat, CTC_DBF_INFO, "%s(%p) :-: %s", \ 129 #define MPC_DBF_DEV(cat, dev, text) \ argument [all …]
|
/linux/fs/ubifs/ |
H A D | lprops.c | 26 static int get_heap_comp_val(struct ubifs_lprops *lprops, int cat) in get_heap_comp_val() argument 28 switch (cat) { in get_heap_comp_val() 51 struct ubifs_lprops *lprops, int cat) in move_up_lpt_heap() argument 58 val1 = get_heap_comp_val(lprops, cat); in move_up_lpt_heap() 63 val2 = get_heap_comp_val(heap->arr[ppos], cat); in move_up_lpt_heap() 88 struct ubifs_lprops *lprops, int hpos, int cat) in adjust_lpt_heap() argument 92 val1 = get_heap_comp_val(lprops, cat); in adjust_lpt_heap() 97 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap() 109 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap() 123 val2 = get_heap_comp_val(heap->arr[cpos], cat); in adjust_lpt_heap() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | tracepoints.rst | 20 $ cat /sys/kernel/tracing/trace 27 $ cat /sys/kernel/tracing/trace 34 $ cat /sys/kernel/tracing/trace 41 $ cat /sys/kernel/tracing/trace 48 $ cat /sys/kernel/tracing/trace 57 $ cat /sys/kernel/tracing/trace 64 $ cat /sys/kernel/tracing/trace 72 $ cat /sys/kernel/tracing/trace 80 $ cat /sys/kernel/tracing/trace 88 $ cat /sys/kernel/tracing/trace [all …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_kms.c | 923 const struct dpu_mdss_cfg *cat; in dpu_kms_mdp_snapshot() local 928 cat = dpu_kms->catalog; in dpu_kms_mdp_snapshot() 933 for (i = 0; i < cat->ctl_count; i++) in dpu_kms_mdp_snapshot() 934 msm_disp_snapshot_add_block(disp_state, cat->ctl[i].len, in dpu_kms_mdp_snapshot() 935 dpu_kms->mmio + cat->ctl[i].base, cat->ctl[i].name); in dpu_kms_mdp_snapshot() 938 for (i = 0; i < cat->dspp_count; i++) { in dpu_kms_mdp_snapshot() 939 base = dpu_kms->mmio + cat->dspp[i].base; in dpu_kms_mdp_snapshot() 940 msm_disp_snapshot_add_block(disp_state, cat->dspp[i].len, base, cat->dspp[i].name); in dpu_kms_mdp_snapshot() 942 if (cat->dspp[i].sblk && cat->dspp[i].sblk->pcc.len > 0) in dpu_kms_mdp_snapshot() 943 msm_disp_snapshot_add_block(disp_state, cat->dspp[i].sblk->pcc.len, in dpu_kms_mdp_snapshot() [all …]
|
/linux/tools/testing/selftests/mm/ |
H A D | charge_reserved_hugetlb.sh | 14 nr_hugepgs=$(cat /proc/sys/vm/nr_hugepages) 119 while [ $(cat $path) != 0 ]; do 121 cat $path 132 while [ $(cat $path) != $size ]; do 134 cat $path 145 while [ $(cat $path) != $size ]; do 147 cat $path 172 local hugetlb_before=$(cat $hugetlb_usage) 173 local reserved_before=$(cat $reserved_usage) 204 cat $output [all …]
|
/linux/tools/testing/ktest/examples/bootconfigs/ |
H A D | verify-functiongraph.sh | 8 content=`cat $file` 18 content=`cat $file | sed -ne "/^$val/p"` 21 cat $file 32 cat $file 41 content=`cat $file | sed -ne "/^[0 ]*$val/p"` 44 cat $file
|
H A D | verify-tracing.sh | 8 content=`cat $file` 18 content=`cat $file | sed -ne "/^$val/p"` 21 cat $file 32 cat $file 41 content=`cat $file | sed -ne "/^[0 ]*$val/p"` 44 cat $file
|
H A D | verify-boottrace.sh | 8 content=`cat $file` 18 content=`cat $file | sed -ne "/^$val/p"` 21 cat $file 32 cat $file 41 content=`cat $file | sed -ne "/^[0 ]*$val/p"` 44 cat $file
|
/linux/tools/testing/selftests/cgroup/ |
H A D | test_cpuset_prs.sh | 26 CPULIST=$(cat $CGROUP2/cpuset.cpus.effective) 66 SCHED_DEBUG=$(cat /sys/kernel/debug/sched/verbose) 81 cat test/cpuset.cpus.partition | grep -q invalid 94 BOOT_ISOLCPUS=$(cat $CGROUP2/cpuset.cpus.isolated) 138 ACTUAL_VAL=$(cat cpuset.cpus.partition) 149 ACTUAL_VAL=$(cat cpuset.cpus.effective) 161 ERRMSG=$((echo $$ > cgroup.procs) |& cat) 502 cat $TMPMSG 590 [[ $CPUS = $(cat $CGRP/$FILE) ]] || return 1 619 VAL=$(cat $FILE) [all …]
|
/linux/tools/leds/ |
H A D | get_led_device_info.sh | 56 idVendor=`cat idVendor` 57 idProduct=`cat idProduct` 58 manufacturer=`cat manufacturer` 59 product=`cat product` 62 product=`cat device/name` 63 driver=`cat device/device/driver/description` 66 compatible=`cat device/of_node/compatible` 182 color_id_definition=$(cat $led_defs_path | grep "_$color_upper\s" | awk '{print $2}') 194 fun_definition=$(cat $led_defs_path | grep "\"$function\"" | awk '{print $2}')
|
/linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
H A D | func_traceonoff_triggers.tc | 66 cur=`cat set_ftrace_filter` 67 top=`cat ../../set_ftrace_filter` 88 on=`cat tracing_on` 115 on=`cat tracing_on` 132 on=`cat tracing_on` 148 cat set_ftrace_filter 149 on=`cat tracing_on`
|
H A D | func_set_ftrace_file.tc | 42 cat=`cat $FILTER` 50 if cat=`test_func "$cat" "$1"`; then 62 if [ -n "$cat" ]; then 125 cat set_ftrace_filter | grep -v '#' | cut -d' ' -f1 | cut -d':' -f1 | sort -u > $TMPDIR/actual 131 cat available_filter_functions | cut -d' ' -f1 | grep 'lock' | sort -u > $TMPDIR/expected
|
H A D | func-filter-pid.tc | 31 orig_value2=`cat options/funcgraph-proc` 70 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l` 71 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l` 91 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l` 92 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l`
|
/linux/tools/testing/selftests/ftrace/test.d/kprobe/ |
H A D | kprobe_multiprobe.tc | 17 cat kprobe_events | grep "$DEF1" 18 cat kprobe_events | grep "$DEF2" 22 test `cat kprobe_events | wc -l` -eq 0 28 ! cat kprobe_events | grep "$DEF1" 29 cat kprobe_events | grep "$DEF2"
|
/linux/fs/hfsplus/ |
H A D | catalog.c | 21 k1p = k1->cat.parent; in hfsplus_cat_case_cmp_key() 22 k2p = k2->cat.parent; in hfsplus_cat_case_cmp_key() 26 return hfsplus_strcasecmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_case_cmp_key() 34 k1p = k1->cat.parent; in hfsplus_cat_bin_cmp_key() 35 k2p = k2->cat.parent; in hfsplus_cat_bin_cmp_key() 39 return hfsplus_strcmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_bin_cmp_key() 48 key->cat.parent = cpu_to_be32(parent); in hfsplus_cat_build_key() 49 err = hfsplus_asc2uni(sb, &key->cat.name, HFSPLUS_MAX_STRLEN, in hfsplus_cat_build_key() 54 len = be16_to_cpu(key->cat.name.length); in hfsplus_cat_build_key() 63 key->cat.parent = cpu_to_be32(parent); in hfsplus_cat_build_key_with_cnid() [all …]
|
/linux/tools/bootconfig/scripts/ |
H A D | ftrace2bconf.sh | 48 val=`cat $TRACEFS/max_graph_depth` 51 cat 1>&2 << EOF 58 cat $TRACEFS/kprobe_events | while read p args; do 61 cat 1>&2 << EOF 70 cat 1>&2 << EOF 79 cat $TRACEFS/synthetic_events | while read event fields; do
|
/linux/drivers/misc/lkdtm/ |
H A D | core.c | 138 int cat, idx; in find_crashtype() local 140 for (cat = 0; cat < ARRAY_SIZE(crashtype_categories); cat++) { in find_crashtype() 141 for (idx = 0; idx < crashtype_categories[cat]->len; idx++) { in find_crashtype() 144 crashtype = &crashtype_categories[cat]->crashtypes[idx]; in find_crashtype() 270 int n, cat, idx; in lkdtm_debugfs_read() local 280 for (cat = 0; cat < ARRAY_SIZE(crashtype_categories); cat++) { in lkdtm_debugfs_read() 281 for (idx = 0; idx < crashtype_categories[cat]->len; idx++) { in lkdtm_debugfs_read() 284 crashtype = &crashtype_categories[cat]->crashtypes[idx]; in lkdtm_debugfs_read()
|
/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-remote.sh | 73 cat $T/kvm.sh.out 81 cat $T/kvm.sh.out | tee -a "$oldrun/remote-log" 89 cat $T/kvm-again.sh.out | tee -a "$oldrun/remote-log" 107 cat $T/kvm-again.sh.out | tee -a "$oldrun/remote-log" 115 cat $T/kvm-again.sh.out 146 cat $T/ssh.stdout | tee -a "$oldrun/remote-log" 149 cat $T/ssh.stderr | tee -a "$oldrun/remote-log" 153 echo $i: `cat $T/ssh.stdout` CPUs " " `date` | tee -a "$oldrun/remote-log" 161 cat $T/binres.tgz | ssh -o BatchMode=yes $i "cd /tmp; tar -xzf -" 168 cat $T/binres.tgz | ssh -o BatchMode=yes $i "cd /tmp; tar -xzf -" [all …]
|
H A D | kvm-get-cpus-script.sh | 31 cat << '___EOF___' > "$scriptfile" 34 cat "$cpuarrays" >> "$scriptfile" 37 cat "$statefile" >> "$scriptfile" 39 cat << '___EOF___' >> "$scriptfile" 76 cat << '___EOF___' >> "$scriptfile"
|
/linux/scripts/atomic/ |
H A D | gen-atomic-instrumented.sh | 73 cat <<EOF 100 cat <<EOF 107 cat <<EOF 116 cat <<EOF 122 cat <<EOF 131 cat << EOF 178 cat <<EOF
|
/linux/net/netlabel/ |
H A D | netlabel_cipso_v4.c | 248 doi_def->map.std->cat.local_size) in netlbl_cipsov4_add_std() 249 doi_def->map.std->cat.local_size = in netlbl_cipsov4_add_std() 257 doi_def->map.std->cat.cipso_size) in netlbl_cipsov4_add_std() 258 doi_def->map.std->cat.cipso_size = in netlbl_cipsov4_add_std() 263 doi_def->map.std->cat.local = kcalloc( in netlbl_cipsov4_add_std() 264 doi_def->map.std->cat.local_size, in netlbl_cipsov4_add_std() 267 if (doi_def->map.std->cat.local == NULL) { in netlbl_cipsov4_add_std() 271 doi_def->map.std->cat.cipso = kcalloc( in netlbl_cipsov4_add_std() 272 doi_def->map.std->cat.cipso_size, in netlbl_cipsov4_add_std() 275 if (doi_def->map.std->cat.cipso == NULL) { in netlbl_cipsov4_add_std() [all …]
|
/linux/fs/hfs/ |
H A D | catalog.c | 25 key->cat.reserved = 0; in hfs_cat_build_key() 26 key->cat.ParID = cpu_to_be32(parent); in hfs_cat_build_key() 28 hfs_asc2mac(sb, &key->cat.CName, name); in hfs_cat_build_key() 29 key->key_len = 6 + key->cat.CName.len; in hfs_cat_build_key() 31 memset(&key->cat.CName, 0, sizeof(struct hfs_name)); in hfs_cat_build_key() 175 k1p = key1->cat.ParID; in hfs_cat_keycmp() 176 k2p = key2->cat.ParID; in hfs_cat_keycmp() 181 return hfs_strcmp(key1->cat.CName.name, key1->cat.CName.len, in hfs_cat_keycmp() 182 key2->cat.CName.name, key2->cat.CName.len); in hfs_cat_keycmp() 204 fd->search_key->cat.ParID = rec.thread.ParID; in hfs_cat_find_brec() [all …]
|