Home
last modified time | relevance | path

Searched refs:pred (Results 1 - 25 of 68) sorted by relevance

123

/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_events_filter.c93 * pred functions are OP_LE, OP_LT, OP_GE, OP_GT, and OP_BAND
148 * @pred: The predicate to execute.
153 struct filter_pred *pred; member
192 struct filter_pred **pred);
200 static void free_predicate(struct filter_pred *pred) in free_predicate() argument
202 if (pred) { in free_predicate()
203 kfree(pred->regex); in free_predicate()
204 kfree(pred->mask); in free_predicate()
205 kfree(pred); in free_predicate()
331 * "a" - prog[0] = { "a", X, -1 } // pred, when_to_branc
837 filter_pred_string(struct filter_pred *pred, void *event) filter_pred_string() argument
849 filter_pchar(struct filter_pred *pred, char *str) filter_pchar() argument
862 filter_pred_pchar(struct filter_pred *pred, void *event) filter_pred_pchar() argument
875 filter_pred_pchar_user(struct filter_pred *pred, void *event) filter_pred_pchar_user() argument
897 filter_pred_strloc(struct filter_pred *pred, void *event) filter_pred_strloc() argument
919 filter_pred_strrelloc(struct filter_pred *pred, void *event) filter_pred_strrelloc() argument
936 filter_pred_cpu(struct filter_pred *pred, void *event) filter_pred_cpu() argument
962 filter_pred_cpu_cpumask(struct filter_pred *pred, void *event) filter_pred_cpu_cpumask() argument
970 filter_pred_cpumask(struct filter_pred *pred, void *event) filter_pred_cpumask() argument
981 filter_pred_cpumask_cpu(struct filter_pred *pred, void *event) filter_pred_cpumask_cpu() argument
992 filter_pred_comm(struct filter_pred *pred, void *event) filter_pred_comm() argument
1002 filter_pred_function(struct filter_pred *pred, void *event) filter_pred_function() argument
1124 filter_build_regex(struct filter_pred *pred) filter_build_regex() argument
1161 test_pred_visited_fn(struct filter_pred *pred, void *event) test_pred_visited_fn() argument
1186 struct filter_pred *pred = prog[i].pred; filter_match_preds() local
1434 filter_pred_fn_call(struct filter_pred *pred, void *event) filter_pred_fn_call() argument
1505 struct filter_pred *pred = NULL; parse_pred() local
2525 ftrace_function_check_pred(struct filter_pred *pred) ftrace_function_check_pred() argument
2543 ftrace_function_set_filter_pred(struct filter_pred *pred, struct function_filter_data *data) ftrace_function_set_filter_pred() argument
2590 struct filter_pred *pred = prog[i].pred; ftrace_function_set_filter() local
2732 test_pred_visited_fn(struct filter_pred *pred, void *event) test_pred_visited_fn() argument
2748 struct filter_pred *pred = prog[i].pred; update_pred_fn() local
[all...]
/kernel/linux/linux-5.10/arch/ia64/include/asm/native/
H A Dinst.h23 #define MOV_FROM_IPSR(pred, reg) \
24 (pred) mov reg = cr.ipsr
35 #define MOV_FROM_PSR(pred, reg, clob) \
36 (pred) mov reg = psr
38 #define MOV_FROM_ITC(pred, pred_clob, reg, clob) \
39 (pred) mov reg = ar.itc
44 #define MOV_TO_ITIR(pred, reg, clob) \
45 (pred) mov cr.itir = reg
47 #define MOV_TO_IHA(pred, reg, clob) \
48 (pred) mo
[all...]
/kernel/linux/linux-6.6/arch/ia64/include/asm/native/
H A Dinst.h23 #define MOV_FROM_IPSR(pred, reg) \
24 (pred) mov reg = cr.ipsr
35 #define MOV_FROM_PSR(pred, reg, clob) \
36 (pred) mov reg = psr
38 #define MOV_FROM_ITC(pred, pred_clob, reg, clob) \
39 (pred) mov reg = ar.itc
44 #define MOV_TO_ITIR(pred, reg, clob) \
45 (pred) mov cr.itir = reg
47 #define MOV_TO_IHA(pred, reg, clob) \
48 (pred) mo
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_events_filter.c47 * pred functions are OP_LE, OP_LT, OP_GE, OP_GT, and OP_BAND
98 * @pred: The predicate to execute.
103 struct filter_pred *pred; member
142 struct filter_pred **pred);
272 * "a" - prog[0] = { "a", X, -1 } // pred, when_to_branch, target
477 len = parse_pred(next, data, ptr - str, pe, &prog[N].pred); in predicate_parse()
554 prog[N].pred = NULL; /* #13 */ in predicate_parse()
556 prog[N+1].pred = NULL; in predicate_parse()
586 for (i = 0; prog_stack[i].pred; i++) in predicate_parse()
587 kfree(prog_stack[i].pred); in predicate_parse()
705 filter_pred_string(struct filter_pred *pred, void *event) filter_pred_string() argument
717 filter_pchar(struct filter_pred *pred, char *str) filter_pchar() argument
730 filter_pred_pchar(struct filter_pred *pred, void *event) filter_pred_pchar() argument
743 filter_pred_pchar_user(struct filter_pred *pred, void *event) filter_pred_pchar_user() argument
765 filter_pred_strloc(struct filter_pred *pred, void *event) filter_pred_strloc() argument
781 filter_pred_cpu(struct filter_pred *pred, void *event) filter_pred_cpu() argument
807 filter_pred_comm(struct filter_pred *pred, void *event) filter_pred_comm() argument
816 filter_pred_none(struct filter_pred *pred, void *event) filter_pred_none() argument
933 filter_build_regex(struct filter_pred *pred) filter_build_regex() argument
982 struct filter_pred *pred = prog[i].pred; filter_match_preds() local
1229 struct filter_pred *pred = NULL; parse_pred() local
2069 ftrace_function_check_pred(struct filter_pred *pred) ftrace_function_check_pred() argument
2087 ftrace_function_set_filter_pred(struct filter_pred *pred, struct function_filter_data *data) ftrace_function_set_filter_pred() argument
2134 struct filter_pred *pred = prog[i].pred; ftrace_function_set_filter() local
2276 test_pred_visited_fn(struct filter_pred *pred, void *event) test_pred_visited_fn() argument
2292 struct filter_pred *pred = prog[i].pred; update_pred_fn() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/security/
H A Dspectre_v2.c27 u64 pred, mpred; in do_count_loop() local
46 pred = events[0].result.value; in do_count_loop()
55 pred += events[2].result.value; in do_count_loop()
59 *miss_percent = 100 * mpred / pred; in do_count_loop()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/security/
H A Dspectre_v2.c27 u64 pred, mpred; in do_count_loop() local
46 pred = events[0].result.value; in do_count_loop()
55 pred += events[2].result.value; in do_count_loop()
59 *miss_percent = 100 * mpred / pred; in do_count_loop()
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/
H A Dtsnep_rxnfc.c56 struct tsnep_rxnfc_rule *pred, *cur; in tsnep_add_rule() local
60 pred = NULL; in tsnep_add_rule()
64 pred = cur; in tsnep_add_rule()
67 list_add(&rule->list, pred ? &pred->list : &adapter->rxnfc_rules); in tsnep_add_rule()
/kernel/linux/linux-5.10/arch/ia64/lib/
H A Dcopy_user.S174 .pred.rel "mutex", p14, p15
211 .pred.rel "mutex", p14, p15
235 #define SWITCH(pred, shift) cmp.eq pred,p0=shift,rshift
236 #define CASE(pred, shift) \
237 (pred) br.cond.spnt .copy_user_bit##shift
288 .pred.rel "mutex", p14, p15
H A Dclear_user.S199 .pred.rel "mutex", p6, p7
/kernel/linux/linux-6.6/arch/ia64/lib/
H A Dcopy_user.S174 .pred.rel "mutex", p14, p15
211 .pred.rel "mutex", p14, p15
235 #define SWITCH(pred, shift) cmp.eq pred,p0=shift,rshift
236 #define CASE(pred, shift) \
237 (pred) br.cond.spnt .copy_user_bit##shift
288 .pred.rel "mutex", p14, p15
H A Dclear_user.S199 .pred.rel "mutex", p6, p7
/kernel/linux/linux-6.6/rust/alloc/vec/
H A Dextract_if.rs41 pub(super) pred: F,
68 let drained = (self.pred)(&mut v[i]); in next()
102 // to execute `pred`, so we just backshift all the unprocessed in drop()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-bufio.c172 iter_predicate pred, void *context) in lru_iter_next()
185 if (pred(e, context)) in lru_iter_next()
257 static struct lru_entry *lru_evict(struct lru *lru, le_predicate pred, void *context, bool no_sleep) in lru_evict() argument
277 switch (pred(le, context)) { in lru_evict()
659 b_predicate pred; member
677 return w->pred(b, w->context); in __evict_pred()
681 b_predicate pred, void *context, in __cache_evict()
684 struct evict_wrapper w = {.lh = lh, .pred = pred, .context = context}; in __cache_evict()
700 b_predicate pred, voi in cache_evict()
171 lru_iter_next(struct lru_iter *it, iter_predicate pred, void *context) lru_iter_next() argument
680 __cache_evict(struct dm_buffer_cache *bc, int list_mode, b_predicate pred, void *context, struct lock_history *lh) __cache_evict() argument
699 cache_evict(struct dm_buffer_cache *bc, int list_mode, b_predicate pred, void *context) cache_evict() argument
734 __cache_mark_many(struct dm_buffer_cache *bc, int old_mode, int new_mode, b_predicate pred, void *context, struct lock_history *lh) __cache_mark_many() argument
752 cache_mark_many(struct dm_buffer_cache *bc, int old_mode, int new_mode, b_predicate pred, void *context) cache_mark_many() argument
922 __remove_range(struct dm_buffer_cache *bc, struct rb_root *root, sector_t begin, sector_t end, b_predicate pred, b_release release) __remove_range() argument
949 cache_remove_range(struct dm_buffer_cache *bc, sector_t begin, sector_t end, b_predicate pred, b_release release) cache_remove_range() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dblock-range.c217 .pred = entry->pred, in block_range__create()
223 entry->pred = 0; in block_range__create()
H A Dblock-range.h20 * @pred: number of times the taken branch was predicted
35 u64 pred; member
/kernel/linux/linux-6.6/tools/perf/util/
H A Dblock-range.c213 .pred = entry->pred, in block_range__create()
219 entry->pred = 0; in block_range__create()
H A Dblock-range.h20 * @pred: number of times the taken branch was predicted
35 u64 pred; member
H A Dsample.h71 pred:2; /* predication */ member
/kernel/linux/linux-5.10/drivers/acpi/
H A Dutils.c913 if ((plat->pred == all_versions) || in acpi_match_platform_list()
914 (plat->pred == less_than_or_equal && hdr.oem_revision <= plat->oem_revision) || in acpi_match_platform_list()
915 (plat->pred == greater_than_or_equal && hdr.oem_revision >= plat->oem_revision) || in acpi_match_platform_list()
916 (plat->pred == equal && hdr.oem_revision == plat->oem_revision)) in acpi_match_platform_list()
/kernel/linux/linux-6.6/drivers/acpi/
H A Dutils.c1019 if ((plat->pred == all_versions) || in acpi_match_platform_list()
1020 (plat->pred == less_than_or_equal && hdr.oem_revision <= plat->oem_revision) || in acpi_match_platform_list()
1021 (plat->pred == greater_than_or_equal && hdr.oem_revision >= plat->oem_revision) || in acpi_match_platform_list()
1022 (plat->pred == equal && hdr.oem_revision == plat->oem_revision)) in acpi_match_platform_list()
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dbtree.h407 struct bkey *end, keybuf_pred_fn *pred);
415 keybuf_pred_fn *pred);
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dbtree.h407 struct bkey *end, keybuf_pred_fn *pred);
415 keybuf_pred_fn *pred);
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Dlbr.c841 u64 from, to, mis = 0, pred = 0, in_tx = 0, abort = 0; in intel_pmu_lbr_read_64() local
861 pred = !mis; in intel_pmu_lbr_read_64()
869 pred = !mis; in intel_pmu_lbr_read_64()
878 pred = !mis; in intel_pmu_lbr_read_64()
902 cpuc->lbr_entries[out].predicted = pred; in intel_pmu_lbr_read_64()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Disp2400_input_system_public.h63 \param pred[in] Predictor method
69 \return none, RECEIVER[ID].cfg[cfg_ID] = {comp, pred}
75 const mipi_predictor_t pred);
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Disp2400_input_system_public.h63 \param pred[in] Predictor method
69 \return none, RECEIVER[ID].cfg[cfg_ID] = {comp, pred}
75 const mipi_predictor_t pred);

Completed in 19 milliseconds

123