函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\direct-io.c Create Date:2022-07-29 11:07:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:iomap_dio_bio_end_io

函数原型:static void iomap_dio_bio_end_io(struct bio *bio)

返回类型:void

参数:

类型参数名称
struct bio *bio
148  dio等于bi_private
149  should_dirty等于flags按位与IOMAP_DIO_DIRTY
151  如果bi_statusSet an error in the dio if none is set yet. We have to use cmpxchg* as the submission context and the completion context(s) can race to* update the error.
154  如果atomic_dec_and_test( & ref)则
155  如果wait_for_completion
156  waiter等于waiter
157  WRITE_ONCE(waiter, NULL)
159  否则如果flags按位与IOMAP_DIO_WRITE
164  否则
169  如果should_dirty
170  bio_check_pages_dirty(bio)
171  否则
172  bio_release_pages(bio, false)
173  bio_put(bio)