/openbmc/linux/sound/soc/atmel/ |
H A D | mchp-spdifrx.c | 302 struct mutex mlock; member 397 mutex_lock(&dev->mlock); in mchp_spdifrx_trigger() 405 mutex_unlock(&dev->mlock); in mchp_spdifrx_trigger() 410 mutex_lock(&dev->mlock); in mchp_spdifrx_trigger() 418 mutex_unlock(&dev->mlock); in mchp_spdifrx_trigger() 469 mutex_lock(&dev->mlock); in mchp_spdifrx_hw_params() 501 mutex_unlock(&dev->mlock); in mchp_spdifrx_hw_params() 535 mutex_lock(&dev->mlock); in mchp_spdifrx_cs_get() 583 mutex_unlock(&dev->mlock); in mchp_spdifrx_cs_get() 622 mutex_lock(&dev->mlock); in mchp_spdifrx_subcode_ch_get() [all …]
|
/openbmc/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()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | .gitignore | 27 mlock-intersect-test 28 mlock-random-test
|
H A D | mlock-random-test.c | 167 ret = mlock(p + start_offset, lock_size); in test_mlock_within_limit() 239 ret = mlock(p + start_offset, lock_size); in test_mlock_outof_limit()
|
H A D | run_vmtests.sh | 37 - mlock 38 tests for mlock(2) 289 CATEGORY="mlock" run_test ./mlock-random-test
|
H A D | Makefile | 59 TEST_GEN_FILES += mlock-random-test 180 $(OUTPUT)/mlock-random-test $(OUTPUT)/memfd_secret: LDLIBS += -lcap
|
/openbmc/linux/drivers/spi/ |
H A D | spi-sn-f-ospi.c | 114 struct mutex mlock; member 408 mutex_lock(&ospi->mlock); in f_ospi_indir_read() 450 mutex_unlock(&ospi->mlock); in f_ospi_indir_read() 462 mutex_lock(&ospi->mlock); in f_ospi_indir_write() 497 mutex_unlock(&ospi->mlock); in f_ospi_indir_write() 643 mutex_init(&ospi->mlock); in f_ospi_probe() 656 mutex_destroy(&ospi->mlock); in f_ospi_probe() 668 mutex_destroy(&ospi->mlock); in f_ospi_remove()
|
/openbmc/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 …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-aggregator.c | 254 struct mutex mlock; /* protects tmp[] if can_sleep */ member 330 mutex_lock(&fwd->mlock); in gpio_fwd_get_multiple_locked() 332 mutex_unlock(&fwd->mlock); in gpio_fwd_get_multiple_locked() 401 mutex_lock(&fwd->mlock); in gpio_fwd_set_multiple_locked() 403 mutex_unlock(&fwd->mlock); in gpio_fwd_set_multiple_locked() 546 mutex_init(&fwd->mlock); in gpiochip_fwd_create()
|
/openbmc/linux/drivers/iio/ |
H A D | industrialio-trigger.c | 123 mutex_lock(&iio_dev_opaque->mlock); in iio_trigger_set_immutable() 128 mutex_unlock(&iio_dev_opaque->mlock); in iio_trigger_set_immutable() 454 mutex_lock(&iio_dev_opaque->mlock); in current_trigger_store() 456 mutex_unlock(&iio_dev_opaque->mlock); in current_trigger_store() 460 mutex_unlock(&iio_dev_opaque->mlock); in current_trigger_store() 463 mutex_unlock(&iio_dev_opaque->mlock); in current_trigger_store()
|
H A D | industrialio-buffer.c | 520 mutex_lock(&iio_dev_opaque->mlock); in iio_scan_el_store() 539 mutex_unlock(&iio_dev_opaque->mlock); in iio_scan_el_store() 568 mutex_lock(&iio_dev_opaque->mlock); in iio_scan_el_ts_store() 575 mutex_unlock(&iio_dev_opaque->mlock); in iio_scan_el_ts_store() 661 mutex_lock(&iio_dev_opaque->mlock); in length_store() 673 mutex_unlock(&iio_dev_opaque->mlock); in length_store() 1265 mutex_lock(&iio_dev_opaque->mlock); in iio_update_buffers() 1286 mutex_unlock(&iio_dev_opaque->mlock); in iio_update_buffers() 1313 mutex_lock(&iio_dev_opaque->mlock); in enable_store() 1327 mutex_unlock(&iio_dev_opaque->mlock); in enable_store() [all …]
|
H A D | industrialio-core.c | 270 ret = mutex_lock_interruptible(&iio_dev_opaque->mlock); in iio_device_set_clock() 275 mutex_unlock(&iio_dev_opaque->mlock); in iio_device_set_clock() 279 mutex_unlock(&iio_dev_opaque->mlock); in iio_device_set_clock() 1666 mutex_init(&iio_dev_opaque->mlock); in iio_device_alloc() 1688 lockdep_set_class(&iio_dev_opaque->mlock, &iio_dev_opaque->mlock_key); in iio_device_alloc() 2053 mutex_lock(&iio_dev_opaque->mlock); in iio_device_claim_direct_mode() 2056 mutex_unlock(&iio_dev_opaque->mlock); in iio_device_claim_direct_mode() 2074 mutex_unlock(&to_iio_dev_opaque(indio_dev)->mlock); in iio_device_release_direct_mode() 2093 mutex_lock(&iio_dev_opaque->mlock); in iio_device_claim_buffer_mode() 2098 mutex_unlock(&iio_dev_opaque->mlock); in iio_device_claim_buffer_mode() [all …]
|
/openbmc/linux/mm/ |
H A D | mlock.c | 189 unsigned long mlock; in mlock_folio_batch() local 195 mlock = (unsigned long)folio & (LRU_FOLIO | NEW_FOLIO); in mlock_folio_batch() 196 folio = (struct folio *)((unsigned long)folio - mlock); in mlock_folio_batch() 199 if (mlock & LRU_FOLIO) in mlock_folio_batch() 201 else if (mlock & NEW_FOLIO) in mlock_folio_batch() 622 SYSCALL_DEFINE2(mlock, unsigned long, start, size_t, len) in SYSCALL_DEFINE2() argument
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | tsc2007_iio.c | 52 mutex_lock(&tsc->mlock); in tsc2007_read_raw() 95 mutex_unlock(&tsc->mlock); in tsc2007_read_raw()
|
H A D | tsc2007_core.c | 122 mutex_lock(&ts->mlock); in tsc2007_soft_irq() 124 mutex_unlock(&ts->mlock); in tsc2007_soft_irq() 327 mutex_init(&ts->mlock); in tsc2007_probe()
|
H A D | tsc2007.h | 83 struct mutex mlock; member
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss-prng.c | 127 mutex_lock(&ss->mlock); in sun8i_ss_prng_generate() 159 mutex_unlock(&ss->mlock); in sun8i_ss_prng_generate()
|
/openbmc/linux/drivers/media/platform/renesas/ |
H A D | renesas-ceu.c | 199 struct mutex mlock; member 1093 mutex_lock(&ceudev->mlock); in ceu_open() 1096 mutex_unlock(&ceudev->mlock); in ceu_open() 1107 mutex_lock(&ceudev->mlock); in ceu_release() 1110 mutex_unlock(&ceudev->mlock); in ceu_release() 1407 q->lock = &ceudev->mlock; in ceu_notify_complete() 1436 vdev->lock = &ceudev->mlock; in ceu_notify_complete() 1634 mutex_init(&ceudev->mlock); in ceu_probe()
|
/openbmc/linux/include/linux/iio/ |
H A D | iio-opaque.h | 47 struct mutex mlock; member
|
/openbmc/u-boot/arch/arc/ |
H A D | config.mk | 30 PLATFORM_CPPFLAGS += -mcpu=arc700 -mlock -mswape
|
/openbmc/linux/drivers/media/platform/intel/ |
H A D | pxa_camera.c | 682 struct mutex mlock; member 1525 vq->lock = &pcdev->mlock; in pxa_camera_init_videobuf2() 1962 mutex_lock(&pcdev->mlock); in pxac_fops_camera_open() 1974 mutex_unlock(&pcdev->mlock); in pxac_fops_camera_open() 1984 mutex_lock(&pcdev->mlock); in pxac_fops_camera_release() 1993 mutex_unlock(&pcdev->mlock); in pxac_fops_camera_release() 2061 mutex_lock(&pcdev->mlock); in pxa_camera_sensor_bound() 2064 vdev->lock = &pcdev->mlock; in pxa_camera_sensor_bound() 2120 mutex_unlock(&pcdev->mlock); in pxa_camera_sensor_bound() 2130 mutex_lock(&pcdev->mlock); in pxa_camera_sensor_unbind() [all …]
|
/openbmc/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()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-gnome/gcr/gcr3/ |
H A D | 0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch | 23 conf.set('HAVE_MLOCK', cc.has_function('mlock'))
|
/openbmc/linux/arch/arc/ |
H A D | Makefile | 43 cflags-$(CONFIG_ARC_HAS_LLSC) += -mlock
|
/openbmc/linux/arch/mips/include/asm/sgi/ |
H A D | mc.h | 148 volatile u32 mlock; /* Global GIO memory access lock */ member
|