Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 10 of 10) sorted by relevance

/tools/testing/radix-tree/
Dtest.c118 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()
Dtest.h25 int chunk, int hop);
27 unsigned long nr, int chunk);
Dmain.c15 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/
Dgenerate_udp_fragments.py47 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/
Dgzfht_test.c193 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/
Dmemslot_perf_test.c712 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/
Dgen_fips140_testvecs.py67 for chunk in [value[i:i+bytes_per_line]
/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h634 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/
Dcheck.c4650 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/
Dtls.c851 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()