Searched refs:temp_fd (Results 1 – 3 of 3) sorted by relevance
| /examples/utest/testcases/mm/ |
| A D | lwp_mmap_fd.c | 74 long temp_fd; in test_mmap_fd() local 75 temp_fd = open(FILE_PATH, O_RDONLY); in test_mmap_fd() 76 LOG_D("New fd=%ld path=%s", temp_fd, FILE_PATH); in test_mmap_fd() 77 uassert_true(temp_fd >= 0); in test_mmap_fd() 79 lwp_mmap2(lwp, vaddr, FILE_SZ, ex_prot, ex_flags, temp_fd, pgoffset), in test_mmap_fd() 81 close(temp_fd); in test_mmap_fd()
|
| A D | lwp_mmap_fd_map_fixed_merge.c | 82 long temp_fd; in test_mmap_fd_fixed() local 83 temp_fd = open(FILE_PATH, O_RDONLY); in test_mmap_fd_fixed() 84 LOG_D("New fd=%ld path=%s", temp_fd, FILE_PATH); in test_mmap_fd_fixed() 85 uassert_true(temp_fd >= 0); in test_mmap_fd_fixed() 101 lwp_mmap2(lwp, private2, or_size, or_prot, or_flags, temp_fd, 2), in test_mmap_fd_fixed() 114 lwp_mmap2(lwp, private0, or_size, or_prot, or_flags, temp_fd, 0), in test_mmap_fd_fixed() 127 lwp_mmap2(lwp, private4, or_size, or_prot, or_flags, temp_fd, 4), in test_mmap_fd_fixed() 140 lwp_mmap2(lwp, private1, or_size, or_prot, or_flags, temp_fd, 1), in test_mmap_fd_fixed() 154 lwp_mmap2(lwp, private3, or_size, or_prot, or_flags, temp_fd, 3), in test_mmap_fd_fixed() 166 close(temp_fd); in test_mmap_fd_fixed()
|
| A D | lwp_mmap_fd_map_fixed_split.c | 84 long temp_fd; in test_mmap_fd_fixed() local 85 temp_fd = open(FILE_PATH, O_RDONLY); in test_mmap_fd_fixed() 86 LOG_D("New fd=%ld path=%s", temp_fd, FILE_PATH); in test_mmap_fd_fixed() 87 uassert_true(temp_fd >= 0); in test_mmap_fd_fixed() 89 lwp_mmap2(lwp, ex_start, ex_size, ex_prot, ex_flags, temp_fd, pgoffset), in test_mmap_fd_fixed() 167 close(temp_fd); in test_mmap_fd_fixed()
|
Completed in 5 milliseconds