Lines Matching full:update
47 const struct attribute_group *grp, int update) in create_files() argument
58 * In update mode, we're changing the permissions or in create_files()
62 if (update) in create_files()
92 if (update) in create_files()
123 static int internal_create_group(struct kobject *kobj, int update, in internal_create_group() argument
131 if (WARN_ON(!kobj || (!update && !kobj->sd))) in internal_create_group()
135 if (unlikely(update && !kobj->sd)) in internal_create_group()
153 if (update) { in internal_create_group()
158 /* may have been invisible prior to this update */ in internal_create_group()
159 update = 0; in internal_create_group()
167 if (!update) { in internal_create_group()
183 error = create_files(kn, kobj, uid, gid, grp, update); in internal_create_group()
190 if (grp->name && update) in internal_create_group()
213 static int internal_create_groups(struct kobject *kobj, int update, in internal_create_groups() argument
223 error = internal_create_group(kobj, update, groups[i]); in internal_create_groups()
255 * @kobj: The kobject to update the group on
256 * @groups: The attribute groups to update, NULL terminated
258 * This function update a bunch of attribute groups. If an error occurs when
272 * sysfs_update_group - given a directory kobject, update an attribute group
273 * @kobj: The kobject to update the group on
274 * @grp: The attribute group to update
280 * callback, it will update the permissions and add or remove the