Searched refs:chunk (Results 1 – 10 of 10) sorted by relevance
/tools/testing/radix-tree/ |
D | test.c | 118 int chunk, int hop) in item_gang_check_present() argument 120 struct item *items[chunk]; in item_gang_check_present() 125 int nr_to_find = chunk; in item_gang_check_present() 144 unsigned long nr, int chunk) in item_full_scan() argument 146 struct item *items[chunk]; in item_full_scan() 155 chunk))) { in item_full_scan() 165 if (chunk) in item_full_scan() 168 this_index, chunk); in item_full_scan()
|
D | test.h | 25 int chunk, int hop); 27 unsigned long nr, int chunk);
|
D | main.c | 15 void __gang_check(unsigned long middle, long down, long up, int chunk, int hop) in __gang_check() argument 30 if (chunk > 0) { in __gang_check() 32 chunk, hop); in __gang_check() 33 item_full_scan(&tree, middle - down, down + up, chunk); in __gang_check()
|
/tools/testing/selftests/bpf/ |
D | generate_udp_fragments.py | 47 chunks_fmted = [", ".join([str(hex(b)) for b in chunk]) for chunk in chunks] 51 for chunk in chunks_fmted:
|
/tools/testing/selftests/powerpc/nx-gzip/ |
D | gzfht_test.c | 193 uint32_t flushlen, chunk; in compress_file() local 227 chunk = atoi(buf); in compress_file() 231 chunk = 1<<22; in compress_file() 252 srclen = NX_MIN(chunk, inlen); in compress_file()
|
/tools/testing/selftests/kvm/ |
D | memslot_perf_test.c | 712 uint64_t chunk) in test_memslot_unmap_loop_common() argument 727 for (ctr = 0; ctr < guest_pages / 2; ctr += chunk) in test_memslot_unmap_loop_common() 728 test_memslot_do_unmap(data, ctr, chunk); in test_memslot_unmap_loop_common() 733 for (ctr = guest_pages / 2; ctr < guest_pages; ctr += chunk) in test_memslot_unmap_loop_common() 734 test_memslot_do_unmap(data, ctr, chunk); in test_memslot_unmap_loop_common()
|
/tools/crypto/ |
D | gen_fips140_testvecs.py | 67 for chunk in [value[i:i+bytes_per_line]
|
/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 634 const uint32_t *chunk = (const uint32_t *)vendor; in this_cpu_vendor_string_is() local 638 return (ebx == chunk[0] && edx == chunk[1] && ecx == chunk[2]); in this_cpu_vendor_string_is()
|
/tools/objtool/ |
D | check.c | 4650 struct insn_chunk *chunks = NULL, *chunk; in free_insns() local 4654 chunk = malloc(sizeof(*chunk)); in free_insns() 4655 chunk->addr = insn; in free_insns() 4656 chunk->next = chunks; in free_insns() 4657 chunks = chunk; in free_insns() 4661 for (chunk = chunks; chunk; chunk = chunk->next) in free_insns() 4662 free(chunk->addr); in free_insns()
|
/tools/testing/selftests/net/ |
D | tls.c | 851 int chunk = TLS_PAYLOAD_MAX_LEN / 4; in TEST_F() local 858 EXPECT_EQ(send(self->fd, &mem_send[chunk * i], chunk, 0), in TEST_F() 859 chunk); in TEST_F() 861 EXPECT_EQ(recv(self->cfd, mem_recv, chunk * 5 / 2, in TEST_F() 863 chunk * 5 / 2); in TEST_F() 864 EXPECT_EQ(memcmp(mem_send, mem_recv, chunk * 5 / 2), 0); in TEST_F()
|