Home
last modified time | relevance | path

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

123

/tools/lib/
A Dlist_sort.c21 *tail = a; in merge()
22 tail = &a->next; in merge()
25 *tail = b; in merge()
29 *tail = b; in merge()
33 *tail = a; in merge()
59 tail = a; in merge_final()
66 tail = b; in merge_final()
76 tail->next = b; in merge_final()
79 tail = b; in merge_final()
207 tail = &(*tail)->prev; in list_sort()
[all …]
/tools/perf/check-header_ignore_hunks/lib/
A Dlist_sort.c4 struct list_head *tail = head;
11 tail->next = b;
22 b->prev = tail;
23 tail = b;
/tools/testing/selftests/bpf/benchs/
A Drun_common.sh62 summary=$(echo $2 | tail -n1)
69 summary=$(echo $2 | tail -n1)
76 summary=$(echo $2 | tail -n1)
83 summary=$(echo $2 | tail -n1)
90 summary=$(echo $2 | tail -n1)
A Drun_bench_rename.sh7 summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
A Drun_bench_uprobes.sh7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
/tools/testing/selftests/bpf/progs/
A Dbpf_arena_spin_lock.h42 u16 tail; member
46 u16 tail; member
114 u32 tail; in encode_tail() local
116 tail = (cpu + 1) << _Q_TAIL_CPU_OFFSET; in encode_tail()
117 tail |= idx << _Q_TAIL_IDX_OFFSET; /* assume < 4 */ in encode_tail()
119 return tail; in encode_tail()
124 u32 cpu = (tail >> _Q_TAIL_CPU_OFFSET) - 1; in decode_tail()
154 new = (old & _Q_LOCKED_PENDING_MASK) | tail; in xchg_tail()
248 u32 old, tail; in arena_spin_lock_slowpath() local
370 old = xchg_tail(lock, tail); in arena_spin_lock_slowpath()
[all …]
/tools/testing/selftests/drivers/net/netdevsim/
A Dethtool-fec.sh13 configured=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2 | head -1 | cut -d' ' -f1)
16 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
23 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
31 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
39 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
47 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
55 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
61 s=$($ETHTOOL --show-fec $NSIM_NETDEV | tail -2)
/tools/perf/util/
A Dblock-range.c202 if (!tail) in block_range__create()
205 *tail = (struct block_range){ in block_range__create()
221 rb_link_right_of_node(&tail->node, &entry->node); in block_range__create()
222 rb_insert_color(&tail->node, &block_ranges.root); in block_range__create()
246 struct block_range *tail; in block_range__create() local
248 tail = malloc(sizeof(struct block_range)); in block_range__create()
249 if (!tail) in block_range__create()
252 *tail = (struct block_range){ in block_range__create()
259 rb_link_right_of_node(&tail->node, &entry->node); in block_range__create()
260 rb_insert_color(&tail->node, &block_ranges.root); in block_range__create()
[all …]
/tools/lib/bpf/
A Dnlattr.h162 struct nlattr *tail; in nlattr_begin_nested() local
164 tail = req_tail(req); in nlattr_begin_nested()
167 return tail; in nlattr_begin_nested()
171 struct nlattr *tail) in nlattr_end_nested() argument
173 tail->nla_len = (void *)req_tail(req) - (void *)tail; in nlattr_end_nested()
/tools/testing/selftests/ftrace/test.d/kprobe/
A 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 " "
41 FUNC=`find_dot_func | tail -n 1`
A Dkprobe_args_type.tc14 X1=`printf "%x" $1 | tail -c ${CW}`
22 B3=`printf "%03x" 0x$X3 | tail -c 2 | head -c 1`
/tools/power/acpi/tools/acpidbg/
A 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/testing/selftests/arm64/signal/testcases/
A Dtestcases.h126 static inline void write_terminator_record(struct _aarch64_ctx *tail) in write_terminator_record() argument
128 if (tail) { in write_terminator_record()
129 tail->magic = 0; in write_terminator_record()
130 tail->size = 0; in write_terminator_record()
/tools/include/linux/
A 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/
A 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()
/tools/testing/selftests/intel_pstate/
A Drun.sh68 tail -n 1 /tmp/result.freqs > /tmp/result.$1
94 _min_freq=$(cpupower frequency-info -l | tail -1 | awk ' { print $1 } ')
96 _max_freq=$(cpupower frequency-info -l | tail -1 | awk ' { print $2 } ')
/tools/testing/selftests/rcutorture/bin/
A 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 | \
A Dcpus2use.sh20 idlecpus=`mpstat | tail -1 | \
/tools/perf/tests/shell/
A Ddaemon.sh129 tail --pid=${pid} -f /dev/null
191 line=`perf daemon --config ${config} -x: | head -2 | tail -1`
199 line=`perf daemon --config ${config} -x: | head -3 | tail -1`
240 line=`perf daemon --config ${config} -x: | head -3 | tail -1`
265 tail --pid=${pid} -f /dev/null
276 line=`perf daemon --config ${config} -x: | head -3 | tail -1`
363 pid_size=`perf daemon --config ${config} -x: | head -2 | tail -1 |
366 pid_time=`perf daemon --config ${config} -x: | head -3 | tail -1 |
/tools/testing/selftests/x86/
A Dlam.c99 unsigned int *tail; member
522 sring->tail = sq_ptr + p.sq_off.tail; in mmap_io_uring()
542 cring->tail = cq_ptr + p.cq_off.tail; in mmap_io_uring()
579 if (head == *cring->tail) in handle_uring_cq()
609 unsigned int index = 0, cur_block = 0, tail = 0, next_tail = 0; in handle_uring_sq() local
632 next_tail = *sring->tail; in handle_uring_sq()
633 tail = next_tail; in handle_uring_sq()
638 index = tail & *ring->sq_ring.ring_mask; in handle_uring_sq()
650 tail = next_tail; in handle_uring_sq()
652 if (*sring->tail != tail) { in handle_uring_sq()
[all …]
/tools/testing/selftests/net/packetdrill/
A Dtcp_eor_no-coalesce-small.pkt2 // Test TCP does not append any data from consequent writes to the tail
20 // the tail.
A Dtcp_eor_no-coalesce-large.pkt2 // Test TCP does not append any data from consequent writes to the tail
21 // the tail.
/tools/tracing/rtla/tests/scripts/
A Dcheck-priority.sh7 chrt -p $pid | cut -d ':' -f 2 | tail -n1 | grep "^ $3\$" >/dev/null
/tools/testing/selftests/net/bench/
A Dtest_bench_page_pool.sh14 result=$(dmesg | tail -10)
/tools/virtio/ringtest/
A Drun-on-all.sh8 HOST_AFFINITY=$(echo "${CPUS_ONLINE}"|tail -n 1)

Completed in 34 milliseconds

123