Lines Matching refs:base
67 int *base, *again;
74 size_t offset = (len / sizeof(*base)) / 2;
76 base = kmalloc(len, GFP_KERNEL);
77 if (!base)
79 pr_info("Allocated memory %p-%p\n", base, &base[offset * 2]);
81 &base[offset]);
82 kfree(base);
83 base[offset] = 0x0abcdef0;
87 if (again != base)
93 int *base, *val, saw;
101 size_t offset = sizeof(*base);
103 base = kmalloc(len, GFP_KERNEL);
104 if (!base) {
105 pr_info("Unable to allocate base memory.\n");
112 kfree(base);
117 base[offset] = *val;
118 pr_info("Value in memory before free: %x\n", base[offset]);
120 kfree(base);
123 saw = base[offset];
159 int *base;
173 base = (int *)p;
176 base[0] = *val;
177 pr_info("Value in memory before free: %x\n", base[0]);
180 saw = base[0];