Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 25 of 42) sorted by relevance

12

/tools/perf/util/
Dblock-range.c205 struct block_range *tail = malloc(sizeof(struct block_range)); in block_range__create() local
206 if (!tail) in block_range__create()
209 *tail = (struct block_range){ in block_range__create()
225 rb_link_right_of_node(&tail->node, &entry->node); in block_range__create()
226 rb_insert_color(&tail->node, &block_ranges.root); in block_range__create()
250 struct block_range *tail; in block_range__create() local
252 tail = malloc(sizeof(struct block_range)); in block_range__create()
253 if (!tail) in block_range__create()
256 *tail = (struct block_range){ in block_range__create()
263 rb_link_right_of_node(&tail->node, &entry->node); in block_range__create()
[all …]
/tools/testing/selftests/arm64/signal/testcases/
Dtestcases.h93 static inline void write_terminator_record(struct _aarch64_ctx *tail) in write_terminator_record() argument
95 if (tail) { in write_terminator_record()
96 tail->magic = 0; in write_terminator_record()
97 tail->size = 0; in write_terminator_record()
/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_eventname.tc8 FUNC=`grep " [tT] .*vfs_read$" /proc/kallsyms | tail -n 1 | cut -f 3 -d " "`
28 grep -m 10 " [tT] .*\.isra\..*$" /proc/kallsyms | tail -n 1 | cut -f 3 -d " "
40 FUNC=`find_dot_func | tail -n 1`
Dkprobe_args_type.tc14 X1=`printf "%x" $1 | tail -c ${CW}`
22 B3=`printf "%03x" 0x$X3 | tail -c 2 | head -c 1`
Dprobepoint.tc9 printf "%d" "0x"`echo $1 | tail -c 8`
/tools/io_uring/
Dio_uring-bench.c39 unsigned *tail; member
48 unsigned *tail; member
197 unsigned index, tail, next_tail, prepped = 0; in prep_more_ios() local
199 next_tail = tail = *ring->tail; in prep_more_ios()
206 index = tail & sq_ring_mask; in prep_more_ios()
210 tail = next_tail; in prep_more_ios()
213 if (*ring->tail != tail) { in prep_more_ios()
216 *ring->tail = tail; in prep_more_ios()
255 if (head == *ring->tail) in reap_events()
437 sring->tail = ptr + p.sq_off.tail; in setup_ring()
[all …]
Dsetup.c23 sq->ktail = ptr + p->sq_off.tail; in io_uring_mmap()
50 cq->ktail = ptr + p->cq_off.tail; in io_uring_mmap()
/tools/power/acpi/tools/acpidbg/
Dacpidbg.c42 (CIRC_CNT((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
44 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
46 (CIRC_SPACE((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
48 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
78 .tail = 0,
83 .tail = 0,
228 p = &crc->buf[crc->tail]; in acpi_aml_write()
234 crc->tail = (crc->tail + len) & (ACPI_AML_BUF_SIZE - 1); in acpi_aml_write()
243 p = &crc->buf[crc->tail]; in acpi_aml_write_batch_log()
251 crc->tail = (crc->tail + len) & (ACPI_AML_BUF_SIZE - 1); in acpi_aml_write_batch_log()
/tools/include/linux/
Dring_buffer.h69 u64 tail) in ring_buffer_write_tail() argument
71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
/tools/testing/selftests/powerpc/pmu/ebb/
Dtrace.c32 tb->tail = tb->data; in trace_buffer_allocate()
66 p = tb->tail; in trace_alloc()
67 newtail = tb->tail + bytes; in trace_alloc()
71 tb->tail = newtail; in trace_alloc()
277 printf(" tail %p\n", tb->tail); in trace_buffer_print()
287 while (trace_check_bounds(tb, p) && p < tb->tail) { in trace_buffer_print()
Dtrace.h28 void *tail; member
/tools/testing/selftests/intel_pstate/
Drun.sh63 tail -n 1 /tmp/result.freqs > /tmp/result.$1
89 _min_freq=$(cpupower frequency-info -l | tail -1 | awk ' { print $1 } ')
91 _max_freq=$(cpupower frequency-info -l | tail -1 | awk ' { print $2 } ')
/tools/testing/selftests/rcutorture/bin/
Dkvm-recheck-rcu.sh23 ngps=`grep ver: $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* ver: //' -e 's/ .*$//'`
44 nclosecalls=`grep --binary-files=text 'torture: Reader Batch' $i/console.log | tail -1 | \
Dkvm-test-1-run.sh242 oldline="`tail $resdir/console.log`"
259 newline="`tail $resdir/console.log`"
264 …last_ts="`tail $resdir/console.log | grep '^\[ *[0-9]\+\.[0-9]\+]' | tail -1 | sed -e 's/^\[ *//' …
Dcpus2use.sh20 idlecpus=`mpstat | tail -1 | \
Dkvm-recheck-lock.sh22 ncs=`grep "Writes: Total:" $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* Total: //' -e 's/…
/tools/testing/selftests/bpf/benchs/
Drun_bench_rename.sh7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
Drun_bench_trigger.sh7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
Drun_bench_ringbufs.sh29 summary=$(echo $2 | tail -n1)
/tools/virtio/ringtest/
Drun-on-all.sh8 HOST_AFFINITY=$(echo "${CPUS_ONLINE}"|tail -n 1)
/tools/testing/selftests/powerpc/nx-gzip/
Dgunz_test.c948 unsigned char tail[8]; in decompress_file() local
952 tail[i] = fifo_in[(cur_in + i) % fifo_in_len]; in decompress_file()
956 cksum = ((uint32_t) tail[0] | (uint32_t) tail[1]<<8 in decompress_file()
957 | (uint32_t) tail[2]<<16 in decompress_file()
958 | (uint32_t) tail[3]<<24); in decompress_file()
959 isize = ((uint32_t) tail[4] | (uint32_t) tail[5]<<8 in decompress_file()
960 | (uint32_t) tail[6]<<16 in decompress_file()
961 | (uint32_t) tail[7]<<24); in decompress_file()
/tools/edid/
DMakefile22 @list=$$(for i in `seq 1 127`; do head -c$$i $^ | tail -c1 \
/tools/bpf/bpftool/
Dcfg.c31 struct bpf_insn *tail; member
205 last->tail = func->end; in func_partition_bb_tail()
208 bb->tail = bb_next(bb)->head - 1; in func_partition_bb_tail()
303 insn = bb->tail; in func_add_bb_edges()
406 dump_xlated_for_graph(&dd, bb->head, bb->tail, start_idx); in draw_bb_node()
/tools/scripts/
DMakefile.arch36 LP64 := $(shell echo __LP64__ | ${CC} ${CFLAGS} -E -x c - | tail -n 1)
/tools/perf/tests/shell/
Drecord+probe_libc_inet_pton.sh22 event_name=$(perf probe -f -x $libc -a inet_pton 2>&1 | tail -n +2 | head -n -5 | \

12