Home
last modified time | relevance | path

Searched refs:atom (Results 1 – 25 of 25) 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()
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
280 if (atom->prev != NULL) in atom_free()
[all …]
H A Dbuiltin-sched.c515 struct sched_atom *atom) in perf_sched__process_event() argument
519 switch (atom->type) { in perf_sched__process_event()
521 burn_nsecs(sched, atom->duration); in perf_sched__process_event()
524 if (atom->wait_sem) in perf_sched__process_event()
525 ret = sem_wait(atom->wait_sem); in perf_sched__process_event()
529 if (atom->wait_sem) in perf_sched__process_event()
530 ret = sem_post(atom->wait_sem); in perf_sched__process_event()
1051 struct work_atom *atom = zalloc(sizeof(*atom)); in add_sched_out_event() local
1052 if (!atom) { in add_sched_out_event()
1057 atom->sched_out_time = timestamp; in add_sched_out_event()
[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 for atom in atoms:
48 for i in range(len(atom), -1, -1):
49 if sum(a.startswith(atom[:i]) for a in atoms) > 1:
51 share = atom[:i]
52 unique = atom[i:]
125 for atom in self.atoms:
126 if atom.lower() not in required_values:
128 buf.append("\tbool %s = test_bit(LTL_%s, mon->atoms);" % (atom.lower(), atom))
/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.txt574 (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.c445 if (expr[0].atom != DW_OP_plus_uconst || nexpr != 1) { in die_get_data_member_location()
447 expr[0].atom, nexpr); in die_get_data_member_location()
1187 switch (op->atom) { in reg_from_dwarf_op()
1189 return op->atom - DW_OP_reg0; in reg_from_dwarf_op()
1191 return op->atom - DW_OP_breg0; in reg_from_dwarf_op()
1205 switch (op->atom) { in offset_from_dwarf_op()
1233 switch (ops->atom) { in check_allowed_ops()
1443 if (nops == 2 && ops[1].atom == DW_OP_stack_value) in is_breg_access_indirect()
1446 if (nops == 3 && (ops[1].atom == DW_OP_deref || in is_breg_access_indirect()
1447 ops[1].atom == DW_OP_deref_size) && in is_breg_access_indirect()
[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 == DW_OP_regx) { in convert_variable_location()
175 pr_debug("DW_OP %x is not supported.\n", op->atom); in convert_variable_location()
618 } else if (nops == 1 && pf->fb_ops[0].atom == DW_OP_call_frame_cfa && in call_probe_finder()
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.c66 !(nops == 1 && ops[0].atom == DW_OP_regx && in check_return_reg()
84 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/kernel/trace/rv/monitors/sleep/
H A Dsleep.h37 static const char *ltl_atom_str(enum ltl_atom atom) in ltl_atom_str() argument
60 return names[atom]; in ltl_atom_str()
/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.c1919 static int adjust_var_secinfo_array(struct btf *btf, int tid, struct field_access *atom, in adjust_var_secinfo_member()
1935 err = resolve_rvalue(btf, &atom->index, &idx); in adjust_var_secinfo_member()
2017 struct field_access *atom = preset->atoms + i; in set_global_var()
2019 switch (atom->type) { in set_global_var()
2021 err = adjust_var_secinfo_array(btf, tid, atom, prev_name, sinfo); in set_global_var()
2024 err = adjust_var_secinfo_member(btf, base_type, 0, atom->name, sinfo); in set_global_var()
2026 fprintf(stderr, "Can't find '%s'\n", atom->name); in set_global_var()
2027 prev_name = atom->name; in set_global_var()
1865 adjust_var_secinfo_array(struct btf * btf,int tid,struct field_access * atom,const char * array_name,struct btf_var_secinfo * sinfo) adjust_var_secinfo_array() argument
1963 struct field_access *atom = preset->atoms + i; adjust_var_secinfo() local
/linux/include/linux/
H A Dconsole.h225 unsigned int atom; member
/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.c264 args->atom.atom); in define_event_symbols()