Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\writeback.h Create Date:2022-07-28 05:57:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:wbc_to_write_flags

Proto:static inline int wbc_to_write_flags(struct writeback_control *wbc)

Type:int

Parameter:

TypeParameterName
struct writeback_control *wbc
99  flags = 0
101  If cgrp punting, see __REQ_CGROUP_PUNT Then flags = REQ_CGROUP_PUNT
104  If sync_mode == Wait on every mapping Then flags |= REQ_SYNC
106  Else if A kupdate writeback || A background writeback Then flags |= REQ_BACKGROUND
109  Return flags
Caller
NameDescribe
__swap_writepage
__block_write_full_pageWhile block_write_full_page is writing back the dirty buffers under* the page lock, whoever dirtied the buffers may decide to clean them* again at any time
__mpage_writepage
iomap_alloc_ioend