Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swapfile.c Create Date:2022-07-28 15:16:51
Last Modify:2020-03-17 22:19:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:add_to_avail_list

Proto:static void add_to_avail_list(struct swap_info_struct *p)

Type:void

Parameter:

TypeParameterName
struct swap_info_struct *p
694  spin_lock( & swap_avail_lock)
695  for_each_node(nid)
696  WARN_ON(!plist_node_empty - return !0 if plist_node is not on a list*@node: &struct plist_node pointer)
697  plist_add - add @node to @head*@node: &struct plist_node pointer*@head: &struct plist_head pointer
699  spin_unlock( & swap_avail_lock)
Caller
NameDescribe
swap_range_free
_enable_swap_info