Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 234) sorted by relevance

12345678910

/tools/arch/x86/include/asm/
A Dasm.h130 .long (from) - . ; \
135 # define _ASM_EXTABLE(from, to) \ argument
138 # define _ASM_EXTABLE_UA(from, to) \ argument
141 # define _ASM_EXTABLE_CPY(from, to) \ argument
142 _ASM_EXTABLE_HANDLE(from, to, ex_handler_copy)
144 # define _ASM_EXTABLE_FAULT(from, to) \ argument
162 " .long (" #from ") - .\n" \
167 # define _ASM_EXTABLE(from, to) \ argument
170 # define _ASM_EXTABLE_UA(from, to) \ argument
173 # define _ASM_EXTABLE_CPY(from, to) \ argument
[all …]
/tools/testing/selftests/kvm/lib/x86/
A Dhandlers.S51 .macro HANDLERS has_error from to
52 vector = \from
53 .rept \to - \from + 1
73 HANDLERS has_error=0 from=0 to=7
74 HANDLERS has_error=1 from=8 to=8
75 HANDLERS has_error=0 from=9 to=9
76 HANDLERS has_error=1 from=10 to=14
77 HANDLERS has_error=0 from=15 to=16
78 HANDLERS has_error=1 from=17 to=17
79 HANDLERS has_error=0 from=18 to=255
/tools/testing/selftests/arm64/fp/
A Dassembler.h8 .macro __for from:req, to:req
9 .if (\from) == (\to)
10 _for__body %\from
12 __for \from, %(\from) + ((\to) - (\from)) / 2
13 __for %(\from) + ((\to) - (\from)) / 2 + 1, \to
17 .macro _for var:req, from:req, to:req, insn:vararg
25 __for \from, \to
/tools/testing/selftests/bpf/progs/
A Dhtab_mem_bench.c13 unsigned int from; member
31 bpf_map_update_elem(&htab, &ctx->from, zeroed_value, flags); in write_htab()
32 ctx->from += ctx->step; in write_htab()
49 bpf_map_delete_elem(&htab, &ctx->from); in del_htab()
50 ctx->from += ctx->step; in del_htab()
60 update.from = bpf_get_smp_processor_id(); in overwrite()
72 update.from = bpf_get_smp_processor_id(); in batch_add_batch_del()
76 update.from = bpf_get_smp_processor_id(); in batch_add_batch_del()
88 update.from = bpf_get_smp_processor_id() / 2; in add_only()
100 update.from = bpf_get_smp_processor_id() / 2; in del_only()
A Dpreempted_bpf_ma_op.c29 static int del_array(unsigned int i, int *from) in del_array() argument
34 value = bpf_map_lookup_elem(&array, from); in del_array()
42 (*from)++; in del_array()
46 static int add_array(unsigned int i, int *from) in add_array() argument
51 value = bpf_map_lookup_elem(&array, from); in add_array()
65 (*from)++; in add_array()
69 static void del_then_add_array(int from) in del_then_add_array() argument
73 i = from; in del_then_add_array()
76 i = from; in del_then_add_array()
A Dtest_tcp_estats.c171 static __always_inline void unaligned_u32_set(unsigned char *to, __u8 *from) in unaligned_u32_set() argument
173 to[0] = _(from[0]); in unaligned_u32_set()
174 to[1] = _(from[1]); in unaligned_u32_set()
175 to[2] = _(from[2]); in unaligned_u32_set()
176 to[3] = _(from[3]); in unaligned_u32_set()
/tools/virtio/linux/
A Duaccess.h25 static void volatile_memcpy(volatile char *to, const volatile char *from, in volatile_memcpy() argument
29 *(to++) = *(from++); in volatile_memcpy()
32 static inline int copy_from_user(void *to, const void __user volatile *from, in copy_from_user() argument
35 volatile_memcpy(to, from, n); in copy_from_user()
39 static inline int copy_to_user(void __user volatile *to, const void *from, in copy_to_user() argument
42 volatile_memcpy(to, from, n); in copy_to_user()
/tools/perf/util/
A Dcopyfile.c14 static int slow_copyfile(const char *from, const char *to, struct nsinfo *nsi) in slow_copyfile() argument
23 from_fp = fopen(from, "r"); in slow_copyfile()
83 err = stat(from, &st); in copyfile_mode_ns()
105 err = slow_copyfile(from, tmp, nsi); in copyfile_mode_ns()
115 fromfd = open(from, O_RDONLY); in copyfile_mode_ns()
133 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi) in copyfile_ns() argument
135 return copyfile_mode_ns(from, to, 0755, nsi); in copyfile_ns()
138 int copyfile_mode(const char *from, const char *to, mode_t mode) in copyfile_mode() argument
140 return copyfile_mode_ns(from, to, mode, NULL); in copyfile_mode()
143 int copyfile(const char *from, const char *to) in copyfile() argument
[all …]
A Dcopyfile.h11 int copyfile(const char *from, const char *to);
12 int copyfile_mode(const char *from, const char *to, mode_t mode);
13 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
A Dpmu.y29 static void perf_pmu__set_format(unsigned long *bits, long from, long to) in perf_pmu__set_format() argument
34 to = from; in perf_pmu__set_format()
37 for (b = from; b <= to; b++) in perf_pmu__set_format()
A Dbranch.h35 struct addr_map_symbol from; member
44 u64 from; member
86 u64 from, u64 to);
A Dbranch.c19 u64 from, u64 to) in branch_type_count() argument
21 if (flags->type == PERF_BR_UNKNOWN || from == 0) in branch_type_count()
30 if (to > from) in branch_type_count()
36 if (cross_area(from, to, AREA_2M)) in branch_type_count()
38 else if (cross_area(from, to, AREA_4K)) in branch_type_count()
A Dstring.c426 const char *from = haystack; in strreplace_chars() local
444 memcpy(to, from, 1 + loc - from); in strreplace_chars()
445 to += loc - from; in strreplace_chars()
446 from = loc + 1; in strreplace_chars()
453 loc = strchr(from, needle); in strreplace_chars()
457 strcpy(to, from); in strreplace_chars()
/tools/memory-model/Documentation/
A Dglossary.txt20 address dependency extends from that rcu_dereference() to that
44 there is said to be a coherence link from the second CPU to
52 See also "From-reads" and "Reads-from".
90 extends from that load to that later store. For example:
107 load from that same variable, there is said to be a from-reads
108 link from the load to the store.
111 is a "from-reads internal" (fri) link. The term "from-reads
115 See also "Coherence" and "Reads-from".
144 CPU, there is said to be a reads-from link from the second
149 coherence and from-reads links.
[all …]
A Daccess-marking.txt53 KCSAN from complaining. Of course, lack of KCSAN complaints does not
70 1. Data-racy loads from shared variables whose values are used only
90 prevents any non-diagnostic reads from shared variable x from running
92 to x allows KCSAN to detect reads from x from within regions of code
184 3. Per-CPU variables that are not accessed from other CPUs.
196 by default, refraining from flagging plain C-language stores:
247 to be concurrent reads from foo from other CPUs, it is an error for some
441 If the value read from global_flag is true, then global_flag is
490 flag any concurrent plain C-language reads from foo, and given
515 /* Called from access_foo_concurrently(). */
[all …]
/tools/lib/api/fd/
A Darray.c91 int fdarray__dup_entry_from(struct fdarray *fda, int pos, struct fdarray *from) in fdarray__dup_entry_from() argument
96 if (pos >= from->nr) in fdarray__dup_entry_from()
99 entry = &from->entries[pos]; in fdarray__dup_entry_from()
101 npos = fdarray__add(fda, entry->fd, entry->events, from->priv[pos].flags); in fdarray__dup_entry_from()
103 fda->priv[npos] = from->priv[pos]; in fdarray__dup_entry_from()
/tools/testing/selftests/devices/probe/boards/
A DDell Inc.,XPS 13 9300.yaml5 # "Vendor,Product", where Vendor comes from
6 # /sys/devices/virtual/dmi/id/sys_vendor, and Product comes from
14 # of the controller from ACPI could be used to distinguish as follows:
/tools/testing/selftests/net/packetdrill/
A Dtcp_sack_sack-shift-sacked-2-6-8-3-9-nofack.pkt45 // ACK for 1:1001 as packets from t=0.303 arrive.
49 // ACK for 1:4001 as packets from t=0.310 arrive.
53 // ACK for 1:7001 as packets from t=0.320 arrive.
56 // ACK for all data as packets from t=0.403 arrive.
/tools/memory-model/litmus-tests/
A DZ6.0+pooncerelease+poacquirerelease+fencembonceonce.litmus7 * when there is but one non-reads-from (AKA non-rf) link, does not suffice
8 * if there is more than one. Of the three processes, only P1() reads from
11 * to P0() is a read-to-write link (AKA a "from-reads" or just "fr" link).
A Ddep+plain.litmus8 * The data stored to *z1 and *z2 by P0() originates from P0()'s
11 * from that READ_ONCE() to P0()'s WRITE_ONCE().
/tools/testing/selftests/sched_ext/
A Dmaximal.bpf.c48 bool BPF_STRUCT_OPS(maximal_yield, struct task_struct *from, in BPF_STRUCT_OPS() argument
110 struct cgroup *from, struct cgroup *to) in BPF_STRUCT_OPS() argument
116 struct cgroup *from, struct cgroup *to) in BPF_STRUCT_OPS() argument
120 struct cgroup *from, struct cgroup *to) in BPF_STRUCT_OPS() argument
/tools/perf/Documentation/
A Dperf-buildid-cache.txt16 files to/from the cache. In the future it should as well set upper limits for
46 from the cache.
50 path from the cache.
67 List all valid binaries from cache.
73 Obtain mount namespace information from the target pid. This is
75 different mount namespace from the perf(1) utility.
A Dguest-files.txt5 kernel symbols. Users copy it out from guest OS.
9 kernel module information. Users copy it out from guest OS.
/tools/testing/selftests/
A Drun_kselftest.sh32 -t | --test COLLECTION:TEST Run TEST from COLLECTION
33 -c | --collection COLLECTION Run all tests from COLLECTION
/tools/virtio/virtio-trace/
A DREADME7 - splice the page from write_pipe to virtio-console without memory copying
9 - controlled by start/stop orders from a Host
16 4) After the controller of the trace agent receives a start order from a host,
18 5) The read/write threads start to read trace data from ring-buffers and
20 6) If the controller receives a stop order from a host, the read/write threads
103 read/write threads in the agent wait for start order from host. If you add -o
112 4) Start to read trace data by ordering from a host
116 5) Stop to read trace data by ordering from a host

Completed in 20 milliseconds

12345678910