Lines Matching refs:bin_attr
24 struct bin_attribute *const *bin_attr; in remove_files() local
30 for (bin_attr = grp->bin_attrs; *bin_attr; bin_attr++) in remove_files()
31 kernfs_remove_by_name(parent, (*bin_attr)->attr.name); in remove_files()
39 struct bin_attribute *const *bin_attr; in create_files() local
76 for (i = 0, bin_attr = grp->bin_attrs; *bin_attr; i++, bin_attr++) { in create_files()
77 umode_t mode = (*bin_attr)->attr.mode; in create_files()
81 (*bin_attr)->attr.name); in create_files()
83 mode = grp->is_bin_visible(kobj, *bin_attr, i); in create_files()
90 (*bin_attr)->attr.name, mode); in create_files()
93 error = sysfs_add_bin_file_mode_ns(parent, *bin_attr, in create_files()
490 struct bin_attribute *const *bin_attr; in sysfs_group_attrs_change_owner() local
492 for (bin_attr = grp->bin_attrs; *bin_attr; bin_attr++) { in sysfs_group_attrs_change_owner()
493 kn = kernfs_find_and_get(grp_kn, (*bin_attr)->attr.name); in sysfs_group_attrs_change_owner()