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