Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ldm_free_vblks - Free a linked list of vblk's*@lh: Head of a linked list of struct vblk* Free a list of vblk's and free the memory used to maintain the list.* Return: none

Proto:static void ldm_free_vblks(struct list_head *lh)

Type:void

Parameter:

TypeParameterName
struct list_head *lh
1416  BUG_ON(!lh)
1418  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, lh)
1419  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, structvblk, list))
Caller
NameDescribe
ldm_partitionldm_partition - Find out whether a device is a dynamic disk and handle it*@state: Partition check state including device holding the LDM Database* This determines whether the device @bdev is a dynamic disk and if so creates