Lines Matching refs:p
10 u16 v, *p; in memset16_selftest() local
12 p = kmalloc(256 * 2 * 2, GFP_KERNEL); in memset16_selftest()
13 if (!p) in memset16_selftest()
18 memset(p, 0xa1, 256 * 2 * sizeof(v)); in memset16_selftest()
19 memset16(p + i, 0xb1b2, j); in memset16_selftest()
21 v = p[k]; in memset16_selftest()
37 kfree(p); in memset16_selftest()
46 u32 v, *p; in memset32_selftest() local
48 p = kmalloc(256 * 2 * 4, GFP_KERNEL); in memset32_selftest()
49 if (!p) in memset32_selftest()
54 memset(p, 0xa1, 256 * 2 * sizeof(v)); in memset32_selftest()
55 memset32(p + i, 0xb1b2b3b4, j); in memset32_selftest()
57 v = p[k]; in memset32_selftest()
73 kfree(p); in memset32_selftest()
82 u64 v, *p; in memset64_selftest() local
84 p = kmalloc(256 * 2 * 8, GFP_KERNEL); in memset64_selftest()
85 if (!p) in memset64_selftest()
90 memset(p, 0xa1, 256 * 2 * sizeof(v)); in memset64_selftest()
91 memset64(p + i, 0xb1b2b3b4b5b6b7b8ULL, j); in memset64_selftest()
93 v = p[k]; in memset64_selftest()
109 kfree(p); in memset64_selftest()