| /linux/sound/soc/atmel/ |
| H A D | mchp-spdifrx.c | 299 * @mlock: mutex to protect concurency b/w configuration and control APIs 309 struct mutex mlock; 404 mutex_lock(&dev->mlock); in mchp_spdifrx_trigger() 412 mutex_unlock(&dev->mlock); in mchp_spdifrx_trigger() 417 mutex_lock(&dev->mlock); in mchp_spdifrx_trigger() 425 mutex_unlock(&dev->mlock); in mchp_spdifrx_trigger() 476 mutex_lock(&dev->mlock); in mchp_spdifrx_hw_params() 508 mutex_unlock(&dev->mlock); 542 mutex_lock(&dev->mlock); in mchp_spdifrx_cs_get() 589 mutex_unlock(&dev->mlock); in mchp_spdifrx_cs1_get() 302 struct mutex mlock; global() member [all...] |
| /linux/drivers/gpu/host1x/hw/ |
| H A D | opcodes.h | 138 static inline u32 host1x_opcode_acquire_mlock(unsigned mlock) in host1x_opcode_acquire_mlock() argument 140 return (14 << 28) | (0 << 24) | mlock; in host1x_opcode_acquire_mlock() 143 static inline u32 host1x_opcode_release_mlock(unsigned mlock) in host1x_opcode_release_mlock() argument 145 return (14 << 28) | (1 << 24) | mlock; in host1x_opcode_release_mlock()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | .gitignore | |
| H A D | mlock-random-test.c | 158 ret = mlock(p + start_offset, lock_size); in test_mlock_within_limit() 220 ret = mlock(p + start_offset, lock_size); in test_mlock_outof_limit()
|
| H A D | Makefile | 79 TEST_GEN_FILES += mlock-random-test 257 $(OUTPUT)/mlock-random-test $(OUTPUT)/memfd_secret: LDLIBS += -lcap
|
| H A D | run_vmtests.sh | 42 - mlock 43 tests for mlock(2) 305 CATEGORY="mlock" run_test sudo -u nobody sh -c ./on-fault-limit 313 CATEGORY="mlock" run_test ./mlock-random-test 315 CATEGORY="mlock" run_test ./mlock2-tests
|
| H A D | guard-regions.c | 942 /* Assert that mlock()'ed pages work correctly with guard markers. */ in TEST_F() argument 943 TEST_F(guard_regions, mlock) in TEST_F() 961 ASSERT_EQ(mlock(ptr, 10 * page_size), 0); in TEST_F() 991 ASSERT_EQ(mlock(&ptr[5 * page_size], 5 * page_size), 0); in TEST_F() 994 * Now remove guard pages, we permit mlock()'d ranges to have guard in TEST_F()
|
| /linux/Documentation/mm/ |
| H A D | unevictable-lru.rst | 49 * Those mapped into VM_LOCKED [mlock()ed] VMAs. 169 the page tables for the region as does, for example, mlock(), nor need it make 189 list at mlock() or mmap() time, vmscan will not encounter the folios until they 216 The unevictable folio list is also useful for mlock(), in addition to ramfs and 217 SYSV SHM. Note that mlock() is only available in CONFIG_MMU=y situations; in 262 (1) in the mlock()/mlock2()/mlockall() system call handlers; 288 mlock()/mlock2()/mlockall() System Call Handling 291 mlock(), mlock2() and mlockall() system call handlers proceed to mlock_fixup() 294 is used for both mlocking and munlocking a range of memory. A call to mlock() 321 mlock folio batch, to batch up the rest of the work to be done under lru_lock by [all …]
|
| /linux/drivers/media/platform/renesas/ |
| H A D | renesas-ceu.c | 199 struct mutex mlock; member 1091 mutex_lock(&ceudev->mlock); in ceu_open() 1094 mutex_unlock(&ceudev->mlock); in ceu_open() 1105 mutex_lock(&ceudev->mlock); in ceu_release() 1108 mutex_unlock(&ceudev->mlock); in ceu_release() 1401 q->lock = &ceudev->mlock; in ceu_notify_complete() 1430 vdev->lock = &ceudev->mlock; in ceu_notify_complete() 1628 mutex_init(&ceudev->mlock); in ceu_probe()
|
| /linux/include/linux/iio/ |
| H A D | iio-opaque.h | 48 struct mutex mlock; member
|
| /linux/drivers/iio/ |
| H A D | industrialio-trigger.c | 122 guard(mutex)(&iio_dev_opaque->mlock); in iio_trigger_set_immutable() 448 scoped_guard(mutex, &iio_dev_opaque->mlock) { in current_trigger_store() 776 guard(mutex)(&iio_dev_opaque->mlock); in iio_device_suspend_triggering() 789 guard(mutex)(&iio_dev_opaque->mlock); in iio_device_resume_triggering()
|
| H A D | industrialio-event.c | 201 fd = mutex_lock_interruptible(&iio_dev_opaque->mlock); in iio_event_getfd() 221 mutex_unlock(&iio_dev_opaque->mlock); in iio_event_getfd()
|
| /linux/tools/testing/selftests/mincore/ |
| H A D | mincore_selftest.c | 107 mlock(addr, page_size); in TEST() 165 mlock(addr, page_size); in TEST()
|
| /linux/drivers/media/platform/intel/ |
| H A D | pxa_camera.c | 683 struct mutex mlock; member 1524 vq->lock = &pcdev->mlock; in pxa_camera_init_videobuf2() 1961 mutex_lock(&pcdev->mlock); in pxac_fops_camera_open() 1973 mutex_unlock(&pcdev->mlock); in pxac_fops_camera_open() 1983 mutex_lock(&pcdev->mlock); in pxac_fops_camera_release() 1992 mutex_unlock(&pcdev->mlock); in pxac_fops_camera_release() 2060 mutex_lock(&pcdev->mlock); in pxa_camera_sensor_bound() 2063 vdev->lock = &pcdev->mlock; in pxa_camera_sensor_bound() 2119 mutex_unlock(&pcdev->mlock); in pxa_camera_sensor_bound() 2129 mutex_lock(&pcdev->mlock); in pxa_camera_sensor_unbind() [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | tsc2007.h | 85 struct mutex mlock; member
|
| H A D | tsc2007_core.c | 123 scoped_guard(mutex, &ts->mlock) { in tsc2007_soft_irq() 329 mutex_init(&ts->mlock); in tsc2007_probe()
|
| /linux/drivers/gpu/drm/bridge/ |
| H A D | ssd2825.c | 134 struct mutex mlock; /* for host transfer operations */ member 354 guard(mutex)(&priv->mlock); in ssd2825_dsi_host_transfer() 717 mutex_init(&priv->mlock); in ssd2825_probe()
|
| /linux/drivers/gpio/ |
| H A D | gpio-aggregator.c | 242 struct mutex mlock; /* protects tmp[] if can_sleep */ member 334 mutex_lock(&fwd->mlock); in gpio_fwd_get_multiple_locked() 336 mutex_unlock(&fwd->mlock); in gpio_fwd_get_multiple_locked() 413 mutex_lock(&fwd->mlock); in gpio_fwd_set_multiple_locked() 415 mutex_unlock(&fwd->mlock); in gpio_fwd_set_multiple_locked() 798 mutex_init(&fwd->mlock); in gpiochip_fwd_register()
|
| /linux/arch/mips/include/asm/sgi/ |
| H A D | mc.h | 148 volatile u32 mlock; /* Global GIO memory access lock */ member
|
| /linux/tools/testing/selftests/ublk/ |
| H A D | batch.c | 106 if (mlock(t->commit_buf, total)) in alloc_batch_commit_buf() 197 if (mlock(t->fetch[i].fetch_buf, t->fetch[i].fetch_buf_size)) in alloc_batch_fetch_buf()
|
| /linux/drivers/crypto/allwinner/sun8i-ss/ |
| H A D | sun8i-ss-hash.c | 310 mutex_lock(&ss->mlock); in sun8i_ss_run_hash_task() 333 mutex_unlock(&ss->mlock); in sun8i_ss_run_hash_task()
|
| /linux/drivers/pmdomain/imx/ |
| H A D | imx93-blk-ctrl.c | 314 lockdep_set_class(&domain->genpd.mlock, in imx93_blk_ctrl_probe()
|
| /linux/tools/perf/Documentation/ |
| H A D | security.txt | 147 Ignore mlock limit after perf_event_mlock_kb without CAP_IPC_LOCK
|
| /linux/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 156 146 n64 mlock sys_mlock
|
| /linux/scripts/ |
| H A D | syscall.tbl | 274 228 common mlock sys_mlock
|