Lines Matching defs:b_size
336 unsigned short b_size;
1010 count = min((unsigned int)(bh->b_size - atomic_read(&bh->b_count)), bcount);
1014 if (atomic_read(&bh->b_count) == bh->b_size) {
1067 count = min((unsigned int)bh->b_size, (unsigned int)bcount);
1069 if (atomic_read(&bh->b_count) == bh->b_size)
1270 size = (int) bh->b_size;
2260 bh->b_size = PAGE_SIZE;
2261 atomic_set(&bh->b_count, full ? bh->b_size : 0);
2269 bh->b_size += PAGE_SIZE;
2275 if (b_data == bh->b_data + bh->b_size) {
2276 bh->b_size += PAGE_SIZE;
2288 bh->b_size = PAGE_SIZE;
2289 atomic_set(&bh->b_count, full ? bh->b_size : 0);
2292 bh->b_size -= tape->excess_bh_size;
2333 count = min((unsigned int)(bh->b_size - atomic_read(&bh->b_count)), (unsigned int)n);
2339 if (atomic_read(&bh->b_count) == bh->b_size) {
2986 min = min(i, (unsigned int)(bh->b_size - atomic_read(&bh->b_count)));
3185 atomic_set(&bh->b_count, min(count, (unsigned int)bh->b_size));