函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mempool.h Create Date:2022-07-27 06:46:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mempool_initialized

函数原型:static inline bool mempool_initialized(mempool_t *pool)

返回类型:bool

参数:

类型参数名称
mempool_t *pool
30  返回:elements != NULL
调用者
名称描述
bio_alloc_bioset_alloc_bioset - allocate a bio for I/O*@gfp_mask: the GFP_* mask given to the slab allocator*@nr_iovecs: number of iovecs to pre-allocate*@bs: the bio_set to allocate from
init_emergency_isa_poolgets called "every" time someone init's a queue with BLK_BOUNCE_ISA* as the max address, so check if the pool has already been created.
blk_queue_bounce
bio_integrity_alloc_integrity_alloc - Allocate integrity payload and attach it to bio*@bio: bio to attach integrity metadata to*@gfp_mask: Memory allocation mask*@nr_vecs: Number of integrity metadata scatter-gather elements* Description: This function prepares a bio for
bio_integrity_free_integrity_free - Free bio integrity payload*@bio: bio containing bip to be freed* Description: Used to free the integrity portion of a bio. Usually* called from bio_free().
bioset_integrity_create