Lines Matching refs:base
32 int *base, *again;
39 size_t offset = (len / sizeof(*base)) / 2;
41 base = kmalloc(len, GFP_KERNEL);
42 if (!base)
44 pr_info("Allocated memory %p-%p\n", base, &base[offset * 2]);
46 &base[offset]);
47 kfree(base);
48 base[offset] = 0x0abcdef0;
52 if (again != base)
58 int *base, *val, saw;
66 size_t offset = sizeof(*base);
68 base = kmalloc(len, GFP_KERNEL);
69 if (!base) {
70 pr_info("Unable to allocate base memory.\n");
77 kfree(base);
82 base[offset] = *val;
83 pr_info("Value in memory before free: %x\n", base[offset]);
85 kfree(base);
88 saw = base[offset];
123 int *base;
137 base = (int *)p;
140 base[0] = *val;
141 pr_info("Value in memory before free: %x\n", base[0]);
144 saw = base[0];