Lines Matching refs:lwp
17 static struct rt_lwp *lwp; variable
52 former_vsz = rt_aspace_count_vsz(lwp->aspace); in test_map_fixed()
53 former_vcount = count_vcount(lwp->aspace); in test_map_fixed()
56 vaddr = lwp_mmap2(lwp, vaddr, ex_size, ex_prot, ex_flags, fd, pgoffset); in test_map_fixed()
58 utest_int_equal(former_vsz + ex_size, rt_aspace_count_vsz(lwp->aspace)); in test_map_fixed()
59 utest_int_equal(former_vcount + 1, count_vcount(lwp->aspace)); in test_map_fixed()
65 …effect_override = lwp_mmap2(lwp, override_start, override_size, override_prot, override_flags, fd,… in test_map_fixed()
67 utest_int_equal(former_vsz, rt_aspace_count_vsz(lwp->aspace)); in test_map_fixed()
68 utest_int_equal(former_vcount + 2, count_vcount(lwp->aspace)); in test_map_fixed()
70 lwp_data_put(lwp, effect_override, put_data, sizeof(put_data)), in test_map_fixed()
74 utest_int_equal(RT_EOK, rt_aspace_unmap_range(lwp->aspace, vaddr, ex_size)); in test_map_fixed()
87 lwp = lwp_create(0); in utest_tc_init()
88 if (lwp) in utest_tc_init()
89 lwp_user_space_init(lwp, 1); in utest_tc_init()
102 lwp_ref_dec(lwp); in utest_tc_cleanup()