Lines Matching refs:buffer_size
39 #define stripe_hash(conf, sect) ((conf)->stripe_hashtbl[((sect) / ((conf)->buffer_size >> 9)) & HAS…
202 sh->size = conf->buffer_size; in init_stripe()
258 if (conf->buffer_size == 0 || in get_active_stripe()
259 (size && size != conf->buffer_size)) { in get_active_stripe()
268 int oldsize = conf->buffer_size; in get_active_stripe()
269 …PRINTK("get_stripe %ld/%d buffer_size is %d, %d active\n", sector, size, conf->buffer_size, atomic… in get_active_stripe()
272 conf->buffer_size, in get_active_stripe()
275 while (conf->buffer_size != size && atomic_read(&conf->active_stripes)) { in get_active_stripe()
276 conf->buffer_size = 0; in get_active_stripe()
278 atomic_read(&conf->active_stripes)==0 || conf->buffer_size, in get_active_stripe()
281 conf->buffer_size, atomic_read(&conf->active_stripes)); in get_active_stripe()
284 if (conf->buffer_size != size) { in get_active_stripe()
288 conf->buffer_size = size; in get_active_stripe()
289 PRINTK("size now %d\n", conf->buffer_size); in get_active_stripe()
294 sector -= sector & ((conf->buffer_size>>9)-1); in get_active_stripe()
1402 conf->buffer_size = PAGE_SIZE; /* good default for rebuild */ in raid5_run()