/openbmc/linux/include/linux/ |
H A D | mmap_lock.h | 12 .mmap_lock = __RWSEM_INITIALIZER((name).mmap_lock), 65 lockdep_assert_held(&mm->mmap_lock); in mmap_assert_locked() 71 lockdep_assert_held_write(&mm->mmap_lock); in mmap_assert_write_locked() 102 init_rwsem(&mm->mmap_lock); in mmap_init_lock() 108 down_write(&mm->mmap_lock); in mmap_write_lock() 133 up_write(&mm->mmap_lock); in mmap_write_unlock() 140 downgrade_write(&mm->mmap_lock); in mmap_write_downgrade() 146 down_read(&mm->mmap_lock); in mmap_read_lock() 155 ret = down_read_killable(&mm->mmap_lock); in mmap_read_lock_killable() 173 up_read(&mm->mmap_lock); in mmap_read_unlock() [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | mmap_lock.h | 3 #define TRACE_SYSTEM mmap_lock 16 DECLARE_EVENT_CLASS(mmap_lock, 43 DEFINE_EVENT_FN(mmap_lock, name, \
|
/openbmc/linux/drivers/media/common/videobuf2/ |
H A D | videobuf2-core.c | 777 mutex_lock(&q->mmap_lock); in vb2_core_reqbufs() 810 mutex_lock(&q->mmap_lock); in vb2_core_reqbufs() 877 mutex_lock(&q->mmap_lock); in vb2_core_reqbufs() 902 mutex_lock(&q->mmap_lock); in vb2_core_reqbufs() 935 mutex_lock(&q->mmap_lock); in vb2_core_create_bufs() 996 mutex_lock(&q->mmap_lock); in vb2_core_create_bufs() 1021 mutex_lock(&q->mmap_lock); in vb2_core_create_bufs() 2332 mutex_lock(&q->mmap_lock); in vb2_mmap() 2389 mutex_lock(&q->mmap_lock); in vb2_get_unmapped_area() 2443 mutex_init(&q->mmap_lock); in vb2_core_queue_init() [all …]
|
/openbmc/qemu/include/exec/ |
H A D | exec-all.h | 524 void TSA_NO_TSA mmap_lock(void); 535 = (mmap_lock(), 0); _mmap_lock_iter == 0; _mmap_lock_iter = 1) 589 static inline void mmap_lock(void) {} in mmap_lock() function
|
/openbmc/linux/kernel/bpf/ |
H A D | mmap_unlock_work.h | 60 rwsem_release(&mm->mmap_lock.dep_map, _RET_IP_); in bpf_mmap_unlock_mm()
|
/openbmc/linux/mm/ |
H A D | init-mm.c | 33 .mm_mt = MTREE_INIT_EXT(mm_mt, MM_MT_FLAGS, init_mm.mmap_lock),
|
H A D | Makefile | 56 debug.o gup.o mmap_lock.o $(mmu-y)
|
/openbmc/linux/tools/perf/util/bpf_skel/ |
H A D | lock_contention.bpf.c | 108 struct rw_semaphore mmap_lock; member 250 if (bpf_core_field_exists(mm_new->mmap_lock)) { in check_lock_type() 251 if (&mm_new->mmap_lock == (void *)lock) in check_lock_type()
|
/openbmc/linux/drivers/infiniband/hw/cxgb4/ |
H A D | iw_cxgb4.h | 525 spinlock_t mmap_lock; member 548 spin_lock(&ucontext->mmap_lock); in remove_mmap() 554 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 560 spin_unlock(&ucontext->mmap_lock); in remove_mmap() 567 spin_lock(&ucontext->mmap_lock); in insert_mmap() 571 spin_unlock(&ucontext->mmap_lock); in insert_mmap()
|
H A D | provider.c | 89 spin_lock_init(&context->mmap_lock); in c4iw_alloc_ucontext() 103 spin_lock(&context->mmap_lock); in c4iw_alloc_ucontext() 106 spin_unlock(&context->mmap_lock); in c4iw_alloc_ucontext()
|
/openbmc/qemu/bsd-user/ |
H A D | mmap.c | 27 void mmap_lock(void) in mmap_lock() function 84 mmap_lock(); in target_mprotect() 408 mmap_lock(); in target_mmap() 731 mmap_lock(); in target_munmap()
|
H A D | bsd-mem.h | 171 mmap_lock(); in do_bsd_madvise()
|
/openbmc/qemu/accel/tcg/ |
H A D | watchpoint.c | 126 mmap_lock(); in cpu_check_watchpoint()
|
H A D | user-exec.c | 179 mmap_lock(); in walk_memory_regions() 234 mmap_lock(); in page_get_flags() 559 mmap_lock(); in page_check_range() 714 mmap_lock(); in page_unprotect() 936 mmap_lock(); in page_get_target_data()
|
H A D | cpu-exec.c | 599 mmap_lock(); in cpu_exec_step_atomic() 992 mmap_lock(); in cpu_exec_loop()
|
/openbmc/qemu/linux-user/ |
H A D | mmap.c | 37 void mmap_lock(void) in mmap_lock() function 198 mmap_lock(); in target_mprotect() 992 mmap_lock(); in target_mmap() 1090 mmap_lock(); in target_munmap() 1117 mmap_lock(); in target_mremap() 1244 mmap_lock(); in target_madvise()
|
H A D | flatload.c | 490 mmap_lock(); in load_flt_binary()
|
/openbmc/linux/tools/perf/util/bpf_skel/vmlinux/ |
H A D | vmlinux.h | 89 struct rw_semaphore mmap_lock; member
|
/openbmc/qemu/linux-user/arm/ |
H A D | cpu_loop.c | 126 mmap_lock(); in arm_kernel_cmpxchg32_helper() 171 mmap_lock(); in arm_kernel_cmpxchg64_helper()
|
/openbmc/linux/arch/ia64/mm/ |
H A D | fault.c | 79 prefetchw(&mm->mmap_lock); in ia64_do_page_fault()
|
/openbmc/linux/Documentation/mm/ |
H A D | transhuge.rst | 94 mmap_lock in read (or write) mode to be sure a huge pmd cannot be 96 takes the mmap_lock in write mode in addition to the anon_vma lock). If
|
/openbmc/linux/include/media/ |
H A D | videobuf2-core.h | 619 struct mutex mmap_lock; member
|
/openbmc/qemu/ |
H A D | cpu-target.c | 422 mmap_lock(); in cpu_memory_rw_debug()
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | numa_memory_policy.rst | 372 task's mm's mmap_lock for read during the query. The set_mempolicy() and 373 mbind() APIs [see below] always acquire the mmap_lock for write when 379 we hold them mmap_lock for read. Again, because replacing the task or vma 380 policy requires that the mmap_lock be held for write, the policy can't be 384 shared memory policy while another task, with a distinct mmap_lock, is
|
/openbmc/linux/arch/x86/kernel/ |
H A D | tboot.c | 98 .mm_mt = MTREE_INIT_EXT(mm_mt, MM_MT_FLAGS, tboot_mm.mmap_lock),
|