Home
last modified time | relevance | path

Searched refs:mmap_sem (Results 1 – 25 of 87) sorted by relevance

1234

/linux-2.4.37.9/arch/sparc64/kernel/
Dbinfmt_aout32.c52 down_write(&current->mm->mmap_sem); in set_brk()
54 up_write(&current->mm->mmap_sem); in set_brk()
251 down_write(&current->mm->mmap_sem); in load_aout32_binary()
253 up_write(&current->mm->mmap_sem); in load_aout32_binary()
256 down_write(&current->mm->mmap_sem); in load_aout32_binary()
258 up_write(&current->mm->mmap_sem); in load_aout32_binary()
266 down_write(&current->mm->mmap_sem); in load_aout32_binary()
269 up_write(&current->mm->mmap_sem); in load_aout32_binary()
284 down_write(&current->mm->mmap_sem); in load_aout32_binary()
286 up_write(&current->mm->mmap_sem); in load_aout32_binary()
[all …]
/linux-2.4.37.9/fs/
Dbinfmt_aout.c50 down_write(&current->mm->mmap_sem); in set_brk()
52 up_write(&current->mm->mmap_sem); in set_brk()
323 down_write(&current->mm->mmap_sem); in load_aout_binary()
325 up_write(&current->mm->mmap_sem); in load_aout_binary()
328 down_write(&current->mm->mmap_sem); in load_aout_binary()
330 up_write(&current->mm->mmap_sem); in load_aout_binary()
350 down_write(&current->mm->mmap_sem); in load_aout_binary()
352 up_write(&current->mm->mmap_sem); in load_aout_binary()
386 down_write(&current->mm->mmap_sem); in load_aout_binary()
388 up_write(&current->mm->mmap_sem); in load_aout_binary()
[all …]
Dbinfmt_som.c147 down_write(&current->mm->mmap_sem); in map_som_binary()
150 up_write(&current->mm->mmap_sem); in map_som_binary()
158 down_write(&current->mm->mmap_sem); in map_som_binary()
162 up_write(&current->mm->mmap_sem); in map_som_binary()
168 down_write(&current->mm->mmap_sem); in map_som_binary()
171 up_write(&current->mm->mmap_sem); in map_som_binary()
Dbinfmt_elf.c88 down_write(&current->mm->mmap_sem); in set_brk()
90 up_write(&current->mm->mmap_sem); in set_brk()
254 down_write(&current->mm->mmap_sem); in elf_map()
258 up_write(&current->mm->mmap_sem); in elf_map()
385 down_write(&current->mm->mmap_sem); in load_elf_interp()
387 up_write(&current->mm->mmap_sem); in load_elf_interp()
433 down_write(&current->mm->mmap_sem); in load_aout_interp()
435 up_write(&current->mm->mmap_sem); in load_aout_interp()
444 down_write(&current->mm->mmap_sem); in load_aout_interp()
447 up_write(&current->mm->mmap_sem); in load_aout_interp()
[all …]
/linux-2.4.37.9/arch/ia64/ia32/
Dbinfmt_elf32.c96 down_write(&current->mm->mmap_sem); in ia64_elf32_init()
100 up_write(&current->mm->mmap_sem); in ia64_elf32_init()
104 up_write(&current->mm->mmap_sem); in ia64_elf32_init()
122 down_write(&current->mm->mmap_sem); in ia64_elf32_init()
126 up_write(&current->mm->mmap_sem); in ia64_elf32_init()
130 up_write(&current->mm->mmap_sem); in ia64_elf32_init()
188 down_write(&current->mm->mmap_sem); in ia32_setup_arg_pages()
200 up_write(&current->mm->mmap_sem); in ia32_setup_arg_pages()
215 up_write(&current->mm->mmap_sem); in ia32_setup_arg_pages()
/linux-2.4.37.9/arch/ppc64/mm/
Dfault.c141 down_read(&mm->mmap_sem); in do_page_fault()
233 up_read(&mm->mmap_sem); in do_page_fault()
237 up_read(&mm->mmap_sem); in do_page_fault()
263 up_read(&mm->mmap_sem); in do_page_fault()
266 down_read(&mm->mmap_sem); in do_page_fault()
276 up_read(&mm->mmap_sem); in do_page_fault()
/linux-2.4.37.9/mm/
Dmlock.c201 down_write(&current->mm->mmap_sem); in sys_mlock()
222 up_write(&current->mm->mmap_sem); in sys_mlock()
230 down_write(&current->mm->mmap_sem); in sys_munlock()
234 up_write(&current->mm->mmap_sem); in sys_munlock()
271 down_write(&current->mm->mmap_sem); in sys_mlockall()
289 up_write(&current->mm->mmap_sem); in sys_mlockall()
297 down_write(&current->mm->mmap_sem); in sys_munlockall()
299 up_write(&current->mm->mmap_sem); in sys_munlockall()
/linux-2.4.37.9/arch/alpha/mm/
Dfault.c119 down_read(&mm->mmap_sem); in do_page_fault()
159 up_read(&mm->mmap_sem); in do_page_fault()
167 up_read(&mm->mmap_sem); in do_page_fault()
210 up_read(&mm->mmap_sem); in do_page_fault()
218 up_read(&mm->mmap_sem); in do_page_fault()
/linux-2.4.37.9/arch/mips64/mm/
Dfault.c132 down_read(&mm->mmap_sem); in do_page_fault()
176 up_read(&mm->mmap_sem); in do_page_fault()
184 up_read(&mm->mmap_sem); in do_page_fault()
242 up_read(&mm->mmap_sem); in do_page_fault()
249 up_read(&mm->mmap_sem); in do_page_fault()
/linux-2.4.37.9/arch/mips/mm/
Dfault.c109 down_read(&mm->mmap_sem); in do_page_fault()
153 up_read(&mm->mmap_sem); in do_page_fault()
161 up_read(&mm->mmap_sem); in do_page_fault()
218 up_read(&mm->mmap_sem); in do_page_fault()
225 up_read(&mm->mmap_sem); in do_page_fault()
/linux-2.4.37.9/arch/sparc/mm/
Dfault.c257 down_read(&mm->mmap_sem); in do_sparc_fault()
307 up_read(&mm->mmap_sem); in do_sparc_fault()
315 up_read(&mm->mmap_sem); in do_sparc_fault()
371 up_read(&mm->mmap_sem); in do_sparc_fault()
378 up_read(&mm->mmap_sem); in do_sparc_fault()
512 down_read(&mm->mmap_sem); in force_user_fault()
533 up_read(&mm->mmap_sem); in force_user_fault()
536 up_read(&mm->mmap_sem); in force_user_fault()
551 up_read(&mm->mmap_sem); in force_user_fault()
/linux-2.4.37.9/arch/parisc/mm/
Dfault.c154 down_read(&mm->mmap_sem); in do_page_fault()
193 up_read(&mm->mmap_sem); in do_page_fault()
205 up_read(&mm->mmap_sem); in do_page_fault()
263 up_read(&mm->mmap_sem); in do_page_fault()
/linux-2.4.37.9/arch/s390x/kernel/
Dexec32.c57 down_write(&current->mm->mmap_sem); in setup_arg_pages32()
69 up_write(&current->mm->mmap_sem); in setup_arg_pages32()
84 up_write(&current->mm->mmap_sem); in setup_arg_pages32()
/linux-2.4.37.9/arch/m68k/mm/
Dfault.c104 down_read(&mm->mmap_sem); in do_page_fault()
174 up_read(&mm->mmap_sem); in do_page_fault()
187 up_read(&mm->mmap_sem); in do_page_fault()
215 up_read(&mm->mmap_sem); in do_page_fault()
/linux-2.4.37.9/arch/ppc/mm/
Dfault.c138 down_read(&mm->mmap_sem); in do_page_fault()
233 up_read(&mm->mmap_sem); in do_page_fault()
243 up_read(&mm->mmap_sem); in do_page_fault()
268 up_read(&mm->mmap_sem); in do_page_fault()
276 up_read(&mm->mmap_sem); in do_page_fault()
/linux-2.4.37.9/arch/cris/mm/
Dfault.c312 down_read(&mm->mmap_sem); in do_page_fault()
370 up_read(&mm->mmap_sem); in do_page_fault()
379 up_read(&mm->mmap_sem); in do_page_fault()
442 up_read(&mm->mmap_sem); in do_page_fault()
449 up_read(&mm->mmap_sem); in do_page_fault()
/linux-2.4.37.9/arch/i386/mm/
Dfault.c186 down_read(&mm->mmap_sem); in do_page_fault()
260 up_read(&mm->mmap_sem); in do_page_fault()
268 up_read(&mm->mmap_sem); in do_page_fault()
341 up_read(&mm->mmap_sem); in do_page_fault()
348 up_read(&mm->mmap_sem); in do_page_fault()
/linux-2.4.37.9/arch/ia64/mm/
Dfault.c97 down_read(&mm->mmap_sem); in ia64_do_page_fault()
152 up_read(&mm->mmap_sem); in ia64_do_page_fault()
175 up_read(&mm->mmap_sem); in ia64_do_page_fault()
243 up_read(&mm->mmap_sem); in ia64_do_page_fault()
/linux-2.4.37.9/arch/s390x/mm/
Dfault.c204 down_read(&mm->mmap_sem); in do_exception()
249 up_read(&mm->mmap_sem); in do_exception()
257 up_read(&mm->mmap_sem); in do_exception()
298 up_read(&mm->mmap_sem); in do_exception()
305 up_read(&mm->mmap_sem); in do_exception()
/linux-2.4.37.9/arch/mips/kernel/
Dirixelf.c134 down_write(&current->mm->mmap_sem); in set_brk()
136 up_write(&current->mm->mmap_sem); in set_brk()
320 down_write(&current->mm->mmap_sem); in load_irix_interp()
325 up_write(&current->mm->mmap_sem); in load_irix_interp()
385 down_write(&current->mm->mmap_sem); in load_irix_interp()
387 up_write(&current->mm->mmap_sem); in load_irix_interp()
506 down_write(&current->mm->mmap_sem); in map_executable()
511 up_write(&current->mm->mmap_sem); in map_executable()
575 down_write(&current->mm->mmap_sem); in irix_map_prda_page()
577 up_write(&current->mm->mmap_sem); in irix_map_prda_page()
[all …]
/linux-2.4.37.9/arch/ia64/kernel/
Dsys_ia64.c111 down_write(&mm->mmap_sem); in ia64_brk()
151 up_write(&mm->mmap_sem); in ia64_brk()
214 down_write(&current->mm->mmap_sem); in do_mmap2()
216 up_write(&current->mm->mmap_sem); in do_mmap2()
259 down_write(&current->mm->mmap_sem); in ia64_mremap()
263 up_write(&current->mm->mmap_sem); in ia64_mremap()
/linux-2.4.37.9/arch/x86_64/mm/
Dfault.c249 down_read(&mm->mmap_sem); in do_page_fault()
305 up_read(&mm->mmap_sem); in do_page_fault()
313 up_read(&mm->mmap_sem); in do_page_fault()
381 up_read(&mm->mmap_sem); in do_page_fault()
393 up_read(&mm->mmap_sem); in do_page_fault()
/linux-2.4.37.9/arch/s390/mm/
Dfault.c204 down_read(&mm->mmap_sem); in do_exception()
249 up_read(&mm->mmap_sem); in do_exception()
257 up_read(&mm->mmap_sem); in do_exception()
298 up_read(&mm->mmap_sem); in do_exception()
305 up_read(&mm->mmap_sem); in do_exception()
/linux-2.4.37.9/drivers/char/drm/
Dsavage_drv.c97 down_write(&current->mm->mmap_sem); in savage_alloc_continuous_mem()
101 up_write(&current->mm->mmap_sem); in savage_alloc_continuous_mem()
107 up_write(&current->mm->mmap_sem); in savage_alloc_continuous_mem()
110 up_write(&current->mm->mmap_sem); in savage_alloc_continuous_mem()
/linux-2.4.37.9/fs/proc/
Darray.c189 down_read(&mm->mmap_sem); in task_mem()
220 up_read(&mm->mmap_sem); in task_mem()
334 down_read(&mm->mmap_sem); in proc_pid_stat()
344 up_read(&mm->mmap_sem); in proc_pid_stat()
501 down_read(&mm->mmap_sem); in proc_pid_statm()
522 up_read(&mm->mmap_sem); in proc_pid_statm()
587 down_read(&mm->mmap_sem); in m_start()
592 up_read(&mm->mmap_sem); in m_start()
603 up_read(&mm->mmap_sem); in m_stop()

1234