Home
last modified time | relevance | path

Searched defs:env (Results 1 – 25 of 178) sorted by relevance

12345678

/linux/tools/perf/util/
H A Denv.c27 bool perf_env__insert_bpf_prog_info(struct perf_env *env, in perf_env__insert_bpf_prog_info()
39 bool __perf_env__insert_bpf_prog_info(struct perf_env *env, struct bpf_prog_info_node *info_node) in __perf_env__insert_bpf_prog_info()
67 struct bpf_prog_info_node *perf_env__find_bpf_prog_info(struct perf_env *env, in perf_env__find_bpf_prog_info()
92 void perf_env__iterate_bpf_prog_info(struct perf_env *env, in perf_env__iterate_bpf_prog_info()
106 bool perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in perf_env__insert_btf()
116 bool __perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in __perf_env__insert_btf()
144 struct btf_node *perf_env__find_btf(struct perf_env *env, __u32 btf_id) in perf_env__find_btf()
154 struct btf_node *__perf_env__find_btf(struct perf_env *env, __u32 btf_id) in __perf_env__find_btf()
174 static void perf_env__purge_bpf(struct perf_env *env) in perf_env__purge_bpf()
219 void perf_env__exit(struct perf_env *env) in perf_env__exit()
[all …]
H A Dbpf-event.c48 struct perf_env *env = machine->env; in machine__process_bpf_event_load() local
104 static int perf_env__fetch_btf(struct perf_env *env, in perf_env__fetch_btf()
507 struct perf_env *env = &session->header.env; in perf_event__synthesize_final_bpf_metadata() local
543 struct perf_env *env; in perf_event__synthesize_one_bpf_prog() local
830 static void perf_env__add_bpf_info(struct perf_env *env, u32 id) in perf_env__add_bpf_info()
889 struct perf_env *env = data; in bpf_event__sb_cb() local
913 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env) in evlist__add_bpf_sb_event()
934 struct perf_env *env, in __bpf_event__print_bpf_prog_info()
H A Dheader.c560 struct perf_env *env = &ff->ph->env; in write_cmdline() local
590 struct perf_env *env = &ff->ph->env; in write_cpu_topology() local
1018 struct perf_env *env = &ff->ph->env; in write_bpf_prog_info() local
1063 struct perf_env *env = &ff->ph->env; in write_bpf_btf() local
1816 struct perf_env *env = &ff->ph->env; in print_bpf_prog_info() local
1843 struct perf_env *env = &ff->ph->env; in print_bpf_btf() local
2128 struct perf_env *env = &ff->ph->env; in print_pmu_caps() local
2148 struct perf_env *env = &ff->ph->env; in print_pmu_mappings() local
2242 struct perf_env *env = &ff->ph->env; in print_mem_topology() local
2451 struct perf_env *env = &ff->ph->env; in process_nrcpus() local
[all …]
H A Dsample-raw.c15 void evlist__init_trace_event_sample_raw(struct evlist *evlist, struct perf_env *env) in evlist__init_trace_event_sample_raw()
H A Damd-sample-raw.c336 static void parse_cpuid(struct perf_env *env) in parse_cpuid()
357 struct perf_env *env = perf_session__env(evlist->session); in evlist__has_amd_ibs() local
H A Dcgroup.c557 struct cgroup *cgroup__findnew(struct perf_env *env, uint64_t id, in cgroup__findnew()
573 struct cgroup *cgroup__find(struct perf_env *env, uint64_t id) in cgroup__find()
583 void perf_env__purge_cgroups(struct perf_env *env) in perf_env__purge_cgroups()
/linux/tools/testing/selftests/bpf/
H A Dbench.h21 struct env { struct
22 char *bench_name;
23 int duration_sec;
24 int warmup_sec;
25 bool verbose;
26 bool list;
27 bool affinity;
28 bool quiet;
29 int consumer_cnt;
30 int producer_cnt;
[all …]
H A Dxdp_features.c26 static struct env { struct
38 } env; argument
H A Dveristat.c184 static struct env { struct
185 char **filenames;
186 int filename_cnt;
187 bool verbose;
188 bool debug;
189 bool quiet;
190 bool force_checkpoints;
191 bool force_reg_invariants;
192 enum resfmt out_fmt;
193 bool show_version;
[all …]
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dverifier.c16 #define pr_vlog(env, fmt, ...) \ argument
83 static bool nfp_bpf_map_update_value_ok(struct bpf_verifier_env *env) in nfp_bpf_map_update_value_ok()
124 nfp_bpf_stack_arg_ok(const char *fname, struct bpf_verifier_env *env, in nfp_bpf_stack_arg_ok()
157 nfp_bpf_map_call_ok(const char *fname, struct bpf_verifier_env *env, in nfp_bpf_map_call_ok()
171 struct bpf_verifier_env *env, in nfp_bpf_check_helper_call()
312 struct bpf_verifier_env *env) in nfp_bpf_check_exit()
346 struct bpf_verifier_env *env) in nfp_bpf_check_stack_access()
392 nfp_bpf_map_mark_used_one(struct bpf_verifier_env *env, in nfp_bpf_map_mark_used_one()
417 nfp_bpf_map_mark_used(struct bpf_verifier_env *env, struct nfp_insn_meta *meta, in nfp_bpf_map_mark_used()
452 struct bpf_verifier_env *env, u8 reg_no) in nfp_bpf_check_ptr()
[all …]
/linux/kernel/bpf/
H A Dverifier.c367 struct bpf_verifier_env *env = private_data; in verbose() local
378 static void verbose_invalid_scalar(struct bpf_verifier_env *env, in verbose_invalid_scalar()
433 static bool subprog_is_global(const struct bpf_verifier_env *env, int subprog) in subprog_is_global()
440 static const char *subprog_name(const struct bpf_verifier_env *env, int subprog) in subprog_name()
451 static void mark_subprog_exc_cb(struct bpf_verifier_env *env, int subprog) in mark_subprog_exc_cb()
460 static bool subprog_is_exc_cb(struct bpf_verifier_env *env, int subprog) in subprog_is_exc_cb()
555 static bool is_may_goto_insn_at(struct bpf_verifier_env *env, int insn_idx) in is_may_goto_insn_at()
602 static struct bpf_func_state *func(struct bpf_verifier_env *env, in func()
624 static int stack_slot_obj_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg, in stack_slot_obj_get_spi()
651 static int dynptr_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg) in dynptr_get_spi()
[all …]
H A Dlog.c14 #define verbose(env, fmt, args...) bpf_verifier_log_write(env, fmt, ##args) argument
304 __printf(2, 3) void bpf_verifier_log_write(struct bpf_verifier_env *env, in bpf_verifier_log_write()
333 find_linfo(const struct bpf_verifier_env *env, u32 insn_off) in find_linfo()
381 __printf(3, 4) void verbose_linfo(struct bpf_verifier_env *env, in verbose_linfo()
440 const char *reg_type_str(struct bpf_verifier_env *env, enum bpf_reg_type type) in reg_type_str()
543 static void print_liveness(struct bpf_verifier_env *env, in print_liveness()
570 static void verbose_unum(struct bpf_verifier_env *env, u64 num) in verbose_unum()
578 static void verbose_snum(struct bpf_verifier_env *env, s64 num) in verbose_snum()
599 static void print_scalar_ranges(struct bpf_verifier_env *env, in print_scalar_ranges()
681 static void print_reg_state(struct bpf_verifier_env *env, in print_reg_state()
[all …]
H A Dbtf.c1434 __printf(2, 3) static void btf_verifier_log(struct btf_verifier_env *env, in btf_verifier_log()
1448 __printf(4, 5) static void __btf_verifier_log_type(struct btf_verifier_env *env, in __btf_verifier_log_type()
1492 #define btf_verifier_log_type(env, t, ...) \ argument
1494 #define btf_verifier_log_basic(env, t, ...) \ argument
1498 static void btf_verifier_log_member(struct btf_verifier_env *env, in btf_verifier_log_member()
1551 static void btf_verifier_log_vsi(struct btf_verifier_env *env, in btf_verifier_log_vsi()
1578 static void btf_verifier_log_hdr(struct btf_verifier_env *env, in btf_verifier_log_hdr()
1602 static int btf_add_type(struct btf_verifier_env *env, struct btf_type *t) in btf_add_type()
1800 static int env_resolve_init(struct btf_verifier_env *env) in env_resolve_init()
1836 static void btf_verifier_env_free(struct btf_verifier_env *env) in btf_verifier_env_free()
[all …]
H A Doffload.c313 int bpf_prog_offload_verify_insn(struct bpf_verifier_env *env, in bpf_prog_offload_verify_insn()
329 int bpf_prog_offload_finalize(struct bpf_verifier_env *env) in bpf_prog_offload_finalize()
348 bpf_prog_offload_replace_insn(struct bpf_verifier_env *env, u32 off, in bpf_prog_offload_replace_insn()
367 bpf_prog_offload_remove_insns(struct bpf_verifier_env *env, u32 off, u32 cnt) in bpf_prog_offload_remove_insns()
/linux/drivers/iio/adc/
H A Denvelope-detector.c79 static int envelope_detector_comp_latch(struct envelope *env) in envelope_detector_comp_latch()
117 struct envelope *env = ctx; in envelope_detector_comp_isr() local
127 static void envelope_detector_setup_compare(struct envelope *env) in envelope_detector_setup_compare()
173 struct envelope *env = container_of(work, struct envelope, in envelope_detector_timeout() local
190 struct envelope *env = iio_priv(indio_dev); in envelope_detector_read_raw() local
234 struct envelope *env = iio_priv(indio_dev); in envelope_show_invert() local
244 struct envelope *env = iio_priv(indio_dev); in envelope_store_invert() local
274 struct envelope *env = iio_priv(indio_dev); in envelope_show_comp_interval() local
284 struct envelope *env = iio_priv(indio_dev); in envelope_store_comp_interval() local
327 struct envelope *env; in envelope_detector_probe() local
/linux/lib/
H A Dkobject_uevent.c116 struct kobj_uevent_env *env = NULL; in kobject_action_args() local
196 struct kobj_uevent_env *env; in kobject_synth_uevent() local
251 static int init_uevent_argv(struct kobj_uevent_env *env, const char *subsystem) in init_uevent_argv()
278 static struct sk_buff *alloc_uevent_skb(struct kobj_uevent_env *env, in alloc_uevent_skb()
308 static int uevent_net_broadcast_untagged(struct kobj_uevent_env *env, in uevent_net_broadcast_untagged()
344 struct kobj_uevent_env *env, in uevent_net_broadcast_tagged()
383 struct kobj_uevent_env *env, in kobject_uevent_net_broadcast()
420 static void zap_modalias_env(struct kobj_uevent_env *env) in zap_modalias_env()
476 struct kobj_uevent_env *env; in kobject_uevent_env() local
668 int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...) in add_uevent_var()
/linux/tools/bpf/runqslower/
H A Drunqslower.c13 struct env { struct
17 } env = { variable
/linux/tools/perf/arch/
H A Dcommon.c109 char *env = getenv("PATH"); in lookup_path() local
144 static int perf_env__lookup_binutils_path(struct perf_env *env, in perf_env__lookup_binutils_path()
221 int perf_env__lookup_objdump(struct perf_env *env, char **path) in perf_env__lookup_objdump()
238 bool perf_env__single_address_space(struct perf_env *env) in perf_env__single_address_space()
/linux/include/linux/
H A Dof_device.h52 struct kobj_uevent_env *env) { } in of_device_uevent()
61 struct kobj_uevent_env *env) in of_device_uevent_modalias()
H A Dbpf_verifier.h694 struct bpf_verifier_env *env; member
850 static inline struct bpf_func_info_aux *subprog_aux(struct bpf_verifier_env *env, int subprog) in subprog_aux()
855 static inline struct bpf_subprog_info *subprog_info(struct bpf_verifier_env *env, int subprog) in subprog_info()
875 #define verifier_bug_if(cond, env, fmt, args...) \ argument
884 #define verifier_bug(env, fmt, args...) verifier_bug_if(1, env, fmt, ##args) argument
886 static inline struct bpf_func_state *cur_func(struct bpf_verifier_env *env) in cur_func()
893 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs()
1008 static inline void mark_reg_scratched(struct bpf_verifier_env *env, u32 regno) in mark_reg_scratched()
1013 static inline void mark_stack_slot_scratched(struct bpf_verifier_env *env, u32 spi) in mark_stack_slot_scratched()
1018 static inline bool reg_scratched(const struct bpf_verifier_env *env, u32 regno) in reg_scratched()
[all …]
/linux/scripts/kconfig/
H A Dpreprocess.c40 struct env { struct
48 struct env *e; in env_add() argument
/linux/drivers/of/
H A Ddevice.c215 void of_device_uevent(const struct device *dev, struct kobj_uevent_env *env) in of_device_uevent()
253 int of_device_uevent_modalias(const struct device *dev, struct kobj_uevent_env *env) in of_device_uevent_modalias()
/linux/tools/perf/
H A Dbuiltin-stat.c1536 struct perf_env *env = data; in perf_env__get_socket_aggr_by_cpu() local
1547 struct perf_env *env = data; in perf_env__get_die_aggr_by_cpu() local
1563 static void perf_env__get_cache_id_for_cpu(struct perf_cpu cpu, struct perf_env *env, in perf_env__get_cache_id_for_cpu()
1603 struct perf_env *env = data; in perf_env__get_cache_aggr_by_cpu() local
1620 struct perf_env *env = data; in perf_env__get_cluster_aggr_by_cpu() local
1634 struct perf_env *env = data; in perf_env__get_core_aggr_by_cpu() local
1653 struct perf_env *env = data; in perf_env__get_cpu_aggr_by_cpu() local
1792 struct perf_env *env = perf_session__env(st->session); in perf_stat_init_aggr_mode_file() local
2115 struct perf_env *env = perf_session__env(session); in process_stat_round_event() local
/linux/drivers/net/netdevsim/
H A Dbpf.c26 #define pr_vlog(env, fmt, ...) \ argument
63 nsim_bpf_verify_insn(struct bpf_verifier_env *env, int insn_idx, int prev_insn) in nsim_bpf_verify_insn()
82 static int nsim_bpf_finalize(struct bpf_verifier_env *env) in nsim_bpf_finalize()
/linux/tools/testing/selftests/net/lib/py/
H A Dksft.py179 def ksft_setup(env): argument
184 def get_bool(env, name): argument

12345678