Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:part_uevent

Proto:static int part_uevent(struct device *dev, struct kobj_uevent_env *env)

Type:int

Parameter:

TypeParameterName
struct device *dev
struct kobj_uevent_env *env
236  part = dev_to_part(dev)
238  add_uevent_var - add key value string to the environment buffer*@env: environment buffer structure*@format: printf format for the key=value pair* Returns 0 if environment variable was added successfully or -ENOMEM* if no space was available.
239  If info && volname[0] Then add_uevent_var - add key value string to the environment buffer*@env: environment buffer structure*@format: printf format for the key=value pair* Returns 0 if environment variable was added successfully or -ENOMEM* if no space was available.
241  Return 0