函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\partitions\ldm.c Create Date:2022-07-27 19:04:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ldm_frag_free - Free a linked list of VBLK fragments*@list: Linked list of fragments* Free a linked list of VBLK fragments* Return: none

函数原型:static void ldm_frag_free(struct list_head *list)

返回类型:void

参数:

类型参数名称
struct list_head *list
1301  BUG_ON(!list)
1303  list_for_each_safe - iterate over a list safe against removal of list entry*@pos: the &struct list_head to use as a loop cursor.*@n: another &struct list_head to use as temporary storage*@head: the head for your list.(item, tmp, list)
1304  释放内存
调用者
名称描述
ldm_get_vblksldm_get_vblks - Read the on-disk database of VBLKs into memory*@state: Partition check state including device holding the LDM Database*@base: Offset, into @state->bdev, of the database*@ldb: Cache of the database structures* To use the information from