Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\genhd.c Create Date:2022-07-28 17:18:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sysfs access to bad-blocks list.

Proto:static ssize_t disk_badblocks_show(struct device *dev, struct device_attribute *attr, char *page)

Type:ssize_t

Parameter:

TypeParameterName
struct device *dev
struct device_attribute *attr
char *page
843  disk = dev_to_disk(dev)
845  If Not bb Then Return sprintf(page, "\n")
848  Return badblocks_show(bb, page, 0)