Home
last modified time | relevance | path

Searched refs:local_lock (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/Documentation/locking/
Dlocktypes.rst48 - local_lock
56 - local_lock
58 On non-PREEMPT_RT kernels, local_lock functions are wrappers around
158 local_lock chapter
161 local_lock provides a named scope to critical sections which are protected
164 On non-PREEMPT_RT kernels local_lock operations map to the preemption and
168 local_lock(&llock) preempt_disable()
176 The named scope of local_lock has two advantages over the regular
183 - If lockdep is enabled the local_lock gains a lockmap which allows to
189 local_lock and PREEMPT_RT
[all …]
/linux-6.1.9/mm/
Dswap.c376 local_lock(&cpu_fbatches.lock); in folio_activate()
406 local_lock(&cpu_fbatches.lock); in __lru_cache_activate_folio()
532 local_lock(&cpu_fbatches.lock); in folio_add_lru()
716 local_lock(&cpu_fbatches.lock); in deactivate_file_folio()
739 local_lock(&cpu_fbatches.lock); in deactivate_page()
763 local_lock(&cpu_fbatches.lock); in mark_page_lazyfree()
772 local_lock(&cpu_fbatches.lock); in lru_add_drain()
786 local_lock(&cpu_fbatches.lock); in lru_add_and_bh_lrus_drain()
795 local_lock(&cpu_fbatches.lock); in lru_add_drain_cpu_zone()
Dmlock.c217 local_lock(&mlock_pvec.lock); in mlock_page_drain_local()
247 local_lock(&mlock_pvec.lock); in mlock_folio()
273 local_lock(&mlock_pvec.lock); in mlock_new_page()
294 local_lock(&mlock_pvec.lock); in munlock_page()
Dmmap_lock.c159 local_lock(&memcg_paths.lock); \
Dzsmalloc.c1267 local_lock(&zs_map_area.lock); in zs_map_object()
Dslub.c3634 local_lock(&s->cpu_slab->lock); in do_slab_free()
/linux-6.1.9/tools/testing/radix-tree/linux/
Dlocal_lock.h5 static inline void local_lock(local_lock_t *lock) { } in local_lock() function
/linux-6.1.9/include/linux/
Dlocal_lock.h16 #define local_lock(lock) __local_lock(lock) macro
/linux-6.1.9/fs/squashfs/
Ddecompressor_multi_percpu.c84 local_lock(&msblk->stream->lock); in squashfs_decompress()
/linux-6.1.9/drivers/block/zram/
Dzcomp.c108 local_lock(&comp->stream->lock); in zcomp_stream_get()
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Dnic.h114 struct mutex local_lock; member
Dsiena_sriov.c824 mutex_lock(&nic_data->local_lock); in efx_vfdi_set_status_page()
845 mutex_unlock(&nic_data->local_lock); in efx_vfdi_set_status_page()
1093 mutex_lock(&nic_data->local_lock); in efx_siena_sriov_peer_work()
1148 mutex_unlock(&nic_data->local_lock); in efx_siena_sriov_peer_work()
1324 mutex_init(&nic_data->local_lock); in efx_siena_sriov_init()
/linux-6.1.9/lib/
Dradix-tree.c332 local_lock(&radix_tree_preloads.lock); in __radix_tree_preload()
339 local_lock(&radix_tree_preloads.lock); in __radix_tree_preload()
381 local_lock(&radix_tree_preloads.lock); in radix_tree_maybe_preload()
1471 local_lock(&radix_tree_preloads.lock); in idr_preload()
Dlocking-selftest.c2714 local_lock(&local_A); /* IRQ-ON */ in local_lock_2()
2724 local_lock(&local_A); /* IN-IRQ <-> IRQ-ON cycle, false */ in local_lock_2()
2732 local_lock(&local_A); /* IRQ-ON */ in local_lock_3A()
2744 local_lock(&local_A); /* IN-IRQ <-> IRQ-ON cycle only if we count local_lock(), false */ in local_lock_3A()
2752 local_lock(&local_A); /* IRQ-ON */ in local_lock_3B()
2764 local_lock(&local_A); /* IN-IRQ <-> IRQ-ON cycle only if we count local_lock(), false */ in local_lock_3B()
/linux-6.1.9/drivers/net/ethernet/sfc/
Dnic.h114 struct mutex local_lock; member
/linux-6.1.9/drivers/connector/
Dcn_proc.c53 local_lock(&local_event.lock); in send_msg()
/linux-6.1.9/kernel/
Dsoftirq.c168 local_lock(&softirq_ctrl.lock); in __local_bh_disable_ip()
/linux-6.1.9/Documentation/filesystems/
Dorangefs.rst198 local_lock
201 locking kicks in if the filesystem is mounted with -o local_lock.
/linux-6.1.9/drivers/scsi/fcoe/
Dfcoe.c1455 local_lock(&fcoe_percpu.lock); in fcoe_alloc_paged_crc_eof()
/linux-6.1.9/drivers/md/
Draid5.c2290 local_lock(&conf->percpu->lock); in raid_run_ops()