Lines Matching refs:b_vec
190 struct mon_pgmap *b_vec; /* The map array */
207 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE);
251 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE;
283 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE;
477 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE);
706 if ((rp->b_vec = kzalloc(size, GFP_KERNEL)) == NULL) {
711 if ((rc = mon_alloc_buff(rp->b_vec, rp->b_size/CHUNK_SIZE)) < 0)
727 kfree(rp->b_vec);
795 mon_free_buff(rp->b_vec, rp->b_size/CHUNK_SIZE);
796 kfree(rp->b_vec);
1050 mon_free_buff(rp->b_vec, rp->b_size/CHUNK_SIZE);
1051 kfree(rp->b_vec);
1052 rp->b_vec = vec;
1262 pageptr = rp->b_vec[chunk_idx].pg;