Home
last modified time | relevance | path

Searched refs:env (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/linux/drivers/iio/adc/
H A Denvelope-detector.c79 static int envelope_detector_comp_latch(struct envelope *env) in envelope_detector_comp_latch() argument
83 spin_lock_irq(&env->comp_lock); in envelope_detector_comp_latch()
84 comp = env->comp; in envelope_detector_comp_latch()
85 env->comp = 0; in envelope_detector_comp_latch()
86 spin_unlock_irq(&env->comp_lock); in envelope_detector_comp_latch()
98 enable_irq(env->comp_irq); in envelope_detector_comp_latch()
101 synchronize_irq(env->comp_irq); in envelope_detector_comp_latch()
104 spin_lock_irq(&env->comp_lock); in envelope_detector_comp_latch()
105 comp = env->comp; in envelope_detector_comp_latch()
106 env->comp = 0; in envelope_detector_comp_latch()
[all …]
/linux/tools/perf/util/
H A Denv.c4 #include "env.h"
27 bool perf_env__insert_bpf_prog_info(struct perf_env *env, in perf_env__insert_bpf_prog_info() argument
32 down_write(&env->bpf_progs.lock); in perf_env__insert_bpf_prog_info()
33 ret = __perf_env__insert_bpf_prog_info(env, info_node); in perf_env__insert_bpf_prog_info()
34 up_write(&env->bpf_progs.lock); 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() argument
46 p = &env->bpf_progs.infos.rb_node; in __perf_env__insert_bpf_prog_info()
62 rb_insert_color(&info_node->rb_node, &env->bpf_progs.infos); in __perf_env__insert_bpf_prog_info()
63 env->bpf_progs.infos_cnt++; 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() argument
92 perf_env__iterate_bpf_prog_info(struct perf_env * env,void (* cb)(struct bpf_prog_info_node * node,void * data),void * data) perf_env__iterate_bpf_prog_info() argument
106 perf_env__insert_btf(struct perf_env * env,struct btf_node * btf_node) perf_env__insert_btf() argument
116 __perf_env__insert_btf(struct perf_env * env,struct btf_node * btf_node) __perf_env__insert_btf() argument
144 perf_env__find_btf(struct perf_env * env,__u32 btf_id) perf_env__find_btf() argument
154 __perf_env__find_btf(struct perf_env * env,__u32 btf_id) __perf_env__find_btf() argument
174 perf_env__purge_bpf(struct perf_env * env) perf_env__purge_bpf() argument
247 perf_env__exit(struct perf_env * env) perf_env__exit() argument
299 perf_env__init(struct perf_env * env) perf_env__init() argument
310 perf_env__init_kernel_mode(struct perf_env * env) perf_env__init_kernel_mode() argument
323 perf_env__kernel_is_64_bit(struct perf_env * env) perf_env__kernel_is_64_bit() argument
331 perf_env__set_cmdline(struct perf_env * env,int argc,const char * argv[]) perf_env__set_cmdline() argument
359 perf_env__read_cpu_topology_map(struct perf_env * env) perf_env__read_cpu_topology_map() argument
392 perf_env__read_pmu_mappings(struct perf_env * env) perf_env__read_pmu_mappings() argument
427 perf_env__read_cpuid(struct perf_env * env) perf_env__read_cpuid() argument
443 perf_env__read_arch(struct perf_env * env) perf_env__read_arch() argument
456 perf_env__read_nr_cpus_avail(struct perf_env * env) perf_env__read_nr_cpus_avail() argument
510 perf_env__read_core_pmu_caps(struct perf_env * env) perf_env__read_core_pmu_caps() argument
574 perf_env__raw_arch(struct perf_env * env) perf_env__raw_arch() argument
579 perf_env__nr_cpus_avail(struct perf_env * env) perf_env__nr_cpus_avail() argument
623 perf_env__arch(struct perf_env * env) perf_env__arch() argument
654 perf_env__cpuid(struct perf_env * env) perf_env__cpuid() argument
667 perf_env__nr_pmu_mappings(struct perf_env * env) perf_env__nr_pmu_mappings() argument
680 perf_env__pmu_mappings(struct perf_env * env) perf_env__pmu_mappings() argument
693 perf_env__numa_node(struct perf_env * env,struct perf_cpu cpu) perf_env__numa_node() argument
732 perf_env__has_pmu_mapping(struct perf_env * env,const char * pmu_name) perf_env__has_pmu_mapping() argument
750 perf_env__find_pmu_cap(struct perf_env * env,const char * pmu_name,const char * cap) perf_env__find_pmu_cap() argument
798 perf_env__find_br_cntr_info(struct perf_env * env,unsigned int * nr,unsigned int * width) perf_env__find_br_cntr_info() argument
813 perf_env__is_x86_amd_cpu(struct perf_env * env) perf_env__is_x86_amd_cpu() argument
825 struct perf_env env = { .total_mem = 0, }; x86__is_amd_cpu() local
835 perf_env__is_x86_intel_cpu(struct perf_env * env) perf_env__is_x86_intel_cpu() argument
847 struct perf_env env = { .total_mem = 0, }; x86__is_intel_cpu() local
[all...]
H A Denv.h173 int perf_env__read_core_pmu_caps(struct perf_env *env);
175 void perf_env__exit(struct perf_env *env);
177 int perf_env__kernel_is_64_bit(struct perf_env *env);
179 int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]);
181 int perf_env__read_cpuid(struct perf_env *env);
182 int perf_env__read_pmu_mappings(struct perf_env *env);
183 int perf_env__nr_pmu_mappings(struct perf_env *env);
184 const char *perf_env__pmu_mappings(struct perf_env *env);
186 int perf_env__read_cpu_topology_map(struct perf_env *env);
190 const char *perf_env__arch(struct perf_env *env);
[all...]
H A Dheader.c588 struct perf_env *env = &ff->ph->env; in write_cmdline()
596 n = env->nr_cmdline + 1; in write_cmdline()
606 for (i = 0 ; i < env->nr_cmdline; i++) { in write_cpu_topology()
607 ret = do_write_string(ff, env->cmdline_argv[i]); in write_cpu_topology()
618 struct perf_env *env = &ff->ph->env; in write_cpu_topology()
646 ret = perf_env__read_cpu_topology_map(env); in write_cpu_topology()
650 for (j = 0; j < env->nr_cpus_avail; j++) { in write_cpu_topology()
651 ret = do_write(ff, &env in write_cpu_topology()
575 struct perf_env *env = &ff->ph->env; write_cmdline() local
605 struct perf_env *env = &ff->ph->env; write_cpu_topology() local
1033 struct perf_env *env = &ff->ph->env; write_bpf_prog_info() local
1075 struct perf_env *env = &ff->ph->env; write_bpf_btf() local
1986 struct perf_env *env = &ff->ph->env; print_bpf_prog_info() local
2013 struct perf_env *env = &ff->ph->env; print_bpf_btf() local
2298 struct perf_env *env = &ff->ph->env; print_pmu_caps() local
2318 struct perf_env *env = &ff->ph->env; print_pmu_mappings() local
2412 struct perf_env *env = &ff->ph->env; print_mem_topology() local
2665 struct perf_env *env = &ff->ph->env; process_nrcpus() local
2683 struct perf_env *env = &ff->ph->env; process_total_mem() local
2751 struct perf_env *env = &ff->ph->env; process_cmdline() local
2793 struct perf_env *env = &ff->ph->env; process_cpu_topology() local
2909 struct perf_env *env = &ff->ph->env; process_numa_topology() local
2955 struct perf_env *env = &ff->ph->env; process_pmu_mappings() local
3005 struct perf_env *env = &ff->ph->env; process_group_desc() local
3103 struct perf_env *env = &ff->ph->env; process_cache() local
3181 struct perf_env *env = &ff->ph->env; process_mem_topology() local
3234 struct perf_env *env = &ff->ph->env; process_clockid() local
3245 struct perf_env *env = &ff->ph->env; process_clock_data() local
3280 struct perf_env *env = &ff->ph->env; process_hybrid_topology() local
3337 struct perf_env *env = &ff->ph->env; process_bpf_prog_info() local
3409 struct perf_env *env = &ff->ph->env; process_bpf_btf() local
3458 struct perf_env *env = &ff->ph->env; process_compressed() local
3544 struct perf_env *env = &ff->ph->env; process_cpu_pmu_caps() local
3558 struct perf_env *env = &ff->ph->env; process_pmu_caps() local
3615 struct perf_env *env = &ff->ph->env; process_cpu_domain_info() local
[all...]
/linux/kernel/bpf/
H A Dcfg.c8 #define verbose(env, fmt, args...) bpf_verifier_log_write(env, fmt, ##args) argument
51 static void mark_subprog_changes_pkt_data(struct bpf_verifier_env *env, int off) in mark_subprog_changes_pkt_data() argument
55 subprog = bpf_find_containing_subprog(env, off); in mark_subprog_changes_pkt_data()
59 static void mark_subprog_might_sleep(struct bpf_verifier_env *env, int off) in mark_subprog_might_sleep() argument
63 subprog = bpf_find_containing_subprog(env, off); in mark_subprog_might_sleep()
67 static void mark_subprog_might_throw(struct bpf_verifier_env *env, int off) in mark_subprog_might_throw() argument
71 subprog = bpf_find_containing_subprog(env, off); in mark_subprog_might_throw()
81 static void merge_callee_effects(struct bpf_verifier_env *env, int t, int w) in merge_callee_effects() argument
85 caller = bpf_find_containing_subprog(env, t); in merge_callee_effects()
86 callee = bpf_find_containing_subprog(env, w); in merge_callee_effects()
[all …]
H A Dverifier.c202 static int acquire_reference(struct bpf_verifier_env *env, int insn_idx);
204 static int release_reference(struct bpf_verifier_env *env, int ref_obj_id);
205 static void invalidate_non_owning_refs(struct bpf_verifier_env *env);
206 static bool in_rbtree_lock_required_cb(struct bpf_verifier_env *env);
207 static int ref_set_non_owning(struct bpf_verifier_env *env,
210 static inline bool in_sleepable_context(struct bpf_verifier_env *env);
211 static const char *non_sleepable_context_description(struct bpf_verifier_env *env);
274 struct bpf_verifier_env *env = private_data; in verbose() local
277 if (!bpf_verifier_log_needed(&env->log)) in verbose()
281 bpf_verifier_vlog(&env->log, fmt, args); in verbose()
[all …]
H A Dfixups.c14 #define verbose(env, fmt, args...) bpf_verifier_log_write(env, fmt, ##args) argument
88 static int set_kfunc_desc_imm(struct bpf_verifier_env *env, struct bpf_kfunc_desc *desc) in set_kfunc_desc_imm() argument
98 verbose(env, "address of kernel func_id %u is out of range\n", in set_kfunc_desc_imm()
107 static int sort_kfunc_descs_by_imm_off(struct bpf_verifier_env *env) in sort_kfunc_descs_by_imm_off() argument
112 tab = env->prog->aux->kfunc_tab; in sort_kfunc_descs_by_imm_off()
117 err = set_kfunc_desc_imm(env, &tab->descs[i]); in sort_kfunc_descs_by_imm_off()
127 static int add_kfunc_in_insns(struct bpf_verifier_env *env, in add_kfunc_in_insns() argument
134 ret = bpf_add_kfunc_call(env, insn->imm, insn->off); in add_kfunc_in_insns()
143 static int get_callee_stack_depth(struct bpf_verifier_env *env, in get_callee_stack_depth() argument
148 subprog = bpf_find_subprog(env, start); in get_callee_stack_depth()
[all …]
H A Dliveness.c11 #define verbose(env, fmt, args...) bpf_verifier_log_write(env, fmt, ##args) argument
61 static struct func_instance *find_instance(struct bpf_verifier_env *env, in find_instance() argument
64 struct bpf_liveness *liveness = env->liveness; in find_instance()
74 static struct func_instance *call_instance(struct bpf_verifier_env *env, in call_instance() argument
79 u32 subprog_start = env->subprog_info[subprog].start; in call_instance()
84 f = find_instance(env, lookup_key, depth); in call_instance()
95 f->insn_cnt = (env->subprog_info + subprog + 1)->start - subprog_start; in call_instance()
97 hash_add(env->liveness->func_instances, &f->hl_node, hash); in call_instance()
101 static struct func_instance *lookup_instance(struct bpf_verifier_env *env, in lookup_instance() argument
109 subprog_start = env->subprog_info[st->frame[frameno]->subprogno].start; in lookup_instance()
[all …]
H A Dbtf.c447 s32 (*check_meta)(struct btf_verifier_env *env,
450 int (*resolve)(struct btf_verifier_env *env,
452 int (*check_member)(struct btf_verifier_env *env,
456 int (*check_kflag_member)(struct btf_verifier_env *env,
460 void (*log_details)(struct btf_verifier_env *env,
470 static int btf_resolve(struct btf_verifier_env *env,
473 static int btf_func_check(struct btf_verifier_env *env,
1546 __printf(2, 3) static void btf_verifier_log(struct btf_verifier_env *env, in btf_verifier_log() argument
1549 struct bpf_verifier_log *log = &env->log; in btf_verifier_log()
1560 __printf(4, 5) static void __btf_verifier_log_type(struct btf_verifier_env *env, in __btf_verifier_log_type() argument
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_progs.c48 return env.verbosity > VERBOSE_NONE; in verbose()
54 if (verbose() && env.worker_id == -1) { in stdio_hijack_init()
64 stdout = env.stdout_saved; in stdio_hijack_init()
69 if (env.subtest_state) in stdio_hijack_init()
70 env.subtest_state->stdout_saved = stdout; in stdio_hijack_init()
72 env.test_state->stdout_saved = stdout; in stdio_hijack_init()
81 if (verbose() && env.worker_id == -1) { in stdio_hijack()
86 env.stdout_saved = stdout; in stdio_hijack()
87 env.stderr_saved = stderr; in stdio_hijack()
98 if (verbose() && env.worker_id == -1) { in stdio_restore()
[all …]
H A Dveristat.c190 static struct env { struct
237 } env; argument
241 if (!env.verbose) in libbpf_print_fn()
243 if (level == LIBBPF_DEBUG && !env.debug) in libbpf_print_fn()
327 env.show_version = true; in parse_arg()
330 env.verbose = true; in parse_arg()
333 env.debug = true; in parse_arg()
334 env.verbose = true; in parse_arg()
337 env.quiet = true; in parse_arg()
340 err = parse_stats(arg, &env.output_spec); in parse_arg()
[all …]
H A Dxdp_features.c27 static struct env { struct
39 } env; argument
48 if (level == LIBBPF_DEBUG && !env.verbosity) in libbpf_print_fn()
91 env.feature.action = XDP_PASS; in get_xdp_feature()
92 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature()
94 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature()
95 env.feature.action = XDP_DROP; in get_xdp_feature()
97 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature()
98 env.feature.action = XDP_ABORTED; in get_xdp_feature()
100 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature()
[all …]
H A Dbench.c16 struct env env = { variable
28 if (level == LIBBPF_DEBUG && !env.verbose) in libbpf_print_fn()
74 hits_per_prod = hits_per_sec / env.producer_cnt; in hits_drops_report_progress()
152 hits_mean, hits_stddev, hits_mean / env.producer_cnt); in hits_drops_report_final()
164 hits_per_prod = hits_per_sec / env.producer_cnt; in ops_report_progress()
188 hits_mean, hits_stddev, hits_mean / env.producer_cnt); in ops_report_final()
189 printf("latency %8.3lf ns/op\n", 1000.0 / hits_mean * env.producer_cnt); in ops_report_final()
315 env.verbose = true; in parse_arg()
318 env in parse_arg()
[all...]
/linux/lib/
H A Dkobject_uevent.c116 struct kobj_uevent_env *env = NULL; in kobject_action_args() local
127 env = kzalloc_obj(*env); in kobject_action_args()
128 if (!env) in kobject_action_args()
133 add_uevent_var(env, "SYNTH_UUID=%.*s", UUID_STRING_LEN, buf)) in kobject_action_args()
167 if (add_uevent_var(env, "SYNTH_ARG_%.*s=%.*s", in kobject_action_args()
175 kfree(env); in kobject_action_args()
177 *ret_env = env; in kobject_action_args()
196 struct kobj_uevent_env *env; in kobject_synth_uevent() local
212 count - (action_args - buf), &env); in kobject_synth_uevent()
221 r = kobject_uevent_env(kobj, action, env->envp); in kobject_synth_uevent()
[all …]
/linux/include/linux/
H A Dbpf_verifier.h752 struct bpf_verifier_env *env; member
928 static inline struct bpf_func_info_aux *subprog_aux(struct bpf_verifier_env *env, int subprog) in subprog_aux() argument
930 return &env->prog->aux->func_info_aux[subprog]; in subprog_aux()
933 static inline struct bpf_subprog_info *subprog_info(struct bpf_verifier_env *env, int subprog) in subprog_info() argument
935 return &env->subprog_info[subprog]; in subprog_info()
964 __printf(2, 3) void bpf_verifier_log_write(struct bpf_verifier_env *env,
973 __printf(3, 4) void verbose_linfo(struct bpf_verifier_env *env,
977 #define verifier_bug_if(cond, env, fmt, args...) \ argument
981 verifier_bug(env, fmt " (" #cond ")", ##args); \
984 #define verifier_bug(env, fmt, args...) \ argument
[all …]
/linux/tools/perf/tests/
H A Dtopology.c76 struct perf_env *env; in check_cpu_topology()
80 env = perf_session__env(session); in check_cpu_topology()
104 if (!env->cpu && strncmp(env->arch, "s390", 4) && strncmp(env->arch, "aarch64", 7)) in check_cpu_topology()
113 if (!strncmp(env->arch, "ppc64le", 7)) { in check_cpu_topology()
118 TEST_ASSERT_VAL("Session header CPU map not set", env->cpu); in check_cpu_topology()
120 for (i = 0; i < (unsigned int)env->nr_cpus_avail; i++) { in check_cpu_topology()
125 env->cpu[i].core_id, in check_cpu_topology()
126 env in check_cpu_topology()
73 struct perf_env *env; check_cpu_topology() local
[all...]
/linux/tools/perf/arch/
H A Dcommon.c8 #include "../util/env.h"
109 char *env = getenv("PATH"); in lookup_path() local
111 if (!env) in lookup_path()
114 env = strdup(env); in lookup_path()
115 if (!env) in lookup_path()
118 path = strtok_r(env, ":", &tmp); in lookup_path()
127 free(env); in lookup_path()
144 static int perf_env__lookup_binutils_path(struct perf_env *env, in perf_env__lookup_binutils_path() argument
148 const char *arch = perf_env__arch(env), *cross_en in perf_env__lookup_binutils_path()
221 perf_env__lookup_objdump(struct perf_env * env,char ** path) perf_env__lookup_objdump() argument
238 perf_env__single_address_space(struct perf_env * env) perf_env__single_address_space() argument
[all...]
/linux/arch/mips/alchemy/common/
H A Dprom.c67 char **env = prom_envp; in prom_getenv() local
69 int yamon = (*env && strchr(*env, '=') == NULL); in prom_getenv()
71 while (*env) { in prom_getenv()
73 if (strcmp(envname, *env++) == 0) in prom_getenv()
74 return *env; in prom_getenv()
75 } else if (strncmp(envname, *env, i) == 0 && (*env)[i] == '=') in prom_getenv()
76 return *env + i + 1; in prom_getenv()
77 env++; in prom_getenv()
/linux/kernel/sched/
H A Dfair.c2311 static void update_numa_stats(struct task_numa_env *env, in update_numa_stats() argument
2332 !cpumask_test_cpu(cpu, env->p->cpus_ptr)) in update_numa_stats()
2345 ns->node_type = numa_classify(env->imbalance_pct, ns); in update_numa_stats()
2351 static void task_numa_assign(struct task_numa_env *env, in task_numa_assign() argument
2354 struct rq *rq = cpu_rq(env->dst_cpu); in task_numa_assign()
2357 if (env->best_cpu != env->dst_cpu && xchg(&rq->numa_migrate_on, 1)) { in task_numa_assign()
2359 int start = env->dst_cpu; in task_numa_assign()
2362 for_each_cpu_wrap(cpu, cpumask_of_node(env->dst_nid), start + 1) { in task_numa_assign()
2363 if (cpu == env->best_cpu || !idle_cpu(cpu) || in task_numa_assign()
2364 !cpumask_test_cpu(cpu, env->p->cpus_ptr)) { in task_numa_assign()
[all …]
/linux/security/tomoyo/
H A Denviron.c24 return tomoyo_path_matches_pattern(r->param.environ.name, acl->env); in tomoyo_check_env_acl()
37 return tomoyo_supervisor(r, "misc env %s\n", in tomoyo_audit_env_log()
45 * @env: The name of environment variable.
51 int tomoyo_env_perm(struct tomoyo_request_info *r, const char *env) in tomoyo_env_perm()
56 if (!env || !*env) in tomoyo_env_perm()
58 environ.name = env; in tomoyo_env_perm()
83 return p1->env == p2->env; in tomoyo_same_env_acl()
103 e.env in tomoyo_write_env()
50 tomoyo_env_perm(struct tomoyo_request_info * r,const char * env) tomoyo_env_perm() argument
[all...]
/linux/drivers/of/
H A Ddevice.c215 void of_device_uevent(const struct device *dev, struct kobj_uevent_env *env) in of_device_uevent() argument
225 add_uevent_var(env, "OF_NAME=%pOFn", dev->of_node); in of_device_uevent()
226 add_uevent_var(env, "OF_FULLNAME=%pOF", dev->of_node); in of_device_uevent()
229 add_uevent_var(env, "OF_TYPE=%s", type); in of_device_uevent()
235 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent()
238 add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); in of_device_uevent()
244 add_uevent_var(env, "OF_ALIAS_%d=%s", seen, in of_device_uevent()
253 int of_device_uevent_modalias(const struct device *dev, struct kobj_uevent_env *env) in of_device_uevent_modalias() argument
261 if (add_uevent_var(env, "MODALIAS=")) in of_device_uevent_modalias()
264 sl = of_modalias(dev->of_node, &env->buf[env->buflen-1], in of_device_uevent_modalias()
[all …]
/linux/tools/testing/selftests/drivers/net/lib/py/
H A Denv.py29 self.env = self._load_env_file()
35 env = os.environ.copy()
39 return ksft_setup(env)
54 env[pair[0]] = pair[1]
55 return ksft_setup(env)
76 Class for a single NIC / host env, with no remote end
83 if 'NETIF' in self.env:
87 self.dev = ip("-d link show dev " + self.env['NETIF'], json=True)[0]
131 if "NETIF" in self.env:
136 self.dev = ip("-d link show dev " + self.env['NETI
[all...]
H A Dload.py14 def __init__(self, env, port=None, server_ip=None, client_ip=None): argument
15 env.require_cmd("iperf3", local=True, remote=True)
16 self.env = env
28 host = self.env.addr if self.server_ip is None else self.server_ip
51 kwargs = {"background": background, "host": self.env.remote}
85 def __init__(self, env, port=None): argument
86 self.env = env
87 self.runner = Iperf3Runner(env, port)
102 … pkt_start = ip("-s link show dev " + self.env.ifname, json=True)[0]["stats64"]["rx"]["packets"]
105 … pkt_now = ip("-s link show dev " + self.env.ifname, json=True)[0]["stats64"]["rx"]["packets"]
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_env.c1240 static int mlxsw_env_line_cards_alloc(struct mlxsw_env *env) in mlxsw_env_line_cards_alloc() argument
1245 for (i = 0; i < env->num_of_slots; i++) { in mlxsw_env_line_cards_alloc()
1246 env->line_cards[i] = kzalloc_flex(*env->line_cards[i], in mlxsw_env_line_cards_alloc()
1248 env->max_module_count); in mlxsw_env_line_cards_alloc()
1249 if (!env->line_cards[i]) in mlxsw_env_line_cards_alloc()
1255 for (j = 0; j < env->max_module_count; j++) { in mlxsw_env_line_cards_alloc()
1256 module_info = &env->line_cards[i]->module_info[j]; in mlxsw_env_line_cards_alloc()
1266 kfree(env->line_cards[i]); in mlxsw_env_line_cards_alloc()
1270 static void mlxsw_env_line_cards_free(struct mlxsw_env *env) in mlxsw_env_line_cards_free() argument
1272 int i = env->num_of_slots; in mlxsw_env_line_cards_free()
[all …]
/linux/tools/bpf/runqslower/
H A Drunqslower.c

12345678910>>...18