Home
last modified time | relevance | path

Searched refs:local_copy (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/perf/util/
H A Dcpumap.c91 DECLARE_BITMAP(local_copy, 64); in cpu_map__from_mask()
96 perf_record_cpu_map_data__read_one_mask(data, i, local_copy); in cpu_map__from_mask()
97 weight += bitmap_weight(local_copy, 64); in cpu_map__from_mask()
108 perf_record_cpu_map_data__read_one_mask(data, i, local_copy); in cpu_map__from_mask()
109 for_each_set_bit(cpu, local_copy, 64) in cpu_map__from_mask()
/openbmc/linux/arch/sparc/kernel/
H A Dtraps_64.c2080 struct sun4v_error_entry *ent, local_copy; in sun4v_resum_error() local
2091 memcpy(&local_copy, ent, sizeof(struct sun4v_error_entry)); in sun4v_resum_error()
2099 if (local_copy.err_type == SUN4V_ERR_TYPE_SHUTDOWN_RQST) { in sun4v_resum_error()
2106 local_copy.err_secs); in sun4v_resum_error()
2114 if (local_copy.err_attrs & SUN4V_ERR_ATTRS_MCD) { in sun4v_resum_error()
2115 do_mcd_err(regs, local_copy); in sun4v_resum_error()
2119 sun4v_log_error(regs, &local_copy, cpu, in sun4v_resum_error()
2198 struct sun4v_error_entry *ent, local_copy; in sun4v_nonresum_error() local
2209 memcpy(&local_copy, ent, sizeof(struct sun4v_error_entry)); in sun4v_nonresum_error()
2218 sun4v_nonresum_error_user_handled(regs, &local_copy)) { in sun4v_nonresum_error()
[all …]
/openbmc/linux/Documentation/bpf/
H A Dkfuncs.rst539 struct task_struct *local_copy;
542 local_copy = global;
543 if (local_copy)
545 * We could also pass local_copy to kfuncs or helper functions here,
546 * as we're guaranteed that local_copy will be valid until we exit
549 bpf_printk("Global task %s is valid", local_copy->comm);
554 /* At this point we can no longer reference local_copy. */