Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:integrity_generate_store

Proto:static ssize_t integrity_generate_store(struct blk_integrity *bi, const char *page, size_t count)

Type:ssize_t

Parameter:

TypeParameterName
struct blk_integrity *bi
const char *page
size_tcount
291  p = page
292  val = simple_strtoul - convert a string to an unsigned long*@cp: The start of the string*@endp: A pointer to the end of the parsed string will be placed here*@base: The number base to use* This function is obsolete. Please use kstrtoul instead.
294  If val Then flags |= BLK_INTEGRITY_GENERATE
296  Else flags &= ~BLK_INTEGRITY_GENERATE
299  Return count