Lines Matching refs:link
186 r2 = TAILQ_NEXT(r, link); in rem_um_region()
190 r2 = TAILQ_PREV(r, vm_region_head, link); in rem_um_region()
235 TAILQ_FOREACH(r, &vmi->regions, link) { in umap_add_region()
240 TAILQ_INSERT_BEFORE(r, reg, link); in umap_add_region()
253 TAILQ_INSERT_TAIL(&vmi->regions, reg, link); in umap_add_region()
329 TAILQ_REMOVE(&uctx->vm_info.regions, reg, link); in vm_map_pad()
341 TAILQ_FOREACH(r, &vm_info->regions, link) in find_vm_region()
361 struct vm_region *r_next = TAILQ_NEXT(r, link); in va_range_is_contiguous()
406 TAILQ_INSERT_AFTER(&uctx->vm_info.regions, r, r2, link); in split_vm_region()
444 r = TAILQ_NEXT(r, link); in split_vm_range()
472 r_next = TAILQ_NEXT(r, link); in merge_vm_range()
497 TAILQ_REMOVE(&uctx->vm_info.regions, r_next, link); in merge_vm_range()
551 r_next = TAILQ_NEXT(r, link); in vm_remap()
553 TAILQ_REMOVE(&uctx->vm_info.regions, r, link); in vm_remap()
554 TAILQ_INSERT_TAIL(®s, r, link); in vm_remap()
566 TAILQ_REMOVE(®s, r, link); in vm_remap()
596 TAILQ_INSERT_HEAD(®s, r, link); in vm_remap()
599 r_next = TAILQ_NEXT(r, link); in vm_remap()
600 TAILQ_REMOVE(&uctx->vm_info.regions, r, link); in vm_remap()
603 link); in vm_remap()
605 TAILQ_INSERT_HEAD(®s, r, link); in vm_remap()
624 TAILQ_REMOVE(®s, r, link); in vm_remap()
713 for (r = r0; r; r = TAILQ_NEXT(r, link)) { in vm_set_prot()
731 for (r = r0; r; r = TAILQ_NEXT(r, link)) { in vm_set_prot()
754 TAILQ_REMOVE(&vmi->regions, reg, link); in umap_remove_region()
784 r_next = TAILQ_NEXT(r, link); in vm_unmap()
849 TAILQ_FOREACH_SAFE(r, &uctx->vm_info.regions, link, next_r) { in vm_clean_param()
861 TAILQ_FOREACH(r, &uctx->vm_info.regions, link) in check_param_map_empty()
870 TAILQ_FOREACH(region, &uctx->vm_info.regions, link) { in param_mem_to_user_va()
1059 TAILQ_FOREACH(r, &uctx->vm_info.regions, link) { in vm_rem_rwmem()
1089 TAILQ_FOREACH(r, &uctx->vm_info.regions, link) { in vm_buf_is_inside_um_private()
1105 TAILQ_FOREACH(r, &uctx->vm_info.regions, link) { in vm_buf_intersects_um_private()
1121 TAILQ_FOREACH(r, &uctx->vm_info.regions, link) { in vm_buf_to_mboj_offs()
1143 TAILQ_FOREACH(region, &uctx->vm_info.regions, link) { in tee_mmu_user_va2pa_attr()
1194 TAILQ_FOREACH(region, &uctx->vm_info.regions, link) { in vm_pa2va()