函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swapfile.c Create Date:2022-07-27 16:49:20
Last Modify:2020-03-17 22:19:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:enable_swap_info

函数原型:static void enable_swap_info(struct swap_info_struct *p, int prio, unsigned char *swap_map, struct swap_cluster_info *cluster_info, unsigned long *frontswap_map)

返回类型:void

参数:

类型参数名称
struct swap_info_struct *p
intprio
unsigned char *swap_map
struct swap_cluster_info *cluster_info
unsigned long *frontswap_map
2476  frontswap_init(strange name for an index , frontswap_map)
2477  加自旋锁
2478  加自旋锁
2479  setup_swap_info(p, prio, swap_map, cluster_info)
2480  自旋锁解锁
2481  自旋锁解锁
2486  synchronize_rcu - wait until a grace period has elapsed
2487  加自旋锁
2488  加自旋锁
2489  _enable_swap_info(p)
2490  自旋锁解锁
2491  自旋锁解锁
调用者
名称描述
SYSCALL_DEFINE2