Home
last modified time | relevance | path

Searched refs:sect_attrs (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/kernel/module/
Dsysfs.c63 static void free_sect_attrs(struct module_sect_attrs *sect_attrs) in free_sect_attrs() argument
67 for (section = 0; section < sect_attrs->nsections; section++) in free_sect_attrs()
68 kfree(sect_attrs->attrs[section].battr.attr.name); in free_sect_attrs()
69 kfree(sect_attrs); in free_sect_attrs()
75 struct module_sect_attrs *sect_attrs; in add_sect_attrs() local
83 size[0] = ALIGN(struct_size(sect_attrs, attrs, nloaded), in add_sect_attrs()
84 sizeof(sect_attrs->grp.bin_attrs[0])); in add_sect_attrs()
85 size[1] = (nloaded + 1) * sizeof(sect_attrs->grp.bin_attrs[0]); in add_sect_attrs()
86 sect_attrs = kzalloc(size[0] + size[1], GFP_KERNEL); in add_sect_attrs()
87 if (!sect_attrs) in add_sect_attrs()
[all …]
/linux-6.1.9/scripts/gdb/linux/
Dsymbols.py94 sect_attrs = module['sect_attrs'].dereference()
97 attrs = sect_attrs['attrs']
100 for n in range(int(sect_attrs['nsections']))}
/linux-6.1.9/include/linux/
Dmodule.h446 struct module_sect_attrs *sect_attrs; member