Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\buffered-io.c Create Date:2022-07-28 20:31:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:iomap_ioend_try_merge

Proto:void iomap_ioend_try_merge(struct iomap_ioend *ioend, struct list_head *more_ioends, void (*merge_private)(struct iomap_ioend *ioend, struct iomap_ioend *next))

Type:void

Parameter:

TypeParameterName
struct iomap_ioend *ioend
struct list_head *more_ioends
void (*merge_private
1218  Initialization list head
1220  When next = list_first_entry_or_null - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(more_ioends, structiomap_ioend, io_list) cycle
1222  If Not We can merge two adjacent ioends if they have the same set of work to do. Then Break
1224  list_move_tail - delete from one list and add as another's tail*@list: the entry to move*@head: the head that will follow our entry
1225  size of the extent += size of the extent
1226  If le system private data && merge_private Then merge_private(ioend, next)