Lines Matching refs:scribble
892 return percpu->scribble + sizeof(struct page *) * (sh->disks + 2); in to_addr_conv()
899 struct page **xor_srcs = percpu->scribble; in ops_run_compute5()
964 struct page **blocks = percpu->scribble; in ops_run_compute6_1()
1029 struct page **blocks = percpu->scribble; in ops_run_compute6_2()
1138 struct page **xor_srcs = percpu->scribble; in ops_run_prexor()
1253 struct page **xor_srcs = percpu->scribble; in ops_run_reconstruct5()
1318 struct page **blocks = percpu->scribble; in ops_run_reconstruct6()
1364 struct page **xor_srcs = percpu->scribble; in ops_run_check_p()
1394 struct page **srcs = percpu->scribble; in ops_run_check_pq()
1655 void *scribble; in resize_stripes() local
1658 scribble = kmalloc(conf->scribble_len, GFP_NOIO); in resize_stripes()
1660 if (scribble) { in resize_stripes()
1661 kfree(percpu->scribble); in resize_stripes()
1662 percpu->scribble = scribble; in resize_stripes()
5026 kfree(percpu->scribble); in raid5_free_percpu()
5058 if (!percpu->scribble) in raid456_cpu_notify()
5059 percpu->scribble = kmalloc(conf->scribble_len, GFP_KERNEL); in raid456_cpu_notify()
5061 if (!percpu->scribble || in raid456_cpu_notify()
5064 kfree(percpu->scribble); in raid456_cpu_notify()
5073 kfree(percpu->scribble); in raid456_cpu_notify()
5075 percpu->scribble = NULL; in raid456_cpu_notify()
5089 void *scribble; in raid5_alloc_percpu() local
5108 scribble = kmalloc(conf->scribble_len, GFP_KERNEL); in raid5_alloc_percpu()
5109 if (!scribble) { in raid5_alloc_percpu()
5113 per_cpu_ptr(conf->percpu, cpu)->scribble = scribble; in raid5_alloc_percpu()