Lines Matching refs:kobj
237 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns);
238 void sysfs_remove_dir(struct kobject *kobj);
239 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
241 int __must_check sysfs_move_dir_ns(struct kobject *kobj,
249 int __must_check sysfs_create_file_ns(struct kobject *kobj,
252 int __must_check sysfs_create_files(struct kobject *kobj,
254 int __must_check sysfs_chmod_file(struct kobject *kobj,
256 struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj,
259 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
261 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
262 void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);
264 int __must_check sysfs_create_bin_file(struct kobject *kobj,
266 void sysfs_remove_bin_file(struct kobject *kobj,
269 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
271 int __must_check sysfs_create_link_nowarn(struct kobject *kobj,
274 void sysfs_remove_link(struct kobject *kobj, const char *name);
276 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *target,
283 int __must_check sysfs_create_group(struct kobject *kobj,
285 int __must_check sysfs_create_groups(struct kobject *kobj,
287 int __must_check sysfs_update_groups(struct kobject *kobj,
289 int sysfs_update_group(struct kobject *kobj,
291 void sysfs_remove_group(struct kobject *kobj,
293 void sysfs_remove_groups(struct kobject *kobj,
295 int sysfs_add_file_to_group(struct kobject *kobj,
297 void sysfs_remove_file_from_group(struct kobject *kobj,
299 int sysfs_merge_group(struct kobject *kobj,
301 void sysfs_unmerge_group(struct kobject *kobj,
303 int sysfs_add_link_to_group(struct kobject *kobj, const char *group_name,
305 void sysfs_remove_link_from_group(struct kobject *kobj, const char *group_name,
307 int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj,
312 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr);
321 int sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid,
323 int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid);
324 int sysfs_link_change_owner(struct kobject *kobj, struct kobject *targ,
326 int sysfs_groups_change_owner(struct kobject *kobj,
329 int sysfs_group_change_owner(struct kobject *kobj,
339 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns() argument
344 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir() argument
348 static inline int sysfs_rename_dir_ns(struct kobject *kobj, in sysfs_rename_dir_ns() argument
354 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns() argument
372 static inline int sysfs_create_file_ns(struct kobject *kobj, in sysfs_create_file_ns() argument
379 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files() argument
385 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file() argument
392 sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection() argument
402 static inline void sysfs_remove_file_ns(struct kobject *kobj, in sysfs_remove_file_ns() argument
408 static inline bool sysfs_remove_file_self(struct kobject *kobj, in sysfs_remove_file_self() argument
414 static inline void sysfs_remove_files(struct kobject *kobj, in sysfs_remove_files() argument
419 static inline int sysfs_create_bin_file(struct kobject *kobj, in sysfs_create_bin_file() argument
425 static inline void sysfs_remove_bin_file(struct kobject *kobj, in sysfs_remove_bin_file() argument
430 static inline int sysfs_create_link(struct kobject *kobj, in sysfs_create_link() argument
436 static inline int sysfs_create_link_nowarn(struct kobject *kobj, in sysfs_create_link_nowarn() argument
443 static inline void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link() argument
459 static inline int sysfs_create_group(struct kobject *kobj, in sysfs_create_group() argument
465 static inline int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups() argument
471 static inline int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups() argument
477 static inline int sysfs_update_group(struct kobject *kobj, in sysfs_update_group() argument
483 static inline void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group() argument
488 static inline void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups() argument
493 static inline int sysfs_add_file_to_group(struct kobject *kobj, in sysfs_add_file_to_group() argument
499 static inline void sysfs_remove_file_from_group(struct kobject *kobj, in sysfs_remove_file_from_group() argument
504 static inline int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group() argument
510 static inline void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group() argument
515 static inline int sysfs_add_link_to_group(struct kobject *kobj, in sysfs_add_link_to_group() argument
522 static inline void sysfs_remove_link_from_group(struct kobject *kobj, in sysfs_remove_link_from_group() argument
527 static inline int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj, in compat_only_sysfs_link_entry_to_kobj() argument
535 static inline void sysfs_notify(struct kobject *kobj, const char *dir, in sysfs_notify() argument
549 static inline int sysfs_file_change_owner(struct kobject *kobj, in sysfs_file_change_owner() argument
556 static inline int sysfs_link_change_owner(struct kobject *kobj, in sysfs_link_change_owner() argument
564 static inline int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) in sysfs_change_owner() argument
569 static inline int sysfs_groups_change_owner(struct kobject *kobj, in sysfs_groups_change_owner() argument
576 static inline int sysfs_group_change_owner(struct kobject *kobj, in sysfs_group_change_owner() argument
596 static inline int __must_check sysfs_create_file(struct kobject *kobj, in sysfs_create_file() argument
599 return sysfs_create_file_ns(kobj, attr, NULL); in sysfs_create_file()
602 static inline void sysfs_remove_file(struct kobject *kobj, in sysfs_remove_file() argument
605 sysfs_remove_file_ns(kobj, attr, NULL); in sysfs_remove_file()
608 static inline int sysfs_rename_link(struct kobject *kobj, struct kobject *target, in sysfs_rename_link() argument
611 return sysfs_rename_link_ns(kobj, target, old_name, new_name, NULL); in sysfs_rename_link()