函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:block_size

函数原型:static inline unsigned int block_size(struct block_device *bdev)

返回类型:unsigned int

参数:

类型参数名称
struct block_device *bdev
1484  返回:bd_block_size
调用者
名称描述
claim_swapfile
blkdev_ioctlalways keep this in sync with compat_blkdev_ioctl()
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.
get_tree_bdevget_tree_bdev - Get a superblock based on a single block device*@fc: The filesystem context holding the parameters*@fill_super: Helper to initialise a new superblock
mount_bdev