函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-merge.c Create Date:2022-07-27 18:41:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ll_front_merge_fn

函数原型:int ll_front_merge_fn(struct request *req, struct bio *bio, unsigned int nr_segs)

返回类型:int

参数:

类型参数名称
struct request *req
struct bio *bio
unsigned intnr_segs
610  如果req_gap_front_merge(req, bio)则返回:0
612  如果blk_integrity_rq(req)且integrity_req_gap_front_merge(req, bio)则返回:0
615  如果blk_rq_sectors(req)加bio_sectors(bio)大于blk_rq_get_max_sectors(req, device address in 512 byte sectors )则
617  req_set_nomerge(q, req)
618  返回:0
621  返回:ll_new_hw_segment(req, bio, nr_segs)