【CPUMask】内核相关函数

Function Name:zalloc_cpumask_var_node

Function:static inline bool zalloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node)

Return Type:static inline bool

Parameter:

Type Parameter Name Remarks
cpumask_var_t * mask  
gfp_t flags  
int node  

Function description:

690   Returning true


Function Name:srcu_init_notifier_head

Function:void srcu_init_notifier_head(struct srcu_notifier_head *nh)

Return Type:void

Parameter:

Type Parameter Name Remarks
struct srcu_notifier_head * nh Pointer to head of the srcu notifier chain

Function description: Initialize an SRCU notifier head

525   mutex_init
526   If init_srcu_struct < 0 then BUG
528   head = NULL


猜你喜欢

转载自blog.csdn.net/feifei_csdn/article/details/80819497