Function report |
Source Code:kernel\power\hibernate.c |
Create Date:2022-07-28 09:59:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:resume_store
Proto:static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t n)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct kobject * | kobj | |
struct kobj_attribute * | attr | |
const char * | buf | |
size_t | n |
1059 | name = kstrndup(buf, len, GFP_KERNEL) |
1063 | res = name_to_dev_t(name) |
1068 | lock_system_sleep() |
1069 | swsusp_resume_device = res |
1070 | unlock_system_sleep() |
1071 | pm_pr_dbg("Configured resume from disk to %u\n", swsusp_resume_device) |
1072 | noresume = 0 |
1074 | Return n |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |