函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\sg_pool.c Create Date:2022-07-27 08:19:17
Last Modify:2022-05-21 18:25:42 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sg_free_table_chained - Free a previously mapped sg table*@table: The sg table header to use*@nents_first_chunk: size of the first_chunk SGL passed to* sg_alloc_table_chained* Description:* Free an sg table previously allocated and setup with

函数原型:void sg_free_table_chained(struct sg_table *table, unsigned nents_first_chunk)

返回类型:void

参数:

类型参数名称
struct sg_table *table
unsignednents_first_chunk
87  如果 original size of list 小于等于nents_first_chunk则返回
90  如果nents_first_chunk恒等于1则nents_first_chunk等于0
93  __sg_free_table - Free a previously mapped sg table*@table: The sg table header to use*@max_ents: The maximum number of entries per single scatterlist*@nents_first_chunk: Number of entries int the (preallocated) first* scatterlist chunk, 0 means no such
调用者
名称描述
sg_alloc_table_chainedsg_alloc_table_chained - Allocate and chain SGLs in an sg table*@table: The sg table header to use*@nents: Number of entries in sg list*@first_chunk: first SGL*@nents_first_chunk: number of the SGL of @first_chunk* Description: