Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/mm/
Dswap.c359 local_lock(&cpu_fbatches.lock); in folio_activate()
389 local_lock(&cpu_fbatches.lock); in __lru_cache_activate_folio()
515 local_lock(&cpu_fbatches.lock); in folio_add_lru()
699 local_lock(&cpu_fbatches.lock); in deactivate_file_folio()
720 local_lock(&cpu_fbatches.lock); in folio_deactivate()
742 local_lock(&cpu_fbatches.lock); in folio_mark_lazyfree()
751 local_lock(&cpu_fbatches.lock); in lru_add_drain()
765 local_lock(&cpu_fbatches.lock); in lru_add_and_bh_lrus_drain()
774 local_lock(&cpu_fbatches.lock); in lru_add_drain_cpu_zone()
Dmlock.c217 local_lock(&mlock_fbatch.lock); in mlock_drain_local()
247 local_lock(&mlock_fbatch.lock); in mlock_folio()
273 local_lock(&mlock_fbatch.lock); in mlock_new_folio()
295 local_lock(&mlock_fbatch.lock); in munlock_folio()
Dmmap_lock.c159 local_lock(&memcg_paths.lock); \
Dzsmalloc.c1230 local_lock(&zs_map_area.lock); in zs_map_object()
Dslub.c3772 local_lock(&s->cpu_slab->lock); in do_slab_free()
/Linux-v6.6/tools/testing/radix-tree/linux/
Dlocal_lock.h5 static inline void local_lock(local_lock_t *lock) { } in local_lock() function
/Linux-v6.6/include/linux/
Dlocal_lock.h16 #define local_lock(lock) __local_lock(lock) macro
/Linux-v6.6/Documentation/bpf/
Dmap_lru_hash_update.dot14 local_lock [shape=rectangle,fillcolor=1,label="local CPU LRU lock"]
150 no_lock -> local_lock [style=invis]
151 local_lock -> lru_lock [style=invis]
/Linux-v6.6/fs/squashfs/
Ddecompressor_multi_percpu.c85 local_lock(&percpu->lock); in squashfs_decompress()
/Linux-v6.6/drivers/block/zram/
Dzcomp.c108 local_lock(&comp->stream->lock); in zcomp_stream_get()
/Linux-v6.6/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-v6.6/lib/
Dradix-tree.c334 local_lock(&radix_tree_preloads.lock); in __radix_tree_preload()
341 local_lock(&radix_tree_preloads.lock); in __radix_tree_preload()
383 local_lock(&radix_tree_preloads.lock); in radix_tree_maybe_preload()
1472 local_lock(&radix_tree_preloads.lock); in idr_preload()
Dlocking-selftest.c2649 local_lock(&local_A); /* IRQ-ON */ in local_lock_2()
2659 local_lock(&local_A); /* IN-IRQ <-> IRQ-ON cycle, false */ in local_lock_2()
2667 local_lock(&local_A); /* IRQ-ON */ in local_lock_3A()
2679 local_lock(&local_A); /* IN-IRQ <-> IRQ-ON cycle only if we count local_lock(), false */ in local_lock_3A()
2687 local_lock(&local_A); /* IRQ-ON */ in local_lock_3B()
2699 local_lock(&local_A); /* IN-IRQ <-> IRQ-ON cycle only if we count local_lock(), false */ in local_lock_3B()
/Linux-v6.6/drivers/connector/
Dcn_proc.c92 local_lock(&local_event.lock); in send_msg()
/Linux-v6.6/kernel/
Dsoftirq.c153 local_lock(&softirq_ctrl.lock); in __local_bh_disable_ip()
/Linux-v6.6/Documentation/filesystems/
Dorangefs.rst198 local_lock
201 locking kicks in if the filesystem is mounted with -o local_lock.
/Linux-v6.6/drivers/scsi/fcoe/
Dfcoe.c1455 local_lock(&fcoe_percpu.lock); in fcoe_alloc_paged_crc_eof()
/Linux-v6.6/drivers/md/
Draid5.c2297 local_lock(&conf->percpu->lock); in raid_run_ops()