| /tools/include/nolibc/ |
| D | stdio.h | 54 int fileno(FILE *stream) in fileno() argument 56 intptr_t i = (intptr_t)stream; in fileno() 67 int fflush(FILE *stream) in fflush() argument 69 intptr_t i = (intptr_t)stream; in fflush() 83 int fclose(FILE *stream) in fclose() argument 85 intptr_t i = (intptr_t)stream; in fclose() 100 #define getc(stream) fgetc(stream) argument 103 int fgetc(FILE* stream) in fgetc() argument 107 if (read(fileno(stream), &ch, 1) <= 0) in fgetc() 121 #define putc(c, stream) fputc(c, stream) argument [all …]
|
| /tools/testing/selftests/net/forwarding/ |
| D | sch_ets_tests.sh | 85 local stream 91 for stream in ${streams[@]}; do 92 ets_start_traffic $stream 108 local stream=${streams[$i]} 110 notraf_eval "band $stream" ${d[$i]} $total 111 elif ((${WS[$stream]} == 0)); then 112 strict_eval "band $stream" ${d[$i]} $total 114 elif ((stream == low_stream)); then 118 multipath_eval "bands $low_stream:$stream" \ 119 ${WS[$low_stream]} ${WS[$stream]} \ [all …]
|
| D | sch_ets.sh | 40 local stream 42 for stream in ${streams[@]}; do 43 qdisc_parent_stats_get $swp2 10:$((stream + 1)) .bytes
|
| /tools/perf/util/ |
| D | stream.c | 50 s->streams = calloc(nr_streams_max, sizeof(struct stream)); in evlist_streams__new() 181 static struct stream *stream__callchain_match(struct stream *base_stream, in stream__callchain_match() 185 struct stream *pair_stream = &es_pair->streams[i]; in stream__callchain_match() 196 static struct stream *stream__match(struct stream *base_stream, in stream__match() 202 static void stream__link(struct stream *base_stream, struct stream *pair_stream) in stream__link() 212 struct stream *base_stream = &es_base->streams[i]; in evsel_streams__match() 213 struct stream *pair_stream; in evsel_streams__match() 221 static void print_callchain_pair(struct stream *base_stream, int idx, in print_callchain_pair() 267 static void print_stream_callchain(struct stream *stream, int idx, in print_stream_callchain() argument 270 struct callchain_node *cnode = stream->cnode; in print_stream_callchain() [all …]
|
| D | stream.h | 7 struct stream { struct 13 struct stream *streams; argument
|
| D | data-convert-bt.c | 57 struct bt_ctf_stream *stream; member 65 struct ctf_stream **stream; member 677 err = bt_ctf_stream_flush(cs->stream); in ctf_stream__flush() 695 struct bt_ctf_stream *stream = NULL; in ctf_stream__create() local 704 stream = bt_ctf_writer_create_stream(cw->writer, cw->stream_class); in ctf_stream__create() 705 if (!stream) { in ctf_stream__create() 710 pkt_ctx = bt_ctf_stream_get_packet_context(stream); in ctf_stream__create() 732 cs->stream = stream; in ctf_stream__create() 738 if (stream) in ctf_stream__create() 739 bt_ctf_stream_put(stream); in ctf_stream__create() [all …]
|
| /tools/testing/selftests/kvm/lib/x86_64/ |
| D | processor.c | 28 static void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent) in regs_dump() argument 30 fprintf(stream, "%*srax: 0x%.16llx rbx: 0x%.16llx " in regs_dump() 34 fprintf(stream, "%*srsi: 0x%.16llx rdi: 0x%.16llx " in regs_dump() 38 fprintf(stream, "%*sr8: 0x%.16llx r9: 0x%.16llx " in regs_dump() 42 fprintf(stream, "%*sr12: 0x%.16llx r13: 0x%.16llx " in regs_dump() 46 fprintf(stream, "%*srip: 0x%.16llx rfl: 0x%.16llx\n", in regs_dump() 51 static void segment_dump(FILE *stream, struct kvm_segment *segment, in segment_dump() argument 54 fprintf(stream, "%*sbase: 0x%.16llx limit: 0x%.8x " in segment_dump() 58 fprintf(stream, "%*spresent: 0x%.2x dpl: 0x%.2x " in segment_dump() 62 fprintf(stream, "%*sg: 0x%.2x avl: 0x%.2x " in segment_dump() [all …]
|
| /tools/testing/selftests/kvm/lib/s390x/ |
| D | processor.c | 114 static void virt_dump_ptes(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_ptes() argument 123 fprintf(stream, "%*spte @ 0x%lx: 0x%016lx\n", in virt_dump_ptes() 128 static void virt_dump_region(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_region() argument 137 fprintf(stream, "%*srt%lde @ 0x%lx: 0x%016lx\n", in virt_dump_region() 141 virt_dump_region(stream, vm, indent + 2, in virt_dump_region() 144 virt_dump_ptes(stream, vm, indent + 2, in virt_dump_region() 150 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump() argument 155 virt_dump_region(stream, vm, indent, vm->pgd); in virt_arch_dump() 215 void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) in vcpu_arch_dump() argument 217 fprintf(stream, "%*spstate: psw: 0x%.16llx:0x%.16llx\n", in vcpu_arch_dump()
|
| /tools/testing/selftests/alsa/ |
| D | pcm-test.c | 41 snd_pcm_stream_t stream; member 96 static void missing_device(int card, int device, int subdevice, snd_pcm_stream_t stream) in missing_device() argument 107 if (pcm_data->stream != stream) in missing_device() 117 pcm_data->stream = stream; in missing_device() 157 snd_pcm_stream_t stream; in find_pcms() local 227 stream = direction ? SND_PCM_STREAM_CAPTURE : SND_PCM_STREAM_PLAYBACK; in find_pcms() 228 sprintf(key, "pcm.%d.%s", dev, snd_pcm_stream_name(stream)); in find_pcms() 231 ksft_print_msg("skipping pcm %d.%d.%s\n", card, dev, snd_pcm_stream_name(stream)); in find_pcms() 236 snd_pcm_info_set_stream(pcm_info, stream); in find_pcms() 242 dev, 0, stream); in find_pcms() [all …]
|
| /tools/testing/selftests/mqueue/ |
| D | mq_open_tests.c | 61 static inline void __set(FILE *stream, int value, char *err_msg); 63 static inline int get(FILE *stream); 64 static inline void set(FILE *stream, int value); 71 static inline void __set(FILE *stream, int value, char *err_msg) in __set() argument 73 rewind(stream); in __set() 74 if (fprintf(stream, "%d", value) < 0) in __set() 118 static inline int get(FILE *stream) in get() argument 121 rewind(stream); in get() 122 if (fscanf(stream, "%d", &value) != 1) in get() 127 static inline void set(FILE *stream, int value) in set() argument [all …]
|
| D | mq_perf_tests.c | 153 static inline void __set(FILE *stream, int value, char *err_msg); 157 static inline int get(FILE *stream); 158 static inline void set(FILE *stream, int value); 159 static inline int try_set(FILE *stream, int value); 165 static inline void __set(FILE *stream, int value, char *err_msg) in __set() argument 167 rewind(stream); in __set() 168 if (fprintf(stream, "%d", value) < 0) in __set() 238 static inline int get(FILE *stream) in get() argument 241 rewind(stream); in get() 242 if (fscanf(stream, "%d", &value) != 1) in get() [all …]
|
| /tools/include/tools/ |
| D | dis-asm-compat.h | 40 void *stream, in init_disassemble_info_compat() argument 45 init_disassemble_info(info, stream, in init_disassemble_info_compat() 50 init_disassemble_info(info, stream, in init_disassemble_info_compat()
|
| /tools/testing/selftests/drivers/net/mlxsw/ |
| D | sch_ets.sh | 68 local stream 75 for stream in ${streams[@]}; do 76 qdisc_parent_stats_get $swp2 10:$((stream + 1)) .bytes
|
| /tools/testing/kunit/test_data/ |
| D | test_skip_tests.log | 3 # Subtest: string-stream-test 8 ok 1 - string-stream-test
|
| D | test_skip_all_tests.log | 3 # Subtest: string-stream-test 8 ok 1 - string-stream-test # SKIP
|
| D | test_config_printk_time.log | 18 [ 0.060000] # Subtest: string-stream-test 23 [ 0.060000] ok 3 - string-stream-test
|
| D | test_pound_no_prefix.log | 20 # Subtest: string-stream-test 25 ok 3 - string-stream-test
|
| D | test_output_with_prefix_isolated_correctly.log | 19 [ 0.060000] # Subtest: string-stream-test 24 [ 0.060000] ok 3 - string-stream-test
|
| D | test_pound_sign.log | 20 [ 0.060000] # Subtest: string-stream-test 25 [ 0.060000] ok 3 - string-stream-test
|
| D | test_multiple_prefixes.log | 18 [ 0.060000][ T1] # Subtest: string-stream-test 23 [ 0.060000][ T1] ok 3 - string-stream-test
|
| D | test_interrupted_tap_output.log | 24 [ 0.060000] # Subtest: string-stream-test 29 [ 0.060000] ok 3 - string-stream-test
|
| /tools/testing/selftests/kvm/lib/riscv/ |
| D | processor.c | 155 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, in pte_dump() argument 169 fprintf(stream, "%*s%s: %lx: %lx at %p\n", indent, "", in pte_dump() 171 pte_dump(stream, vm, indent + 1, in pte_dump() 177 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump() argument 189 fprintf(stream, "%*spgd: %lx: %lx at %p\n", indent, "", in virt_arch_dump() 191 pte_dump(stream, vm, indent + 1, in virt_arch_dump() 220 void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) in vcpu_arch_dump() argument 258 fprintf(stream, in vcpu_arch_dump() 260 fprintf(stream, in vcpu_arch_dump() 263 fprintf(stream, in vcpu_arch_dump() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| D | sockmap_basic.c | 652 int err, map, stream = 0, dgram = 0, zero = 0; in test_sockmap_unconnected_unix() local 661 stream = xsocket(AF_UNIX, SOCK_STREAM, 0); in test_sockmap_unconnected_unix() 662 if (stream < 0) in test_sockmap_unconnected_unix() 667 close(stream); in test_sockmap_unconnected_unix() 671 err = bpf_map_update_elem(map, &zero, &stream, BPF_ANY); in test_sockmap_unconnected_unix() 677 close(stream); in test_sockmap_unconnected_unix() 684 int stream[2], dgram, udp, tcp; in test_sockmap_many_socket() local 714 err = socketpair(AF_UNIX, SOCK_STREAM, 0, stream); in test_sockmap_many_socket() 720 err = bpf_map_update_elem(map, &entry, &stream[0], BPF_ANY); in test_sockmap_many_socket() 740 close(stream[0]); in test_sockmap_many_socket() [all …]
|
| /tools/perf/Documentation/ |
| D | perf-inject.txt | 6 perf-inject - Filter to augment the events stream with additional information 15 perf-inject reads a perf-record event stream and repipes it to stdout. At any 16 point the processing code can inject other events into the event stream - in 18 stream. 21 needs userspace processing to augment the events stream with additional 28 Inject build-ids of DSOs hit by samples into the output stream. 32 Inject build-ids of all DSOs into the output stream regardless of hits
|
| /tools/testing/selftests/kvm/lib/ |
| D | sparsebit.c | 871 static void dump_nodes(FILE *stream, struct node *nodep, in dump_nodes() argument 885 fprintf(stream, "%*s---- %s nodep: %p\n", indent, "", node_type, nodep); in dump_nodes() 886 fprintf(stream, "%*s parent: %p left: %p right: %p\n", indent, "", in dump_nodes() 888 fprintf(stream, "%*s idx: 0x%lx mask: 0x%x num_after: 0x%lx\n", in dump_nodes() 893 dump_nodes(stream, nodep->left, indent + 2); in dump_nodes() 897 dump_nodes(stream, nodep->right, indent + 2); in dump_nodes() 924 static void sparsebit_dump_internal(FILE *stream, const struct sparsebit *s, in sparsebit_dump_internal() argument 928 fprintf(stream, "%*sroot: %p\n", indent, "", s->root); in sparsebit_dump_internal() 929 fprintf(stream, "%*snum_set: 0x%lx\n", indent, "", s->num_set); in sparsebit_dump_internal() 932 dump_nodes(stream, s->root, indent); in sparsebit_dump_internal() [all …]
|