| /linux-6.15/fs/ |
| H A D | super.c | 180 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-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_ste_v1.c | 1239 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l2_src_tag() 1272 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l2_dst_tag() 1322 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l2_tnl_tag() 1374 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_eth_l3_ipv4_misc_tag() 1436 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_mpls_tag() 1487 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_tnl_mpls_tag() 1532 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_tnl_mpls_over_udp_tag() 1573 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_tnl_mpls_over_gre_tag() 1614 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_icmp_tag() 1784 struct mlx5dr_ste_build *sb, in dr_ste_v1_build_register_0_tag() [all …]
|
| H A D | dr_ste_v0.c | 739 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l2_src_dst_tag() 795 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l3_ipv6_dst_tag() 821 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l3_ipv6_src_tag() 847 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l3_ipv4_5_tuple_tag() 1031 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l2_dst_bit_mask() 1177 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_ipv6_l3_l4_tag() 1219 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_mpls_tag() 1245 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_tnl_gre_tag() 1407 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_icmp_tag() 1497 struct mlx5dr_ste_build *sb, in dr_ste_v0_build_eth_l4_misc_tag() [all …]
|
| /linux-6.15/fs/ext4/ |
| H A D | super.c | 145 #define IS_EXT2_SB(sb) (0) argument 798 #define ext4_error_ratelimit(sb) \ argument 968 void __ext4_msg(struct super_block *sb, in __ext4_msg() 2522 struct super_block *sb) in ext4_apply_quota_options() 2559 struct super_block *sb) in ext4_check_quota_consistency() 2677 struct super_block *sb) in ext4_check_test_dummy_encryption() 2717 struct super_block *sb) in ext4_apply_test_dummy_encryption() 2729 struct super_block *sb) in ext4_check_opt_consistency() 2871 struct super_block *sb) in ext4_show_quota_options() 3051 struct super_block *sb = seq->private; in ext4_seq_options_show() local [all …]
|
| H A D | mballoc-test.c | 33 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 …]
|
| H A D | balloc.c | 36 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 …]
|
| H A D | ext4_jbd2.h | 33 #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 167 #define ext4_journal_get_write_access(handle, sb, bh, trigger_type) \ argument [all …]
|
| H A D | mmp.c | 11 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-6.15/include/linux/ |
| H A D | quotaops.h | 17 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 …]
|
| H A D | sbitmap.h | 113 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-6.15/fs/befs/ |
| H A D | endian.h | 16 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()
|
| H A D | debug.c | 29 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-6.15/fs/exfat/ |
| H A D | super.c | 34 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 111 int exfat_set_volume_dirty(struct super_block *sb) in exfat_set_volume_dirty() 118 int exfat_clear_volume_dirty(struct super_block *sb) in exfat_clear_volume_dirty() 127 struct super_block *sb = root->d_sb; in exfat_show_options() local 194 static void exfat_shutdown(struct super_block *sb) in exfat_shutdown() 354 static void exfat_hash_init(struct super_block *sb) in exfat_hash_init() 366 struct super_block *sb = inode->i_sb; in exfat_read_root() local 601 static int __exfat_fill_super(struct super_block *sb) in __exfat_fill_super() [all …]
|
| H A D | fatent.c | 14 static int exfat_mirror_bh(struct super_block *sb, sector_t sec, in exfat_mirror_bh() 38 static int __exfat_ent_get(struct super_block *sb, unsigned int loc, in __exfat_ent_get() 62 int exfat_ent_set(struct super_block *sb, unsigned int loc, in exfat_ent_set() 85 int exfat_ent_get(struct super_block *sb, unsigned int loc, in exfat_ent_get() 129 int exfat_chain_cont_cluster(struct super_block *sb, unsigned int chain, in exfat_chain_cont_cluster() 147 static inline void exfat_discard_cluster(struct super_block *sb, in exfat_discard_cluster() 164 struct super_block *sb = inode->i_sb; in __exfat_free_cluster() local 280 int exfat_find_last_cluster(struct super_block *sb, struct exfat_chain *p_chain, in exfat_find_last_cluster() 312 struct super_block *sb = dir->i_sb; in exfat_zeroed_cluster() local 354 struct super_block *sb = inode->i_sb; in exfat_alloc_cluster() local [all …]
|
| /linux-6.15/fs/nilfs2/ |
| H A D | super.c | 87 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() 315 int nilfs_cleanup_super(struct super_block *sb) in nilfs_cleanup_super() 505 static void nilfs_put_super(struct super_block *sb) in nilfs_put_super() 586 static int nilfs_freeze(struct super_block *sb) in nilfs_freeze() 601 static int nilfs_unfreeze(struct super_block *sb) in nilfs_unfreeze() 616 struct super_block *sb = dentry->d_sb; in nilfs_statfs() local 683 struct super_block *sb = dentry->d_sb; in nilfs_show_options() local 779 struct super_block *sb = fc->root->d_sb; in nilfs_parse_param() local 863 int nilfs_store_magic(struct super_block *sb, in nilfs_store_magic() [all …]
|
| /linux-6.15/tools/perf/util/ |
| H A D | strbuf.c | 20 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-6.15/fs/ufs/ |
| H A D | super.c | 150 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() 581 static void ufs_put_cstotal(struct super_block *sb) in ufs_put_cstotal() 635 static void ufs_put_super_internal(struct super_block *sb) in ufs_put_super_internal() 675 static int ufs_sync_fs(struct super_block *sb, int wait) in ufs_sync_fs() 718 void ufs_mark_sb_dirty(struct super_block *sb) in ufs_mark_sb_dirty() 732 static void ufs_put_super(struct super_block *sb) in ufs_put_super() 750 static u64 ufs_max_bytes(struct super_block *sb) in ufs_max_bytes() [all …]
|
| /linux-6.15/fs/ext2/ |
| H A D | super.c | 111 void ext2_msg(struct super_block *sb, const char *prefix, in ext2_msg() 130 void ext2_update_dynamic_rev(struct super_block *sb) in ext2_update_dynamic_rev() 171 static void ext2_put_super (struct super_block * sb) in ext2_put_super() 264 struct super_block *sb = root->d_sb; in ext2_show_options() local 644 static int ext2_setup_super (struct super_block * sb, in ext2_setup_super() 1328 static int ext2_freeze(struct super_block *sb) in ext2_freeze() 1350 static int ext2_unfreeze(struct super_block *sb) in ext2_unfreeze() 1358 static void ext2_write_super(struct super_block *sb) in ext2_write_super() 1367 struct super_block *sb = fc->root->d_sb; in ext2_reconfigure() local 1447 struct super_block *sb = dentry->d_sb; in ext2_statfs() local [all …]
|
| /linux-6.15/fs/quota/ |
| H A D | quota.c | 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() 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-6.15/fs/ocfs2/ |
| H A D | quota_local.c | 44 static unsigned int ol_chunk_entries(struct super_block *sb) in ol_chunk_entries() 97 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 461 struct super_block *sb = lqinode->i_sb; in ocfs2_recover_local_quota_file() local 873 struct super_block *sb = od->dq_dquot.dq_sb; in olq_set_dquot() local 895 struct super_block *sb = dquot->dq_sb; in ocfs2_local_write_dquot() local 961 struct super_block *sb, in ocfs2_local_quota_add_chunk() 1092 struct super_block *sb, in ocfs2_extend_local_quota_file() 1218 struct super_block *sb = dquot->dq_sb; in ocfs2_create_local_dquot() local [all …]
|
| /linux-6.15/fs/udf/ |
| H A D | super.c | 242 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-6.15/fs/zonefs/ |
| H A D | super.c | 156 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-6.15/fs/romfs/ |
| H A D | storage.c | 18 #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-6.15/fs/bcachefs/ |
| H A D | super-io.c | 113 struct bch_sb_field *bch2_sb_field_get_id(struct bch_sb *sb, in bch2_sb_field_get_id() 163 void bch2_sb_field_delete(struct bch_sb_handle *sb, in bch2_sb_field_delete() 174 void bch2_free_super(struct bch_sb_handle *sb) in bch2_free_super() 186 int bch2_sb_realloc(struct bch_sb_handle *sb, unsigned u64s) in bch2_sb_realloc() 384 int bch2_sb_validate(struct bch_sb *sb, u64 read_offset, in bch2_sb_validate() 775 struct bch_sb_handle *sb, bool ignore_notbchfs_msg) in __bch2_read_super() 933 struct bch_sb_handle *sb) in bch2_read_super() 941 struct bch_sb_handle *sb) in bch2_read_super_silent() 969 struct bch_sb *sb = ca->disk_sb.sb; in read_back_super() local 988 struct bch_sb *sb = ca->disk_sb.sb; in write_one_super() local [all …]
|
| /linux-6.15/fs/erofs/ |
| H A D | super.c | 21 void _erofs_printk(struct super_block *sb, const char *fmt, ...) in _erofs_printk() 66 static struct inode *erofs_alloc_inode(struct super_block *sb) in erofs_alloc_inode() 125 static int z_erofs_parse_cfgs(struct super_block *sb, in z_erofs_parse_cfgs() 188 static int erofs_scan_devices(struct super_block *sb, in erofs_scan_devices() 250 static int erofs_read_superblock(struct super_block *sb) in erofs_read_superblock() 513 static struct inode *erofs_nfs_get_inode(struct super_block *sb, in erofs_nfs_get_inode() 552 static void erofs_set_sysfs_name(struct super_block *sb) in erofs_set_sysfs_name() 711 struct super_block *sb = fc->root->d_sb; in erofs_fc_reconfigure() local 811 static void erofs_kill_sb(struct super_block *sb) in erofs_kill_sb() 827 static void erofs_put_super(struct super_block *sb) in erofs_put_super() [all …]
|