Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rylock for reading -- returns 1 if successful, 0 if contention

Proto:int down_read_trylock(struct rw_semaphore *sem)

Type:int

Parameter:

TypeParameterName
struct rw_semaphore *sem
1520  ret = __down_read_trylock(sem)
1522  If ret == 1 Then rwsem_acquire_read( & dep_map, 0, 1, _RET_IP_)
1524  Return ret
Caller
NameDescribe
stack_map_get_build_id_offset
shrink_slab_memcg
shrink_slabshrink_slab - shrink slab caches*@gfp_mask: allocation context*@nid: node whose slab caches to target*@memcg: memory cgroup whose slab caches to target*@priority: the reclaim priority* Call the shrink functions to age shrinkable caches
vm_insert_pagevm_insert_page - insert single page into user vma*@vma: user vma to map to*@addr: target user address of this page*@page: source kernel page* This allows drivers to insert individual pages they've allocated* into a user vma.
print_vma_addrPrint the name of a VMA.
mm_take_all_locksThis operation locks against the VM for all pte/vma/mm related* operations that could ever happen on a certain mm. This includes* vmtruncate, try_to_unmap, and all page faults.* The caller must take the mmap_sem in write mode before calling
mm_drop_all_locksThe mmap_sem cannot be released by the caller until* mm_drop_all_locks() returns.
page_lock_anon_vma_readSimilar to page_get_anon_vma() except it locks the anon_vma.* Its a little more complex as it tries to keep the fast path to a single* atomic op -- the trylock. If we fail the trylock, we fall back to getting a
khugepaged_scan_mm_slot
mem_cgroup_move_charge
shrink_dcache_for_umountdestroy the dentries attached to a superblock on unmounting
try_to_writeback_inodes_sbry_to_writeback_inodes_sb - try to start writeback if none underway*@sb: the superblock*@reason: reason why some writeback work was initiated* Invoke __writeback_inodes_sb_nr if no writeback is currently underway.
dquot_disableTurn quota off on a device. type == -1 ==> quotaoff for all types (umount)
dquot_load_quota_sb
dquot_resumeReenable quotas on remount RW