Home
last modified time | relevance | path

Searched refs:used (Results 1 – 25 of 123) sorted by relevance

12345

/tools/testing/selftests/tc-testing/
Daction.c12 __attribute__((section("action-ok"),used)) int action_ok(struct __sk_buff *s) in action_ok()
17 __attribute__((section("action-ko"),used)) int action_ko(struct __sk_buff *s) in action_ko()
23 char _license[] __attribute__((section("license"),used)) = "GPL";
/tools/virtio/ringtest/
Dvirtio_ring_0_9.c160 index = ring.used->ring[head].id; in get_buf()
167 if (ring.used->idx == guest.last_used_idx) in get_buf()
176 index = ring.used->ring[head].id; in get_buf()
183 *lenp = ring.used->ring[head].len; in get_buf()
202 unsigned index = ring.used->ring[head].id; in used_empty()
206 return ring.used->idx == last_used_idx; in used_empty()
308 ring.used->ring[used_idx].id = head; in use_buf()
309 ring.used->ring[used_idx].len = desc->len - 1; in use_buf()
314 ring.used->idx = host.used_idx; in use_buf()
/tools/virtio/
Dvringh_test.c190 vrh.vring.desc, vrh.vring.avail, vrh.vring.used); in parallel_test()
254 if (riov.used) { in parallel_test()
260 assert(riov.i == riov.used); in parallel_test()
267 assert(wiov.i == wiov.used); in parallel_test()
447 struct vring_used_elem used[RINGSIZE]; in main() local
496 vrh.vring.desc, vrh.vring.avail, vrh.vring.used); in main()
527 assert(riov.used == 1); in main()
531 assert(wiov.used == 1); in main()
535 assert(wiov.used == 2); in main()
554 assert(wiov.i == wiov.used); in main()
[all …]
/tools/testing/selftests/size/
Dget_size.c88 unsigned long used; in _start() local
105 used = info.totalram - info.freeram - info.bufferram; in _start()
111 print_k_value(" In use: ", used, info.mem_unit); in _start()
/tools/testing/selftests/powerpc/nx-gzip/
Dgunz_test.c72 #define fifo_used_bytes(used) (used) argument
73 #define fifo_free_bytes(used, len) ((len)-(used)) argument
75 #define fifo_free_first_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ argument
76 ? (len)-((cur)+(used)) : 0)
77 #define fifo_free_last_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ argument
78 ? (cur) : (len)-(used))
80 #define fifo_used_first_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ argument
81 ? (used) : (len)-(cur))
82 #define fifo_used_last_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ argument
83 ? 0 : ((used)+(cur))-(len))
[all …]
/tools/testing/selftests/powerpc/ptrace/
Dptrace-tm-spd-vsx.c20 __attribute__((used)) void load_vsx(void) in load_vsx()
25 __attribute__((used)) void load_vsx_new(void) in load_vsx_new()
30 __attribute__((used)) void load_vsx_ckpt(void) in load_vsx_ckpt()
35 __attribute__((used)) void wait_parent(void) in wait_parent()
Dptrace-tm-vsx.c19 __attribute__((used)) void load_vsx(void) in load_vsx()
24 __attribute__((used)) void load_vsx_ckpt(void) in load_vsx_ckpt()
/tools/bpf/bpftool/Documentation/
Dbpftool-feature.rst38 and run all probes, the **full** keyword should be used.
44 used to define a *PREFIX*, the provided string will be used
45 as a prefix to the names of the macros: this can be used to
52 When the **unprivileged** keyword is used, bpftool will dump
/tools/testing/selftests/bpf/
Dtest_bpftool_metadata.sh70 bpftool prog load metadata_used.o $BPF_DIR/used
80 rm $BPF_DIR/used
Dbpf_legacy.h11 __attribute__ ((section(".maps." #name), used)) \
/tools/testing/ktest/examples/
DREADME17 used to perform real testing.
19 kvm.conf - A example of a config that is used to test a virtual guest running
22 snowball.conf - An example config that was used to demo ktest.pl against
/tools/perf/include/bpf/
Dbpf.h32 struct ____btf_map_##name __attribute__((section(".maps." #name), used)) \
50 #define SEC(NAME) __attribute__((section(NAME), used))
/tools/perf/Documentation/
Dperf-buildid-list.txt16 tools can be used to fetch packages with matching symbol tables for use by
19 It can also be used to show the build id of the running kernel or in an ELF
Dperf-help.txt16 command and a list of the most commonly used perf commands are printed
23 up. The 'man' program is used by default for this purpose, but this
Dperf-buildid-cache.txt17 the space used by the cache, etc.
19 record it along with the buildid-cache, which will be used by perf-probe.
62 exactly same build-id, that is replaced by new one. It can be used
74 used when creating a uprobe for a process that resides in a
Dperf-mem.txt50 Specify the field separator used when dump raw samples (-D option). By default,
74 Configure all used events to run in kernel space.
78 Configure all used events to run in user space.
/tools/testing/selftests/kmod/
Dconfig5 # For the module parameter force_init_test is used
/tools/perf/tests/
Dbpf-script-test-kbuild.c10 #define SEC(NAME) __attribute__((section(NAME), used))
Dbpf-script-test-prologue.c10 #define SEC(NAME) __attribute__((section(NAME), used))
Dbpf-script-test-relocation.c27 #define SEC(NAME) __attribute__((section(NAME), used))
/tools/lib/traceevent/Documentation/
Dlibtraceevent-header_page.txt23 from user space context are used.
44 The _tep_is_old_format()_ function returns true, if an old kernel is used to
64 printf ("%s kernel is used to generate the tracing data.\n",
Dlibtraceevent-handle.txt25 structure, representing the trace event parser context. This context is used as
32 as clean up all its resources that it had used. The argument _tep_ is
39 it had used are cleaned up.
Dlibtraceevent-reg_event_handler.txt33 If _id_ is >= 0, it is used to find the event, otherwise _sys_name_ and
34 _event_name_ are used. The _func_ is a pointer to the function, which is going
40 can register a function for an event to be used to parse the data instead.
49 function. The _s_ argument is the trace sequence, it can be used to create a
129 related APIs. Trace sequences are used to allow a function to call
/tools/perf/pmu-events/arch/nds32/
Dmapfile.csv7 # Version could be used to track version of of JSON file
/tools/perf/pmu-events/arch/powerpc/
Dmapfile.csv6 # Version could be used to track version of of JSON file

12345