Lines Matching refs:num_segs
547 mmapobj_unmap(mmapobj_result_t *mrp, int num_mapped, int num_segs, in mmapobj_unmap() argument
556 num_mapped = num_segs; in mmapobj_unmap()
560 ASSERT(num_mapped == num_segs); in mmapobj_unmap()
602 if (num_mapped != num_segs) { in mmapobj_unmap()
611 size = (size_t)mrp[num_segs - 1].mr_addr + in mmapobj_unmap()
612 mrp[num_segs - 1].mr_msize - (size_t)addr; in mmapobj_unmap()
1307 int num_segs = 0; in calc_loadable() local
1361 if (num_segs++ == 0) { in calc_loadable()
1429 *loadable = num_segs; in calc_loadable()
2316 int num_segs; in mmapobj_map_interpret() local
2327 num_segs = lvp->lv_num_segs; in mmapobj_map_interpret()
2328 if (*num_mapped < num_segs) { in mmapobj_map_interpret()
2329 *num_mapped = num_segs; in mmapobj_map_interpret()
2339 if (num_segs <= LIBVA_CACHED_SEGS && num_segs != 0) { in mmapobj_map_interpret()
2348 num_segs * sizeof (mmapobj_result_t)); in mmapobj_map_interpret()
2351 num_segs, fcred, ET_DYN); in mmapobj_map_interpret()
2355 *num_mapped = num_segs; in mmapobj_map_interpret()