Searched refs:mk (Results 1 – 2 of 2) sorted by relevance
/kernel/ |
D | params.c | 539 struct module_kobject *mk, char *buf) in param_attr_show() argument 547 kernel_param_lock(mk->mod); in param_attr_show() 549 kernel_param_unlock(mk->mod); in param_attr_show() 555 struct module_kobject *mk, in param_attr_store() argument 564 kernel_param_lock(mk->mod); in param_attr_store() 569 kernel_param_unlock(mk->mod); in param_attr_store() 606 static __modinit int add_sysfs_param(struct module_kobject *mk, in add_sysfs_param() argument 617 if (!mk->mp) { in add_sysfs_param() 619 mk->mp = kzalloc(sizeof(*mk->mp), GFP_KERNEL); in add_sysfs_param() 620 if (!mk->mp) in add_sysfs_param() [all …]
|
D | module.c | 776 struct module_kobject *mk, char *buffer) \ 778 return scnprintf(buffer, PAGE_SIZE, "%s\n", mk->mod->field); \ 1103 struct module_kobject *mk, char *buffer) in show_refcnt() argument 1105 return sprintf(buffer, "%i\n", module_refcount(mk->mod)); in show_refcnt() 1192 struct module_kobject *mk, char *buffer) in show_initstate() argument 1196 switch (mk->mod->state) { in show_initstate() 1216 struct module_kobject *mk, in store_uevent() argument 1221 rc = kobject_synth_uevent(&mk->kobj, buffer, count); in store_uevent() 1229 struct module_kobject *mk, char *buffer) in show_coresize() argument 1231 return sprintf(buffer, "%u\n", mk->mod->core_layout.size); in show_coresize() [all …]
|