Home
last modified time | relevance | path

Searched full:machine (Results 1 – 25 of 2899) sorted by relevance

12345678910>>...116

/Linux-v5.15/tools/perf/util/
Dmachine.h22 /* Native host kernel uses -1 as pid index in machine */
41 struct machine { struct
65 static inline struct threads *machine__threads(struct machine *machine, pid_t tid) in machine__threads() argument
68 return &machine->threads[(unsigned int)tid % THREADS__TABLE_SIZE]; in machine__threads()
75 struct map *machine__kernel_map(struct machine *machine) in machine__kernel_map() argument
77 return machine->vmlinux_map; in machine__kernel_map()
84 struct maps *machine__kernel_maps(struct machine *machine) in machine__kernel_maps() argument
86 return &machine->kmaps; in machine__kernel_maps()
89 int machine__get_kernel_start(struct machine *machine);
91 static inline u64 machine__kernel_start(struct machine *machine) in machine__kernel_start() argument
[all …]
Dmachine.c14 #include "machine.h"
44 static void __machine__remove_thread(struct machine *machine, struct thread *th, bool lock);
46 static struct dso *machine__kernel_dso(struct machine *machine) in machine__kernel_dso() argument
48 return machine->vmlinux_map->dso; in machine__kernel_dso()
58 static void machine__threads_init(struct machine *machine) in machine__threads_init() argument
63 struct threads *threads = &machine->threads[i]; in machine__threads_init()
72 static int machine__set_mmap_name(struct machine *machine) in machine__set_mmap_name() argument
74 if (machine__is_host(machine)) in machine__set_mmap_name()
75 machine->mmap_name = strdup("[kernel.kallsyms]"); in machine__set_mmap_name()
76 else if (machine__is_default_guest(machine)) in machine__set_mmap_name()
[all …]
Dsynthetic-events.h14 struct machine;
31 struct perf_sample *sample, struct machine *machine);
35 …erf_tool *tool, struct dso *pos, u16 misc, perf_event__handler_t process, struct machine *machine);
36 …erf_tool *tool, struct perf_cpu_map *cpus, perf_event__handler_t process, struct machine *machine);
42 …hesize_extra_kmaps(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine);
44 …ct perf_tool *tool, perf_event__handler_t process, struct evlist *evlist, struct machine *machine);
45 …hesize_kernel_mmap(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine);
46 …event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine, bool mmap_da…
47 …synthesize_modules(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine);
48 … perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine);
[all …]
Dvdso.c17 #include "machine.h"
108 void machine__exit_vdso(struct machine *machine) in machine__exit_vdso() argument
110 struct vdso_info *vdso_info = machine->vdso_info; in machine__exit_vdso()
124 zfree(&machine->vdso_info); in machine__exit_vdso()
127 static struct dso *__machine__addnew_vdso(struct machine *machine, const char *short_name, in __machine__addnew_vdso() argument
134 __dsos__add(&machine->dsos, dso); in __machine__addnew_vdso()
143 static enum dso_type machine__thread_dso_type(struct machine *machine, in machine__thread_dso_type() argument
153 dso_type = dso__type(dso, machine); in machine__thread_dso_type()
237 static struct dso *__machine__findnew_compat(struct machine *machine, in __machine__findnew_compat() argument
243 dso = __dsos__find(&machine->dsos, vdso_file->dso_name, true); in __machine__findnew_compat()
[all …]
Devent.h18 struct machine;
316 struct machine *machine);
320 struct machine *machine);
324 struct machine *machine);
328 struct machine *machine);
332 struct machine *machine);
336 struct machine *machine);
340 struct machine *machine);
344 struct machine *machine);
348 struct machine *machine);
[all …]
Devent.c18 #include "machine.h"
195 struct machine *machine) in perf_event__process_comm() argument
197 return machine__process_comm_event(machine, event, sample); in perf_event__process_comm()
203 struct machine *machine) in perf_event__process_namespaces() argument
205 return machine__process_namespaces_event(machine, event, sample); in perf_event__process_namespaces()
211 struct machine *machine) in perf_event__process_cgroup() argument
213 return machine__process_cgroup_event(machine, event, sample); in perf_event__process_cgroup()
219 struct machine *machine) in perf_event__process_lost() argument
221 return machine__process_lost_event(machine, event, sample); in perf_event__process_lost()
227 struct machine *machine) in perf_event__process_aux() argument
[all …]
Dsynthetic-events.c9 #include "util/machine.h"
52 struct machine *machine, in perf_tool__process_synth_event() argument
65 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event()
154 struct machine *machine, in perf_event__prepare_comm() argument
163 if (machine__is_host(machine)) { in perf_event__prepare_comm()
170 *tgid = machine->pid; in perf_event__prepare_comm()
181 memset(event->comm.comm + size, 0, machine->id_hdr_size); in perf_event__prepare_comm()
184 machine->id_hdr_size); in perf_event__prepare_comm()
193 struct machine *machine) in perf_event__synthesize_comm() argument
198 if (perf_event__prepare_comm(event, 0, pid, machine, &tgid, &ppid, in perf_event__synthesize_comm()
[all …]
Ddb-export.h14 struct machine;
43 int (*export_machine)(struct db_export *dbe, struct machine *machine);
45 u64 main_thread_db_id, struct machine *machine);
51 struct machine *machine);
61 struct machine *machine,
83 int db_export__machine(struct db_export *dbe, struct machine *machine);
85 struct machine *machine, struct thread *main_thread);
93 struct machine *machine);
108 struct perf_sample *sample, struct machine *machine);
Ddso.h15 struct machine;
267 struct machine *machine);
297 struct machine *machine);
321 * int fd = dso__data_get_fd(dso, machine);
328 * n = dso__data_read_offset(dso_0, &machine, 0, buf, BUFSIZE);
329 * n = dso__data_read_addr(dso_0, &machine, 0, buf, BUFSIZE);
344 int dso__data_get_fd(struct dso *dso, struct machine *machine);
348 int dso__data_file_size(struct dso *dso, struct machine *machine);
349 off_t dso__data_size(struct dso *dso, struct machine *machine);
350 ssize_t dso__data_read_offset(struct dso *dso, struct machine *machine,
[all …]
Ddso.c27 #include "machine.h"
433 struct machine *machine) in dso__set_module_info() argument
435 if (machine__is_host(machine)) in dso__set_module_info()
493 static int __open_dso(struct dso *dso, struct machine *machine) in __open_dso() argument
503 if (machine) in __open_dso()
504 root_dir = machine->root_dir; in __open_dso()
545 static int open_dso(struct dso *dso, struct machine *machine) in open_dso() argument
552 fd = __open_dso(dso, machine); in open_dso()
666 static void try_to_open_dso(struct dso *dso, struct machine *machine) in try_to_open_dso() argument
679 dso->data.fd = open_dso(dso, machine); in try_to_open_dso()
[all …]
Ddb-export.c12 #include "machine.h"
49 int db_export__machine(struct db_export *dbe, struct machine *machine) in db_export__machine() argument
51 if (machine->db_id) in db_export__machine()
54 machine->db_id = ++dbe->machine_last_db_id; in db_export__machine()
57 return dbe->export_machine(dbe, machine); in db_export__machine()
63 struct machine *machine, struct thread *main_thread) in db_export__thread() argument
77 machine); in db_export__thread()
147 struct machine *machine) in db_export__dso() argument
155 return dbe->export_dso(dbe, dso, machine); in db_export__dso()
184 err = db_export__dso(dbe, dso, al->maps->machine); in db_ids_from_al()
[all …]
/Linux-v5.15/arch/arm/
DMakefile156 # Machine directory name. This list is sorted alphanumerically
158 machine-$(CONFIG_ARCH_ACTIONS) += actions
159 machine-$(CONFIG_ARCH_ALPINE) += alpine
160 machine-$(CONFIG_ARCH_ARTPEC) += artpec
161 machine-$(CONFIG_ARCH_ASPEED) += aspeed
162 machine-$(CONFIG_ARCH_AT91) += at91
163 machine-$(CONFIG_ARCH_AXXIA) += axxia
164 machine-$(CONFIG_ARCH_BCM) += bcm
165 machine-$(CONFIG_ARCH_BERLIN) += berlin
166 machine-$(CONFIG_ARCH_CLPS711X) += clps711x
[all …]
/Linux-v5.15/sound/soc/tegra/
Dtegra_asoc_machine.c3 * tegra_asoc_machine.c - Universal ASoC machine driver for NVIDIA Tegra boards.
72 struct tegra_machine *machine = snd_soc_card_get_drvdata(dapm->card); in tegra_machine_event() local
75 gpiod_set_value_cansleep(machine->gpiod_spkr_en, in tegra_machine_event()
79 gpiod_set_value_cansleep(machine->gpiod_ext_mic_en, in tegra_machine_event()
83 gpiod_set_value_cansleep(machine->gpiod_int_mic_en, in tegra_machine_event()
87 gpiod_set_value_cansleep(machine->gpiod_hp_mute, in tegra_machine_event()
124 struct tegra_machine *machine = snd_soc_card_get_drvdata(card); in tegra_asoc_machine_init() local
127 if (machine->gpiod_hp_det && machine->asoc->add_hp_jack) { in tegra_asoc_machine_init()
139 tegra_machine_hp_jack_gpio.desc = machine->gpiod_hp_det; in tegra_asoc_machine_init()
147 if (machine->gpiod_hp_det && machine->asoc->add_headset_jack) { in tegra_asoc_machine_init()
[all …]
/Linux-v5.15/Documentation/sound/soc/
Dmachine.rst2 ASoC Machine Driver
5 The ASoC machine (or board) driver is the code that glues together all the
10 The machine driver can contain codec and platform specific code. It registers
15 /* SoC machine */
42 probe/remove are optional. Do any machine specific probe here.
47 The machine driver has pre and post versions of suspend and resume to take care
48 of any machine audio tasks that have to be done before or after the codec, DAIs
52 Machine DAI Configuration
54 The machine DAI configuration glues all the codec and CPU DAIs together. It can
55 also be used to set up the DAI system clock and for any machine related DAI
[all …]
/Linux-v5.15/tools/perf/
Dbuiltin-inject.c66 struct machine *machine, u8 cpumode, u32 flags);
217 struct machine *machine __maybe_unused) in perf_event__repipe()
225 struct machine *machine __maybe_unused) in perf_event__drop()
233 struct machine *machine __maybe_unused) in perf_event__drop_aux()
269 struct machine *machine);
275 struct machine *machine) in perf_event__repipe_sample() argument
282 return f(tool, event, sample, evsel, machine); in perf_event__repipe_sample()
285 build_id__mark_dso_hit(tool, event, sample, evsel, machine); in perf_event__repipe_sample()
296 struct machine *machine) in perf_event__repipe_mmap() argument
300 err = perf_event__process_mmap(tool, event, sample, machine); in perf_event__repipe_mmap()
[all …]
/Linux-v5.15/tools/perf/tests/
Dthread-maps-share.c3 #include "machine.h"
10 struct machine *machine; in test__thread_maps_share() local
31 machine = &machines.host; in test__thread_maps_share()
34 leader = machine__findnew_thread(machine, 0, 0); in test__thread_maps_share()
35 t1 = machine__findnew_thread(machine, 0, 1); in test__thread_maps_share()
36 t2 = machine__findnew_thread(machine, 0, 2); in test__thread_maps_share()
37 t3 = machine__findnew_thread(machine, 0, 3); in test__thread_maps_share()
40 other = machine__findnew_thread(machine, 4, 5); in test__thread_maps_share()
58 other_leader = machine__find_thread(machine, 4, 4); in test__thread_maps_share()
66 machine__remove_thread(machine, leader); in test__thread_maps_share()
[all …]
Ddwarf-unwind.c10 #include "machine.h"
43 struct machine *machine) in mmap_handler() argument
45 return machine__process_mmap2_event(machine, event, sample); in mmap_handler()
48 static int init_live_machine(struct machine *machine) in init_live_machine() argument
55 mmap_handler, machine, true); in init_live_machine()
200 struct machine *machine; in test__dwarf_unwind() local
204 machine = machine__new_host(); in test__dwarf_unwind()
205 if (!machine) { in test__dwarf_unwind()
206 pr_err("Could not get machine\n"); in test__dwarf_unwind()
210 if (machine__create_kernel_maps(machine)) { in test__dwarf_unwind()
[all …]
Ddso-data.c13 #include "machine.h"
106 static int dso__data_fd(struct dso *dso, struct machine *machine) in dso__data_fd() argument
108 int fd = dso__data_get_fd(dso, machine); in dso__data_fd()
118 struct machine machine; in test__dso_data() local
125 memset(&machine, 0, sizeof(machine)); in test__dso_data()
130 dso__data_fd(dso, &machine) >= 0); in test__dso_data()
139 size = dso__data_read_offset(dso, &machine, data->offset, in test__dso_data()
158 size = dso__data_read_offset(dso, &machine, 10, in test__dso_data()
253 struct machine machine; in test__dso_data_cache() local
260 memset(&machine, 0, sizeof(machine)); in test__dso_data_cache()
[all …]
/Linux-v5.15/sound/soc/intel/boards/
DKconfig3 bool "Intel Machine drivers"
6 Intel ASoC Machine Drivers. If you have a Intel machine that
12 the questions about Intel ASoC machine drivers.
60 This adds the ASoC machine driver for Intel Broadwell platforms with
103 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
115 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
127 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
139 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
151 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
163 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
[all …]
/Linux-v5.15/include/net/
Dbond_3ad.h33 /* rx machine states(43.4.11 in the 802.3ad standard) */
36 AD_RX_INITIALIZE, /* rx Machine */
37 AD_RX_PORT_DISABLED, /* rx Machine */
38 AD_RX_LACP_DISABLED, /* rx Machine */
39 AD_RX_EXPIRED, /* rx Machine */
40 AD_RX_DEFAULTED, /* rx Machine */
41 AD_RX_CURRENT /* rx Machine */
44 /* periodic machine states(43.4.12 in the 802.3ad standard) */
47 AD_NO_PERIODIC, /* periodic machine */
48 AD_FAST_PERIODIC, /* periodic machine */
[all …]
/Linux-v5.15/Documentation/x86/x86_64/
Dmachinecheck.rst4 Configurable sysfs parameters for the x86-64 machine check code
7 Machine checks report internal hardware error conditions detected
8 by the CPU. Uncorrected errors typically cause a machine check
9 (often with panic), corrected ones cause a machine check log entry.
11 Machine checks are organized in banks (normally associated with
17 When you see the "Machine check errors logged" message in the system
18 log then mcelog should run to collect and decode machine check entries
40 How often to poll for corrected machine check errors, in seconds
46 maximum polling interval. 0 means no polling for corrected machine
51 Tolerance level. When a machine check exception occurs for a non
[all …]
/Linux-v5.15/sound/soc/rockchip/
Drk3288_hdmi_analog.c3 * Rockchip machine ASoC driver for RK3288 boards that have an HDMI and analog
36 struct rk_drvdata *machine = snd_soc_card_get_drvdata(w->dapm->card); in rk_hp_power() local
38 if (!gpio_is_valid(machine->gpio_hp_en)) in rk_hp_power()
41 gpio_set_value_cansleep(machine->gpio_hp_en, in rk_hp_power()
123 struct rk_drvdata *machine = snd_soc_card_get_drvdata(runtime->card); in rk_init() local
126 if (gpio_is_valid(machine->gpio_hp_det)) { in rk_init()
131 rk_hp_jack_gpio.gpio = machine->gpio_hp_det; in rk_init()
175 struct rk_drvdata *machine; in snd_rk_mc_probe() local
178 machine = devm_kzalloc(&pdev->dev, sizeof(struct rk_drvdata), in snd_rk_mc_probe()
180 if (!machine) in snd_rk_mc_probe()
[all …]
/Linux-v5.15/Documentation/arm/
Darm.rst71 `arch-*` machine/platform specific header files
73 `mach` descriptions of generic ARM to specific machine interfaces
79 Machine/Platform support
82 The ARM tree contains support for a lot of different machine types. To
84 machine-specific parts by directory. For this, the machine category is
86 $(MACHINE) to refer to the category)
88 To this end, we now have arch/arm/mach-$(MACHINE) directories which are
89 designed to house the non-driver files for a particular machine (eg, PCI,
91 machines, there should be a corresponding arch/arm/mach-$(MACHINE)/include/mach
99 each module on an ARM2/ARM250/ARM3 machine when is loaded will take
[all …]
/Linux-v5.15/arch/arm/mach-spear/
DKconfig30 bool "SPEAr1310 Machine support with Device Tree"
34 Supports ST SPEAr1310 machine configured via the device-tree
37 bool "SPEAr1340 Machine support with Device Tree"
41 Supports ST SPEAr1340 machine configured via the device-tree
57 bool "SPEAr300 Machine support with Device Tree"
60 Supports ST SPEAr300 machine configured via the device-tree
63 bool "SPEAr310 Machine support with Device Tree"
66 Supports ST SPEAr310 machine configured via the device-tree
69 bool "SPEAr320 Machine support with Device Tree"
72 Supports ST SPEAr320 machine configured via the device-tree
/Linux-v5.15/tools/testing/ktest/examples/
Dtest.conf2 # Generic config for a machine
5 # Name your machine (the DNS name, what you ssh to)
6 MACHINE = foo
8 # BOX can be different than foo, if the machine BOX has
11 # If this is the case, MACHINE defines the way to connect to the
12 # machine, which may be different between which system the machine
14 # the machine, where it does not matter which system the machine boots into.
42 # machine configs.
56 # Having them included allows you to set up more than one machine and share

12345678910>>...116