Home
last modified time | relevance | path

Searched refs:off (Results 1 – 24 of 24) sorted by relevance

/tools/include/linux/
Dfilter.h38 .off = 0, \
46 .off = 0, \
56 .off = 0, \
64 .off = 0, \
74 .off = 0, \
84 .off = 0, \
92 .off = 0, \
102 .off = 0, \
110 .off = 0, \
120 .off = 0, \
[all …]
/tools/testing/selftests/memory-hotplug/
DMakefile5 TEST_PROGS := mem-on-off-test.sh
6 override RUN_TESTS := ./mem-on-off-test.sh -r 2 || echo "selftests: memory-hotplug [FAIL]"
10 @/bin/bash ./mem-on-off-test.sh || echo "memory-hotplug selftests: [FAIL]"
/tools/testing/selftests/cpu-hotplug/
DMakefile3 TEST_PROGS := cpu-on-off-test.sh
8 @/bin/bash ./cpu-on-off-test.sh -a || echo "cpu-hotplug selftests: [FAIL]"
/tools/lguest/
Dlguest.c1255 static void ioread(u16 off, u32 v, u32 mask, u32 *val) in ioread() argument
1257 assert(off < 4); in ioread()
1259 *val = (v >> (off * 8)) & mask; in ioread()
1263 static void iowrite(u16 off, u32 v, u32 mask, u32 *dst) in iowrite() argument
1265 assert(off < 4); in iowrite()
1267 *dst &= ~(mask << (off * 8)); in iowrite()
1268 *dst |= (v & mask) << (off * 8); in iowrite()
1359 static void emulate_mmio_write(struct device *d, u32 off, u32 val, u32 mask);
1461 static u32 emulate_mmio_read(struct device *d, u32 off, u32 mask);
1745 static struct device *find_mmio_region(unsigned long paddr, u32 *off) in find_mmio_region() argument
[all …]
Dlguest.txt35 "High Memory Support" = off/4GB
/tools/net/
Dbpf_jit_disasm.c163 off_t off = 0; in get_last_jit_image() local
183 off += pmatch[0].rm_eo; in get_last_jit_image()
184 assert(off < hlen); in get_last_jit_image()
189 ptr = haystack + off - (pmatch[0].rm_eo - pmatch[0].rm_so); in get_last_jit_image()
197 tmp = ptr = haystack + off; in get_last_jit_image()
Dbpf_exp.y667 int off = bpf_find_insns_offset(labels_k[i]); in bpf_reduce_k_jumps() local
668 out[i].k = (uint32_t) (off - i - 1); in bpf_reduce_k_jumps()
679 int off = bpf_find_insns_offset(labels_jt[i]); in bpf_reduce_jt_jumps() local
680 out[i].jt = (uint8_t) (off - i -1); in bpf_reduce_jt_jumps()
691 int off = bpf_find_insns_offset(labels_jf[i]); in bpf_reduce_jf_jumps() local
692 out[i].jf = (uint8_t) (off - i - 1); in bpf_reduce_jf_jumps()
Dbpf_dbg.c586 static bool bpf_restore_regs(int off) in bpf_restore_regs() argument
588 unsigned int index = bpf_regs_len - 1 + off; in bpf_restore_regs()
603 static uint32_t extract_u32(uint8_t *pkt, uint32_t off) in extract_u32() argument
607 memcpy(&r, &pkt[off], sizeof(r)); in extract_u32()
612 static uint16_t extract_u16(uint8_t *pkt, uint32_t off) in extract_u16() argument
616 memcpy(&r, &pkt[off], sizeof(r)); in extract_u16()
621 static uint8_t extract_u8(uint8_t *pkt, uint32_t off) in extract_u8() argument
623 return pkt[off]; in extract_u8()
/tools/perf/scripts/python/
Dnet_dropmonitor.py54 (sym, off) = get_sym(i)
57 print "%25s %25s %25s" % (sym, off, drop_log[i])
/tools/testing/selftests/ptrace/
Dpeeksiginfo.c68 arg.off = 0; in check_error_paths()
106 struct ptrace_peeksiginfo_args arg = {.flags = 0, .nr = nr, .off = 0}; in check_direct_path()
120 arg.off = i; in check_direct_path()
/tools/perf/tests/
Dcode-reading.c85 size_t off, read_bytes, written_bytes; in read_objdump_output() local
112 off = addr - start_addr; in read_objdump_output()
113 if (off >= *len) in read_objdump_output()
115 written_bytes = MIN(read_bytes, *len - off); in read_objdump_output()
116 memcpy(buf + off, tmp, written_bytes); in read_objdump_output()
117 off_last = off + written_bytes; in read_objdump_output()
/tools/vm/
Dpage-types.c849 off_t off, end = st->st_size; in walk_file() local
857 for (off = 0; off < end; off += len) { in walk_file()
858 nr_pages = (end - off + page_size - 1) / page_size; in walk_file()
863 ptr = mmap(NULL, len, PROT_READ, MAP_SHARED, fd, off); in walk_file()
876 end = off + sigbus_addr ? sigbus_addr - ptr : 0; in walk_file()
910 add_page(off / page_size + i, pfn, flags, buf[i]); in walk_file()
/tools/perf/bench/
Dnuma.c407 long off = rand(); in alloc_data() local
411 wbuf[i] = i + off; in alloc_data()
766 long off; in do_work() local
784 off = nr*chunk_0 + loop*chunk_1; in do_work()
786 while (off >= words) in do_work()
787 off -= words; in do_work()
810 d0 = data + off; in do_work()
811 d = data + off + 1; in do_work()
828 d0 = data + off; in do_work()
829 d = data + off - 1; in do_work()
/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c338 int off = 0; in do_test() local
351 off = sizeof(*iph); in do_test()
354 udph = (void *) buf + off; in do_test()
/tools/testing/ktest/examples/
DREADME6 The configs are based off of real working configs but have been modified
/tools/perf/util/
Dprobe-finder.c1030 Dwarf_Off off, noff; in debuginfo__find_probes() local
1056 off = 0; in debuginfo__find_probes()
1084 while (!dwarf_nextcu(dbg->dbg, off, &noff, &cuhl, NULL, NULL, NULL)) { in debuginfo__find_probes()
1086 diep = dwarf_offdie(dbg->dbg, off + cuhl, &pf->cu_die); in debuginfo__find_probes()
1108 off = noff; in debuginfo__find_probes()
1701 Dwarf_Off off = 0, noff; in debuginfo__find_line_range() local
1725 if (dwarf_nextcu(dbg->dbg, off, &noff, &cuhl, in debuginfo__find_line_range()
1730 diep = dwarf_offdie(dbg->dbg, off + cuhl, &lf.cu_die); in debuginfo__find_line_range()
1749 off = noff; in debuginfo__find_line_range()
Dmachine.c1642 int i, j, off; in remove_loops() local
1658 off = 0; in remove_loops()
1659 for (j = chash[h]; j < i && i + off < nr; j++, off++) in remove_loops()
1660 if (l[j].from != l[i + off].from) { in remove_loops()
1665 memmove(l + i, l + i + off, in remove_loops()
1666 (nr - (i + off)) * sizeof(*l)); in remove_loops()
1667 nr -= off; in remove_loops()
/tools/testing/selftests/futex/
DREADME47 # useful here. Using -v to toggle it them on and off, as with -c.
/tools/power/cpupower/bench/
DREADME-BENCH120 -v, --verbose verbose output on/off
/tools/perf/Documentation/
Dperf-top.txt176 beyond the specified depth will be ignored. This is a trade-off
Dperf-record.txt289 is off by default. It is possible to select the registers to sample using their
Dperf-report.txt215 beyond the specified depth will be ignored. This is a trade-off
/tools/perf/
Ddesign.txt50 __u64 disabled : 1, /* off by default */
Dbuiltin-trace.c293 #define DEFINE_STRARRAY_OFFSET(array, off) struct strarray strarray__##array = { \ argument
294 .offset = off, \