Blame view
fs/btrfs/sysfs.h
1.63 KB
b24413180 License cleanup: ... |
1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
9888c3402 btrfs: replace GP... |
2 3 4 |
#ifndef BTRFS_SYSFS_H #define BTRFS_SYSFS_H |
079b72bca btrfs: publish su... |
5 |
|
67715b206 btrfs: cleanup ko... |
6 |
#include <linux/kobject.h> |
079b72bca btrfs: publish su... |
7 |
enum btrfs_feature_set { |
bbe339cc3 btrfs: drop extra... |
8 |
FEAT_COMPAT, |
079b72bca btrfs: publish su... |
9 10 11 12 |
FEAT_COMPAT_RO, FEAT_INCOMPAT, FEAT_MAX }; |
3b02a68a6 btrfs: use featur... |
13 |
char *btrfs_printable_features(enum btrfs_feature_set set, u64 flags); |
9e6df7ced btrfs: remove con... |
14 |
const char *btrfs_feature_set_name(enum btrfs_feature_set set); |
cd36da2e7 btrfs: simplify p... |
15 |
int btrfs_sysfs_add_device(struct btrfs_device *device); |
53f8a74cb btrfs: split and ... |
16 |
void btrfs_sysfs_remove_device(struct btrfs_device *device); |
c6761a9ed btrfs: sysfs, btr... |
17 |
int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs); |
1d1c1be37 Btrfs: sysfs: btr... |
18 |
void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs); |
8e5600818 btrfs: remove fsi... |
19 |
void btrfs_sysfs_update_sprout_fsid(struct btrfs_fs_devices *fs_devices); |
444e75169 btrfs: sysfs: int... |
20 21 |
void btrfs_sysfs_feature_update(struct btrfs_fs_info *fs_info, u64 bit, enum btrfs_feature_set set); |
5b28692e0 btrfs: factor out... |
22 |
void btrfs_kobject_uevent(struct block_device *bdev, enum kobject_action action); |
444e75169 btrfs: sysfs: int... |
23 |
|
89439109b btrfs: move sysfs... |
24 25 26 27 |
int __init btrfs_init_sysfs(void); void __cold btrfs_exit_sysfs(void); int btrfs_sysfs_add_mounted(struct btrfs_fs_info *fs_info); void btrfs_sysfs_remove_mounted(struct btrfs_fs_info *fs_info); |
32da5386d btrfs: rename btr... |
28 |
void btrfs_sysfs_add_block_group_type(struct btrfs_block_group *cache); |
b882327a7 btrfs: factor out... |
29 30 |
int btrfs_sysfs_add_space_info_type(struct btrfs_fs_info *fs_info, struct btrfs_space_info *space_info); |
b5865babb btrfs: factor out... |
31 |
void btrfs_sysfs_remove_space_info(struct btrfs_space_info *space_info); |
668e48af7 btrfs: sysfs, add... |
32 |
void btrfs_sysfs_update_devid(struct btrfs_device *device); |
89439109b btrfs: move sysfs... |
33 |
|
49e5fb462 btrfs: qgroup: ex... |
34 35 36 37 38 39 |
int btrfs_sysfs_add_one_qgroup(struct btrfs_fs_info *fs_info, struct btrfs_qgroup *qgroup); void btrfs_sysfs_del_qgroups(struct btrfs_fs_info *fs_info); int btrfs_sysfs_add_qgroups(struct btrfs_fs_info *fs_info); void btrfs_sysfs_del_one_qgroup(struct btrfs_fs_info *fs_info, struct btrfs_qgroup *qgroup); |
9888c3402 btrfs: replace GP... |
40 |
#endif |