Home
last modified time | relevance | path

Searched refs:mmap_lock (Results 1 – 25 of 48) sorted by relevance

12

/openbmc/linux/include/linux/
H A Dmmap_lock.h12 .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 Dmmap_lock.h3 #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 Dvideobuf2-core.c777 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 Dexec-all.h524 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 Dmmap_unlock_work.h60 rwsem_release(&mm->mmap_lock.dep_map, _RET_IP_); in bpf_mmap_unlock_mm()
/openbmc/linux/mm/
H A Dinit-mm.c33 .mm_mt = MTREE_INIT_EXT(mm_mt, MM_MT_FLAGS, init_mm.mmap_lock),
H A DMakefile56 debug.o gup.o mmap_lock.o $(mmu-y)
/openbmc/linux/tools/perf/util/bpf_skel/
H A Dlock_contention.bpf.c108 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 Diw_cxgb4.h525 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 Dprovider.c89 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 Dmmap.c27 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 Dbsd-mem.h171 mmap_lock(); in do_bsd_madvise()
/openbmc/qemu/accel/tcg/
H A Dwatchpoint.c126 mmap_lock(); in cpu_check_watchpoint()
H A Duser-exec.c179 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 Dcpu-exec.c599 mmap_lock(); in cpu_exec_step_atomic()
992 mmap_lock(); in cpu_exec_loop()
/openbmc/qemu/linux-user/
H A Dmmap.c37 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 Dflatload.c490 mmap_lock(); in load_flt_binary()
/openbmc/linux/tools/perf/util/bpf_skel/vmlinux/
H A Dvmlinux.h89 struct rw_semaphore mmap_lock; member
/openbmc/qemu/linux-user/arm/
H A Dcpu_loop.c126 mmap_lock(); in arm_kernel_cmpxchg32_helper()
171 mmap_lock(); in arm_kernel_cmpxchg64_helper()
/openbmc/linux/arch/ia64/mm/
H A Dfault.c79 prefetchw(&mm->mmap_lock); in ia64_do_page_fault()
/openbmc/linux/Documentation/mm/
H A Dtranshuge.rst94 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 Dvideobuf2-core.h619 struct mutex mmap_lock; member
/openbmc/qemu/
H A Dcpu-target.c422 mmap_lock(); in cpu_memory_rw_debug()
/openbmc/linux/Documentation/admin-guide/mm/
H A Dnuma_memory_policy.rst372 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 Dtboot.c98 .mm_mt = MTREE_INIT_EXT(mm_mt, MM_MT_FLAGS, tboot_mm.mmap_lock),

12