Home
last modified time | relevance | path

Searched refs:__u32 (Results 1 – 25 of 191) sorted by relevance

12345678

/tools/include/uapi/linux/
Dbpf.h75 __u32 prefixlen; /* up to 32 for AF_INET, 128 for AF_INET6 */
81 __u32 attach_type; /* program attach type */
371 __u32 map_type; /* one of enum bpf_map_type */
372 __u32 key_size; /* size of key in bytes */
373 __u32 value_size; /* size of value in bytes */
374 __u32 max_entries; /* max number of entries in a map */
375 __u32 map_flags; /* BPF_MAP_CREATE related
378 __u32 inner_map_fd; /* fd pointing to the inner map */
379 __u32 numa_node; /* numa node (effective only if
383 __u32 map_ifindex; /* ifindex of netdev to create on */
[all …]
Dpkt_sched.h35 __u32 packets; /* Number of enqueued packets */
36 __u32 drops; /* Packets dropped because of lack of resources */
37 __u32 overlimits; /* Number of throttle events when this
39 __u32 bps; /* Current flow byte rate */
40 __u32 pps; /* Current flow packet rate */
41 __u32 qlen;
42 __u32 backlog;
96 __u32 rate;
124 __u32 limit; /* Queue length: bytes for bfifo, packets for pfifo */
139 __u32 limit; /* Queue length in packets. */
[all …]
Dbtf.h15 __u32 hdr_len;
18 __u32 type_off; /* offset of type section */
19 __u32 type_len; /* length of type section */
20 __u32 str_off; /* offset of string section */
21 __u32 str_len; /* length of string section */
32 __u32 name_off;
41 __u32 info;
50 __u32 size;
51 __u32 type;
99 __u32 name_off;
[all …]
Dkvm.h59 __u32 buf_size;
60 __u32 buf_nr;
71 __u32 enabled;
72 __u32 padding;
77 __u32 enabled;
78 __u32 pad;
80 __u32 singlestep;
90 __u32 slot;
91 __u32 flags;
98 __u32 slot;
[all …]
Dethtool.h40 __u32 cmd;
41 __u32 max_rx;
42 __u32 max_tx;
43 __u32 max_other;
44 __u32 max_combined;
45 __u32 rx_count;
46 __u32 tx_count;
47 __u32 other_count;
48 __u32 combined_count;
Dif_link.h10 __u32 rx_packets; /* total packets received */
11 __u32 tx_packets; /* total packets transmitted */
12 __u32 rx_bytes; /* total bytes received */
13 __u32 tx_bytes; /* total bytes transmitted */
14 __u32 rx_errors; /* bad packets received */
15 __u32 tx_errors; /* packet transmit problems */
16 __u32 rx_dropped; /* no space in linux buffers */
17 __u32 tx_dropped; /* no space available in linux */
18 __u32 multicast; /* multicast packets received */
19 __u32 collisions;
[all …]
Dlirc.h92 #define LIRC_GET_FEATURES _IOR('i', 0x00000000, __u32)
94 #define LIRC_GET_SEND_MODE _IOR('i', 0x00000001, __u32)
95 #define LIRC_GET_REC_MODE _IOR('i', 0x00000002, __u32)
96 #define LIRC_GET_REC_RESOLUTION _IOR('i', 0x00000007, __u32)
98 #define LIRC_GET_MIN_TIMEOUT _IOR('i', 0x00000008, __u32)
99 #define LIRC_GET_MAX_TIMEOUT _IOR('i', 0x00000009, __u32)
102 #define LIRC_GET_LENGTH _IOR('i', 0x0000000f, __u32)
104 #define LIRC_SET_SEND_MODE _IOW('i', 0x00000011, __u32)
105 #define LIRC_SET_REC_MODE _IOW('i', 0x00000012, __u32)
107 #define LIRC_SET_SEND_CARRIER _IOW('i', 0x00000013, __u32)
[all …]
Dif_xdp.h35 __u32 sxdp_ifindex;
36 __u32 sxdp_queue_id;
37 __u32 sxdp_shared_umem_fd;
70 __u32 chunk_size;
71 __u32 headroom;
72 __u32 flags;
82 __u32 flags;
102 __u32 len;
103 __u32 options;
Dfscrypt.h55 __u32 mode;
57 __u32 size;
102 __u32 type; /* one of FSCRYPT_KEY_SPEC_TYPE_* */
103 __u32 __reserved;
114 __u32 raw_size;
115 __u32 __reserved[9];
124 __u32 removal_status_flags; /* output */
125 __u32 __reserved[5];
132 __u32 __reserved[6];
138 __u32 status;
[all …]
/tools/lib/bpf/
Dbpf.h42 __u32 map_flags;
43 __u32 key_size;
44 __u32 value_size;
45 __u32 max_entries;
46 __u32 numa_node;
47 __u32 btf_fd;
48 __u32 btf_key_type_id;
49 __u32 btf_value_type_id;
50 __u32 map_ifindex;
51 __u32 inner_map_fd;
[all …]
Dxsk.h28 __u32 cached_prod; \
29 __u32 cached_cons; \
30 __u32 mask; \
31 __u32 size; \
32 __u32 *producer; \
33 __u32 *consumer; \
35 __u32 *flags; \
49 __u32 idx) in xsk_ring_prod__fill_addr()
57 xsk_ring_cons__comp_addr(const struct xsk_ring_cons *comp, __u32 idx) in xsk_ring_cons__comp_addr()
65 __u32 idx) in xsk_ring_prod__tx_desc()
[all …]
Dbtf.h54 __u32 hdr_len;
57 __u32 func_info_off;
58 __u32 func_info_len;
59 __u32 line_info_off;
60 __u32 line_info_len;
63 __u32 offset_reloc_off;
64 __u32 offset_reloc_len;
68 LIBBPF_API struct btf *btf__new(__u8 *data, __u32 size);
75 LIBBPF_API __u32 btf__get_nr_types(const struct btf *btf);
77 __u32 id);
[all …]
Dbpf_prog_linfo.c14 __u32 *nr_jited_linfo_per_func;
15 __u32 *jited_linfo_func_idx;
16 __u32 nr_linfo;
17 __u32 nr_jited_func;
18 __u32 rec_size;
19 __u32 jited_rec_size;
23 const __u64 *ksym_func, const __u32 *ksym_len) in dissect_jited_func()
25 __u32 nr_jited_func, nr_linfo; in dissect_jited_func()
34 __u32 i, prev_i; in dissect_jited_func()
35 __u32 f; /* Index to ksym_func */ in dissect_jited_func()
[all …]
/tools/include/uapi/drm/
Di915_drm.h82 __u32 name;
83 __u32 flags; /* All undefined bits must be zero. */
84 __u32 rsvd[4]; /* Reserved for future use; must be zero. */
266 __u32 unused1, unused2, unused3;
271 __u32 front_bo_handle;
272 __u32 back_bo_handle;
273 __u32 unused_bo_handle;
274 __u32 depth_bo_handle;
713 __u32 handle;
714 __u32 pad;
[all …]
/tools/arch/x86/include/uapi/asm/
Dkvm.h56 __u32 slot; /* this has a different namespace than memory slots */
57 __u32 flags;
86 __u32 ioregsel;
87 __u32 id;
88 __u32 irr;
89 __u32 pad;
133 __u32 limit;
171 __u32 mxcsr;
172 __u32 pad2;
176 __u32 index;
[all …]
/tools/testing/selftests/android/ion/
Dion.h78 __u32 heap_id_mask;
79 __u32 flags;
80 __u32 fd;
81 __u32 unused;
94 __u32 type;
95 __u32 heap_id;
96 __u32 reserved0;
97 __u32 reserved1;
98 __u32 reserved2;
107 __u32 cnt; /* Total number of heaps to be copied */
[all …]
/tools/testing/nvdimm/test/
Dnfit_test.h45 __u32 status;
49 __u32 num_nvdimms;
51 __u32 nfit_device_handle;
52 __u32 _reserved;
62 __u32 status;
68 __u32 status;
72 __u32 status;
73 __u32 inj_err_rec_count;
114 __u32 status;
132 __u32 status;
[all …]
/tools/arch/powerpc/include/uapi/asm/
Dkvm.h177 __u32 pvr;
188 __u32 sr[16];
196 __u32 features; /* KVM_SREGS_E_FSL_ */
197 __u32 svr;
199 __u32 hid0;
202 __u32 pid1, pid2;
207 __u32 features; /* KVM_SREGS_E_ */
208 __u32 impl_id; /* KVM_SREGS_E_IMPL_ */
209 __u32 update_special; /* KVM_SREGS_E_UPDATE_ */
210 __u32 pir; /* read-only */
[all …]
/tools/testing/selftests/bpf/
Dtest_tcpbpf.h7 __u32 event_map;
8 __u32 total_retrans;
9 __u32 data_segs_in;
10 __u32 data_segs_out;
11 __u32 bad_cb_test_rv;
12 __u32 good_cb_test_rv;
15 __u32 num_listen;
16 __u32 num_close_events;
Dtest_iptunnel_common.h13 __u32 v6[4];
14 __u32 v4;
23 __u32 v6[4];
24 __u32 v4;
27 __u32 v6[4];
28 __u32 v4;
Dtest_select_reuseport_common.h20 __u32 reuseport_index;
21 __u32 pass_on_failure;
25 __u32 ip_protocol;
26 __u32 skb_addrs[8];
32 __u32 len;
33 __u32 hash;
/tools/perf/lib/include/perf/
Devent.h13 __u32 pid, tid;
22 __u32 pid, tid;
26 __u32 maj;
27 __u32 min;
30 __u32 prot;
31 __u32 flags;
37 __u32 pid, tid;
43 __u32 pid, tid;
50 __u32 pid, ppid;
51 __u32 tid, ptid;
[all …]
/tools/testing/selftests/rseq/
Drseq-abi.h47 __u32 version;
49 __u32 flags;
75 __u32 cpu_id_start;
90 __u32 cpu_id;
121 __u32 padding; /* Initialized to zero. */
122 __u32 ptr;
124 __u32 ptr;
125 __u32 padding; /* Initialized to zero. */
148 __u32 flags;
/tools/testing/selftests/bpf/progs/
Dtest_stacktrace_build_id.c14 __type(key, __u32);
15 __type(value, __u32);
21 __type(key, __u32);
22 __type(value, __u32);
31 __uint(key_size, sizeof(__u32));
38 __type(key, __u32);
53 __u32 max_len = sizeof(struct bpf_stack_build_id) in oncpu()
55 __u32 key = 0, val = 0, *value_p; in oncpu()
76 __u32 _version SEC("version") = 1; /* ignored by tracepoints, required by libbpf.a */
Dtest_stacktrace_map.c14 __type(key, __u32);
15 __type(value, __u32);
21 __type(key, __u32);
22 __type(value, __u32);
30 __uint(key_size, sizeof(__u32));
37 __type(key, __u32);
56 __u32 max_len = PERF_MAX_STACK_DEPTH * sizeof(__u64); in oncpu()
57 __u32 key = 0, val = 0, *value_p; in oncpu()
77 __u32 _version SEC("version") = 1; /* ignored by tracepoints, required by libbpf.a */

12345678