Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\partitions\ldm.c Create Date:2022-07-28 17:28:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ldm_frag_free - Free a linked list of VBLK fragments*@list: Linked list of fragments* Free a linked list of VBLK fragments* Return: none

Proto:static void ldm_frag_free(struct list_head *list)

Type:void

Parameter:

TypeParameterName
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  kfree(list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(item, structfrag, list))
Caller
NameDescribe
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