Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\mutex.c Create Date:2022-07-28 09:47:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mutex_trylock - try to acquire the mutex, without waiting*@lock: the mutex to be acquired* Try to acquire the mutex atomically

Proto:int __sched mutex_trylock(struct mutex *lock)

Type:int

Parameter:

TypeParameterName
struct mutex *lock
1418  locked = Actual trylock that will work on any unlocked state.
1419  If locked Then mutex_acquire( & dep_map, 0, 1, _RET_IP_)
1422  Return locked
Caller
NameDescribe
ww_test_normal
mutex_trylock_recursive
enter_stater_state - Do common work needed to enter system sleep state.*@state: System sleep state to enter.* Make sure that no one else is trying to put the system into a sleep state.* Fail if that's not the case. Otherwise, prepare for system suspend, make the
snapshot_ioctl
rcu_torture_boost
__crash_kexecNo panic_cpu check version of crash_kexec(). This function is called* only when panic_cpu holds the current CPU number; this is the only CPU* which processes crash_kexec routines.
kernel_kexecMove into place and start executing a preloaded standalone* executable. If nothing was preloaded return an error.
SYSCALL_DEFINE4
COMPAT_SYSCALL_DEFINE4
SYSCALL_DEFINE5
try_stop_cpusry_stop_cpus - try to stop multiple cpus*@cpumask: cpus to stop*@fn: function to execute*@arg: argument to @fn* Identical to stop_cpus() except that it fails with -EAGAIN if* someone else is already using the facility
stop_machine_from_inactive_cpustop_machine_from_inactive_cpu - stop_machine() from inactive CPU*@fn: the function to run*@data: the data ptr for the @fn()*@cpus: the cpus to run the @fn() on (NULL = any online cpu)* This is identical to stop_machine() but can be called from a CPU which
dump_unreclaimable_slab
try_purge_vmap_area_lazyKick off a purge of the outstanding lazy areas. Don't bother if somebody* is already purging.
drain_all_pagesSpill all the per-cpu pages from all CPUs back into the buddy allocator.* When zone parameter is non-NULL, spill just the single zone's pages.* Note that this can be extremely slow as the draining happens in a workqueue.
__alloc_pages_may_oom
cache_reapache_reap - Reclaim memory from caches
drain_all_stockDrains all per-CPU charge caches for given root_memcg resp. subtree* of the hierarchy under it.
aio_migratepage