Lines Matching defs:b_vec
190 struct mon_pgmap *b_vec; /* The map array */
207 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE);
248 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE;
280 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE;
474 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE);
703 if ((rp->b_vec = kzalloc(size, GFP_KERNEL)) == NULL) {
708 if ((rc = mon_alloc_buff(rp->b_vec, rp->b_size/CHUNK_SIZE)) < 0)
724 kfree(rp->b_vec);
792 mon_free_buff(rp->b_vec, rp->b_size/CHUNK_SIZE);
793 kfree(rp->b_vec);
1047 mon_free_buff(rp->b_vec, rp->b_size/CHUNK_SIZE);
1048 kfree(rp->b_vec);
1049 rp->b_vec = vec;
1259 pageptr = rp->b_vec[chunk_idx].pg;