Lines Matching refs:b_vec
192 struct mon_pgmap *b_vec; /* The map array */ member
209 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in MON_OFF2HDR()
253 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in mon_copy_to_buff()
285 buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE; in copy_from_buf()
479 (rp->b_vec[offset / CHUNK_SIZE].ptr + offset % CHUNK_SIZE); in mon_bin_get_isodesc()
708 if ((rp->b_vec = kzalloc(size, GFP_KERNEL)) == NULL) { in mon_bin_open()
713 if ((rc = mon_alloc_buff(rp->b_vec, rp->b_size/CHUNK_SIZE)) < 0) in mon_bin_open()
729 kfree(rp->b_vec); in mon_bin_open()
797 mon_free_buff(rp->b_vec, rp->b_size/CHUNK_SIZE); in mon_bin_release()
798 kfree(rp->b_vec); in mon_bin_release()
1051 mon_free_buff(rp->b_vec, rp->b_size/CHUNK_SIZE); in mon_bin_ioctl()
1052 kfree(rp->b_vec); in mon_bin_ioctl()
1053 rp->b_vec = vec; in mon_bin_ioctl()
1263 pageptr = rp->b_vec[chunk_idx].pg; in mon_bin_vma_fault()