Home
last modified time | relevance | path

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

12345678910>>...29

/linux/security/selinux/ss/
H A Dcontext.h48 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 Dmls.c50 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 Dmls_types.h22 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 Dctcm_dbug.h98 #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 Dlprops.c26 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 Dtracepoints.rst20 $ 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 Ddpu_kms.c908 const struct dpu_mdss_cfg *cat; in dpu_kms_mdp_snapshot() local
913 cat = dpu_kms->catalog; in dpu_kms_mdp_snapshot()
918 for (i = 0; i < cat->ctl_count; i++) in dpu_kms_mdp_snapshot()
919 msm_disp_snapshot_add_block(disp_state, cat->ctl[i].len, in dpu_kms_mdp_snapshot()
920 dpu_kms->mmio + cat->ctl[i].base, cat->ctl[i].name); in dpu_kms_mdp_snapshot()
923 for (i = 0; i < cat->dspp_count; i++) { in dpu_kms_mdp_snapshot()
924 base = dpu_kms->mmio + cat->dspp[i].base; in dpu_kms_mdp_snapshot()
925 msm_disp_snapshot_add_block(disp_state, cat->dspp[i].len, base, cat->dspp[i].name); in dpu_kms_mdp_snapshot()
927 if (cat->dspp[i].sblk && cat->dspp[i].sblk->pcc.len > 0) in dpu_kms_mdp_snapshot()
928 msm_disp_snapshot_add_block(disp_state, cat->dspp[i].sblk->pcc.len, in dpu_kms_mdp_snapshot()
[all …]
H A Ddpu_rm.c39 const struct dpu_mdss_cfg *cat, in dpu_rm_init() argument
45 if (!rm || !cat || !mmio) { in dpu_rm_init()
54 for (i = 0; i < cat->mixer_count; i++) { in dpu_rm_init()
56 const struct dpu_lm_cfg *lm = &cat->mixer[i]; in dpu_rm_init()
67 for (i = 0; i < cat->merge_3d_count; i++) { in dpu_rm_init()
69 const struct dpu_merge_3d_cfg *merge_3d = &cat->merge_3d[i]; in dpu_rm_init()
81 for (i = 0; i < cat->pingpong_count; i++) { in dpu_rm_init()
83 const struct dpu_pingpong_cfg *pp = &cat->pingpong[i]; in dpu_rm_init()
85 hw = dpu_hw_pingpong_init(dev, pp, mmio, cat->mdss_ver); in dpu_rm_init()
97 for (i = 0; i < cat->intf_count; i++) { in dpu_rm_init()
[all …]
/linux/tools/testing/ktest/examples/bootconfigs/
H A Dverify-functiongraph.sh8 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 Dverify-tracing.sh8 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 Dverify-boottrace.sh8 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/mm/
H A Dcharge_reserved_hugetlb.sh14 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/selftests/cgroup/
H A Dtest_cpuset_prs.sh26 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/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_traceonoff_triggers.tc66 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 Dfunc_set_ftrace_file.tc42 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 Dfunc-filter-pid.tc31 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/leds/
H A Dget_led_device_info.sh56 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/kprobe/
H A Dkprobe_multiprobe.tc17 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/tools/bootconfig/scripts/
H A Dftrace2bconf.sh48 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/tools/testing/selftests/rcutorture/bin/
H A Dkvm-get-cpus-script.sh31 cat << '___EOF___' > "$scriptfile"
34 cat "$cpuarrays" >> "$scriptfile"
37 cat "$statefile" >> "$scriptfile"
39 cat << '___EOF___' >> "$scriptfile"
76 cat << '___EOF___' >> "$scriptfile"
H A Dkvm-remote.sh73 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 …]
/linux/fs/hfsplus/
H A Dcatalog.c21 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/drivers/misc/lkdtm/
H A Dcore.c138 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/scripts/atomic/
H A Dgen-atomic-instrumented.sh73 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 Dnetlabel_cipso_v4.c248 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 …]

12345678910>>...29