Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:iomap_dio_zero

Proto:static void iomap_dio_zero(struct iomap_dio *dio, struct iomap *iomap, loff_t pos, unsigned len)

Type:void

Parameter:

TypeParameterName
struct iomap_dio *dio
struct iomap *iomap
loff_tpos
unsignedlen
181  page = ZERO_PAGE(0)
182  flags = REQ_SYNC | REQ_IDLE
185  bio = bio_alloc(GFP_KERNEL, 1)
186  bio_set_dev(bio, block device for I/O )
187  device address in 512 byte sectors = iomap_sector(iomap, pos)
188  bi_private = dio
189  bi_end_io = iomap_dio_bio_end_io
191  get_page(page)
192  __bio_add_page(bio, page, len, 0)
193  bsolete, don't use in new code
194  iomap_dio_submit_bio(dio, iomap, bio)
Caller
NameDescribe
iomap_dio_bio_actor