/linux-master/kernel/bpf/ |
H A D | btf.c | 442 s32 (*check_meta)(struct btf_verifier_env *env, 445 int (*resolve)(struct btf_verifier_env *env, 447 int (*check_member)(struct btf_verifier_env *env, 451 int (*check_kflag_member)(struct btf_verifier_env *env, 455 void (*log_details)(struct btf_verifier_env *env, 465 static int btf_resolve(struct btf_verifier_env *env, 468 static int btf_func_check(struct btf_verifier_env *env, 1417 __printf(2, 3) static void btf_verifier_log(struct btf_verifier_env *env, argument 1420 struct bpf_verifier_log *log = &env->log; 1431 __printf(4, 5) static void __btf_verifier_log_type(struct btf_verifier_env *env, argument 1481 btf_verifier_log_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const char *fmt, ...) argument 1534 btf_verifier_log_vsi(struct btf_verifier_env *env, const struct btf_type *datasec_type, const struct btf_var_secinfo *vsi, const char *fmt, ...) argument 1561 btf_verifier_log_hdr(struct btf_verifier_env *env, u32 btf_data_size) argument 1585 btf_add_type(struct btf_verifier_env *env, struct btf_type *t) argument 1767 env_resolve_init(struct btf_verifier_env *env) argument 1803 btf_verifier_env_free(struct btf_verifier_env *env) argument 1809 env_type_is_resolve_sink(const struct btf_verifier_env *env, const struct btf_type *next_type) argument 1834 env_type_is_resolved(const struct btf_verifier_env *env, u32 type_id) argument 1844 env_stack_push(struct btf_verifier_env *env, const struct btf_type *t, u32 type_id) argument 1874 env_stack_set_next_member(struct btf_verifier_env *env, u16 next_member) argument 1880 env_stack_pop_resolved(struct btf_verifier_env *env, u32 resolved_type_id, u32 resolved_size) argument 1893 env_stack_peak(struct btf_verifier_env *env) argument 2062 btf_df_check_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type) argument 2072 btf_df_check_kflag_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type) argument 2085 btf_generic_check_kflag_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type) argument 2104 btf_df_resolve(struct btf_verifier_env *env, const struct resolve_vertex *v) argument 2118 btf_int_check_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type) argument 2156 btf_int_check_kflag_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type) argument 2212 btf_int_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 2276 btf_int_log(struct btf_verifier_env *env, const struct btf_type *t) argument 2477 btf_modifier_check_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type) argument 2502 btf_modifier_check_kflag_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type) argument 2527 btf_ptr_check_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type) argument 2553 btf_ref_type_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 2601 btf_modifier_resolve(struct btf_verifier_env *env, const struct resolve_vertex *v) argument 2643 btf_var_resolve(struct btf_verifier_env *env, const struct resolve_vertex *v) argument 2689 btf_ptr_resolve(struct btf_verifier_env *env, const struct resolve_vertex *v) argument 2786 btf_ref_type_log(struct btf_verifier_env *env, const struct btf_type *t) argument 2810 btf_fwd_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 2836 btf_fwd_type_log(struct btf_verifier_env *env, const struct btf_type *t) argument 2851 btf_array_check_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type) argument 2880 btf_array_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 2933 btf_array_resolve(struct btf_verifier_env *env, const struct resolve_vertex *v) argument 2998 btf_array_log(struct btf_verifier_env *env, const struct btf_type *t) argument 3102 btf_struct_check_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type) argument 3127 btf_struct_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 3208 btf_struct_resolve(struct btf_verifier_env *env, const struct resolve_vertex *v) argument 3279 btf_struct_log(struct btf_verifier_env *env, const struct btf_type *t) argument 4084 btf_enum_check_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type) argument 4109 btf_enum_check_kflag_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type) argument 4144 btf_enum_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 4203 btf_enum_log(struct btf_verifier_env *env, const struct btf_type *t) argument 4252 btf_enum64_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 4355 btf_func_proto_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 4383 btf_func_proto_log(struct btf_verifier_env *env, const struct btf_type *t) argument 4442 btf_func_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 4467 btf_func_resolve(struct btf_verifier_env *env, const struct resolve_vertex *v) argument 4491 btf_var_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 4539 btf_var_log(struct btf_verifier_env *env, const struct btf_type *t) argument 4555 btf_datasec_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 4628 btf_datasec_resolve(struct btf_verifier_env *env, const struct resolve_vertex *v) argument 4668 btf_datasec_log(struct btf_verifier_env *env, const struct btf_type *t) argument 4707 btf_float_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 4732 btf_float_check_member(struct btf_verifier_env *env, const struct btf_type *struct_type, const struct btf_member *member, const struct btf_type *member_type) argument 4767 btf_float_log(struct btf_verifier_env *env, const struct btf_type *t) argument 4782 btf_decl_tag_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 4825 btf_decl_tag_resolve(struct btf_verifier_env *env, const struct resolve_vertex *v) argument 4871 btf_decl_tag_log(struct btf_verifier_env *env, const struct btf_type *t) argument 4886 btf_func_proto_check(struct btf_verifier_env *env, const struct btf_type *t) argument 4981 btf_func_check(struct btf_verifier_env *env, const struct btf_type *t) argument 5031 btf_check_meta(struct btf_verifier_env *env, const struct btf_type *t, u32 meta_left) argument 5073 btf_check_all_metas(struct btf_verifier_env *env) argument 5100 btf_resolve_valid(struct btf_verifier_env *env, const struct btf_type *t, u32 type_id) argument 5141 btf_resolve(struct btf_verifier_env *env, const struct btf_type *t, u32 type_id) argument 5174 btf_check_all_types(struct btf_verifier_env *env) argument 5208 btf_parse_type_sec(struct btf_verifier_env *env) argument 5231 btf_parse_str_sec(struct btf_verifier_env *env) argument 5275 btf_check_sec_info(struct btf_verifier_env *env, u32 btf_data_size) argument 5328 btf_parse_hdr(struct btf_verifier_env *env) argument 5498 btf_check_type_tags(struct btf_verifier_env *env, struct btf *btf, int start_id) argument 5565 struct btf_verifier_env *env = NULL; local 5987 struct btf_verifier_env *env = NULL; local 6057 struct btf_verifier_env *env = NULL; local 7150 btf_prepare_func_args(struct bpf_verifier_env *env, int subprog) argument [all...] |
/linux-master/tools/perf/tests/ |
H A D | topology.c | 98 if (!session->header.env.cpu 99 && strncmp(session->header.env.arch, "s390", 4) 100 && strncmp(session->header.env.arch, "aarch64", 7)) 109 if (!strncmp(session->header.env.arch, "ppc64le", 7)) { 114 TEST_ASSERT_VAL("Session header CPU map not set", session->header.env.cpu); 116 for (i = 0; i < session->header.env.nr_cpus_avail; i++) { 121 session->header.env.cpu[i].core_id, 122 session->header.env.cpu[i].socket_id); 132 session->header.env.cpu[cpu.cpu].core_id == id.core); 134 session->header.env [all...] |
/linux-master/tools/perf/util/ |
H A D | mem2node.h | 16 int mem2node__init(struct mem2node *map, struct perf_env *env);
|
H A D | bpf-event.h | 35 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env); 37 struct perf_env *env, 48 struct perf_env *env __maybe_unused) 54 struct perf_env *env __maybe_unused,
|
H A D | cgroup.h | 8 #include "util/env.h" 38 struct cgroup *cgroup__findnew(struct perf_env *env, uint64_t id, 40 struct cgroup *cgroup__find(struct perf_env *env, uint64_t id); 43 void perf_env__purge_cgroups(struct perf_env *env);
|
H A D | unwind-libunwind.c | 8 #include "env.h" 35 /* env->arch is NULL for live-mode (i.e. perf top) */ 36 if (!machine->env || !machine->env->arch) 43 arch = perf_env__arch(machine->env);
|
/linux-master/include/linux/ |
H A D | of_device.h | 28 extern void of_device_uevent(const struct device *dev, struct kobj_uevent_env *env); 29 extern int of_device_uevent_modalias(const struct device *dev, struct kobj_uevent_env *env); 52 struct kobj_uevent_env *env) { } 61 struct kobj_uevent_env *env) 51 of_device_uevent(const struct device *dev, struct kobj_uevent_env *env) argument 60 of_device_uevent_modalias(const struct device *dev, struct kobj_uevent_env *env) argument
|
H A D | bpf_verifier.h | 557 u32 seen; /* this insn was processed by the verifier at env->pass_cnt */ 649 struct bpf_verifier_env *env; member in struct:backtrack_state 755 static inline struct bpf_func_info_aux *subprog_aux(struct bpf_verifier_env *env, int subprog) argument 757 return &env->prog->aux->func_info_aux[subprog]; 760 static inline struct bpf_subprog_info *subprog_info(struct bpf_verifier_env *env, int subprog) argument 762 return &env->subprog_info[subprog]; 767 __printf(2, 3) void bpf_verifier_log_write(struct bpf_verifier_env *env, 776 __printf(3, 4) void verbose_linfo(struct bpf_verifier_env *env, 780 static inline struct bpf_func_state *cur_func(struct bpf_verifier_env *env) argument 782 struct bpf_verifier_state *cur = env 787 cur_regs(struct bpf_verifier_env *env) argument 896 mark_reg_scratched(struct bpf_verifier_env *env, u32 regno) argument 901 mark_stack_slot_scratched(struct bpf_verifier_env *env, u32 spi) argument 906 reg_scratched(const struct bpf_verifier_env *env, u32 regno) argument 911 stack_slot_scratched(const struct bpf_verifier_env *env, u64 regno) argument 916 verifier_state_scratched(const struct bpf_verifier_env *env) argument 921 mark_verifier_state_clean(struct bpf_verifier_env *env) argument 928 mark_verifier_state_scratched(struct bpf_verifier_env *env) argument [all...] |
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_control.h | 29 * @param[in] env Environment, provides functions to access the 46 const struct ia_css_env *env,
|
H A D | ia_css_device_access.c | 25 ia_css_device_access_init(const struct ia_css_hw_access_env *env) argument 27 assert(env); 29 my_env = *env;
|
/linux-master/tools/testing/selftests/drivers/net/lib/py/ |
H A D | __init__.py | 17 from .env import *
|
/linux-master/drivers/of/ |
H A D | device.c | 225 * @env: Kernel object's userspace event reference to fill up 227 void of_device_uevent(const struct device *dev, struct kobj_uevent_env *env) argument 237 add_uevent_var(env, "OF_NAME=%pOFn", dev->of_node); 238 add_uevent_var(env, "OF_FULLNAME=%pOF", dev->of_node); 241 add_uevent_var(env, "OF_TYPE=%s", type); 247 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); 250 add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); 256 add_uevent_var(env, "OF_ALIAS_%d=%s", seen, 265 int of_device_uevent_modalias(const struct device *dev, struct kobj_uevent_env *env) argument 273 if (add_uevent_var(env, "MODALIA [all...] |
/linux-master/tools/bpf/runqslower/ |
H A D | runqslower.c | 13 struct env { struct 17 } env = { variable in typeref:struct:env 51 env.verbose = true; 60 env.pid = pid; 74 env.min_us = min_us; 85 if (level == LIBBPF_DEBUG && !env.verbose) 135 obj->rodata->targ_pid = env.pid; 136 obj->rodata->min_us = env.min_us; 150 printf("Tracing run queue latency higher than %llu us\n", env.min_us);
|
/linux-master/sound/aoa/soundbus/ |
H A D | core.c | 60 static int soundbus_uevent(const struct device *dev, struct kobj_uevent_env *env) argument 78 retval = add_uevent_var(env, "OF_NAME=%pOFn", of->dev.of_node); 82 retval = add_uevent_var(env, "OF_TYPE=%s", of_node_get_device_type(of->dev.of_node)); 92 int tmp = env->buflen; 93 retval = add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); 96 compat += env->buflen - tmp; 97 cplen -= env->buflen - tmp; 101 retval = add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); 104 retval = add_uevent_var(env, "MODALIAS=%s", soundbus_dev->modalias);
|
/linux-master/arch/mips/fw/arc/ |
H A D | Makefile | 9 lib-y += cmdline.o env.o file.o identify.o init.o \
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_module.c | 15 if (!env.has_testmod) {
|
H A D | prog_tests_framework.c | 15 struct test_state *state = env.test_state;
|
/linux-master/drivers/power/supply/ |
H A D | power_supply.h | 19 extern int power_supply_uevent(const struct device *dev, struct kobj_uevent_env *env);
|
/linux-master/drivers/zorro/ |
H A D | zorro-driver.c | 133 static int zorro_uevent(const struct device *dev, struct kobj_uevent_env *env) argument 144 if (add_uevent_var(env, "ZORRO_ID=%08X", z->id) || 145 add_uevent_var(env, "ZORRO_SLOT_NAME=%s", dev_name(dev)) || 146 add_uevent_var(env, "ZORRO_SLOT_ADDR=%04X", z->slotaddr) || 147 add_uevent_var(env, "MODALIAS=" ZORRO_DEVICE_MODALIAS_FMT, z->id))
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_env.c | 1183 static int mlxsw_env_line_cards_alloc(struct mlxsw_env *env) argument 1188 for (i = 0; i < env->num_of_slots; i++) { 1189 env->line_cards[i] = kzalloc(struct_size(env->line_cards[i], 1191 env->max_module_count), 1193 if (!env->line_cards[i]) 1199 for (j = 0; j < env->max_module_count; j++) { 1200 module_info = &env->line_cards[i]->module_info[j]; 1210 kfree(env->line_cards[i]); 1214 static void mlxsw_env_line_cards_free(struct mlxsw_env *env) argument 1269 mlxsw_env_linecard_modules_power_mode_apply(struct mlxsw_core *mlxsw_core, struct mlxsw_env *env, u8 slot_index) argument 1382 struct mlxsw_env *env; local 1466 mlxsw_env_fini(struct mlxsw_env *env) argument [all...] |
/linux-master/kernel/sched/ |
H A D | fair.c | 2035 static void update_numa_stats(struct task_numa_env *env, argument 2056 !cpumask_test_cpu(cpu, env->p->cpus_ptr)) 2069 ns->node_type = numa_classify(env->imbalance_pct, ns); 2075 static void task_numa_assign(struct task_numa_env *env, argument 2078 struct rq *rq = cpu_rq(env->dst_cpu); 2081 if (env->best_cpu != env->dst_cpu && xchg(&rq->numa_migrate_on, 1)) { 2083 int start = env->dst_cpu; 2086 for_each_cpu_wrap(cpu, cpumask_of_node(env->dst_nid), start + 1) { 2087 if (cpu == env 2122 load_too_imbalanced(long src_load, long dst_load, struct task_numa_env *env) argument 2163 task_numa_compare(struct task_numa_env *env, long taskimp, long groupimp, bool maymove) argument 2351 task_numa_find_cpu(struct task_numa_env *env, long taskimp, long groupimp) argument 2411 struct task_numa_env env = { local 8881 task_hot(struct task_struct *p, struct lb_env *env) argument 8928 migrate_degrades_locality(struct task_struct *p, struct lb_env *env) argument 8975 migrate_degrades_locality(struct task_struct *p, struct lb_env *env) argument 8986 can_migrate_task(struct task_struct *p, struct lb_env *env) argument 9077 detach_task(struct task_struct *p, struct lb_env *env) argument 9091 detach_one_task(struct lb_env *env) argument 9122 detach_tasks(struct lb_env *env) argument 9288 attach_tasks(struct lb_env *env) argument 9844 sched_group_asym(struct lb_env *env, struct sg_lb_stats *sgs, struct sched_group *group) argument 9868 smt_balance(struct lb_env *env, struct sg_lb_stats *sgs, struct sched_group *group) argument 9887 sibling_imbalance(struct lb_env *env, struct sd_lb_stats *sds, struct sg_lb_stats *busiest, struct sg_lb_stats *local) argument 9944 update_sg_lb_stats(struct lb_env *env, struct sd_lb_stats *sds, struct sched_group *group, struct sg_lb_stats *sgs, bool *sg_overloaded, bool *sg_overutilized) argument 10038 update_sd_pick_busiest(struct lb_env *env, struct sd_lb_stats *sds, struct sched_group *sg, struct sg_lb_stats *sgs) argument 10538 update_idle_cpu_scan(struct lb_env *env, unsigned long sum_util) argument 10615 update_sd_lb_stats(struct lb_env *env, struct sd_lb_stats *sds) argument 10683 calculate_imbalance(struct lb_env *env, struct sd_lb_stats *sds) argument 10885 sched_balance_find_src_group(struct lb_env *env) argument 11023 sched_balance_find_src_rq(struct lb_env *env, struct sched_group *group) argument 11169 asym_active_balance(struct lb_env *env) argument 11187 imbalanced_active_balance(struct lb_env *env) argument 11203 need_active_balance(struct lb_env *env) argument 11234 should_we_balance(struct lb_env *env) argument 11314 struct lb_env env = { local 11667 struct lb_env env = { local [all...] |
/linux-master/tools/perf/ui/browsers/ |
H A D | header.c | 95 int tui__header_window(struct perf_env *env) argument 104 session = container_of(env, struct perf_session, header.env);
|
H A D | hists.h | 16 struct perf_env *env; member in struct:hist_browser
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | bench.h | 20 struct env { struct 66 extern struct env env;
|
/linux-master/Documentation/sphinx/ |
H A D | kernel_abi.py | 95 env = self.state.document.settings.env 123 env.note_dependency(os.path.abspath(f)) 132 kernellog.info(self.state.document.settings.env.app, "%s: parsed %i lines" % (fname, n))
|