Home
last modified time | relevance | path

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

12345678910>>...29

/linux/fs/
A Dsuper.c180 struct super_block *sb; in super_cache_scan() local
237 struct super_block *sb; in super_cache_count() local
892 struct super_block *sb, *p = NULL; in __iterate_supers() local
990 struct super_block *sb; in user_get_super() local
1272 struct super_block *sb; in vfs_get_super() local
1411 struct super_block *sb; in fs_bdev_mark_dead() local
1429 struct super_block *sb; in fs_bdev_sync() local
1442 struct super_block *sb; in get_bdev_super() local
1471 struct super_block *sb; in fs_bdev_freeze() local
1511 struct super_block *sb; in fs_bdev_thaw() local
[all …]
/linux/include/linux/
A 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()
149 static inline unsigned sb_any_quota_suspended(struct super_block *sb) in sb_any_quota_suspended()
161 static inline unsigned sb_any_quota_loaded(struct super_block *sb) in sb_any_quota_loaded()
195 static inline int sb_any_quota_suspended(struct super_block *sb) in sb_any_quota_suspended()
201 static inline int sb_has_quota_loaded(struct super_block *sb, int type) in sb_has_quota_loaded()
206 static inline int sb_any_quota_loaded(struct super_block *sb) in sb_any_quota_loaded()
272 static inline int dquot_disable(struct super_block *sb, int type, in dquot_disable()
278 static inline int dquot_suspend(struct super_block *sb, int type) in dquot_suspend()
[all …]
A Dsbitmap.h113 struct sbitmap sb; member
174 static inline unsigned int __map_depth(const struct sbitmap *sb, int index) in __map_depth()
185 static inline void sbitmap_free(struct sbitmap *sb) in sbitmap_free()
237 #define SB_NR_TO_INDEX(sb, bitnr) ((bitnr) >> (sb)->shift) argument
238 #define SB_NR_TO_BIT(sb, bitnr) ((bitnr) & ((1U << (sb)->shift) - 1U)) argument
252 static inline void __sbitmap_for_each_set(struct sbitmap *sb, in __sbitmap_for_each_set()
310 static inline unsigned long *__sbitmap_word(struct sbitmap *sb, in __sbitmap_word()
318 static inline void sbitmap_set_bit(struct sbitmap *sb, unsigned int bitnr) in sbitmap_set_bit()
323 static inline void sbitmap_clear_bit(struct sbitmap *sb, unsigned int bitnr) in sbitmap_clear_bit()
345 static inline void sbitmap_put(struct sbitmap *sb, unsigned int bitnr) in sbitmap_put()
[all …]
/linux/fs/ext4/
A Dsuper.c146 #define IS_EXT2_SB(sb) (0) argument
804 #define ext4_error_ratelimit(sb) \ argument
974 void __ext4_msg(struct super_block *sb, in __ext4_msg()
2531 struct super_block *sb) in ext4_apply_quota_options()
2568 struct super_block *sb) in ext4_check_quota_consistency()
2686 struct super_block *sb) in ext4_check_test_dummy_encryption()
2726 struct super_block *sb) in ext4_apply_test_dummy_encryption()
2738 struct super_block *sb) in ext4_check_opt_consistency()
2873 struct super_block *sb) in ext4_show_quota_options()
3044 struct super_block *sb = seq->private; in ext4_seq_options_show() local
[all …]
A Dmballoc-test.c33 static struct inode *mbt_alloc_inode(struct super_block *sb) in mbt_alloc_inode()
60 static void mbt_kill_sb(struct super_block *sb) in mbt_kill_sb()
70 static int mbt_mb_init(struct super_block *sb) in mbt_mb_init()
120 static void mbt_mb_release(struct super_block *sb) in mbt_mb_release()
129 static int mbt_set(struct super_block *sb, void *data) in mbt_set()
137 struct super_block *sb; in mbt_ext4_alloc_super_block() local
188 static void mbt_init_sb_layout(struct super_block *sb, in mbt_init_sb_layout()
213 static int mbt_grp_ctx_init(struct super_block *sb, in mbt_grp_ctx_init()
249 static int mbt_ctx_init(struct super_block *sb) in mbt_ctx_init()
280 static void mbt_ctx_release(struct super_block *sb) in mbt_ctx_release()
[all …]
A Dballoc.c36 ext4_group_t ext4_get_group_number(struct super_block *sb, in ext4_get_group_number()
74 static inline int ext4_block_in_group(struct super_block *sb, in ext4_block_in_group()
88 static unsigned ext4_num_overhead_clusters(struct super_block *sb, in ext4_num_overhead_clusters()
162 static unsigned int num_clusters_in_group(struct super_block *sb, in num_clusters_in_group()
182 static int ext4_init_block_bitmap(struct super_block *sb, in ext4_init_block_bitmap()
239 unsigned ext4_free_clusters_after_init(struct super_block *sb, in ext4_free_clusters_after_init()
399 static int ext4_validate_block_bitmap(struct super_block *sb, in ext4_validate_block_bitmap()
689 int ext4_should_retry_alloc(struct super_block *sb, int *retries) in ext4_should_retry_alloc()
770 ext4_fsblk_t ext4_count_free_clusters(struct super_block *sb) in ext4_count_free_clusters()
854 int ext4_bg_has_super(struct super_block *sb, ext4_group_t group) in ext4_bg_has_super()
[all …]
A 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
173 void (*func)(struct super_block *sb, in ext4_journal_callback_add()
[all …]
A 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_thawed(struct super_block *sb, in write_mmp_block_thawed()
58 static int write_mmp_block(struct super_block *sb, struct buffer_head *bh) in write_mmp_block()
76 static int read_mmp_block(struct super_block *sb, struct buffer_head **bh, in read_mmp_block()
122 void __dump_mmp_msg(struct super_block *sb, struct mmp_struct *mmp, in __dump_mmp_msg()
138 struct super_block *sb = data; in kmmpd() local
279 int ext4_multi_mount_protect(struct super_block *sb, in ext4_multi_mount_protect()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_ste_v0.c737 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l2_src_dst_tag()
793 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l3_ipv6_dst_tag()
819 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l3_ipv6_src_tag()
845 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l3_ipv4_5_tuple_tag()
1029 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l2_dst_bit_mask()
1175 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_ipv6_l3_l4_tag()
1217 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_mpls_tag()
1243 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_tnl_gre_tag()
1405 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_icmp_tag()
1495 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l4_misc_tag()
[all …]
A Ddr_ste_v1.c1375 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l2_src_tag()
1408 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l2_dst_tag()
1458 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l2_tnl_tag()
1510 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l3_ipv4_misc_tag()
1572 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_mpls_tag()
1623 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_tnl_mpls_tag()
1668 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_tnl_mpls_over_udp_tag()
1709 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_tnl_mpls_over_gre_tag()
1750 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_icmp_tag()
1920 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_register_0_tag()
[all …]
/linux/fs/befs/
A 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()
A 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/fs/exfat/
A Dsuper.c34 static void exfat_put_super(struct super_block *sb) in exfat_put_super()
44 static int exfat_sync_fs(struct super_block *sb, int wait) in exfat_sync_fs()
66 struct super_block *sb = dentry->d_sb; in exfat_statfs() local
120 int exfat_set_volume_dirty(struct super_block *sb) in exfat_set_volume_dirty()
127 int exfat_clear_volume_dirty(struct super_block *sb) in exfat_clear_volume_dirty()
136 struct super_block *sb = root->d_sb; in exfat_show_options() local
203 static void exfat_shutdown(struct super_block *sb) in exfat_shutdown()
363 static void exfat_hash_init(struct super_block *sb) in exfat_hash_init()
375 struct super_block *sb = inode->i_sb; in exfat_read_root() local
611 static int __exfat_fill_super(struct super_block *sb) in __exfat_fill_super()
[all …]
/linux/fs/ext2/
A 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()
144 static void ext2_put_super (struct super_block * sb) in ext2_put_super()
237 struct super_block *sb = root->d_sb; in ext2_show_options() local
631 static int ext2_setup_super (struct super_block * sb, in ext2_setup_super()
1291 static int ext2_freeze(struct super_block *sb) in ext2_freeze()
1313 static int ext2_unfreeze(struct super_block *sb) in ext2_unfreeze()
1321 static void ext2_write_super(struct super_block *sb) in ext2_write_super()
[all …]
/linux/fs/reiserfs/
A Djournal.c422 super_block in get_journal_hash_dev()
1171 struct super_block *sb = cn->sb; in find_newer_jl_for_cn() local
1968 struct super_block *sb) in journal_release()
1975 struct super_block *sb) in journal_release_error()
3194 struct super_block *sb) in journal_join()
3208 struct super_block *sb) in journal_join_abort()
3281 struct super_block *sb = th->t_super; in journal_mark_dirty() local
3387 struct super_block *sb = th->t_super; in journal_end() local
3485 struct super_block *sb = cn->sb; in can_dirty() local
3524 struct super_block *sb = th->t_super; in journal_end_sync() local
[all …]
/linux/fs/nilfs2/
A Dsuper.c87 static void nilfs_set_error(struct super_block *sb) in nilfs_set_error()
154 struct inode *nilfs_alloc_inode(struct super_block *sb) in nilfs_alloc_inode()
313 int nilfs_cleanup_super(struct super_block *sb) in nilfs_cleanup_super()
499 static void nilfs_put_super(struct super_block *sb) in nilfs_put_super()
580 static int nilfs_freeze(struct super_block *sb) in nilfs_freeze()
595 static int nilfs_unfreeze(struct super_block *sb) in nilfs_unfreeze()
610 struct super_block *sb = dentry->d_sb; in nilfs_statfs() local
677 struct super_block *sb = dentry->d_sb; in nilfs_show_options() local
773 struct super_block *sb = fc->root->d_sb; in nilfs_parse_param() local
857 int nilfs_store_magic(struct super_block *sb, in nilfs_store_magic()
[all …]
/linux/tools/perf/util/
A 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/fs/ufs/
A Dsuper.c150 static void ufs_print_super_stuff(struct super_block *sb, in ufs_print_super_stuff()
266 # define ufs_print_super_stuff(sb, usb1, usb2, usb3) /**/ argument
267 # define ufs_print_cylinder_stuff(sb, cg) /**/ argument
470 static void ufs_setup_cstotal(struct super_block *sb) in ufs_setup_cstotal()
590 static void ufs_put_cstotal(struct super_block *sb) in ufs_put_cstotal()
644 static void ufs_put_super_internal(struct super_block *sb) in ufs_put_super_internal()
686 static int ufs_sync_fs(struct super_block *sb, int wait) in ufs_sync_fs()
729 void ufs_mark_sb_dirty(struct super_block *sb) in ufs_mark_sb_dirty()
743 static void ufs_put_super(struct super_block *sb) in ufs_put_super()
761 static u64 ufs_max_bytes(struct super_block *sb) in ufs_max_bytes()
[all …]
/linux/fs/ocfs2/
A Dquota_local.c97 struct super_block *sb = inode->i_sb; in ocfs2_modify_bh() local
343 struct super_block *sb = lqinode->i_sb; in ocfs2_recovery_load_quota() local
393 struct super_block *sb = osb->sb; in ocfs2_begin_quota_recovery() local
462 struct super_block *sb = lqinode->i_sb; in ocfs2_recover_local_quota_file() local
591 struct super_block *sb = osb->sb; in ocfs2_finish_quota_recovery() local
877 struct super_block *sb = od->dq_dquot.dq_sb; in olq_set_dquot() local
899 struct super_block *sb = dquot->dq_sb; in ocfs2_local_write_dquot() local
965 struct super_block *sb, in ocfs2_local_quota_add_chunk()
1096 struct super_block *sb, in ocfs2_extend_local_quota_file()
1222 struct super_block *sb = dquot->dq_sb; in ocfs2_create_local_dquot() local
[all …]
/linux/fs/quota/
A Dquota.c54 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()
201 static int quota_getquota(struct super_block *sb, int type, qid_t id, in quota_getquota()
313 static int quota_enable(struct super_block *sb, void __user *addr) in quota_enable()
324 static int quota_disable(struct super_block *sb, void __user *addr) in quota_disable()
354 static int quota_getstate(struct super_block *sb, int type, in quota_getstate()
452 static int quota_getstatev(struct super_block *sb, int type, in quota_getstatev()
869 struct super_block *sb; in quotactl_block() local
921 struct super_block *sb = NULL; in SYSCALL_DEFINE4() local
[all …]
/linux/fs/erofs/
A Dsuper.c89 static struct inode *erofs_alloc_inode(struct super_block *sb) in erofs_alloc_inode()
148 static int z_erofs_parse_cfgs(struct super_block *sb, in z_erofs_parse_cfgs()
211 static int erofs_scan_devices(struct super_block *sb, in erofs_scan_devices()
273 static int erofs_read_superblock(struct super_block *sb) in erofs_read_superblock()
535 static struct inode *erofs_nfs_get_inode(struct super_block *sb, in erofs_nfs_get_inode()
541 static struct dentry *erofs_fh_to_dentry(struct super_block *sb, in erofs_fh_to_dentry()
574 static void erofs_set_sysfs_name(struct super_block *sb) in erofs_set_sysfs_name()
734 struct super_block *sb = fc->root->d_sb; in erofs_fc_reconfigure() local
819 static void erofs_kill_sb(struct super_block *sb) in erofs_kill_sb()
839 static void erofs_put_super(struct super_block *sb) in erofs_put_super()
[all …]
/linux/fs/udf/
A Dsuper.c242 struct super_block *sb = fc->root->d_sb; in udf_init_options() local
385 struct super_block *sb = root->d_sb; in udf_show_options() local
653 struct super_block *sb = fc->root->d_sb; in udf_reconfigure() local
738 static int udf_check_vsd(struct super_block *sb) in udf_check_vsd()
855 static int udf_find_fileset(struct super_block *sb, in udf_find_fileset()
1589 static bool udf_lvid_valid(struct super_block *sb, in udf_lvid_valid()
1732 struct super_block *sb, in udf_process_sequence()
2045 static void udf_open_lvid(struct super_block *sb) in udf_open_lvid()
2115 u64 lvid_get_unique_id(struct super_block *sb) in lvid_get_unique_id()
2357 static void udf_put_super(struct super_block *sb) in udf_put_super()
[all …]
/linux/fs/zonefs/
A Dsuper.c156 struct super_block *sb = inode->i_sb; in zonefs_update_stats() local
263 struct super_block *sb = inode->i_sb; in zonefs_handle_io_error() local
370 struct super_block *sb = inode->i_sb; in __zonefs_io_error() local
443 struct super_block *sb = dentry->d_sb; in zonefs_statfs() local
627 struct super_block *sb = dir->i_sb; in zonefs_get_file_inode() local
709 struct super_block *sb = dir->i_sb; in zonefs_get_dir_inode() local
751 struct super_block *sb = inode->i_sb; in zonefs_readdir_root() local
788 struct super_block *sb = inode->i_sb; in zonefs_readdir_zgroup() local
847 struct super_block *sb; member
857 struct super_block *sb = zd->sb; in zonefs_get_zone_info_cb() local
[all …]
/linux/fs/romfs/
A 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/fs/bcachefs/
A Dsuper-io.c81 struct bch_sb_field *bch2_sb_field_get_id(struct bch_sb *sb, in bch2_sb_field_get_id()
131 void bch2_sb_field_delete(struct bch_sb_handle *sb, in bch2_sb_field_delete()
142 void bch2_free_super(struct bch_sb_handle *sb) in bch2_free_super()
154 int bch2_sb_realloc(struct bch_sb_handle *sb, unsigned u64s) in bch2_sb_realloc()
355 struct bch_sb *sb = disk_sb->sb; in bch2_sb_validate() local
697 struct bch_sb_handle *sb, bool ignore_notbchfs_msg) in __bch2_read_super()
855 struct bch_sb_handle *sb) in bch2_read_super()
863 struct bch_sb_handle *sb) in bch2_read_super_silent()
891 struct bch_sb *sb = ca->disk_sb.sb; in read_back_super() local
909 struct bch_sb *sb = ca->disk_sb.sb; in write_one_super() local
[all …]

Completed in 99 milliseconds

12345678910>>...29