Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bdev_logical_block_size

Proto:static inline unsigned int bdev_logical_block_size(struct block_device *bdev)

Type:unsigned int

Parameter:

TypeParameterName
struct block_device *bdev
1306  Return queue_logical_block_size(bdev_get_queue(bdev))
Caller
NameDescribe
__blkdev_issue_discard
__blkdev_issue_write_same__blkdev_issue_write_same - generate number of bios with same page*@bdev: target blockdev*@sector: start sector*@nr_sects: number of sectors to write*@gfp_mask: memory allocation flags (for bio_alloc)*@page: page containing data to write*@biop: pointer to
__blkdev_issue_zeroout__blkdev_issue_zeroout - generate number of zero filed write bios*@bdev: blockdev to issue*@sector: start sector*@nr_sects: number of sectors to write*@gfp_mask: memory allocation flags (for bio_alloc)*@biop: pointer to anchor bio*@flags: controls
blkdev_issue_zerooutlkdev_issue_zeroout - zero-fill a block range*@bdev: blockdev to write*@sector: start sector*@nr_sects: number of sectors to write*@gfp_mask: memory allocation flags (for bio_alloc)*@flags: controls detailed behavior* Description:* Zero-fill a block
blkpg_ioctl
blkdev_ioctlalways keep this in sync with compat_blkdev_ioctl()
atari_partition
parse_extendedCreate devices for each logical partition in an extended partition.* The logical partitions form a linked list, with each entry being* a partition table with two entries. The first entry* is the real data partition (with a start relative to the partition
msdos_partition
ibm_partitionThis is the main function, called by check.c
last_lbalast_lba(): return number of last logical block of device*@bdev: block device* Description: Returns last LBA value on success, 0 on error.* This is stored (by sd and ide-geometry) in* the part[0] entry for this disk, and is the number of
read_lbaad_lba(): Read bytes from disk, starting at given LBA*@state: disk parsed partitions*@lba: the Logical Block Address of the partition table*@buffer: destination buffer*@count: bytes to read* Description: Reads @count bytes from @state->bdev into @buffer.
alloc_read_gpt_headeralloc_read_gpt_header(): Allocates GPT header, reads into it from disk*@state: disk parsed partitions*@lba: the Logical Block Address of the partition table* Description: returns GPT header on success, NULL on error. Allocates
is_gpt_valids_gpt_valid() - tests one GPT header and PTEs for validity*@state: disk parsed partitions*@lba: logical block address of the GPT header to test*@gpt: GPT header ptr, filled on return.*@ptes: PTEs ptr, filled on return.
efi_partition_partition(struct parsed_partitions *state)*@state: disk parsed partitions* Description: called from check.c, if the disk contains GPT* partitions, sets up partition entries in the kernel.* If the first block on the disk is a legacy MBR,
compat_blkdev_ioctlMost of the generic ioctls are handled in the normal fallback path.This assumes the blkdev's low level compat_ioctl always returnsENOIOCTLCMD for unknown ioctls.
__getblk_slow
set_init_blocksize
set_blocksize
sb_min_blocksize
__blkdev_direct_IO_simple
__blkdev_direct_IO
blkdev_fallocate
do_blockdev_direct_IOThis is a library function for use by filesystem drivers
dax_range_is_aligned
iomap_dio_bio_actor