Lines Matching refs:kobj

261 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns);
262 void sysfs_remove_dir(struct kobject *kobj);
263 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
265 int __must_check sysfs_move_dir_ns(struct kobject *kobj,
273 int __must_check sysfs_create_file_ns(struct kobject *kobj,
276 int __must_check sysfs_create_files(struct kobject *kobj,
278 int __must_check sysfs_chmod_file(struct kobject *kobj,
280 struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj,
283 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
285 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
286 void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);
288 int __must_check sysfs_create_bin_file(struct kobject *kobj,
290 void sysfs_remove_bin_file(struct kobject *kobj,
293 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
295 int __must_check sysfs_create_link_nowarn(struct kobject *kobj,
298 void sysfs_remove_link(struct kobject *kobj, const char *name);
300 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *target,
307 int __must_check sysfs_create_group(struct kobject *kobj,
309 int __must_check sysfs_create_groups(struct kobject *kobj,
311 int __must_check sysfs_update_groups(struct kobject *kobj,
313 int sysfs_update_group(struct kobject *kobj,
315 void sysfs_remove_group(struct kobject *kobj,
317 void sysfs_remove_groups(struct kobject *kobj,
319 int sysfs_add_file_to_group(struct kobject *kobj,
321 void sysfs_remove_file_from_group(struct kobject *kobj,
323 int sysfs_merge_group(struct kobject *kobj,
325 void sysfs_unmerge_group(struct kobject *kobj,
327 int sysfs_add_link_to_group(struct kobject *kobj, const char *group_name,
329 void sysfs_remove_link_from_group(struct kobject *kobj, const char *group_name,
331 int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj,
336 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr);
345 int sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid,
347 int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid);
348 int sysfs_link_change_owner(struct kobject *kobj, struct kobject *targ,
350 int sysfs_groups_change_owner(struct kobject *kobj,
353 int sysfs_group_change_owner(struct kobject *kobj,
363 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns() argument
368 static inline void sysfs_remove_dir(struct kobject *kobj) in sysfs_remove_dir() argument
372 static inline int sysfs_rename_dir_ns(struct kobject *kobj, in sysfs_rename_dir_ns() argument
378 static inline int sysfs_move_dir_ns(struct kobject *kobj, in sysfs_move_dir_ns() argument
396 static inline int sysfs_create_file_ns(struct kobject *kobj, in sysfs_create_file_ns() argument
403 static inline int sysfs_create_files(struct kobject *kobj, in sysfs_create_files() argument
409 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file() argument
416 sysfs_break_active_protection(struct kobject *kobj, in sysfs_break_active_protection() argument
426 static inline void sysfs_remove_file_ns(struct kobject *kobj, in sysfs_remove_file_ns() argument
432 static inline bool sysfs_remove_file_self(struct kobject *kobj, in sysfs_remove_file_self() argument
438 static inline void sysfs_remove_files(struct kobject *kobj, in sysfs_remove_files() argument
443 static inline int sysfs_create_bin_file(struct kobject *kobj, in sysfs_create_bin_file() argument
449 static inline void sysfs_remove_bin_file(struct kobject *kobj, in sysfs_remove_bin_file() argument
454 static inline int sysfs_create_link(struct kobject *kobj, in sysfs_create_link() argument
460 static inline int sysfs_create_link_nowarn(struct kobject *kobj, in sysfs_create_link_nowarn() argument
467 static inline void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link() argument
483 static inline int sysfs_create_group(struct kobject *kobj, in sysfs_create_group() argument
489 static inline int sysfs_create_groups(struct kobject *kobj, in sysfs_create_groups() argument
495 static inline int sysfs_update_groups(struct kobject *kobj, in sysfs_update_groups() argument
501 static inline int sysfs_update_group(struct kobject *kobj, in sysfs_update_group() argument
507 static inline void sysfs_remove_group(struct kobject *kobj, in sysfs_remove_group() argument
512 static inline void sysfs_remove_groups(struct kobject *kobj, in sysfs_remove_groups() argument
517 static inline int sysfs_add_file_to_group(struct kobject *kobj, in sysfs_add_file_to_group() argument
523 static inline void sysfs_remove_file_from_group(struct kobject *kobj, in sysfs_remove_file_from_group() argument
528 static inline int sysfs_merge_group(struct kobject *kobj, in sysfs_merge_group() argument
534 static inline void sysfs_unmerge_group(struct kobject *kobj, in sysfs_unmerge_group() argument
539 static inline int sysfs_add_link_to_group(struct kobject *kobj, in sysfs_add_link_to_group() argument
546 static inline void sysfs_remove_link_from_group(struct kobject *kobj, in sysfs_remove_link_from_group() argument
551 static inline int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj, in compat_only_sysfs_link_entry_to_kobj() argument
559 static inline void sysfs_notify(struct kobject *kobj, const char *dir, in sysfs_notify() argument
573 static inline int sysfs_file_change_owner(struct kobject *kobj, in sysfs_file_change_owner() argument
580 static inline int sysfs_link_change_owner(struct kobject *kobj, in sysfs_link_change_owner() argument
588 static inline int sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid) in sysfs_change_owner() argument
593 static inline int sysfs_groups_change_owner(struct kobject *kobj, in sysfs_groups_change_owner() argument
600 static inline int sysfs_group_change_owner(struct kobject *kobj, in sysfs_group_change_owner() argument
620 static inline int __must_check sysfs_create_file(struct kobject *kobj, in sysfs_create_file() argument
623 return sysfs_create_file_ns(kobj, attr, NULL); in sysfs_create_file()
626 static inline void sysfs_remove_file(struct kobject *kobj, in sysfs_remove_file() argument
629 sysfs_remove_file_ns(kobj, attr, NULL); in sysfs_remove_file()
632 static inline int sysfs_rename_link(struct kobject *kobj, struct kobject *target, in sysfs_rename_link() argument
635 return sysfs_rename_link_ns(kobj, target, old_name, new_name, NULL); in sysfs_rename_link()