Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/scripts/gdb/linux/
H A Dsymbols.py94 sect_attrs = module['sect_attrs'].dereference()
97 attrs = sect_attrs['attrs']
100 for n in range(int(sect_attrs['nsections']))}
/OK3568_Linux_fs/kernel/kernel/
H A Dmodule.c1591 static void free_sect_attrs(struct module_sect_attrs *sect_attrs) in free_sect_attrs() argument
1595 for (section = 0; section < sect_attrs->nsections; section++) in free_sect_attrs()
1596 kfree(sect_attrs->attrs[section].battr.attr.name); in free_sect_attrs()
1597 kfree(sect_attrs); in free_sect_attrs()
1603 struct module_sect_attrs *sect_attrs; in add_sect_attrs() local
1611 size[0] = ALIGN(struct_size(sect_attrs, attrs, nloaded), in add_sect_attrs()
1612 sizeof(sect_attrs->grp.bin_attrs[0])); in add_sect_attrs()
1613 size[1] = (nloaded + 1) * sizeof(sect_attrs->grp.bin_attrs[0]); in add_sect_attrs()
1614 sect_attrs = kzalloc(size[0] + size[1], GFP_KERNEL); in add_sect_attrs()
1615 if (sect_attrs == NULL) in add_sect_attrs()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dmodule.h461 struct module_sect_attrs *sect_attrs; member