Home
last modified time | relevance | path

Searched refs:bypass_count (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/md/
Draid5.h399 int bypass_count; /* bypassed prereads */ member
Draid5.c3910 atomic_read(&conf->pending_full_writes), conf->bypass_count); in __get_priority_stripe()
3916 conf->bypass_count = 0; in __get_priority_stripe()
3919 conf->bypass_count++; in __get_priority_stripe()
3922 conf->bypass_count -= conf->bypass_threshold; in __get_priority_stripe()
3923 if (conf->bypass_count < 0) in __get_priority_stripe()
3924 conf->bypass_count = 0; in __get_priority_stripe()
3929 conf->bypass_count > conf->bypass_threshold) || in __get_priority_stripe()
3933 conf->bypass_count -= conf->bypass_threshold; in __get_priority_stripe()
3934 if (conf->bypass_count < 0) in __get_priority_stripe()
3935 conf->bypass_count = 0; in __get_priority_stripe()