| /tools/lib/perf/Documentation/ |
| D | libperf.txt | 38 struct perf_cpu_map; 40 struct perf_cpu_map *perf_cpu_map__new_any_cpu(void); 41 struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list); 42 struct perf_cpu_map *perf_cpu_map__read(FILE *file); 43 struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map); 44 struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig, 45 struct perf_cpu_map *other); 46 void perf_cpu_map__put(struct perf_cpu_map *map); 47 int perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx); 48 int perf_cpu_map__nr(const struct perf_cpu_map *cpus); [all …]
|
| /tools/power/cpupower/bindings/python/ |
| D | raw_pylibcpupower.swg | 50 struct cpufreq_policy { 56 struct cpufreq_available_governors { 58 struct cpufreq_available_governors *next; 59 struct cpufreq_available_governors *first; 62 struct cpufreq_available_frequencies { 64 struct cpufreq_available_frequencies *next; 65 struct cpufreq_available_frequencies *first; 69 struct cpufreq_affected_cpus { 71 struct cpufreq_affected_cpus *next; 72 struct cpufreq_affected_cpus *first; [all …]
|
| /tools/testing/selftests/tpm2/ |
| D | tpm2.py | 6 import struct 260 return struct.pack(fmt, self.session_handle, len(self.nonce), 266 return struct.calcsize(fmt) 278 return struct.pack(fmt, len(self.user_auth), self.user_auth, 283 return struct.calcsize(fmt) 311 return struct.pack(self.__fmt(), 322 return struct.calcsize(self.__fmt()) 399 rc = struct.unpack('>I', rsp[6:10])[0] 401 cc = struct.unpack('>I', cmd[6:10])[0] 413 cmd = struct.pack(fmt, [all …]
|
| /tools/perf/Documentation/ |
| D | perf.data-file-format.txt | 19 struct perf_header { 23 struct perf_file_section attrs; 24 struct perf_file_section data; 25 struct perf_file_section event_types; 39 struct perf_file_section { 53 struct perf_header_string { 60 struct perf_header_string_list { 62 struct perf_header_string strings[nr]; /* variable length records */ 81 struct build_id_event { 82 struct perf_event_header header; [all …]
|
| D | perf-dlfilter.txt | 35 struct perf_dlfilter_fns perf_dlfilter_fns; 39 int filter_event(void *data, const struct perf_dlfilter_sample *sample, void *ctx); 40 int filter_event_early(void *data, const struct perf_dlfilter_sample *sample, void *ctx); 70 Do not assume data referenced by pointers in struct perf_dlfilter_sample 83 struct perf_dlfilter_sample { 112 const struct perf_branch_entry *brstack; /* Refer <linux/perf_event.h> */ 131 static inline bool have_machine_pid(const struct perf_dlfilter_sample *sample) 134 return sample->size >= offsetof(struct perf_dlfilter_sample, vcpu) + sizeof(sample->vcpu); 150 struct perf_dlfilter_fns { 151 const struct perf_dlfilter_al *(*resolve_ip)(void *ctx); [all …]
|
| /tools/net/sunrpc/xdrgen/templates/C/pointer/declaration/ |
| D | close.j2 | 3 bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr); 4 bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *value);
|
| /tools/net/sunrpc/xdrgen/templates/C/struct/declaration/ |
| D | close.j2 | 3 bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr); 4 bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *value);
|
| /tools/net/sunrpc/xdrgen/templates/C/union/definition/ |
| D | close.j2 | 6 bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr); 7 bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *ptr);
|
| /tools/net/sunrpc/xdrgen/templates/C/struct/decoder/ |
| D | open.j2 | 4 /* struct {{ name }} */ 11 xdrgen_decode_{{ name }}(struct xdr_stream *xdr, struct {{ name }} *ptr)
|
| /tools/net/sunrpc/xdrgen/templates/C/struct/encoder/ |
| D | open.j2 | 4 /* struct {{ name }} */ 11 xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const struct {{ name }} *value)
|
| /tools/perf/scripts/python/ |
| D | export-to-postgresql.py | 17 import struct 735 file_header = struct.pack("!11sii", b"PGCOPY\n\377\r\n\0", 0, 0) 980 value = struct.pack(fmt, 2, 8, evsel_id, n, evsel_name) 987 value = struct.pack(fmt, 3, 8, machine_id, 4, pid, n, root_dir) 991 value = struct.pack("!hiqiqiqiiii", 5, 8, thread_id, 8, machine_id, 8, process_id, 4, pid, 4, tid) 998 value = struct.pack(fmt, 5, 8, comm_id, n, comm_str, 8, thread_id, 8, time, 1, exec_flag) 1003 value = struct.pack(fmt, 3, 8, comm_thread_id, 8, comm_id, 8, thread_id) 1014 value = struct.pack(fmt, 5, 8, dso_id, 8, machine_id, n1, short_name, n2, long_name, n3, build_id) 1021 …value = struct.pack(fmt, 6, 8, symbol_id, 8, dso_id, 8, sym_start, 8, sym_end, 4, binding, n, symb… 1028 value = struct.pack(fmt, 2, 4, branch_type, n, name) [all …]
|
| /tools/net/sunrpc/xdrgen/templates/C/typedef/declaration/ |
| D | basic.j2 | 3 bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ name }} *ptr); 5 bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ name }} *value); 7 bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ name }} value);
|
| D | variable_length_string.j2 | 3 bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ classifier }}{{ name }} *ptr); 4 bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ classifier }}{{ name }} value);
|
| D | variable_length_array.j2 | 3 bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ classifier }}{{ name }} *ptr); 4 bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ classifier }}{{ name }} value);
|
| D | fixed_length_array.j2 | 3 bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, {{ classifier }}{{ name }} *ptr); 4 bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, const {{ classifier }}{{ name }} value);
|
| /tools/bpf/bpftool/Documentation/ |
| D | bpftool-gen.rst | 61 structure as valid libbpf types (e.g., **struct bpf_map** pointer) and can 65 provides a storage for BPF links (**struct bpf_link**) for each BPF program 68 user in pre-allocated fields in skeleton struct. For BPF programs that 118 BPF link and assign it to corresponding fields in skeleton struct. 202 struct { int x; } data = {}; 205 int handle_sys_enter(struct pt_regs *ctx) 223 struct { 231 int handle_sys_exit(struct pt_regs *ctx) 260 struct bpf_testmod_ops testmod_map = { 294 struct example { [all …]
|
| /tools/net/sunrpc/xdrgen/templates/C/program/encoder/ |
| D | argument.j2 | 6 static void {{ program }}_xdr_enc_{{ argument }}(struct rpc_rqst *req, 7 struct xdr_stream *xdr, const void *data) 12 const struct {{ argument }} *args = data;
|
| D | result.j2 | 12 bool {{ program }}_svc_encode_{{ result }}(struct svc_rqst *rqstp, struct xdr_stream *xdr) 17 struct {{ result }} *resp = rqstp->rq_resp;
|
| /tools/net/ynl/ |
| D | ynl-gen-c.py | 1026 struct = self.pure_nested_structs.pop(name) 1027 self.pure_nested_structs[name] = struct 1077 for attr_set, struct in reversed(self.pure_nested_structs.items()): 1081 struct.child_nests.add(child_name) 1085 struct.child_nests.update(child.child_nests) 1086 child.request |= struct.request 1087 child.reply |= struct.reply 1088 if attr_set in struct.child_nests: 1089 struct.recursive = True 1094 for _, struct in self.pure_nested_structs.items(): [all …]
|
| /tools/net/sunrpc/xdrgen/templates/C/program/decoder/ |
| D | result.j2 | 6 static int {{ program }}_xdr_dec_{{ result }}(struct rpc_rqst *req, 7 struct xdr_stream *xdr, void *data) 12 struct {{ result }} *result = data;
|
| D | argument.j2 | 12 bool {{ program }}_svc_decode_{{ argument }}(struct svc_rqst *rqstp, struct xdr_stream *xdr) 17 struct {{ argument }} *argp = rqstp->rq_argp;
|
| /tools/net/sunrpc/xdrgen/templates/C/struct/definition/ |
| D | open.j2 | 4 /* struct {{ name }} */ 6 struct {{ name }} {
|
| /tools/net/sunrpc/xdrgen/templates/C/program/declaration/ |
| D | result.j2 | 2 bool {{ program }}_svc_encode_{{ result }}(struct svc_rqst *rqstp, struct xdr_stream *xdr);
|
| D | argument.j2 | 2 bool {{ program }}_svc_decode_{{ argument }}(struct svc_rqst *rqstp, struct xdr_stream *xdr);
|
| /tools/net/sunrpc/xdrgen/templates/C/enum/declaration/ |
| D | close.j2 | 3 bool xdrgen_decode_{{ name }}(struct xdr_stream *xdr, enum {{ name }} *ptr); 4 bool xdrgen_encode_{{ name }}(struct xdr_stream *xdr, enum {{ name }} value);
|