Home
last modified time | relevance | path

Searched refs:buf1 (Results 1 – 3 of 3) sorted by relevance

/xnu-8020.140.41/bsd/tests/
H A Dcopyio_tests.c63 char *buf1, *buf2; member
125 char *out_buf = data->buf1; in copyin_test()
165 char *out_buf = data->buf1; in copyout_to_kernel()
172 char *out_buf = data->buf1; in copyout_test()
213 char *in_buf = data->buf1; in copyinstr_from_kernel()
221 char *in_buf = data->buf1; in copyinstr_test()
498 data.buf1 = kalloc_data(copyio_test_buf_size, Z_WAITOK); in copyio_test()
500 if (!data.buf1 || !data.buf2) { in copyio_test()
563 kfree_data(data.buf1, copyio_test_buf_size); in copyio_test()
/xnu-8020.140.41/iokit/Tests/
H A DTestIOMemoryDescriptor.cpp961 uint32_t * buf1; in IOMemoryDescriptorTest()
971 buf1 = (uint32_t *) map1->getVirtualAddress(); in IOMemoryDescriptorTest()
981 memset(buf1, 0x11, 64 * 1024L); in IOMemoryDescriptorTest()
984 kprintf("md1 %p, map1 %p, buf2 %p; md2 %p, map2 %p, buf2 %p\n", md1, map1, buf1, md2, map2, buf2); in IOMemoryDescriptorTest()
986 kprintf("no redir 0x%08x, 0x%08x\n", buf1[0], buf2[0]); in IOMemoryDescriptorTest()
987 assert(0x11111111 == buf1[0]); in IOMemoryDescriptorTest()
990 kprintf("redir md2(0x%x) 0x%08x, 0x%08x\n", err, buf1[0], buf2[0]); in IOMemoryDescriptorTest()
992 assert(0x22222222 == buf1[0]); in IOMemoryDescriptorTest()
994 kprintf("redir md1(0x%x) 0x%08x, 0x%08x\n", err, buf1[0], buf2[0]); in IOMemoryDescriptorTest()
995 assert(0x11111111 == buf1[0]); in IOMemoryDescriptorTest()
/xnu-8020.140.41/bsd/net/
H A Dnat464_utils.c704 char buf1[MAX_IPv4_STR_LEN], buf2[MAX_IPv4_STR_LEN]; in nat464_translate_64() local
708 inet_ntop(AF_INET, (void *)&ip4->ip_src, buf1, sizeof(buf1)), in nat464_translate_64()
754 char buf1[MAX_IPv6_STR_LEN], buf2[MAX_IPv6_STR_LEN]; in nat464_translate_46() local
758 inet_ntop(AF_INET6, (void *)&ip6->ip6_src, buf1, sizeof(buf1)), in nat464_translate_46()