Home
last modified time | relevance | path

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

12345678910>>...25

/linux-6.1.9/security/selinux/ss/
Dcontext.h46 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy()
51 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy()
53 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy()
66 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low()
71 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[0].cat); in mls_context_cpy_low()
73 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy_low()
86 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[1].cat); in mls_context_cpy_high()
91 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy_high()
93 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy_high()
117 rc = ebitmap_and(&dr->level[0].cat, in mls_context_glblub()
[all …]
Dmls.c54 e = &context->range.level[l].cat; in mls_compute_context_len()
114 e = &context->range.level[l].cat; in mls_sid_to_context()
177 return ebitmap_contains(&levdatum->level->cat, &l->cat, in mls_level_isvalid()
318 rc = ebitmap_set_bit(&context->range.level[l].cat, in mls_context_to_sid()
335 rc = ebitmap_set_bit(&context->range.level[l].cat, i, 1); in mls_context_to_sid()
345 rc = ebitmap_cpy(&context->range.level[1].cat, in mls_context_to_sid()
346 &context->range.level[0].cat); in mls_context_to_sid()
392 rc = ebitmap_cpy(&context->range.level[l].cat, in mls_range_set()
393 &range->level[l].cat); in mls_range_set()
469 ebitmap_for_each_positive_bit(&oldc->range.level[l].cat, in mls_convert_context()
[all …]
Dmls_types.h23 struct ebitmap cat; /* category set */ member
33 ebitmap_cmp(&l1->cat, &l2->cat)); in mls_level_eq()
39 ebitmap_contains(&l1->cat, &l2->cat, 0)); in mls_level_dom()
/linux-6.1.9/drivers/s390/net/
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-6.1.9/fs/ubifs/
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-6.1.9/tools/testing/ktest/examples/bootconfigs/
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
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
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-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_rm.c98 const struct dpu_mdss_cfg *cat, in dpu_rm_init() argument
103 if (!rm || !cat || !mmio) { in dpu_rm_init()
112 for (i = 0; i < cat->mixer_count; i++) { in dpu_rm_init()
114 const struct dpu_lm_cfg *lm = &cat->mixer[i]; in dpu_rm_init()
125 hw = dpu_hw_lm_init(lm->id, mmio, cat); in dpu_rm_init()
134 for (i = 0; i < cat->merge_3d_count; i++) { in dpu_rm_init()
136 const struct dpu_merge_3d_cfg *merge_3d = &cat->merge_3d[i]; in dpu_rm_init()
142 hw = dpu_hw_merge_3d_init(merge_3d->id, mmio, cat); in dpu_rm_init()
152 for (i = 0; i < cat->pingpong_count; i++) { in dpu_rm_init()
154 const struct dpu_pingpong_cfg *pp = &cat->pingpong[i]; in dpu_rm_init()
[all …]
/linux-6.1.9/tools/testing/selftests/vm/
Dcharge_reserved_hugetlb.sh117 while [ $(cat $path) != 0 ]; do
119 cat $path
130 while [ $(cat $path) != $size ]; do
132 cat $path
143 while [ $(cat $path) != $size ]; do
145 cat $path
170 local hugetlb_before=$(cat $hugetlb_usage)
171 local reserved_before=$(cat $reserved_usage)
202 cat $output
239 local hugetlb_after=$(cat $hugetlb_usage)
[all …]
/linux-6.1.9/tools/testing/selftests/ftrace/test.d/ftrace/
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`
Dfunc_set_ftrace_file.tc35 cat=`cat $FILTER`
43 if cat=`test_func "$cat" "$1"`; then
55 if [ -n "$cat" ]; then
118 cat set_ftrace_filter | grep -v '#' | cut -d' ' -f1 | cut -d':' -f1 | sort -u > $TMPDIR/actual
124 cat available_filter_functions | cut -d' ' -f1 | grep 'lock' | sort -u > $TMPDIR/expected
/linux-6.1.9/tools/testing/selftests/ftrace/test.d/kprobe/
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-6.1.9/tools/leds/
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-6.1.9/tools/bootconfig/scripts/
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-6.1.9/tools/testing/selftests/rcutorture/bin/
Dkvm-get-cpus-script.sh31 cat << '___EOF___' > "$scriptfile"
34 cat "$cpuarrays" >> "$scriptfile"
37 cat "$statefile" >> "$scriptfile"
39 cat << '___EOF___' >> "$scriptfile"
76 cat << '___EOF___' >> "$scriptfile"
Dparse-console.sh34 cat /dev/null > $file.diags
100 print_warning $title `cat $T.seq`
107 print_warning HOTPLUG FAILURES $title `cat $T.seq`
114 print_warning $title `cat $T.seq`
172 cat $T.diags >> $file.diags
178 cat $i >> $file.diags
/linux-6.1.9/scripts/atomic/
Dgen-atomic-instrumented.sh71 cat <<EOF
99 cat <<EOF
106 cat <<EOF
115 cat <<EOF
121 cat <<EOF
130 cat << EOF
/linux-6.1.9/drivers/misc/lkdtm/
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()
267 int n, cat, idx; in lkdtm_debugfs_read() local
277 for (cat = 0; cat < ARRAY_SIZE(crashtype_categories); cat++) { in lkdtm_debugfs_read()
278 for (idx = 0; idx < crashtype_categories[cat]->len; idx++) { in lkdtm_debugfs_read()
281 crashtype = &crashtype_categories[cat]->crashtypes[idx]; in lkdtm_debugfs_read()
/linux-6.1.9/fs/hfsplus/
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-6.1.9/tools/testing/selftests/intel_pstate/
Drun.sh69 max_perf_pct=$(cat /sys/devices/system/cpu/intel_pstate/max_perf_pct)
84 _mkt_freq=$(cat /proc/cpuinfo | grep -m 1 "model name" | awk '{print $NF}')
113 …result_freq=$(cat /tmp/result.${freq} | grep "cpu MHz" | awk ' { print $4 } ' | awk -F "." ' { pri…
114 msr=$(cat /tmp/result.${freq} | grep "msr" | awk ' { print $3 } ')
115 max_perf_pct=$(cat /tmp/result.${freq} | grep "max_perf_pct" | awk ' { print $2 } ' )
116 cat >> /tmp/result.tab << EOF
/linux-6.1.9/Documentation/hwmon/
Dlm73.rst53 $ cat update_interval
55 $ cat temp1_input
59 $ cat update_interval
61 $ cat temp1_input
65 $ cat update_interval
67 $ cat temp1_input
71 $ cat update_interval
73 $ cat temp1_input
/linux-6.1.9/net/netlabel/
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 …]
/linux-6.1.9/Documentation/translations/zh_CN/core-api/irq/
Dirq-affinity.rst33 [root@moon 44]# cat smp_affinity
37 [root@moon 44]# cat smp_affinity
45 [root@moon 44]# cat /proc/interrupts | grep 'CPU\|44:'
55 [root@moon 44]# cat smp_affinity
63 [root@moon 44]# cat /proc/interrupts | 'CPU\|44:'
75 [root@moon 44]# cat smp_affinity_list
/linux-6.1.9/fs/hfs/
Dcatalog.c25 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 …]

12345678910>>...25