Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\btree.c Create Date:2022-07-28 06:53:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:btree_node_alloc

Proto:static unsigned long *btree_node_alloc(struct btree_head *head, gfp_t gfp)

Type:unsigned long

Parameter:

TypeParameterName
struct btree_head *head
gfp_tgfp
97  node = mempool_alloc - allocate an element from a specific memory pool*@pool: pointer to the memory pool which was allocated via* mempool_create().*@gfp_mask: the usual allocation bitmask.* this function only sleeps if the alloc_fn() function sleeps or
98  If Value is more likely to compile time(node) Then memset(node, 0, NODESIZE)
100  Return node
Caller
NameDescribe
btree_grow
btree_insert_level