Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:queue_logical_block_size

Proto:static inline unsigned queue_logical_block_size(const struct request_queue *q)

Type:unsigned

Parameter:

TypeParameterName
const struct request_queue *q
1296  retval = 512
1298  If q && logical_block_size Then retval = logical_block_size
1301  Return retval
Caller
NameDescribe
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