Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kobject_uevent - notify userspace by sending an uevent*@kobj: struct kobject that the action is happening to*@action: action that is happening* Returns 0 if kobject_uevent() is completed with success or the* corresponding error when it fails.

Proto:int kobject_uevent(struct kobject *kobj, enum kobject_action action)

Type:int

Parameter:

TypeParameterName
struct kobject *kobj
enum kobject_actionaction
641  Return kobject_uevent_env - send an uevent with environmental data*@kobj: struct kobject that the action is happening to*@action: action that is happening*@envp_ext: pointer to environmental data* Returns 0 if kobject_uevent_env() is completed with success or the
Caller
NameDescribe
kobject_cleanupkobject_cleanup - free kobject resources.*@kobj: object to cleanup
kset_registerkset_register() - Initialize and add a kset.*@k: kset.
elv_unregister_queuelv_unregister_queue is called from either blk_unregister_queue or* elevator_switch, elevator switch is prevented from being happen* in the two paths, so it is safe to not hold q->sysfs_lock.
blk_register_queuelk_register_queue - register a block layer queue with sysfs*@disk: Disk of which the request queue should be registered with sysfs.
blk_unregister_queuelk_unregister_queue - counterpart of blk_register_queue()*@disk: Disk of which the request queue should be unregistered from sysfs.* Note: the caller is responsible for guaranteeing that this function is called* after blk_register_queue() has finished.
blk_mq_unregister_dev
__blk_mq_register_dev
register_disk
add_partitionMust be called either with bd_mutex held, before a disk can be opened or* after all disk users are gone.
blk_add_partitions
blk_integrity_add
blk_integrity_del