/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | .gitignore | 15 mlock-intersect-test 16 mlock-random-test
|
D | Makefile | 33 TEST_GEN_FILES += mlock-random-test 136 $(OUTPUT)/mlock-random-test: LDLIBS += -lcap
|
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()
|
/kernel/linux/linux-5.10/Documentation/vm/ |
D | unevictable-lru.rst | 49 * Those mapped into VM_LOCKED [mlock()ed] VMAs. 172 the page tables for the region as does, for example, mlock(), nor need it make 192 list at mlock() or mmap() time, vmscan will not encounter the pages until they 222 The unevictable page list is also useful for mlock(), in addition to ramfs and 223 SYSV SHM. Note that mlock() is only available in CONFIG_MMU=y situations; in 259 (1) in the mlock()/mlockall() system call handlers; 289 mlock()/mlockall() System Call Handling 292 Both [do\_]mlock() and [do\_]mlockall() system call handlers call mlock_fixup() 295 is used for both mlocking and munlocking a range of memory. A call to mlock() 312 migrated out from under us, while we're trying to mlock it. To detect this, [all …]
|
/kernel/linux/linux-5.10/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 | 471 mutex_lock(&indio_dev->mlock); in vf610_set_conversion_mode() 475 mutex_unlock(&indio_dev->mlock); in vf610_set_conversion_mode() 639 mutex_lock(&indio_dev->mlock); in vf610_read_raw() 641 mutex_unlock(&indio_dev->mlock); in vf610_read_raw() 652 mutex_unlock(&indio_dev->mlock); in vf610_read_raw() 656 mutex_unlock(&indio_dev->mlock); in vf610_read_raw() 675 mutex_unlock(&indio_dev->mlock); in vf610_read_raw() 679 mutex_unlock(&indio_dev->mlock); in vf610_read_raw()
|
D | rockchip_saradc.c | 95 mutex_lock(&indio_dev->mlock); in rockchip_saradc_read_raw() 100 mutex_unlock(&indio_dev->mlock); in rockchip_saradc_read_raw() 105 mutex_unlock(&indio_dev->mlock); in rockchip_saradc_read_raw() 257 mutex_lock(&i_dev->mlock); in rockchip_saradc_trigger_handler() 274 mutex_unlock(&i_dev->mlock); in rockchip_saradc_trigger_handler()
|
D | spear_adc.c | 149 mutex_lock(&indio_dev->mlock); in spear_adc_read_raw() 162 mutex_unlock(&indio_dev->mlock); in spear_adc_read_raw() 190 mutex_lock(&indio_dev->mlock); in spear_adc_write_raw() 202 mutex_unlock(&indio_dev->mlock); in spear_adc_write_raw()
|
D | ad799x.c | 356 mutex_lock(&indio_dev->mlock); in ad799x_write_frequency() 378 mutex_unlock(&indio_dev->mlock); in ad799x_write_frequency() 459 mutex_lock(&indio_dev->mlock); in ad799x_write_event_value() 463 mutex_unlock(&indio_dev->mlock); in ad799x_write_event_value() 478 mutex_lock(&indio_dev->mlock); in ad799x_read_event_value() 481 mutex_unlock(&indio_dev->mlock); in ad799x_read_event_value()
|
D | imx7d_adc.c | 295 mutex_lock(&indio_dev->mlock); in imx7d_adc_read_raw() 305 mutex_unlock(&indio_dev->mlock); in imx7d_adc_read_raw() 309 mutex_unlock(&indio_dev->mlock); in imx7d_adc_read_raw() 314 mutex_unlock(&indio_dev->mlock); in imx7d_adc_read_raw()
|
D | sc27xx_adc.c | 336 mutex_lock(&indio_dev->mlock); in sc27xx_adc_read_raw() 338 mutex_unlock(&indio_dev->mlock); in sc27xx_adc_read_raw() 347 mutex_lock(&indio_dev->mlock); in sc27xx_adc_read_raw() 350 mutex_unlock(&indio_dev->mlock); in sc27xx_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 | 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()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-aggregator.c | 301 struct mutex mlock; /* protects tmp[] if can_sleep */ member 375 mutex_lock(&fwd->mlock); in gpio_fwd_get_multiple_locked() 377 mutex_unlock(&fwd->mlock); in gpio_fwd_get_multiple_locked() 426 mutex_lock(&fwd->mlock); in gpio_fwd_set_multiple_locked() 428 mutex_unlock(&fwd->mlock); in gpio_fwd_set_multiple_locked() 507 mutex_init(&fwd->mlock); in gpiochip_fwd_create()
|
/kernel/linux/linux-5.10/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() 408 mutex_lock(&indio_dev->mlock); in iio_trigger_write_current() 410 mutex_unlock(&indio_dev->mlock); in iio_trigger_write_current() 414 mutex_unlock(&indio_dev->mlock); in iio_trigger_write_current() 417 mutex_unlock(&indio_dev->mlock); in iio_trigger_write_current()
|
D | industrialio-buffer.c | 388 mutex_lock(&indio_dev->mlock); in iio_scan_el_store() 407 mutex_unlock(&indio_dev->mlock); in iio_scan_el_store() 437 mutex_lock(&indio_dev->mlock); in iio_scan_el_ts_store() 444 mutex_unlock(&indio_dev->mlock); in iio_scan_el_ts_store() 528 mutex_lock(&indio_dev->mlock); in iio_buffer_write_length() 540 mutex_unlock(&indio_dev->mlock); in iio_buffer_write_length() 1123 mutex_lock(&indio_dev->mlock); in iio_update_buffers() 1144 mutex_unlock(&indio_dev->mlock); in iio_update_buffers() 1172 mutex_lock(&indio_dev->mlock); in iio_buffer_store_enable() 1186 mutex_unlock(&indio_dev->mlock); in iio_buffer_store_enable() [all …]
|
D | TODO | 10 - Replace iio_dev->mlock by either a local lock or use
|
/kernel/linux/linux-5.10/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 | 121 mutex_lock(&ts->mlock); in tsc2007_soft_irq() 123 mutex_unlock(&ts->mlock); in tsc2007_soft_irq() 352 mutex_init(&ts->mlock); in tsc2007_probe()
|
D | tsc2007.h | 81 struct mutex mlock; member
|
/kernel/linux/linux-5.10/drivers/iio/common/st_sensors/ |
D | st_sensors_core.c | 561 mutex_lock(&indio_dev->mlock); in st_sensors_read_info_raw() 586 mutex_unlock(&indio_dev->mlock); in st_sensors_read_info_raw() 659 mutex_lock(&indio_dev->mlock); in st_sensors_sysfs_sampling_frequency_avail() 667 mutex_unlock(&indio_dev->mlock); in st_sensors_sysfs_sampling_frequency_avail() 681 mutex_lock(&indio_dev->mlock); in st_sensors_sysfs_scale_avail() 691 mutex_unlock(&indio_dev->mlock); in st_sensors_sysfs_scale_avail()
|
/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | core.c | 57 mutex_lock(&dev->mlock); in nvm_target_exists() 61 mutex_unlock(&dev->mlock); in nvm_target_exists() 65 mutex_unlock(&dev->mlock); in nvm_target_exists() 420 mutex_lock(&dev->mlock); in nvm_create_tgt() 422 mutex_unlock(&dev->mlock); in nvm_create_tgt() 483 mutex_lock(&dev->mlock); in nvm_remove_tgt() 486 mutex_unlock(&dev->mlock); in nvm_remove_tgt() 489 mutex_unlock(&dev->mlock); in nvm_remove_tgt() 1105 mutex_init(&dev->mlock); in nvm_core_init() 1213 mutex_lock(&dev->mlock); in nvm_unregister() [all …]
|
/kernel/liteos_a/testsuites/unittest/fuzz/ |
D | mlock_fuzzer.cpp | 43 mlock(p, lockSize); in TestMlock()
|
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-prng.c | 124 mutex_lock(&ss->mlock); in sun8i_ss_prng_generate() 156 mutex_unlock(&ss->mlock); in sun8i_ss_prng_generate()
|
/kernel/linux/linux-5.10/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()
|