Lines Matching refs:kobj
245 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns);
246 void sysfs_remove_dir(struct kobject *kobj);
247 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
249 int __must_check sysfs_move_dir_ns(struct kobject *kobj,
257 int __must_check sysfs_create_file_ns(struct kobject *kobj,
260 int __must_check sysfs_create_files(struct kobject *kobj,
262 int __must_check sysfs_chmod_file(struct kobject *kobj,
264 struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj,
267 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
269 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
270 void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);
272 int __must_check sysfs_create_bin_file(struct kobject *kobj,
274 void sysfs_remove_bin_file(struct kobject *kobj,
277 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
279 int __must_check sysfs_create_link_nowarn(struct kobject *kobj,
282 void sysfs_remove_link(struct kobject *kobj, const char *name);
284 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *target,
291 int __must_check sysfs_create_group(struct kobject *kobj,
293 int __must_check sysfs_create_groups(struct kobject *kobj,
295 int __must_check sysfs_update_groups(struct kobject *kobj,
297 int sysfs_update_group(struct kobject *kobj,
299 void sysfs_remove_group(struct kobject *kobj,
301 void sysfs_remove_groups(struct kobject *kobj,
303 int sysfs_add_file_to_group(struct kobject *kobj,
305 void sysfs_remove_file_from_group(struct kobject *kobj,
307 int sysfs_merge_group(struct kobject *kobj,
309 void sysfs_unmerge_group(struct kobject *kobj,
311 int sysfs_add_link_to_group(struct kobject *kobj, const char *group_name,
313 void sysfs_remove_link_from_group(struct kobject *kobj, const char *group_name,
315 int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj,
320 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr);
329 int sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid,
331 int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid);
332 int sysfs_link_change_owner(struct kobject *kobj, struct kobject *targ,
334 int sysfs_groups_change_owner(struct kobject *kobj,
337 int sysfs_group_change_owner(struct kobject *kobj,
347 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns() argument
352 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir() argument
356 static inline int sysfs_rename_dir_ns(struct kobject *kobj, in sysfs_rename_dir_ns() argument
362 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns() argument
380 static inline int sysfs_create_file_ns(struct kobject *kobj, in sysfs_create_file_ns() argument
387 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files() argument
393 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file() argument
400 sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection() argument
410 static inline void sysfs_remove_file_ns(struct kobject *kobj, in sysfs_remove_file_ns() argument
416 static inline bool sysfs_remove_file_self(struct kobject *kobj, in sysfs_remove_file_self() argument
422 static inline void sysfs_remove_files(struct kobject *kobj, in sysfs_remove_files() argument
427 static inline int sysfs_create_bin_file(struct kobject *kobj, in sysfs_create_bin_file() argument
433 static inline void sysfs_remove_bin_file(struct kobject *kobj, in sysfs_remove_bin_file() argument
438 static inline int sysfs_create_link(struct kobject *kobj, in sysfs_create_link() argument
444 static inline int sysfs_create_link_nowarn(struct kobject *kobj, in sysfs_create_link_nowarn() argument
451 static inline void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link() argument
467 static inline int sysfs_create_group(struct kobject *kobj, in sysfs_create_group() argument
473 static inline int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups() argument
479 static inline int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups() argument
485 static inline int sysfs_update_group(struct kobject *kobj, in sysfs_update_group() argument
491 static inline void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group() argument
496 static inline void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups() argument
501 static inline int sysfs_add_file_to_group(struct kobject *kobj, in sysfs_add_file_to_group() argument
507 static inline void sysfs_remove_file_from_group(struct kobject *kobj, in sysfs_remove_file_from_group() argument
512 static inline int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group() argument
518 static inline void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group() argument
523 static inline int sysfs_add_link_to_group(struct kobject *kobj, in sysfs_add_link_to_group() argument
530 static inline void sysfs_remove_link_from_group(struct kobject *kobj, in sysfs_remove_link_from_group() argument
535 static inline int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj, in compat_only_sysfs_link_entry_to_kobj() argument
543 static inline void sysfs_notify(struct kobject *kobj, const char *dir, in sysfs_notify() argument
557 static inline int sysfs_file_change_owner(struct kobject *kobj, in sysfs_file_change_owner() argument
564 static inline int sysfs_link_change_owner(struct kobject *kobj, in sysfs_link_change_owner() argument
572 static inline int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) in sysfs_change_owner() argument
577 static inline int sysfs_groups_change_owner(struct kobject *kobj, in sysfs_groups_change_owner() argument
584 static inline int sysfs_group_change_owner(struct kobject *kobj, in sysfs_group_change_owner() argument
604 static inline int __must_check sysfs_create_file(struct kobject *kobj, in sysfs_create_file() argument
607 return sysfs_create_file_ns(kobj, attr, NULL); in sysfs_create_file()
610 static inline void sysfs_remove_file(struct kobject *kobj, in sysfs_remove_file() argument
613 sysfs_remove_file_ns(kobj, attr, NULL); in sysfs_remove_file()
616 static inline int sysfs_rename_link(struct kobject *kobj, struct kobject *target, in sysfs_rename_link() argument
619 return sysfs_rename_link_ns(kobj, target, old_name, new_name, NULL); in sysfs_rename_link()