Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 46) sorted by relevance

12

/samples/vfio-mdev/
A Dmdpy.c51 struct mdev_type type; member
82 &mdpy_types[0].type,
83 &mdpy_types[1].type,
84 &mdpy_types[2].type,
217 stride = mdev_state->type->width * mdev_state->type->bytepp; in mdpy_reset()
231 container_of(mdev->type, struct mdpy_type, type); in mdpy_init_dev()
239 fbsize = roundup_pow_of_two(type->width * type->height * type->bytepp); in mdpy_init_dev()
247 mdev_state->type = type; in mdpy_init_dev()
253 type->width, type->height); in mdpy_init_dev()
656 struct mdpy_type *type = container_of(mtype, struct mdpy_type, type); in mdpy_show_description() local
[all …]
A Dmbochs.c104 struct mdev_type type; member
131 &mbochs_types[0].type,
132 &mbochs_types[1].type,
133 &mbochs_types[2].type,
524 struct mbochs_type *type = in mbochs_init_dev() local
525 container_of(mdev->type, struct mbochs_type, type); in mbochs_init_dev()
552 mdev_state->type = type; in mbochs_init_dev()
561 type->type.pretty_name, type->mbytes, mdev_state->pagecount); in mbochs_init_dev()
1075 ext->type.type = VFIO_REGION_TYPE_GFX; in mbochs_get_region_info()
1357 struct mbochs_type *type = in mbochs_show_description() local
[all …]
/samples/bpf/
A Dtracex6.bpf.c8 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
15 __uint(type, BPF_MAP_TYPE_HASH);
22 __uint(type, BPF_MAP_TYPE_HASH);
60 enum bpf_map_type type; in BPF_KPROBE() local
63 type = BPF_CORE_READ(map, map_type); in BPF_KPROBE()
64 if (type != BPF_MAP_TYPE_HASH) in BPF_KPROBE()
A Dtest_map_in_map.bpf.c22 __uint(type, BPF_MAP_TYPE_ARRAY);
30 __uint(type, BPF_MAP_TYPE_HASH);
38 __uint(type, BPF_MAP_TYPE_HASH);
46 __uint(type, BPF_MAP_TYPE_HASH);
54 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS);
62 __uint(type, BPF_MAP_TYPE_HASH_OF_MAPS);
70 __uint(type, BPF_MAP_TYPE_HASH_OF_MAPS);
A Dmap_perf_test.bpf.c18 __uint(type, BPF_MAP_TYPE_HASH);
25 __uint(type, BPF_MAP_TYPE_LRU_HASH);
32 __uint(type, BPF_MAP_TYPE_LRU_HASH);
40 __uint(type, BPF_MAP_TYPE_LRU_HASH);
49 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS);
59 __uint(type, BPF_MAP_TYPE_PERCPU_HASH);
66 __uint(type, BPF_MAP_TYPE_HASH);
74 __uint(type, BPF_MAP_TYPE_PERCPU_HASH);
82 __uint(type, BPF_MAP_TYPE_LPM_TRIE);
90 __uint(type, BPF_MAP_TYPE_ARRAY);
[all …]
A Dspintest.bpf.c17 __uint(type, BPF_MAP_TYPE_HASH);
23 __uint(type, BPF_MAP_TYPE_PERCPU_HASH);
30 __uint(type, BPF_MAP_TYPE_STACK_TRACE);
A Dtracex6_user.c106 .type = PERF_TYPE_HARDWARE, in test_bpf_perf_event()
115 .type = PERF_TYPE_SOFTWARE, in test_bpf_perf_event()
124 .type = PERF_TYPE_RAW, in test_bpf_perf_event()
134 .type = PERF_TYPE_HW_CACHE, in test_bpf_perf_event()
146 .type = PERF_TYPE_HW_CACHE, in test_bpf_perf_event()
159 .type = 7, in test_bpf_perf_event()
A Dtcp_dumpstats_kern.c16 __u32 type; member
21 .type = BPF_MAP_TYPE_SK_STORAGE,
A Doffwaketime.bpf.c28 __uint(type, BPF_MAP_TYPE_HASH);
35 __uint(type, BPF_MAP_TYPE_HASH);
47 __uint(type, BPF_MAP_TYPE_HASH);
54 __uint(type, BPF_MAP_TYPE_STACK_TRACE);
A Dtrace_event_user.c221 .type = PERF_TYPE_HARDWARE, in test_bpf_perf_event()
227 .type = PERF_TYPE_SOFTWARE, in test_bpf_perf_event()
233 .type = PERF_TYPE_HW_CACHE, in test_bpf_perf_event()
242 .type = PERF_TYPE_HW_CACHE, in test_bpf_perf_event()
251 .type = PERF_TYPE_RAW, in test_bpf_perf_event()
258 .type = PERF_TYPE_RAW, in test_bpf_perf_event()
A Dsyscall_tp_kern.c33 __uint(type, BPF_MAP_TYPE_ARRAY);
40 __uint(type, BPF_MAP_TYPE_ARRAY);
A Dxdp_router_ipv4.bpf.c43 __uint(type, BPF_MAP_TYPE_LPM_TRIE);
52 __uint(type, BPF_MAP_TYPE_HASH);
60 __uint(type, BPF_MAP_TYPE_HASH);
67 __uint(type, BPF_MAP_TYPE_DEVMAP);
A Dtrace_event_kern.c21 __uint(type, BPF_MAP_TYPE_HASH);
28 __uint(type, BPF_MAP_TYPE_STACK_TRACE);
A Dlathist_kern.c22 __uint(type, BPF_MAP_TYPE_ARRAY);
65 __uint(type, BPF_MAP_TYPE_ARRAY);
A Dtracex3.bpf.c19 __uint(type, BPF_MAP_TYPE_HASH);
51 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
A Dtrace_output.bpf.c6 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
A Dsockex1_kern.c9 __uint(type, BPF_MAP_TYPE_ARRAY);
A Dsampleip_kern.c16 __uint(type, BPF_MAP_TYPE_HASH);
A Dtest_lru_dist.c27 #define container_of(ptr, type, member) ({ \ argument
28 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
29 (type *)( (char *)__mptr - offsetof(type,member) );})
77 #define list_entry(ptr, type, member) \ argument
78 container_of(ptr, type, member)
80 #define list_last_entry(ptr, type, member) \ argument
81 list_entry((ptr)->prev, type, member)
A Dcpustat_kern.c55 __uint(type, BPF_MAP_TYPE_ARRAY);
63 __uint(type, BPF_MAP_TYPE_ARRAY);
71 __uint(type, BPF_MAP_TYPE_ARRAY);
A Dtask_fd_query_user.c129 int type = bpf_find_probe_type(event_type); in test_nondebug_fs_kuprobe_common() local
134 if (type < 0 || is_return_bit < 0) { in test_nondebug_fs_kuprobe_common()
136 __func__, type, is_return_bit); in test_nondebug_fs_kuprobe_common()
153 attr.type = type; in test_nondebug_fs_kuprobe_common()
266 attr.type = PERF_TYPE_TRACEPOINT; in test_debug_fs_uprobe()
A Dibumad_kern.c20 __uint(type, BPF_MAP_TYPE_ARRAY);
27 __uint(type, BPF_MAP_TYPE_ARRAY);
/samples/watch_queue/
A Dwatch_test.c107 p - buffer, n.n.type, n.n.subtype, n.n.info); in consumer()
115 switch (n.n.type) { in consumer()
148 .type = WATCH_TYPE_KEY_NOTIFY,
/samples/uhid/
A Duhid-example.c181 ev.type = UHID_CREATE; in create()
199 ev.type = UHID_DESTROY; in destroy()
244 switch (ev.type) { in event()
265 fprintf(stderr, "Invalid event from uhid-dev: %u\n", ev.type); in event()
283 ev.type = UHID_INPUT; in send_event()
/samples/hid/
A Dhid_bpf_helpers.h18 enum hid_report_type type,

Completed in 39 milliseconds

12