Lines Matching refs:b_vec
187 struct mon_pgmap *b_vec; /* The map array */ member
204 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in MON_OFF2HDR()
245 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in mon_copy_to_buff()
277 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in copy_from_buf()
471 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in mon_bin_get_isodesc()
700 if ((rp->b_vec = kzalloc(size, GFP_KERNEL)) == NULL) { in mon_bin_open()
705 if ((rc = mon_alloc_buff(rp->b_vec, rp->b_size/CHUNK_SIZE)) < 0) in mon_bin_open()
721 kfree(rp->b_vec); in mon_bin_open()
789 mon_free_buff(rp->b_vec, rp->b_size/CHUNK_SIZE); in mon_bin_release()
790 kfree(rp->b_vec); in mon_bin_release()
1036 mon_free_buff(rp->b_vec, rp->b_size/CHUNK_SIZE); in mon_bin_ioctl()
1037 kfree(rp->b_vec); in mon_bin_ioctl()
1038 rp->b_vec = vec; in mon_bin_ioctl()
1235 pageptr = rp->b_vec[chunk_idx].pg; in mon_bin_vma_fault()