/Linux-v6.1/drivers/gpu/host1x/hw/ |
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-v6.1/tools/testing/selftests/vm/ |
D | .gitignore | 24 mlock-intersect-test 25 mlock-random-test
|
D | mlock-random-test.c | 166 ret = mlock(p + start_offset, lock_size); in test_mlock_within_limit() 238 ret = mlock(p + start_offset, lock_size); in test_mlock_outof_limit()
|
D | Makefile | 43 TEST_GEN_FILES += mlock-random-test 153 $(OUTPUT)/mlock-random-test $(OUTPUT)/memfd_secret: LDLIBS += -lcap
|
/Linux-v6.1/drivers/iio/adc/ |
D | lpc32xx_adc.c | 67 mutex_lock(&indio_dev->mlock); in lpc32xx_read_raw() 70 mutex_unlock(&indio_dev->mlock); in lpc32xx_read_raw() 83 mutex_unlock(&indio_dev->mlock); in lpc32xx_read_raw()
|
D | vf610_adc.c | 470 mutex_lock(&indio_dev->mlock); in vf610_set_conversion_mode() 474 mutex_unlock(&indio_dev->mlock); in vf610_set_conversion_mode() 638 mutex_lock(&indio_dev->mlock); in vf610_read_raw() 640 mutex_unlock(&indio_dev->mlock); in vf610_read_raw() 651 mutex_unlock(&indio_dev->mlock); in vf610_read_raw() 655 mutex_unlock(&indio_dev->mlock); in vf610_read_raw() 674 mutex_unlock(&indio_dev->mlock); in vf610_read_raw() 678 mutex_unlock(&indio_dev->mlock); in vf610_read_raw()
|
D | rockchip_saradc.c | 97 mutex_lock(&indio_dev->mlock); in rockchip_saradc_read_raw() 102 mutex_unlock(&indio_dev->mlock); in rockchip_saradc_read_raw() 107 mutex_unlock(&indio_dev->mlock); in rockchip_saradc_read_raw() 273 mutex_lock(&i_dev->mlock); in rockchip_saradc_trigger_handler() 290 mutex_unlock(&i_dev->mlock); in rockchip_saradc_trigger_handler()
|
D | ad799x.c | 354 mutex_lock(&indio_dev->mlock); in ad799x_write_frequency() 376 mutex_unlock(&indio_dev->mlock); in ad799x_write_frequency() 457 mutex_lock(&indio_dev->mlock); in ad799x_write_event_value() 461 mutex_unlock(&indio_dev->mlock); in ad799x_write_event_value() 476 mutex_lock(&indio_dev->mlock); in ad799x_read_event_value() 479 mutex_unlock(&indio_dev->mlock); in ad799x_read_event_value()
|
D | imx7d_adc.c | 296 mutex_lock(&indio_dev->mlock); in imx7d_adc_read_raw() 306 mutex_unlock(&indio_dev->mlock); in imx7d_adc_read_raw() 310 mutex_unlock(&indio_dev->mlock); in imx7d_adc_read_raw() 315 mutex_unlock(&indio_dev->mlock); in imx7d_adc_read_raw()
|
D | axp288_adc.c | 164 mutex_lock(&indio_dev->mlock); in axp288_adc_read_raw() 181 mutex_unlock(&indio_dev->mlock); in axp288_adc_read_raw()
|
D | ltc2497-core.c | 84 mutex_lock(&indio_dev->mlock); in ltc2497core_read_raw() 86 mutex_unlock(&indio_dev->mlock); in ltc2497core_read_raw()
|
D | sc27xx_adc.c | 667 mutex_lock(&indio_dev->mlock); in sc27xx_adc_read_raw() 669 mutex_unlock(&indio_dev->mlock); in sc27xx_adc_read_raw() 678 mutex_lock(&indio_dev->mlock); in sc27xx_adc_read_raw() 681 mutex_unlock(&indio_dev->mlock); in sc27xx_adc_read_raw()
|
/Linux-v6.1/drivers/gpio/ |
D | gpio-aggregator.c | 244 struct mutex mlock; /* protects tmp[] if can_sleep */ member 319 mutex_lock(&fwd->mlock); in gpio_fwd_get_multiple_locked() 321 mutex_unlock(&fwd->mlock); in gpio_fwd_get_multiple_locked() 366 mutex_lock(&fwd->mlock); in gpio_fwd_set_multiple_locked() 368 mutex_unlock(&fwd->mlock); in gpio_fwd_set_multiple_locked() 456 mutex_init(&fwd->mlock); in gpiochip_fwd_create()
|
/Linux-v6.1/Documentation/mm/ |
D | unevictable-lru.rst | 49 * Those mapped into VM_LOCKED [mlock()ed] VMAs. 168 the page tables for the region as does, for example, mlock(), nor need it make 188 list at mlock() or mmap() time, vmscan will not encounter the pages until they 213 The unevictable page list is also useful for mlock(), in addition to ramfs and 214 SYSV SHM. Note that mlock() is only available in CONFIG_MMU=y situations; in 259 (1) in the mlock()/mlock2()/mlockall() system call handlers; 285 mlock()/mlock2()/mlockall() System Call Handling 288 mlock(), mlock2() and mlockall() system call handlers proceed to mlock_fixup() 291 is used for both mlocking and munlocking a range of memory. A call to mlock() 318 mlock pagevec, to batch up the rest of the work to be done under lru_lock by [all …]
|
/Linux-v6.1/drivers/soc/apple/ |
D | apple-pmgr-pwrstate.c | 120 mutex_lock(&ps->genpd.mlock); in apple_pmgr_reset_assert() 132 mutex_unlock(&ps->genpd.mlock); in apple_pmgr_reset_assert() 141 mutex_lock(&ps->genpd.mlock); in apple_pmgr_reset_deassert() 150 mutex_unlock(&ps->genpd.mlock); in apple_pmgr_reset_deassert()
|
/Linux-v6.1/drivers/iio/ |
D | industrialio-trigger.c | 123 mutex_lock(&indio_dev->mlock); in iio_trigger_set_immutable() 128 mutex_unlock(&indio_dev->mlock); in iio_trigger_set_immutable() 441 mutex_lock(&indio_dev->mlock); in current_trigger_store() 443 mutex_unlock(&indio_dev->mlock); in current_trigger_store() 447 mutex_unlock(&indio_dev->mlock); in current_trigger_store() 450 mutex_unlock(&indio_dev->mlock); in current_trigger_store()
|
D | industrialio-buffer.c | 516 mutex_lock(&indio_dev->mlock); in iio_scan_el_store() 535 mutex_unlock(&indio_dev->mlock); in iio_scan_el_store() 564 mutex_lock(&indio_dev->mlock); in iio_scan_el_ts_store() 571 mutex_unlock(&indio_dev->mlock); in iio_scan_el_ts_store() 656 mutex_lock(&indio_dev->mlock); in length_store() 668 mutex_unlock(&indio_dev->mlock); in length_store() 1259 mutex_lock(&indio_dev->mlock); in iio_update_buffers() 1280 mutex_unlock(&indio_dev->mlock); in iio_update_buffers() 1306 mutex_lock(&indio_dev->mlock); in enable_store() 1320 mutex_unlock(&indio_dev->mlock); in enable_store() [all …]
|
D | TODO | 10 - Replace iio_dev->mlock by either a local lock or use
|
/Linux-v6.1/mm/ |
D | mlock.c | 189 unsigned long mlock; in mlock_pagevec() local 195 mlock = (unsigned long)page & (LRU_PAGE | NEW_PAGE); in mlock_pagevec() 196 page = (struct page *)((unsigned long)page - mlock); in mlock_pagevec() 199 if (mlock & LRU_PAGE) in mlock_pagevec() 201 else if (mlock & NEW_PAGE) in mlock_pagevec() 614 SYSCALL_DEFINE2(mlock, unsigned long, start, size_t, len) in SYSCALL_DEFINE2() argument
|
/Linux-v6.1/drivers/input/touchscreen/ |
D | tsc2007_iio.c | 52 mutex_lock(&tsc->mlock); in tsc2007_read_raw() 95 mutex_unlock(&tsc->mlock); in tsc2007_read_raw()
|
D | tsc2007_core.c | 122 mutex_lock(&ts->mlock); in tsc2007_soft_irq() 124 mutex_unlock(&ts->mlock); in tsc2007_soft_irq() 340 mutex_init(&ts->mlock); in tsc2007_probe()
|
/Linux-v6.1/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-prng.c | 120 mutex_lock(&ss->mlock); in sun8i_ss_prng_generate() 152 mutex_unlock(&ss->mlock); in sun8i_ss_prng_generate()
|
/Linux-v6.1/drivers/iio/gyro/ |
D | itg3200_core.c | 142 mutex_lock(&indio_dev->mlock); in itg3200_write_raw() 146 mutex_unlock(&indio_dev->mlock); in itg3200_write_raw() 155 mutex_unlock(&indio_dev->mlock); in itg3200_write_raw()
|
/Linux-v6.1/drivers/media/platform/renesas/ |
D | renesas-ceu.c | 200 struct mutex mlock; member 1103 mutex_lock(&ceudev->mlock); in ceu_open() 1106 mutex_unlock(&ceudev->mlock); in ceu_open() 1117 mutex_lock(&ceudev->mlock); in ceu_release() 1120 mutex_unlock(&ceudev->mlock); in ceu_release() 1417 q->lock = &ceudev->mlock; in ceu_notify_complete() 1446 vdev->lock = &ceudev->mlock; in ceu_notify_complete() 1644 mutex_init(&ceudev->mlock); in ceu_probe()
|
/Linux-v6.1/drivers/media/platform/intel/ |
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 …]
|