/openbmc/linux/fs/ |
H A D | super.c | 187 struct super_block *sb; in super_cache_scan() local 244 struct super_block *sb; in super_cache_count() local 430 void put_super(struct super_block *sb) in put_super() 920 void drop_super(struct super_block *sb) in drop_super() 937 struct super_block *sb, *p = NULL; in __iterate_supers() local 968 struct super_block *sb, *p = NULL; in iterate_supers() local 1004 struct super_block *sb, *p = NULL; in iterate_supers_type() local 1040 struct super_block *sb; in get_active_super() local 1060 struct super_block *sb; in user_get_super() local 1338 struct super_block *sb; in vfs_get_super() local [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/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() 273 static inline int dquot_disable(struct super_block *sb, int type, in dquot_disable() 279 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 …]
|
/openbmc/linux/fs/ext4/ |
H A D | super.c | 146 #define IS_EXT2_SB(sb) (0) argument 812 #define ext4_error_ratelimit(sb) \ argument 982 void __ext4_msg(struct super_block *sb, in __ext4_msg() 2555 struct super_block *sb) in ext4_apply_quota_options() 2592 struct super_block *sb) in ext4_check_quota_consistency() 2710 struct super_block *sb) in ext4_check_test_dummy_encryption() 2750 struct super_block *sb) in ext4_apply_test_dummy_encryption() 2762 struct super_block *sb) in ext4_check_opt_consistency() 2906 struct super_block *sb) in ext4_show_quota_options() 3077 struct super_block *sb = seq->private; in ext4_seq_options_show() local [all …]
|
H A D | balloc.c | 35 ext4_group_t ext4_get_group_number(struct super_block *sb, in ext4_get_group_number() 73 static inline int ext4_block_in_group(struct super_block *sb, in ext4_block_in_group() 87 static unsigned ext4_num_overhead_clusters(struct super_block *sb, in ext4_num_overhead_clusters() 163 static unsigned int num_clusters_in_group(struct super_block *sb, in num_clusters_in_group() 183 static int ext4_init_block_bitmap(struct super_block *sb, in ext4_init_block_bitmap() 240 unsigned ext4_free_clusters_after_init(struct super_block *sb, in ext4_free_clusters_after_init() 397 static int ext4_validate_block_bitmap(struct super_block *sb, in ext4_validate_block_bitmap() 681 int ext4_should_retry_alloc(struct super_block *sb, int *retries) in ext4_should_retry_alloc() 762 ext4_fsblk_t ext4_count_free_clusters(struct super_block *sb) in ext4_count_free_clusters() 846 int ext4_bg_has_super(struct super_block *sb, ext4_group_t group) in ext4_bg_has_super() [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()
|
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 173 void (*func)(struct super_block *sb, in ext4_journal_callback_add() [all …]
|
H A D | resize.c | 48 int ext4_resize_begin(struct super_block *sb) in ext4_resize_begin() 134 static int verify_group_input(struct super_block *sb, in verify_group_input() 305 static int ext4_alloc_group_tables(struct super_block *sb, in ext4_alloc_group_tables() 781 static int verify_reserved_gdb(struct super_block *sb, in verify_reserved_gdb() 827 struct super_block *sb = inode->i_sb; in add_new_gdb() local 960 static int add_new_gdb_meta_bg(struct super_block *sb, in add_new_gdb_meta_bg() 1020 struct super_block *sb = inode->i_sb; in reserve_backup_gdb() local 1403 static void ext4_add_overhead(struct super_block *sb, in ext4_add_overhead() 1421 static void ext4_update_super(struct super_block *sb, in ext4_update_super() 1538 static int ext4_flex_group_add(struct super_block *sb, in ext4_flex_group_add() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ste_v0.c | 737 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 …]
|
H A D | dr_ste_v1.c | 1375 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 …]
|
/openbmc/linux/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()
|
/openbmc/linux/fs/ext2/ |
H A D | super.c | 49 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() 238 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 …]
|
/openbmc/linux/fs/reiserfs/ |
H A D | journal.c | 423 super_block in get_journal_hash_dev() 1172 struct super_block *sb = cn->sb; in find_newer_jl_for_cn() local 1969 struct super_block *sb) in journal_release() 1976 struct super_block *sb) in journal_release_error() 3201 struct super_block *sb) in journal_join() 3215 struct super_block *sb) in journal_join_abort() 3288 struct super_block *sb = th->t_super; in journal_mark_dirty() local 3394 struct super_block *sb = th->t_super; in journal_end() local 3492 struct super_block *sb = cn->sb; in can_dirty() local 3531 struct super_block *sb = th->t_super; in journal_end_sync() local [all …]
|
/openbmc/linux/fs/exfat/ |
H A D | super.c | 34 static void exfat_put_super(struct super_block *sb) in exfat_put_super() 47 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 320 static void exfat_hash_init(struct super_block *sb) in exfat_hash_init() 332 struct super_block *sb = inode->i_sb; in exfat_read_root() local 412 static int exfat_read_boot_sector(struct super_block *sb) in exfat_read_boot_sector() 570 static int __exfat_fill_super(struct super_block *sb) in __exfat_fill_super() [all …]
|
/openbmc/linux/fs/nilfs2/ |
H A D | super.c | 88 static void nilfs_set_error(struct super_block *sb) in nilfs_set_error() 151 struct inode *nilfs_alloc_inode(struct super_block *sb) in nilfs_alloc_inode() 273 int nilfs_commit_super(struct super_block *sb, int flag) in nilfs_commit_super() 309 int nilfs_cleanup_super(struct super_block *sb) in nilfs_cleanup_super() 495 static void nilfs_put_super(struct super_block *sb) in nilfs_put_super() 597 static int nilfs_freeze(struct super_block *sb) in nilfs_freeze() 612 static int nilfs_unfreeze(struct super_block *sb) in nilfs_unfreeze() 627 struct super_block *sb = dentry->d_sb; in nilfs_statfs() local 694 struct super_block *sb = dentry->d_sb; in nilfs_show_options() local 818 nilfs_set_default_options(struct super_block *sb, in nilfs_set_default_options() [all …]
|
/openbmc/linux/fs/ufs/ |
H A D | super.c | 149 static void ufs_print_super_stuff(struct super_block *sb, in ufs_print_super_stuff() 265 # define ufs_print_super_stuff(sb, usb1, usb2, usb3) /**/ argument 266 # define ufs_print_cylinder_stuff(sb, cg) /**/ argument 469 static void ufs_setup_cstotal(struct super_block *sb) in ufs_setup_cstotal() 589 static void ufs_put_cstotal(struct super_block *sb) in ufs_put_cstotal() 643 static void ufs_put_super_internal(struct super_block *sb) in ufs_put_super_internal() 685 static int ufs_sync_fs(struct super_block *sb, int wait) in ufs_sync_fs() 728 void ufs_mark_sb_dirty(struct super_block *sb) in ufs_mark_sb_dirty() 742 static void ufs_put_super(struct super_block *sb) in ufs_put_super() 760 static u64 ufs_max_bytes(struct super_block *sb) in ufs_max_bytes() [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A D | quota_local.c | 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 462 struct super_block *sb = lqinode->i_sb; in ocfs2_recover_local_quota_file() local 588 struct super_block *sb = osb->sb; in ocfs2_finish_quota_recovery() local 870 struct super_block *sb = od->dq_dquot.dq_sb; in olq_set_dquot() local 892 struct super_block *sb = dquot->dq_sb; in ocfs2_local_write_dquot() local 958 struct super_block *sb, in ocfs2_local_quota_add_chunk() 1089 struct super_block *sb, in ocfs2_extend_local_quota_file() 1215 struct super_block *sb = dquot->dq_sb; in ocfs2_create_local_dquot() local [all …]
|
/openbmc/linux/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 …]
|
/openbmc/linux/fs/zonefs/ |
H A D | super.c | 98 static int zonefs_zone_mgmt(struct super_block *sb, in zonefs_zone_mgmt() 155 struct super_block *sb = inode->i_sb; in zonefs_update_stats() local 262 struct super_block *sb = inode->i_sb; in zonefs_handle_io_error() local 369 struct super_block *sb = inode->i_sb; in __zonefs_io_error() local 442 struct super_block *sb = dentry->d_sb; in zonefs_statfs() local 644 struct super_block *sb = dir->i_sb; in zonefs_get_file_inode() local 725 struct super_block *sb = dir->i_sb; in zonefs_get_dir_inode() local 769 struct super_block *sb = inode->i_sb; in zonefs_readdir_root() local 806 struct super_block *sb = inode->i_sb; in zonefs_readdir_zgroup() local 865 struct super_block *sb; member [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/fs/erofs/ |
H A D | super.c | 85 static struct inode *erofs_alloc_inode(struct super_block *sb) in erofs_alloc_inode() 108 static bool check_layout_compatibility(struct super_block *sb, in check_layout_compatibility() 160 static int z_erofs_parse_cfgs(struct super_block *sb, in z_erofs_parse_cfgs() 217 static int erofs_scan_devices(struct super_block *sb, in erofs_scan_devices() 279 static int erofs_read_superblock(struct super_block *sb) in erofs_read_superblock() 540 static struct inode *erofs_nfs_get_inode(struct super_block *sb, in erofs_nfs_get_inode() 546 static struct dentry *erofs_fh_to_dentry(struct super_block *sb, in erofs_fh_to_dentry() 702 struct super_block *sb = fc->root->d_sb; in erofs_fc_reconfigure() local 787 static void erofs_kill_sb(struct super_block *sb) in erofs_kill_sb() 805 static void erofs_put_super(struct super_block *sb) in erofs_put_super() [all …]
|
/openbmc/linux/fs/udf/ |
H A D | super.c | 303 static void udf_sb_free_partitions(struct super_block *sb) in udf_sb_free_partitions() 318 struct super_block *sb = root->d_sb; in udf_show_options() local 707 static int udf_check_vsd(struct super_block *sb) in udf_check_vsd() 824 static int udf_find_fileset(struct super_block *sb, in udf_find_fileset() 1028 static int check_partition_desc(struct super_block *sb, in check_partition_desc() 1693 struct super_block *sb, in udf_process_sequence() 2006 static void udf_open_lvid(struct super_block *sb) in udf_open_lvid() 2036 static void udf_close_lvid(struct super_block *sb) in udf_close_lvid() 2076 u64 lvid_get_unique_id(struct super_block *sb) in lvid_get_unique_id() 2329 static void udf_put_super(struct super_block *sb) in udf_put_super() [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_quotaops.c | 56 struct super_block *sb, in xfs_fs_get_quota_state() 108 struct super_block *sb, in xfs_fs_set_info() 158 struct super_block *sb, in xfs_quota_enable() 173 struct super_block *sb, in xfs_quota_disable() 188 struct super_block *sb, in xfs_fs_rm_xquota() 215 struct super_block *sb, in xfs_fs_get_dqblk() 232 struct super_block *sb, in xfs_fs_get_nextdqblk() 256 struct super_block *sb, in xfs_fs_set_dqblk()
|