Home
last modified time | relevance | path

Searched defs:sb (Results 1 – 25 of 666) sorted by relevance

12345678910>>...27

/Linux-v6.1/fs/
Dsuper.c63 struct super_block *sb; in super_cache_scan() local
120 struct super_block *sb; in super_cache_count() local
308 void put_super(struct super_block *sb) in put_super()
413 bool trylock_super(struct super_block *sb) in trylock_super()
441 void retire_super(struct super_block *sb) in retire_super()
468 void generic_shutdown_super(struct super_block *sb) in generic_shutdown_super()
666 void drop_super(struct super_block *sb) in drop_super()
674 void drop_super_exclusive(struct super_block *sb) in drop_super_exclusive()
683 struct super_block *sb, *p = NULL; in __iterate_supers() local
713 struct super_block *sb, *p = NULL; in iterate_supers() local
[all …]
/Linux-v6.1/include/linux/
Dquotaops.h17 static inline struct quota_info *sb_dqopt(struct super_block *sb) in sb_dqopt()
33 #define quota_error(sb, fmt, args...) \ argument
83 static inline int dquot_suspend(struct super_block *sb, int type) in dquot_suspend()
122 static inline struct mem_dqinfo *sb_dqinfo(struct super_block *sb, int type) in sb_dqinfo()
131 static inline bool sb_has_quota_usage_enabled(struct super_block *sb, int type) in sb_has_quota_usage_enabled()
137 static inline bool sb_has_quota_limits_enabled(struct super_block *sb, int type) in sb_has_quota_limits_enabled()
143 static inline bool sb_has_quota_suspended(struct super_block *sb, int type) in sb_has_quota_suspended()
149 static inline unsigned sb_any_quota_suspended(struct super_block *sb) in sb_any_quota_suspended()
155 static inline bool sb_has_quota_loaded(struct super_block *sb, int type) in sb_has_quota_loaded()
161 static inline unsigned sb_any_quota_loaded(struct super_block *sb) in sb_any_quota_loaded()
[all …]
Dsbitmap.h113 struct sbitmap sb; member
163 static inline unsigned int __map_depth(const struct sbitmap *sb, int index) in __map_depth()
174 static inline void sbitmap_free(struct sbitmap *sb) in sbitmap_free()
226 #define SB_NR_TO_INDEX(sb, bitnr) ((bitnr) >> (sb)->shift) argument
227 #define SB_NR_TO_BIT(sb, bitnr) ((bitnr) & ((1U << (sb)->shift) - 1U)) argument
241 static inline void __sbitmap_for_each_set(struct sbitmap *sb, in __sbitmap_for_each_set()
293 static inline void sbitmap_for_each_set(struct sbitmap *sb, sb_for_each_fn fn, in sbitmap_for_each_set()
299 static inline unsigned long *__sbitmap_word(struct sbitmap *sb, in __sbitmap_word()
307 static inline void sbitmap_set_bit(struct sbitmap *sb, unsigned int bitnr) in sbitmap_set_bit()
312 static inline void sbitmap_clear_bit(struct sbitmap *sb, unsigned int bitnr) in sbitmap_clear_bit()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste_v0.c737 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l2_src_dst_tag()
781 dr_ste_v0_build_eth_l2_src_dst_init(struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l2_src_dst_init()
793 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l3_ipv6_dst_tag()
807 dr_ste_v0_build_eth_l3_ipv6_dst_init(struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l3_ipv6_dst_init()
819 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l3_ipv6_src_tag()
833 dr_ste_v0_build_eth_l3_ipv6_src_init(struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l3_ipv6_src_init()
845 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l3_ipv4_5_tuple_tag()
870 dr_ste_v0_build_eth_l3_ipv4_5_tuple_init(struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l3_ipv4_5_tuple_init()
1006 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l2_src_tag()
1018 dr_ste_v0_build_eth_l2_src_init(struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l2_src_init()
[all …]
Ddr_ste_v1.c1007 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l2_src_dst_tag()
1042 void dr_ste_v1_build_eth_l2_src_dst_init(struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l2_src_dst_init()
1053 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l3_ipv6_dst_tag()
1066 void dr_ste_v1_build_eth_l3_ipv6_dst_init(struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l3_ipv6_dst_init()
1077 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l3_ipv6_src_tag()
1090 void dr_ste_v1_build_eth_l3_ipv6_src_init(struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l3_ipv6_src_init()
1101 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l3_ipv4_5_tuple_tag()
1125 void dr_ste_v1_build_eth_l3_ipv4_5_tuple_init(struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l3_ipv4_5_tuple_init()
1255 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l2_src_tag()
1266 void dr_ste_v1_build_eth_l2_src_init(struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l2_src_init()
[all …]
/Linux-v6.1/fs/befs/
Dendian.h16 fs64_to_cpu(const struct super_block *sb, fs64 n) in fs64_to_cpu()
25 cpu_to_fs64(const struct super_block *sb, u64 n) in cpu_to_fs64()
34 fs32_to_cpu(const struct super_block *sb, fs32 n) in fs32_to_cpu()
43 cpu_to_fs32(const struct super_block *sb, u32 n) in cpu_to_fs32()
52 fs16_to_cpu(const struct super_block *sb, fs16 n) in fs16_to_cpu()
61 cpu_to_fs16(const struct super_block *sb, u16 n) in cpu_to_fs16()
72 fsrun_to_cpu(const struct super_block *sb, befs_disk_block_run n) in fsrun_to_cpu()
89 cpu_to_fsrun(const struct super_block *sb, befs_block_run n) in cpu_to_fsrun()
106 fsds_to_cpu(const struct super_block *sb, const befs_disk_data_stream *n) in fsds_to_cpu()
Ddebug.c29 befs_error(const struct super_block *sb, const char *fmt, ...) in befs_error()
42 befs_warning(const struct super_block *sb, const char *fmt, ...) in befs_warning()
55 befs_debug(const struct super_block *sb, const char *fmt, ...) in befs_debug()
72 befs_dump_inode(const struct super_block *sb, befs_inode *inode) in befs_dump_inode()
156 befs_dump_super_block(const struct super_block *sb, befs_super_block *sup) in befs_dump_super_block()
226 befs_dump_index_entry(const struct super_block *sb, in befs_dump_index_entry()
248 befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *node) in befs_dump_index_node()
/Linux-v6.1/fs/ext4/
Dsuper.c143 #define IS_EXT2_SB(sb) ((sb)->s_bdev->bd_holder == &ext2_fs_type) argument
145 #define IS_EXT2_SB(sb) (0) argument
159 #define IS_EXT3_SB(sb) ((sb)->s_bdev->bd_holder == &ext3_fs_type) argument
222 static struct buffer_head *__ext4_sb_bread_gfp(struct super_block *sb, in __ext4_sb_bread_gfp()
243 struct buffer_head *ext4_sb_bread(struct super_block *sb, sector_t block, in ext4_sb_bread()
249 struct buffer_head *ext4_sb_bread_unmovable(struct super_block *sb, in ext4_sb_bread_unmovable()
255 void ext4_sb_breadahead_unmovable(struct super_block *sb, sector_t block) in ext4_sb_breadahead_unmovable()
266 static int ext4_verify_csum_type(struct super_block *sb, in ext4_verify_csum_type()
275 __le32 ext4_superblock_csum(struct super_block *sb, in ext4_superblock_csum()
287 static int ext4_superblock_csum_verify(struct super_block *sb, in ext4_superblock_csum_verify()
[all …]
Dballoc.c35 ext4_group_t ext4_get_group_number(struct super_block *sb, in ext4_get_group_number()
53 void ext4_get_group_no_and_offset(struct super_block *sb, ext4_fsblk_t blocknr, in ext4_get_group_no_and_offset()
73 static inline int ext4_block_in_group(struct super_block *sb, in ext4_block_in_group()
86 static unsigned ext4_num_overhead_clusters(struct super_block *sb, in ext4_num_overhead_clusters()
159 static unsigned int num_clusters_in_group(struct super_block *sb, in num_clusters_in_group()
179 static int ext4_init_block_bitmap(struct super_block *sb, in ext4_init_block_bitmap()
238 unsigned ext4_free_clusters_after_init(struct super_block *sb, in ext4_free_clusters_after_init()
264 struct ext4_group_desc * ext4_get_group_desc(struct super_block *sb, in ext4_get_group_desc()
310 static ext4_fsblk_t ext4_valid_block_bitmap(struct super_block *sb, in ext4_valid_block_bitmap()
365 static int ext4_validate_block_bitmap(struct super_block *sb, in ext4_validate_block_bitmap()
[all …]
Dext4_jbd2.h33 #define EXT4_SINGLEDATA_TRANS_BLOCKS(sb) \ argument
48 #define EXT4_DATA_TRANS_BLOCKS(sb) (EXT4_SINGLEDATA_TRANS_BLOCKS(sb) + \ argument
57 #define EXT4_META_TRANS_BLOCKS(sb) (EXT4_XATTR_TRANS_BLOCKS + \ argument
89 #define EXT4_QUOTA_TRANS_BLOCKS(sb) ((ext4_quota_capable(sb)) ? 1 : 0) argument
92 #define EXT4_QUOTA_INIT_BLOCKS(sb) ((ext4_quota_capable(sb)) ?\ argument
96 #define EXT4_QUOTA_DEL_BLOCKS(sb) ((ext4_quota_capable(sb)) ?\ argument
100 #define EXT4_QUOTA_TRANS_BLOCKS(sb) 0 argument
101 #define EXT4_QUOTA_INIT_BLOCKS(sb) 0 argument
102 #define EXT4_QUOTA_DEL_BLOCKS(sb) 0 argument
104 #define EXT4_MAXQUOTAS_TRANS_BLOCKS(sb) (EXT4_MAXQUOTAS*EXT4_QUOTA_TRANS_BLOCKS(sb)) argument
[all …]
Dresize.c48 int ext4_resize_begin(struct super_block *sb) in ext4_resize_begin()
100 int ext4_resize_end(struct super_block *sb, bool update_backups) in ext4_resize_end()
109 static ext4_group_t ext4_meta_bg_first_group(struct super_block *sb, in ext4_meta_bg_first_group()
115 static ext4_fsblk_t ext4_meta_bg_first_block_no(struct super_block *sb, in ext4_meta_bg_first_block_no()
121 static ext4_grpblk_t ext4_group_overhead_blocks(struct super_block *sb, in ext4_group_overhead_blocks()
134 static int verify_group_input(struct super_block *sb, in verify_group_input()
297 static int ext4_alloc_group_tables(struct super_block *sb, in ext4_alloc_group_tables()
416 static struct buffer_head *bclean(handle_t *handle, struct super_block *sb, in bclean()
453 static int set_flexbg_block_bitmap(struct super_block *sb, handle_t *handle, in set_flexbg_block_bitmap()
525 static int setup_new_flex_group_blocks(struct super_block *sb, in setup_new_flex_group_blocks()
[all …]
Dmmp.c11 static __le32 ext4_mmp_csum(struct super_block *sb, struct mmp_struct *mmp) in ext4_mmp_csum()
22 static int ext4_mmp_csum_verify(struct super_block *sb, struct mmp_struct *mmp) in ext4_mmp_csum_verify()
30 static void ext4_mmp_csum_set(struct super_block *sb, struct mmp_struct *mmp) in ext4_mmp_csum_set()
42 static int write_mmp_block(struct super_block *sb, struct buffer_head *bh) in write_mmp_block()
68 static int read_mmp_block(struct super_block *sb, struct buffer_head **bh, in read_mmp_block()
114 void __dump_mmp_msg(struct super_block *sb, struct mmp_struct *mmp, in __dump_mmp_msg()
130 struct super_block *sb = data; in kmmpd() local
277 int ext4_multi_mount_protect(struct super_block *sb, in ext4_multi_mount_protect()
/Linux-v6.1/fs/ext2/
Dsuper.c49 void ext2_error(struct super_block *sb, const char *function, in ext2_error()
84 void ext2_msg(struct super_block *sb, const char *prefix, in ext2_msg()
103 void ext2_update_dynamic_rev(struct super_block *sb) in ext2_update_dynamic_rev()
131 static void ext2_quota_off_umount(struct super_block *sb) in ext2_quota_off_umount()
139 static inline void ext2_quota_off_umount(struct super_block *sb) in ext2_quota_off_umount()
144 static void ext2_put_super (struct super_block * sb) in ext2_put_super()
180 static struct inode *ext2_alloc_inode(struct super_block *sb) in ext2_alloc_inode()
238 struct super_block *sb = root->d_sb; in ext2_show_options() local
359 static struct inode *ext2_nfs_get_inode(struct super_block *sb, in ext2_nfs_get_inode()
385 static struct dentry *ext2_fh_to_dentry(struct super_block *sb, struct fid *fid, in ext2_fh_to_dentry()
[all …]
/Linux-v6.1/fs/reiserfs/
Djournal.c113 static void init_journal_hash(struct super_block *sb) in init_journal_hash()
135 static struct reiserfs_bitmap_node *allocate_bitmap_node(struct super_block in allocate_bitmap_node()
155 static struct reiserfs_bitmap_node *get_bitmap_node(struct super_block *sb) in get_bitmap_node()
178 static inline void free_bitmap_node(struct super_block *sb, in free_bitmap_node()
192 static void allocate_bitmap_nodes(struct super_block *sb) in allocate_bitmap_nodes()
209 static int set_bit_in_list_bitmap(struct super_block *sb, in set_bit_in_list_bitmap()
223 static void cleanup_bitmap_list(struct super_block *sb, in cleanup_bitmap_list()
241 static int free_list_bitmaps(struct super_block *sb, in free_list_bitmaps()
256 static int free_bitmap_nodes(struct super_block *sb) in free_bitmap_nodes()
278 int reiserfs_allocate_list_bitmaps(struct super_block *sb, in reiserfs_allocate_list_bitmaps()
[all …]
/Linux-v6.1/tools/perf/util/
Dstrbuf.c20 int strbuf_init(struct strbuf *sb, ssize_t hint) in strbuf_init()
29 void strbuf_release(struct strbuf *sb) in strbuf_release()
37 char *strbuf_detach(struct strbuf *sb, size_t *sz) in strbuf_detach()
46 int strbuf_grow(struct strbuf *sb, size_t extra) in strbuf_grow()
73 int strbuf_addch(struct strbuf *sb, int c) in strbuf_addch()
84 int strbuf_add(struct strbuf *sb, const void *data, size_t len) in strbuf_add()
94 static int strbuf_addv(struct strbuf *sb, const char *fmt, va_list ap) in strbuf_addv()
128 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) in strbuf_addf()
139 ssize_t strbuf_read(struct strbuf *sb, int fd, ssize_t hint) in strbuf_read()
/Linux-v6.1/fs/erofs/
Dsuper.c24 void _erofs_err(struct super_block *sb, const char *function, in _erofs_err()
39 void _erofs_info(struct super_block *sb, const char *function, in _erofs_info()
54 static int erofs_superblock_csum_verify(struct super_block *sb, void *sbdata) in erofs_superblock_csum_verify()
85 static struct inode *erofs_alloc_inode(struct super_block *sb) in erofs_alloc_inode()
110 static bool check_layout_compatibility(struct super_block *sb, in check_layout_compatibility()
129 static void *erofs_read_metadata(struct super_block *sb, struct erofs_buf *buf, in erofs_read_metadata()
163 static int erofs_load_compr_cfgs(struct super_block *sb, in erofs_load_compr_cfgs()
212 static int erofs_load_compr_cfgs(struct super_block *sb, in erofs_load_compr_cfgs()
223 static int erofs_init_device(struct erofs_buf *buf, struct super_block *sb, in erofs_init_device()
269 static int erofs_scan_devices(struct super_block *sb, in erofs_scan_devices()
[all …]
/Linux-v6.1/fs/ufs/
Dsuper.c99 static struct inode *ufs_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) in ufs_nfs_get_inode()
117 static struct dentry *ufs_fh_to_dentry(struct super_block *sb, struct fid *fid, in ufs_fh_to_dentry()
123 static struct dentry *ufs_fh_to_parent(struct super_block *sb, struct fid *fid, in ufs_fh_to_parent()
149 static void ufs_print_super_stuff(struct super_block *sb, in ufs_print_super_stuff()
228 static void ufs_print_cylinder_stuff(struct super_block *sb, in ufs_print_cylinder_stuff()
265 # define ufs_print_super_stuff(sb, usb1, usb2, usb3) /**/ argument
266 # define ufs_print_cylinder_stuff(sb, cg) /**/ argument
271 void ufs_error (struct super_block * sb, const char * function, in ufs_error()
305 void ufs_panic (struct super_block * sb, const char * function, in ufs_panic()
330 void ufs_warning (struct super_block * sb, const char * function, in ufs_warning()
[all …]
/Linux-v6.1/fs/ocfs2/
Dquota_local.c29 static inline unsigned int ol_quota_entries_per_block(struct super_block *sb) in ol_quota_entries_per_block()
36 static inline unsigned int ol_chunk_blocks(struct super_block *sb) in ol_chunk_blocks()
44 static unsigned int ol_chunk_entries(struct super_block *sb) in ol_chunk_entries()
50 static unsigned int ol_quota_chunk_block(struct super_block *sb, int c) in ol_quota_chunk_block()
56 static unsigned int ol_dqblk_block(struct super_block *sb, int c, int off) in ol_dqblk_block()
63 static unsigned int ol_dqblk_block_off(struct super_block *sb, int c, int off) in ol_dqblk_block_off()
71 static loff_t ol_dqblk_off(struct super_block *sb, int c, int off) in ol_dqblk_off()
77 static inline unsigned int ol_dqblk_block_offset(struct super_block *sb, loff_t off) in ol_dqblk_block_offset()
83 static int ol_dqblk_chunk_off(struct super_block *sb, int c, loff_t off) in ol_dqblk_chunk_off()
97 struct super_block *sb = inode->i_sb; in ocfs2_modify_bh() local
[all …]
/Linux-v6.1/fs/nilfs2/
Dsuper.c65 void __nilfs_msg(struct super_block *sb, const char *fmt, ...) in __nilfs_msg()
87 static void nilfs_set_error(struct super_block *sb) in nilfs_set_error()
119 void __nilfs_error(struct super_block *sb, const char *function, in __nilfs_error()
150 struct inode *nilfs_alloc_inode(struct super_block *sb) in nilfs_alloc_inode()
173 static int nilfs_sync_super(struct super_block *sb, int flag) in nilfs_sync_super()
246 struct nilfs_super_block **nilfs_prepare_super(struct super_block *sb, in nilfs_prepare_super()
272 int nilfs_commit_super(struct super_block *sb, int flag) in nilfs_commit_super()
308 int nilfs_cleanup_super(struct super_block *sb) in nilfs_cleanup_super()
338 static int nilfs_move_2nd_super(struct super_block *sb, loff_t sb2off) in nilfs_move_2nd_super()
398 int nilfs_resize_fs(struct super_block *sb, __u64 newsize) in nilfs_resize_fs()
[all …]
/Linux-v6.1/fs/quota/
Dquota.c27 static int check_quotactl_permission(struct super_block *sb, int type, int cmd, in check_quotactl_permission()
54 static void quota_sync_one(struct super_block *sb, void *arg) in quota_sync_one()
86 static int quota_quotaon(struct super_block *sb, int type, qid_t id, in quota_quotaon()
98 static int quota_quotaoff(struct super_block *sb, int type) in quota_quotaoff()
107 static int quota_getfmt(struct super_block *sb, int type, void __user *addr) in quota_getfmt()
119 static int quota_getinfo(struct super_block *sb, int type, void __user *addr) in quota_getinfo()
147 static int quota_setinfo(struct super_block *sb, int type, void __user *addr) in quota_setinfo()
201 static int quota_getquota(struct super_block *sb, int type, qid_t id, in quota_getquota()
237 static int quota_getnextquota(struct super_block *sb, int type, qid_t id, in quota_getnextquota()
287 static int quota_setquota(struct super_block *sb, int type, qid_t id, in quota_setquota()
[all …]
/Linux-v6.1/fs/exfat/
Dsuper.c44 static void exfat_put_super(struct super_block *sb) in exfat_put_super()
56 static int exfat_sync_fs(struct super_block *sb, int wait) in exfat_sync_fs()
75 struct super_block *sb = dentry->d_sb; in exfat_statfs() local
99 static int exfat_set_vol_flags(struct super_block *sb, unsigned short new_flags) in exfat_set_vol_flags()
129 int exfat_set_volume_dirty(struct super_block *sb) in exfat_set_volume_dirty()
136 int exfat_clear_volume_dirty(struct super_block *sb) in exfat_clear_volume_dirty()
145 struct super_block *sb = root->d_sb; in exfat_show_options() local
180 static struct inode *exfat_alloc_inode(struct super_block *sb) in exfat_alloc_inode()
329 static void exfat_hash_init(struct super_block *sb) in exfat_hash_init()
341 struct super_block *sb = inode->i_sb; in exfat_read_root() local
[all …]
/Linux-v6.1/fs/romfs/
Dstorage.c18 #define ROMFS_MTD_READ(sb, ...) mtd_read((sb)->s_mtd, ##__VA_ARGS__) argument
23 static int romfs_mtd_read(struct super_block *sb, unsigned long pos, in romfs_mtd_read()
36 static ssize_t romfs_mtd_strnlen(struct super_block *sb, in romfs_mtd_strnlen()
66 static int romfs_mtd_strcmp(struct super_block *sb, unsigned long pos, in romfs_mtd_strcmp()
103 static int romfs_blk_read(struct super_block *sb, unsigned long pos, in romfs_blk_read()
130 static ssize_t romfs_blk_strnlen(struct super_block *sb, in romfs_blk_strnlen()
163 static int romfs_blk_strcmp(struct super_block *sb, unsigned long pos, in romfs_blk_strcmp()
214 int romfs_dev_read(struct super_block *sb, unsigned long pos, in romfs_dev_read()
237 ssize_t romfs_dev_strnlen(struct super_block *sb, in romfs_dev_strnlen()
265 int romfs_dev_strcmp(struct super_block *sb, unsigned long pos, in romfs_dev_strcmp()
/Linux-v6.1/fs/udf/
Dsuper.c102 struct logicalVolIntegrityDescImpUse *udf_sb_lvidiu(struct super_block *sb) in udf_sb_lvidiu()
136 static struct inode *udf_alloc_inode(struct super_block *sb) in udf_alloc_inode()
248 static int udf_sb_alloc_partition_maps(struct super_block *sb, u32 count) in udf_sb_alloc_partition_maps()
298 static void udf_sb_free_partitions(struct super_block *sb) in udf_sb_free_partitions()
313 struct super_block *sb = root->d_sb; in udf_show_options() local
605 static int udf_remount_fs(struct super_block *sb, int *flags, char *options) in udf_remount_fs()
702 static int udf_check_vsd(struct super_block *sb) in udf_check_vsd()
770 static int udf_verify_domain_identifier(struct super_block *sb, in udf_verify_domain_identifier()
802 static int udf_load_fileset(struct super_block *sb, struct fileSetDesc *fset, in udf_load_fileset()
819 static int udf_find_fileset(struct super_block *sb, in udf_find_fileset()
[all …]
/Linux-v6.1/lib/
Dsbitmap.c12 static int init_alloc_hint(struct sbitmap *sb, gfp_t flags) in init_alloc_hint()
29 static inline unsigned update_alloc_hint_before_get(struct sbitmap *sb, in update_alloc_hint_before_get()
43 static inline void update_alloc_hint_after_get(struct sbitmap *sb, in update_alloc_hint_after_get()
83 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node()
123 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize()
170 static int sbitmap_find_bit_in_index(struct sbitmap *sb, int index, in sbitmap_find_bit_in_index()
188 static int __sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint) in __sbitmap_get()
221 int sbitmap_get(struct sbitmap *sb) in sbitmap_get()
238 static int __sbitmap_get_shallow(struct sbitmap *sb, in __sbitmap_get_shallow()
275 int sbitmap_get_shallow(struct sbitmap *sb, unsigned long shallow_depth) in sbitmap_get_shallow()
[all …]
/Linux-v6.1/fs/kernfs/
Dmount.c72 static struct dentry *__kernfs_fh_to_dentry(struct super_block *sb, in __kernfs_fh_to_dentry()
124 static struct dentry *kernfs_fh_to_dentry(struct super_block *sb, in kernfs_fh_to_dentry()
131 static struct dentry *kernfs_fh_to_parent(struct super_block *sb, in kernfs_fh_to_parent()
159 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()
197 struct super_block *sb) in kernfs_node_dentry()
237 static int kernfs_fill_super(struct super_block *sb, struct kernfs_fs_context *kfc) in kernfs_fill_super()
279 static int kernfs_test_super(struct super_block *sb, struct fs_context *fc) in kernfs_test_super()
287 static int kernfs_set_super(struct super_block *sb, struct fs_context *fc) in kernfs_set_super()
301 const void *kernfs_super_ns(struct super_block *sb) in kernfs_super_ns()
320 struct super_block *sb; in kernfs_get_tree() local
[all …]

12345678910>>...27