36 #include <linux/export.h>
57 void __user *
ptr,
unsigned long bytes,
133 get_page(sg_page(scat));
175 rdsdebug(
"bytes %lu ret %d %p %u %u\n", bytes, ret,
176 ret ?
NULL : sg_page(scat), ret ? 0 : scat->
offset,
182 static int rds_page_remainder_cpu_notify(
struct notifier_block *
self,
183 unsigned long action,
void *hcpu)
188 rem = &
per_cpu(rds_page_remainders, cpu);
190 rdsdebug(
"cpu %ld action 0x%lx\n", cpu, action);
204 .notifier_call = rds_page_remainder_cpu_notify,
212 rds_page_remainder_cpu_notify(&rds_page_remainder_nb,