函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blkdev.h Create Date:2022-07-27 06:47:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:queue_logical_block_size

函数原型:static inline unsigned queue_logical_block_size(const struct request_queue *q)

返回类型:unsigned

参数:

类型参数名称
const struct request_queue *q
1296  retval等于512
1298  如果qlogical_block_sizeretval等于logical_block_size
1301  返回:retval
调用者
名称描述
submit_biosubmit_bio - submit a bio to the block device layer for I/O*@bio: The &struct bio which describes the I/O* submit_bio() is very similar in purpose to generic_make_request(), and* uses that function to do most of the work. Both are fairly rough
queue_logical_block_size_show
get_max_io_sizeReturn the maximum number of sectors from the start of a bio that may be* submitted as a single request to a block device. If enough sectors remain,* align the end to the physical block size. Otherwise align the end to the* logical block size
blk_integrity_registerlk_integrity_register - Register a gendisk as being integrity-capable*@disk: struct gendisk pointer to make integrity-aware*@template: block integrity profile to register* Description: When a device needs to advertise itself as being able to* send/receive
bdev_logical_block_size
bio_allowed_max_sectorsThe max size one bio can handle is UINT_MAX becasue bvec_iter.bi_size* is defined as 'unsigned int', meantime it has to aligned to with logical* block size which is the minimum accepted unit by hardware.
t10_pi_ref_tag