Function report |
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 activity | Download SCCT | Chinese |
Name:bdev_logical_block_size
Proto:static inline unsigned int bdev_logical_block_size(struct block_device *bdev)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
struct block_device * | bdev |
1306 | Return queue_logical_block_size(bdev_get_queue(bdev)) |
Name | Describe |
---|---|
__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_zeroout | lkdev_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_ioctl | always keep this in sync with compat_blkdev_ioctl() |
atari_partition | |
parse_extended | Create 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_partition | This is the main function, called by check.c |
last_lba | last_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_lba | ad_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_header | alloc_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_valid | s_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_ioctl | Most 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_IO | This is a library function for use by filesystem drivers |
dax_range_is_aligned | |
iomap_dio_bio_actor |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |