Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\do_mounts.c Create Date:2022-07-28 13:56:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:match_dev_by_label - callback for finding a partition using its label*@dev: device passed in by the caller*@data: opaque pointer to the label to match* Returns 1 if the device matches, and 0 otherwise.

Proto:static int match_dev_by_label(struct device *dev, const void *data)

Type:int

Parameter:

TypeParameterName
struct device *dev
const void *data
182  label = data
183  part = dev_to_part(dev)
185  If info && Not strcmp(label, volname) Then Return 1
188  Return 0