Home
last modified time | relevance | path

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

12345678

/linux-6.8/tools/perf/util/
Denv.c25 void perf_env__insert_bpf_prog_info(struct perf_env *env, in perf_env__insert_bpf_prog_info()
33 void __perf_env__insert_bpf_prog_info(struct perf_env *env, struct bpf_prog_info_node *info_node) in __perf_env__insert_bpf_prog_info()
60 struct bpf_prog_info_node *perf_env__find_bpf_prog_info(struct perf_env *env, in perf_env__find_bpf_prog_info()
85 bool perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in perf_env__insert_btf()
95 bool __perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in __perf_env__insert_btf()
123 struct btf_node *perf_env__find_btf(struct perf_env *env, __u32 btf_id) in perf_env__find_btf()
133 struct btf_node *__perf_env__find_btf(struct perf_env *env, __u32 btf_id) in __perf_env__find_btf()
153 static void perf_env__purge_bpf(struct perf_env *env) in perf_env__purge_bpf()
197 void perf_env__exit(struct perf_env *env) in perf_env__exit()
248 void perf_env__init(struct perf_env *env) in perf_env__init()
[all …]
Dbpf-event.c40 struct perf_env *env = machine->env; in machine__process_bpf_event_load() local
95 static int perf_env__fetch_btf(struct perf_env *env, in perf_env__fetch_btf()
177 struct perf_env *env; in perf_event__synthesize_one_bpf_prog() local
450 static void perf_env__add_bpf_info(struct perf_env *env, u32 id) in perf_env__add_bpf_info()
504 struct perf_env *env = data; in bpf_event__sb_cb() local
528 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env) in evlist__add_bpf_sb_event()
549 struct perf_env *env, in __bpf_event__print_bpf_prog_info()
Damd-sample-raw.c293 static void parse_cpuid(struct perf_env *env) in parse_cpuid()
314 struct perf_env *env = evlist->env; in evlist__has_amd_ibs() local
Dcgroup.c562 struct cgroup *cgroup__findnew(struct perf_env *env, uint64_t id, in cgroup__findnew()
578 struct cgroup *cgroup__find(struct perf_env *env, uint64_t id) in cgroup__find()
588 void perf_env__purge_cgroups(struct perf_env *env) in perf_env__purge_cgroups()
/linux-6.8/tools/testing/selftests/bpf/
Dbench.h20 struct env { struct
21 char *bench_name;
22 int duration_sec;
23 int warmup_sec;
24 bool verbose;
25 bool list;
26 bool affinity;
27 bool quiet;
28 int consumer_cnt;
29 int producer_cnt;
[all …]
Dveristat.c141 static struct env { struct
142 char **filenames;
143 int filename_cnt;
144 bool verbose;
145 bool debug;
146 bool quiet;
147 bool force_checkpoints;
148 bool force_reg_invariants;
149 enum resfmt out_fmt;
150 bool show_version;
[all …]
Dxdp_features.c26 static struct env { struct
38 } env; argument
/linux-6.8/drivers/net/ethernet/netronome/nfp/bpf/
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-6.8/kernel/bpf/
Dverifier.c354 struct bpf_verifier_env *env = private_data; in verbose() local
365 static void verbose_invalid_scalar(struct bpf_verifier_env *env, in verbose_invalid_scalar()
424 static bool subprog_is_global(const struct bpf_verifier_env *env, int subprog) in subprog_is_global()
431 static const char *subprog_name(const struct bpf_verifier_env *env, int subprog) in subprog_name()
442 static void mark_subprog_exc_cb(struct bpf_verifier_env *env, int subprog) in mark_subprog_exc_cb()
451 static bool subprog_is_exc_cb(struct bpf_verifier_env *env, int subprog) in subprog_is_exc_cb()
566 static struct bpf_func_state *func(struct bpf_verifier_env *env, in func()
588 static int stack_slot_obj_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg, in stack_slot_obj_get_spi()
615 static int dynptr_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg) in dynptr_get_spi()
620 static int iter_get_spi(struct bpf_verifier_env *env, struct bpf_reg_state *reg, int nr_slots) in iter_get_spi()
[all …]
Dlog.c13 #define verbose(env, fmt, args...) bpf_verifier_log_write(env, fmt, ##args) argument
303 __printf(2, 3) void bpf_verifier_log_write(struct bpf_verifier_env *env, in bpf_verifier_log_write()
332 find_linfo(const struct bpf_verifier_env *env, u32 insn_off) in find_linfo()
360 __printf(3, 4) void verbose_linfo(struct bpf_verifier_env *env, in verbose_linfo()
398 const char *reg_type_str(struct bpf_verifier_env *env, enum bpf_reg_type type) in reg_type_str()
499 static void print_liveness(struct bpf_verifier_env *env, in print_liveness()
526 static void verbose_unum(struct bpf_verifier_env *env, u64 num) in verbose_unum()
534 static void verbose_snum(struct bpf_verifier_env *env, s64 num) in verbose_snum()
555 static void print_scalar_ranges(struct bpf_verifier_env *env, in print_scalar_ranges()
637 static void print_reg_state(struct bpf_verifier_env *env, in print_reg_state()
[all …]
Dbtf.c1394 __printf(2, 3) static void btf_verifier_log(struct btf_verifier_env *env, in btf_verifier_log()
1408 __printf(4, 5) static void __btf_verifier_log_type(struct btf_verifier_env *env, in __btf_verifier_log_type()
1452 #define btf_verifier_log_type(env, t, ...) \ argument
1454 #define btf_verifier_log_basic(env, t, ...) \ argument
1458 static void btf_verifier_log_member(struct btf_verifier_env *env, in btf_verifier_log_member()
1511 static void btf_verifier_log_vsi(struct btf_verifier_env *env, in btf_verifier_log_vsi()
1538 static void btf_verifier_log_hdr(struct btf_verifier_env *env, in btf_verifier_log_hdr()
1562 static int btf_add_type(struct btf_verifier_env *env, struct btf_type *t) in btf_add_type()
1723 static int env_resolve_init(struct btf_verifier_env *env) in env_resolve_init()
1759 static void btf_verifier_env_free(struct btf_verifier_env *env) in btf_verifier_env_free()
[all …]
/linux-6.8/drivers/iio/adc/
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-6.8/tools/bpf/runqslower/
Drunqslower.c13 struct env { struct
17 } env = { variable
/linux-6.8/lib/
Dkobject_uevent.c117 struct kobj_uevent_env *env = NULL; in kobject_action_args() local
197 struct kobj_uevent_env *env; in kobject_synth_uevent() local
252 static int init_uevent_argv(struct kobj_uevent_env *env, const char *subsystem) in init_uevent_argv()
279 static struct sk_buff *alloc_uevent_skb(struct kobj_uevent_env *env, in alloc_uevent_skb()
309 static int uevent_net_broadcast_untagged(struct kobj_uevent_env *env, in uevent_net_broadcast_untagged()
343 struct kobj_uevent_env *env, in uevent_net_broadcast_tagged()
382 struct kobj_uevent_env *env, in kobject_uevent_net_broadcast()
419 static void zap_modalias_env(struct kobj_uevent_env *env) in zap_modalias_env()
460 struct kobj_uevent_env *env; in kobject_uevent_env() local
654 int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...) in add_uevent_var()
/linux-6.8/tools/perf/arch/
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-6.8/arch/x86/kernel/fpu/
Dregset.c330 static void __convert_from_fxsr(struct user_i387_ia32_struct *env, in __convert_from_fxsr()
368 convert_from_fxsr(struct user_i387_ia32_struct *env, struct task_struct *tsk) in convert_from_fxsr()
374 const struct user_i387_ia32_struct *env) in convert_to_fxsr()
404 struct user_i387_ia32_struct env; in fpregs_get() local
436 struct user_i387_ia32_struct env; in fpregs_set() local
Dsignal.c73 struct user_i387_ia32_struct env; in save_fsave_header() local
340 struct user_i387_ia32_struct env; in __fpu_restore_sig() local
/linux-6.8/drivers/hwmon/
Dultra45_env.c62 struct env { struct
69 static u8 env_read(struct env *p, u8 ireg) in env_read() argument
/linux-6.8/include/linux/
Dof_device.h52 struct kobj_uevent_env *env) { } in of_device_uevent()
61 struct kobj_uevent_env *env) in of_device_uevent_modalias()
Dbpf_verifier.h636 struct bpf_verifier_env *env; member
741 static inline struct bpf_func_info_aux *subprog_aux(struct bpf_verifier_env *env, int subprog) in subprog_aux()
746 static inline struct bpf_subprog_info *subprog_info(struct bpf_verifier_env *env, int subprog) in subprog_info()
766 static inline struct bpf_func_state *cur_func(struct bpf_verifier_env *env) in cur_func()
773 static inline struct bpf_reg_state *cur_regs(struct bpf_verifier_env *env) in cur_regs()
882 static inline void mark_reg_scratched(struct bpf_verifier_env *env, u32 regno) in mark_reg_scratched()
887 static inline void mark_stack_slot_scratched(struct bpf_verifier_env *env, u32 spi) in mark_stack_slot_scratched()
892 static inline bool reg_scratched(const struct bpf_verifier_env *env, u32 regno) in reg_scratched()
897 static inline bool stack_slot_scratched(const struct bpf_verifier_env *env, u64 regno) in stack_slot_scratched()
902 static inline bool verifier_state_scratched(const struct bpf_verifier_env *env) in verifier_state_scratched()
[all …]
/linux-6.8/scripts/kconfig/
Dpreprocess.c38 struct env { struct
46 struct env *e; in env_add() argument
/linux-6.8/drivers/of/
Ddevice.c255 void of_device_uevent(const struct device *dev, struct kobj_uevent_env *env) in of_device_uevent()
293 int of_device_uevent_modalias(const struct device *dev, struct kobj_uevent_env *env) in of_device_uevent_modalias()
/linux-6.8/tools/perf/arch/x86/util/
Denv.c8 struct perf_env env = { .total_mem = 0, }; in x86__is_amd_cpu() local
/linux-6.8/drivers/net/netdevsim/
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-6.8/kernel/sched/
Dfair.c2029 static void update_numa_stats(struct task_numa_env *env, in update_numa_stats()
2069 static void task_numa_assign(struct task_numa_env *env, in task_numa_assign()
2117 struct task_numa_env *env) in load_too_imbalanced()
2157 static bool task_numa_compare(struct task_numa_env *env, in task_numa_compare()
2345 static void task_numa_find_cpu(struct task_numa_env *env, in task_numa_find_cpu()
2405 struct task_numa_env env = { in task_numa_migrate() local
8800 static int task_hot(struct task_struct *p, struct lb_env *env) in task_hot()
8847 static int migrate_degrades_locality(struct task_struct *p, struct lb_env *env) in migrate_degrades_locality()
8895 struct lb_env *env) in migrate_degrades_locality()
8905 int can_migrate_task(struct task_struct *p, struct lb_env *env) in can_migrate_task()
[all …]

12345678