Home
last modified time | relevance | path

Searched refs:atom (Results 1 – 23 of 23) sorted by relevance

/linux/include/rv/
H A Dltl_monitor.h97 static inline void ltl_atom_set(struct ltl_monitor *mon, enum ltl_atom atom, bool value) in ltl_atom_set() argument
99 __clear_bit(atom, mon->unknown_atoms); in ltl_atom_set()
101 __set_bit(atom, mon->atoms); in ltl_atom_set()
103 __clear_bit(atom, mon->atoms); in ltl_atom_set()
150 static void ltl_atom_update(struct task_struct *task, enum ltl_atom atom, bool value) in ltl_atom_update() argument
154 ltl_atom_set(mon, atom, value); in ltl_atom_update()
165 static void __maybe_unused ltl_atom_pulse(struct task_struct *task, enum ltl_atom atom, bool value) in ltl_atom_pulse() argument
169 ltl_atom_update(task, atom, value); in ltl_atom_pulse()
171 ltl_atom_set(mon, atom, !value); in ltl_atom_pulse()
/linux/tools/perf/
H A Dbuiltin-kwork.c245 struct kwork_atom *atom = NULL; in atom_new() local
251 atom = &page->atoms[i]; in atom_new()
261 pr_err("Failed to zalloc kwork atom page\n"); in atom_new()
266 atom = &page->atoms[0]; in atom_new()
271 atom->time = sample->time; in atom_new()
272 atom->prev = NULL; in atom_new()
273 atom->page_addr = page; in atom_new()
274 atom->bit_inpage = i; in atom_new()
275 return atom; in atom_new()
278 static void atom_free(struct kwork_atom *atom) in atom_free() argument
287 atom_del(struct kwork_atom * atom) atom_del() argument
457 struct kwork_atom *atom, *dst_atom, *last_atom; work_push_atom() local
515 struct kwork_atom *atom, *src_atom; work_pop_atom() local
580 report_update_exit_event(struct kwork_work * work,struct kwork_atom * atom,struct perf_sample * sample) report_update_exit_event() argument
617 struct kwork_atom *atom = NULL; report_exit_event() local
635 latency_update_entry_event(struct kwork_work * work,struct kwork_atom * atom,struct perf_sample * sample) latency_update_entry_event() argument
672 struct kwork_atom *atom = NULL; latency_entry_event() local
740 timehist_print_event(struct perf_kwork * kwork,struct kwork_work * work,struct kwork_atom * atom,struct perf_sample * sample,struct addr_location * al) timehist_print_event() argument
852 struct kwork_atom *atom = NULL; timehist_exit_event() local
884 top_update_runtime(struct kwork_work * work,struct kwork_atom * atom,struct perf_sample * sample) top_update_runtime() argument
916 struct kwork_atom *atom; top_exit_event() local
944 struct kwork_atom *atom; top_sched_switch_event() local
[all...]
H A Dbuiltin-sched.c522 struct sched_atom *atom) in perf_sched__process_event() argument
526 switch (atom->type) { in perf_sched__process_event()
528 burn_nsecs(sched, atom->duration); in perf_sched__process_event()
531 if (atom->wait_sem) in perf_sched__process_event()
532 ret = sem_wait(atom->wait_sem); in perf_sched__process_event()
536 if (atom->wait_sem) in perf_sched__process_event()
537 ret = sem_post(atom->wait_sem); in perf_sched__process_event()
1058 struct work_atom *atom = zalloc(sizeof(*atom)); in add_sched_out_event() local
1059 if (!atom) { in add_sched_out_event()
1079 struct work_atom *atom; add_runtime_event() local
1092 struct work_atom *atom; add_sched_in_event() local
1123 struct work_atom *atom, *tmp; free_work_atoms() local
1248 struct work_atom *atom; latency_wakeup_event() local
1310 struct work_atom *atom; latency_migrate_task_event() local
[all...]
/linux/kernel/printk/
H A Dnbcon.c135 atomic_set(&ACCESS_PRIVATE(con, nbcon_state), new->atom); in nbcon_state_set()
145 state->atom = atomic_read(&ACCESS_PRIVATE(con, nbcon_state)); in nbcon_state_read()
159 return atomic_try_cmpxchg(&ACCESS_PRIVATE(con, nbcon_state), &cur->atom, new->atom); in nbcon_state_try_cmpxchg()
282 new.atom = cur->atom; in nbcon_context_try_acquire_direct()
379 new.atom = cur->atom; in nbcon_context_try_acquire_requested()
479 new.atom = cur->atom; in nbcon_context_try_acquire_handover()
484 cur->atom = new.atom; in nbcon_context_try_acquire_handover()
517 new.atom = cur->atom; in nbcon_context_try_acquire_handover()
524 cur->atom = new.atom; in nbcon_context_try_acquire_handover()
572 new.atom = cur->atom; in nbcon_context_try_acquire_hostile()
[all …]
/linux/tools/verification/rvgen/rvgen/
H A Dltl2k.py47 def find_share_length(atom: str) -> int:
48 for i in range(len(atom), -1, -1):
49 if sum(a.startswith(atom[:i]) for a in atoms) > 1:
54 for atom in atoms:
55 share_len = find_share_length(atom)
56 share = atom[:share_len]
57 unique = atom[share_len:]
101 "static const char *ltl_atom_str(enum ltl_atom atom)",
112 "\treturn names[atom];",
133 for atom i
[all...]
/linux/tools/perf/Documentation/
H A Dintel-hybrid.txt6 it consists of atom cpu and core cpu. Each cpu has dedicated event list.
8 on atom cpu and even part of events are available on both.
22 It indicates cpu0-cpu15 are core cpus and cpu16-cpu23 are atom cpus.
39 To enable a core only event or atom only event, following syntax is supported:
51 When creating one event and the event is available on both atom and core,
52 two events are created automatically. One is for atom, the other is for
58 (from atom or from core). The original perf event type PERF_TYPE_HARDWARE
113 0x8 in 0x800000000 indicates it's cpu_atom pmu (atom pmu type id is random).
116 and create 'cycles' (0x800000000) on cpu16-cpu23 (atom cpus).
125 The first 'cycles' is core event, the second 'cycles' is atom even
[all...]
H A Dperf-stat.txt579 (e.g. core or atom)"
/linux/sound/soc/intel/atom/
H A DMakefile2 snd-soc-sst-atom-hifi2-platform-y := sst-mfld-platform-pcm.o \
4 sst-atom-controls.o
6 obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += snd-soc-sst-atom-hifi2-platform.o
/linux/tools/perf/util/
H A Ddwarf-aux.c472 if (expr[0].atom != DW_OP_plus_uconst || nexpr != 1) { in die_get_decl_fileno()
474 expr[0].atom, nexpr); in die_get_decl_fileno()
1214 switch (op->atom) { in offset_from_dwarf_op()
1216 return op->atom - DW_OP_reg0; in offset_from_dwarf_op()
1218 return op->atom - DW_OP_breg0; in offset_from_dwarf_op()
1232 switch (op->atom) { in check_allowed_ops()
1260 switch (ops->atom) { in die_get_var_innermost_scope()
1474 if (nops == 2 && ops[1].atom == DW_OP_stack_value) in __die_find_var_reg_cb()
1477 if (nops == 3 && (ops[1].atom == DW_OP_deref || in __die_find_var_reg_cb()
1478 ops[1].atom in __die_find_var_reg_cb()
[all...]
H A Dprobe-finder.c137 if (op->atom == DW_OP_addr) { in convert_variable_location()
154 if (op->atom == DW_OP_fbreg) { in convert_variable_location()
162 if (op->atom >= DW_OP_breg0 && op->atom <= DW_OP_breg31) { in convert_variable_location()
163 regn = op->atom - DW_OP_breg0; in convert_variable_location()
166 } else if (op->atom >= DW_OP_reg0 && op->atom <= DW_OP_reg31) { in convert_variable_location()
167 regn = op->atom - DW_OP_reg0; in convert_variable_location()
168 } else if (op->atom == DW_OP_bregx) { in convert_variable_location()
172 } else if (op->atom in convert_variable_location()
[all...]
H A Dannotate-data.c108 switch (ops->atom) { in pr_debug_location()
110 pr_info("reg%d\n", ops->atom - DW_OP_reg0); in pr_debug_location()
114 ops->atom - DW_OP_breg0, (long)ops->number); in pr_debug_location()
131 ops->atom, (long)ops->number); in pr_debug_location()
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Ddisp.c2108 struct nv50_atom *atom = nv50_atom(state); in nv50_disp_atomic_commit_core() local
2134 list_for_each_entry(outp, &atom->outp, head) { in nv50_disp_atomic_commit_core()
2178 struct nv50_atom *atom = nv50_atom(state); in nv50_disp_atomic_commit_tail() local
2185 NV_ATOMIC(drm, "commit %d %d\n", atom->lock_core, atom->flush_disable); in nv50_disp_atomic_commit_tail()
2193 if (atom->lock_core) in nv50_disp_atomic_commit_tail()
2210 nv50_head_flush_clr(head, asyh, atom->flush_disable); in nv50_disp_atomic_commit_tail()
2225 nv50_wndw_flush_clr(wndw, interlock, atom->flush_disable, asyw); in nv50_disp_atomic_commit_tail()
2229 list_for_each_entry(outp, &atom->outp, head) { in nv50_disp_atomic_commit_tail()
2248 if (atom->flush_disable) { in nv50_disp_atomic_commit_tail()
2262 list_for_each_entry(outp, &atom->outp, head) { in nv50_disp_atomic_commit_tail()
[all …]
H A Datom.h174 nv50_head_atom_get_encoder(struct nv50_head_atom *atom) in nv50_head_atom_get_encoder() argument
179 drm_for_each_encoder_mask(encoder, atom->state.crtc->dev, in nv50_head_atom_get_encoder()
180 atom->state.encoder_mask) in nv50_head_atom_get_encoder()
/linux/drivers/clk/x86/
H A DMakefile3 obj-$(CONFIG_X86_INTEL_LPSS) += clk-lpss-atom.o clk-pmc-atom.o
/linux/kernel/trace/rv/monitors/pagefault/
H A Dpagefault.h21 static const char *ltl_atom_str(enum ltl_atom atom) in ltl_atom_str() argument
28 return names[atom]; in ltl_atom_str()
/linux/tools/perf/arch/powerpc/util/
H A Dskip-callchain-idx.c58 !(nops == 1 && ops[0].atom == DW_OP_regx && in check_return_reg()
76 if (nops == 1 && ops[0].atom == DW_OP_bregx && ops[0].number == 1 && in check_return_reg()
/linux/sound/soc/intel/
H A DMakefile6 obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += atom/
/linux/arch/x86/platform/
H A DMakefile3 obj-y += atom/
/linux/Documentation/ABI/testing/
H A Dsysfs-platform-sst-atom6 LPE Firmware version for SST driver on all atom
/linux/drivers/gpu/drm/radeon/
H A DMakefile36 atom.o radeon_fence.o radeon_ttm.o radeon_object.o radeon_gart.o \
/linux/tools/testing/selftests/bpf/
H A Dveristat.c1932 static int adjust_var_secinfo_array(struct btf *btf, int tid, struct field_access *atom, in adjust_var_secinfo_array() argument
1948 err = resolve_rvalue(btf, &atom->index, &idx); in adjust_var_secinfo_array()
2030 struct field_access *atom = preset->atoms + i; in adjust_var_secinfo() local
2032 switch (atom->type) { in adjust_var_secinfo()
2034 err = adjust_var_secinfo_array(btf, tid, atom, prev_name, sinfo); in adjust_var_secinfo()
2037 err = adjust_var_secinfo_member(btf, base_type, 0, atom->name, sinfo); in adjust_var_secinfo()
2039 fprintf(stderr, "Can't find '%s'\n", atom->name); in adjust_var_secinfo()
2040 prev_name = atom->name; in adjust_var_secinfo()
/linux/rust/syn/
H A Dexpr.rs1245 let atom = expr_group(input, allow_struct)?; in parse_with_earlier_boundary_rule() localVariable
1246 if continue_parsing_early(&atom) { in parse_with_earlier_boundary_rule()
1247 trailer_helper(input, atom)? in parse_with_earlier_boundary_rule()
1249 atom in parse_with_earlier_boundary_rule()
1599 let atom = atom_expr(input, allow_struct)?; in trailer_expr() localVariable
1600 let mut e = trailer_helper(input, atom)?; in trailer_expr()
/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c265 args->atom.atom); in define_event_symbols()