Home
last modified time | relevance | path

Searched refs:mk (Results 1 – 2 of 2) sorted by relevance

/kernel/
Dparams.c558 struct module_kobject *mk, char *buf) in param_attr_show() argument
566 kernel_param_lock(mk->mod); in param_attr_show()
568 kernel_param_unlock(mk->mod); in param_attr_show()
574 struct module_kobject *mk, in param_attr_store() argument
583 kernel_param_lock(mk->mod); in param_attr_store()
588 kernel_param_unlock(mk->mod); in param_attr_store()
625 static __modinit int add_sysfs_param(struct module_kobject *mk, in add_sysfs_param() argument
636 if (!mk->mp) { in add_sysfs_param()
638 mk->mp = kzalloc(sizeof(*mk->mp), GFP_KERNEL); in add_sysfs_param()
639 if (!mk->mp) in add_sysfs_param()
[all …]
/kernel/module/
Dmain.c507 struct module_kobject *mk, char *buffer) \
509 return scnprintf(buffer, PAGE_SIZE, "%s\n", mk->mod->field); \
814 struct module_kobject *mk, char *buffer) in show_refcnt() argument
816 return sprintf(buffer, "%i\n", module_refcount(mk->mod)); in show_refcnt()
896 struct module_kobject *mk, char *buffer) in show_initstate() argument
900 switch (mk->mod->state) { in show_initstate()
920 struct module_kobject *mk, in store_uevent() argument
925 rc = kobject_synth_uevent(&mk->kobj, buffer, count); in store_uevent()
933 struct module_kobject *mk, char *buffer) in show_coresize() argument
935 return sprintf(buffer, "%u\n", mk->mod->core_layout.size); in show_coresize()
[all …]