Searched refs:sb (Results 26 - 50 of 924) sorted by relevance

1234567891011>>

/linux-master/fs/ext4/
H A Dballoc.c27 static unsigned ext4_num_base_meta_clusters(struct super_block *sb,
36 ext4_group_t ext4_get_group_number(struct super_block *sb, argument
41 if (test_opt2(sb, STD_GROUP_SIZE))
43 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block)) >>
44 (EXT4_BLOCK_SIZE_BITS(sb) + EXT4_CLUSTER_BITS(sb) + 3);
46 ext4_get_group_no_and_offset(sb, block, &group, NULL);
54 void ext4_get_group_no_and_offset(struct super_block *sb, ext4_fsblk_t blocknr, argument
57 struct ext4_super_block *es = EXT4_SB(sb)->s_es;
61 offset = do_div(blocknr, EXT4_BLOCKS_PER_GROUP(sb)) >>
74 ext4_block_in_group(struct super_block *sb, ext4_fsblk_t block, ext4_group_t block_group) argument
88 ext4_num_overhead_clusters(struct super_block *sb, ext4_group_t block_group, struct ext4_group_desc *gdp) argument
162 num_clusters_in_group(struct super_block *sb, ext4_group_t block_group) argument
182 ext4_init_block_bitmap(struct super_block *sb, struct buffer_head *bh, ext4_group_t block_group, struct ext4_group_desc *gdp) argument
239 ext4_free_clusters_after_init(struct super_block *sb, ext4_group_t block_group, struct ext4_group_desc *gdp) argument
265 ext4_get_group_desc(struct super_block *sb, ext4_group_t block_group, struct buffer_head **bh) argument
310 ext4_valid_block_bitmap_padding(struct super_block *sb, ext4_group_t block_group, struct buffer_head *bh) argument
326 ext4_get_group_info(struct super_block *sb, ext4_group_t group) argument
344 ext4_valid_block_bitmap(struct super_block *sb, struct ext4_group_desc *desc, ext4_group_t block_group, struct buffer_head *bh) argument
399 ext4_validate_block_bitmap(struct super_block *sb, struct ext4_group_desc *desc, ext4_group_t block_group, struct buffer_head *bh) argument
464 ext4_read_block_bitmap_nowait(struct super_block *sb, ext4_group_t block_group, bool ignore_locked) argument
566 ext4_wait_block_bitmap(struct super_block *sb, ext4_group_t block_group, struct buffer_head *bh) argument
595 ext4_read_block_bitmap(struct super_block *sb, ext4_group_t block_group) argument
689 ext4_should_retry_alloc(struct super_block *sb, int *retries) argument
770 ext4_count_free_clusters(struct super_block *sb) argument
854 ext4_bg_has_super(struct super_block *sb, ext4_group_t group) argument
877 ext4_bg_num_gdb_meta(struct super_block *sb, ext4_group_t group) argument
889 ext4_bg_num_gdb_nometa(struct super_block *sb, ext4_group_t group) argument
910 ext4_bg_num_gdb(struct super_block *sb, ext4_group_t group) argument
927 ext4_num_base_meta_blocks(struct super_block *sb, ext4_group_t block_group) argument
949 ext4_num_base_meta_clusters(struct super_block *sb, ext4_group_t block_group) argument
[all...]
H A Dmmp.c11 static __le32 ext4_mmp_csum(struct super_block *sb, struct mmp_struct *mmp) argument
13 struct ext4_sb_info *sbi = EXT4_SB(sb);
22 static int ext4_mmp_csum_verify(struct super_block *sb, struct mmp_struct *mmp) argument
24 if (!ext4_has_metadata_csum(sb))
27 return mmp->mmp_checksum == ext4_mmp_csum(sb, mmp);
30 static void ext4_mmp_csum_set(struct super_block *sb, struct mmp_struct *mmp) argument
32 if (!ext4_has_metadata_csum(sb))
35 mmp->mmp_checksum = ext4_mmp_csum(sb, mmp);
42 static int write_mmp_block_thawed(struct super_block *sb, argument
47 ext4_mmp_csum_set(sb, mm
58 write_mmp_block(struct super_block *sb, struct buffer_head *bh) argument
76 read_mmp_block(struct super_block *sb, struct buffer_head **bh, ext4_fsblk_t mmp_block) argument
122 __dump_mmp_msg(struct super_block *sb, struct mmp_struct *mmp, const char *function, unsigned int line, const char *msg) argument
138 struct super_block *sb = data; local
279 ext4_multi_mount_protect(struct super_block *sb, ext4_fsblk_t mmp_block) argument
[all...]
H A Dsuper.c70 static void ext4_update_super(struct super_block *sb);
71 static int ext4_commit_super(struct super_block *sb);
72 static int ext4_mark_recovery_complete(struct super_block *sb,
74 static int ext4_clear_journal_err(struct super_block *sb,
76 static int ext4_sync_fs(struct super_block *sb, int wait);
78 static int ext4_unfreeze(struct super_block *sb);
79 static int ext4_freeze(struct super_block *sb);
80 static inline int ext2_feature_set_ok(struct super_block *sb);
81 static inline int ext3_feature_set_ok(struct super_block *sb);
83 static void ext4_unregister_li_request(struct super_block *sb);
223 __ext4_sb_bread_gfp(struct super_block *sb, sector_t block, blk_opf_t op_flags, gfp_t gfp) argument
244 ext4_sb_bread(struct super_block *sb, sector_t block, blk_opf_t op_flags) argument
253 ext4_sb_bread_unmovable(struct super_block *sb, sector_t block) argument
262 ext4_sb_breadahead_unmovable(struct super_block *sb, sector_t block) argument
274 ext4_verify_csum_type(struct super_block *sb, struct ext4_super_block *es) argument
283 ext4_superblock_csum(struct super_block *sb, struct ext4_super_block *es) argument
295 ext4_superblock_csum_verify(struct super_block *sb, struct ext4_super_block *es) argument
304 ext4_superblock_csum_set(struct super_block *sb) argument
314 ext4_block_bitmap(struct super_block *sb, struct ext4_group_desc *bg) argument
322 ext4_inode_bitmap(struct super_block *sb, struct ext4_group_desc *bg) argument
330 ext4_inode_table(struct super_block *sb, struct ext4_group_desc *bg) argument
338 ext4_free_group_clusters(struct super_block *sb, struct ext4_group_desc *bg) argument
346 ext4_free_inodes_count(struct super_block *sb, struct ext4_group_desc *bg) argument
354 ext4_used_dirs_count(struct super_block *sb, struct ext4_group_desc *bg) argument
362 ext4_itable_unused_count(struct super_block *sb, struct ext4_group_desc *bg) argument
370 ext4_block_bitmap_set(struct super_block *sb, struct ext4_group_desc *bg, ext4_fsblk_t blk) argument
378 ext4_inode_bitmap_set(struct super_block *sb, struct ext4_group_desc *bg, ext4_fsblk_t blk) argument
386 ext4_inode_table_set(struct super_block *sb, struct ext4_group_desc *bg, ext4_fsblk_t blk) argument
394 ext4_free_group_clusters_set(struct super_block *sb, struct ext4_group_desc *bg, __u32 count) argument
402 ext4_free_inodes_set(struct super_block *sb, struct ext4_group_desc *bg, __u32 count) argument
410 ext4_used_dirs_set(struct super_block *sb, struct ext4_group_desc *bg, __u32 count) argument
418 ext4_itable_unused_set(struct super_block *sb, struct ext4_group_desc *bg, __u32 count) argument
459 ext4_maybe_update_superblock(struct super_block *sb) argument
503 block_device_ejected(struct super_block *sb) argument
513 struct super_block *sb = journal->j_private; local
659 save_error_info(struct super_block *sb, int error, __u32 ino, __u64 block, const char *func, unsigned int line) argument
708 ext4_handle_error(struct super_block *sb, bool force_ro, int error, __u32 ino, __u64 block, const char *func, unsigned int line) argument
823 __ext4_error(struct super_block *sb, const char *function, unsigned int line, bool force_ro, int error, __u64 block, const char *fmt, ...) argument
921 ext4_decode_error(struct super_block *sb, int errno, char nbuf[16]) argument
964 __ext4_std_error(struct super_block *sb, const char *function, unsigned int line, int errno) argument
989 __ext4_msg(struct super_block *sb, const char *prefix, const char *fmt, ...) argument
1012 ext4_warning_ratelimit(struct super_block *sb) argument
1019 __ext4_warning(struct super_block *sb, const char *function, unsigned int line, const char *fmt, ...) argument
1111 ext4_mark_group_bitmap_corrupted(struct super_block *sb, ext4_group_t group, unsigned int flags) argument
1143 ext4_update_dynamic_rev(struct super_block *sb) argument
1173 dump_orphan_list(struct super_block *sb, struct ext4_sb_info *sbi) argument
1194 ext4_quotas_off(struct super_block *sb, int type) argument
1207 get_qf_name(struct super_block *sb, struct ext4_sb_info *sbi, int type) argument
1215 ext4_quotas_off(struct super_block *sb, int type) argument
1291 ext4_put_super(struct super_block *sb) argument
1404 ext4_alloc_inode(struct super_block *sb) argument
1483 ext4_shutdown(struct super_block *sb) argument
1540 ext4_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) argument
1560 ext4_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
1567 ext4_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
2501 parse_apply_sb_mount_options(struct super_block *sb, struct ext4_fs_context *m_ctx) argument
2561 ext4_apply_quota_options(struct fs_context *fc, struct super_block *sb) argument
2598 ext4_check_quota_consistency(struct fs_context *fc, struct super_block *sb) argument
2716 ext4_check_test_dummy_encryption(const struct fs_context *fc, struct super_block *sb) argument
2756 ext4_apply_test_dummy_encryption(struct ext4_fs_context *ctx, struct super_block *sb) argument
2768 ext4_check_opt_consistency(struct fs_context *fc, struct super_block *sb) argument
2843 ext4_apply_options(struct fs_context *fc, struct super_block *sb) argument
2903 ext4_show_quota_options(struct seq_file *seq, struct super_block *sb) argument
2953 _ext4_show_options(struct seq_file *seq, struct super_block *sb, int nodefs) argument
3075 struct super_block *sb = seq->private; local
3084 ext4_setup_super(struct super_block *sb, struct ext4_super_block *es, int read_only) argument
3142 ext4_alloc_flex_bg_array(struct super_block *sb, ext4_group_t ngroup) argument
3189 ext4_fill_flex_info(struct super_block *sb) argument
3223 ext4_group_desc_csum(struct super_block *sb, __u32 block_group, struct ext4_group_desc *gdp) argument
3267 ext4_group_desc_csum_verify(struct super_block *sb, __u32 block_group, struct ext4_group_desc *gdp) argument
3277 ext4_group_desc_csum_set(struct super_block *sb, __u32 block_group, struct ext4_group_desc *gdp) argument
3286 ext4_check_descriptors(struct super_block *sb, ext4_fsblk_t sb_block, ext4_group_t *first_not_zeroed) argument
3529 descriptor_loc(struct super_block *sb, ext4_fsblk_t logical_sb_block, int nr) argument
3600 ext4_feature_set_ok(struct super_block *sb, int readonly) argument
3662 struct super_block *sb = sbi->s_sb; local
3706 struct super_block *sb = elr->lr_super; local
3773 ext4_unregister_li_request(struct super_block *sb) argument
3937 ext4_has_uninit_itable(struct super_block *sb) argument
3975 ext4_li_request_new(struct super_block *sb, ext4_group_t start) argument
4002 ext4_register_li_request(struct super_block *sb, ext4_group_t first_not_zeroed) argument
4077 set_journal_csum_feature_set(struct super_block *sb) argument
4131 count_overhead(struct super_block *sb, ext4_group_t grp, char *buf) argument
4194 ext4_calculate_overhead(struct super_block *sb) argument
4254 ext4_set_resv_clusters(struct super_block *sb) argument
4284 ext4_quota_mode(struct super_block *sb) argument
4299 ext4_setup_csum_trigger(struct super_block *sb, enum ext4_journal_trigger_type type, void (*trigger)( struct jbd2_buffer_trigger_type *type, struct buffer_head *bh, void *mapped_data, size_t size)) argument
4323 ext4_alloc_sbi(struct super_block *sb) argument
4349 ext4_set_def_opts(struct super_block *sb, struct ext4_super_block *es) argument
4407 ext4_handle_clustersize(struct super_block *sb) argument
4461 ext4_fast_commit_init(struct super_block *sb) argument
4485 ext4_inode_info_init(struct super_block *sb, struct ext4_super_block *es) argument
4558 ext4_encoding_init(struct super_block *sb, struct ext4_super_block *es) argument
4599 ext4_encoding_init(struct super_block *sb, struct ext4_super_block *es) argument
4605 ext4_init_metadata_csum(struct super_block *sb, struct ext4_super_block *es) argument
4649 ext4_check_feature_compatibility(struct super_block *sb, struct ext4_super_block *es, int silent) argument
4753 ext4_check_geometry(struct super_block *sb, struct ext4_super_block *es) argument
4832 ext4_group_desc_init(struct super_block *sb, struct ext4_super_block *es, ext4_fsblk_t logical_sb_block, ext4_group_t *first_not_zeroed) argument
4894 ext4_load_and_init_journal(struct super_block *sb, struct ext4_super_block *es, struct ext4_fs_context *ctx) argument
4981 ext4_check_journal_data_mode(struct super_block *sb) argument
5014 ext4_load_super(struct super_block *sb, ext4_fsblk_t *lsb, int silent) argument
5124 ext4_hash_info_init(struct super_block *sb) argument
5153 ext4_block_group_meta_init(struct super_block *sb, int silent) argument
5202 __ext4_fill_super(struct fs_context *fc, struct super_block *sb) argument
5679 ext4_fill_super(struct super_block *sb, struct fs_context *fc) argument
5739 ext4_init_journal_params(struct super_block *sb, journal_t *journal) argument
5765 ext4_get_journal_inode(struct super_block *sb, unsigned int journal_inum) argument
5819 ext4_open_inode_journal(struct super_block *sb, unsigned int journal_inum) argument
5841 ext4_get_journal_blkdev(struct super_block *sb, dev_t j_dev, ext4_fsblk_t *j_start, ext4_fsblk_t *j_len) argument
5920 ext4_open_dev_journal(struct super_block *sb, dev_t j_dev) argument
5959 ext4_load_journal(struct super_block *sb, struct ext4_super_block *es, unsigned long journal_devnum) argument
6094 ext4_update_super(struct super_block *sb) argument
6169 ext4_commit_super(struct super_block *sb) argument
6223 ext4_mark_recovery_complete(struct super_block *sb, struct ext4_super_block *es) argument
6263 ext4_clear_journal_err(struct super_block *sb, struct ext4_super_block *es) argument
6307 ext4_force_commit(struct super_block *sb) argument
6312 ext4_sync_fs(struct super_block *sb, int wait) argument
6365 ext4_freeze(struct super_block *sb) argument
6400 ext4_unfreeze(struct super_block *sb) argument
6432 __ext4_remount(struct fs_context *fc, struct super_block *sb) argument
6740 struct super_block *sb = fc->root->d_sb; local
6761 ext4_statfs_project(struct super_block *sb, kprojid_t projid, struct kstatfs *buf) argument
6805 struct super_block *sb = dentry->d_sb; local
6918 struct super_block *sb = dquot->dq_sb; local
6928 ext4_write_info(struct super_block *sb, int type) argument
6961 ext4_quota_on(struct super_block *sb, int type, int format_id, const struct path *path) argument
7038 ext4_quota_enable(struct super_block *sb, int type, int format_id, unsigned int flags) argument
7079 ext4_enable_quotas(struct super_block *sb) argument
7114 ext4_quota_off(struct super_block *sb, int type) argument
7169 ext4_quota_read(struct super_block *sb, int type, char *data, size_t len, loff_t off) argument
7205 ext4_quota_write(struct super_block *sb, int type, const char *data, size_t len, loff_t off) argument
7280 ext2_feature_set_ok(struct super_block *sb) argument
7293 ext2_feature_set_ok(struct super_block *sb) argument
7309 ext3_feature_set_ok(struct super_block *sb) argument
7322 ext4_kill_sb(struct super_block *sb) argument
[all...]
H A Dresize.c46 int ext4_resize_begin(struct super_block *sb) argument
48 struct ext4_sb_info *sbi = EXT4_SB(sb);
59 !ext4_has_feature_resize_inode(sb)) {
60 ext4_error(sb, "resize_inode disabled but reserved GDT blocks non-zero");
71 ext4_warning(sb, "won't resize using backup superblock at %llu",
81 ext4_warning(sb, "There are errors in the filesystem, "
86 if (ext4_has_feature_sparse_super2(sb)) {
87 ext4_msg(sb, KERN_ERR, "Online resizing not supported with sparse_super2");
98 int ext4_resize_end(struct super_block *sb, bool update_backups) argument
100 clear_bit_unlock(EXT4_FLAGS_RESIZING, &EXT4_SB(sb)
107 ext4_group_overhead_blocks(struct super_block *sb, ext4_group_t group) argument
120 verify_group_input(struct super_block *sb, struct ext4_new_group_data *input) argument
302 ext4_alloc_group_tables(struct super_block *sb, struct ext4_new_flex_group_data *flex_gd, unsigned int flexbg_size) argument
421 bclean(handle_t *handle, struct super_block *sb, ext4_fsblk_t blk) argument
458 set_flexbg_block_bitmap(struct super_block *sb, handle_t *handle, struct ext4_new_flex_group_data *flex_gd, ext4_fsblk_t first_cluster, ext4_fsblk_t last_cluster) argument
529 setup_new_flex_group_blocks(struct super_block *sb, struct ext4_new_flex_group_data *flex_gd) argument
731 ext4_list_backups(struct super_block *sb, unsigned int *three, unsigned int *five, unsigned int *seven) argument
775 verify_reserved_gdb(struct super_block *sb, ext4_group_t end, struct buffer_head *primary) argument
821 struct super_block *sb = inode->i_sb; local
960 add_new_gdb_meta_bg(struct super_block *sb, handle_t *handle, ext4_group_t group) argument
1020 struct super_block *sb = inode->i_sb; local
1113 ext4_set_block_group_nr(struct super_block *sb, char *data, ext4_group_t group) argument
1139 update_backups(struct super_block *sb, sector_t blk_off, char *data, int size, int meta_bg) argument
1251 ext4_add_new_descs(handle_t *handle, struct super_block *sb, ext4_group_t group, struct inode *resize_inode, ext4_group_t count) argument
1295 ext4_get_bitmap(struct super_block *sb, __u64 block) argument
1310 ext4_set_bitmap_checksums(struct super_block *sb, struct ext4_group_desc *gdp, struct ext4_new_group_data *group_data) argument
1338 ext4_setup_new_descs(handle_t *handle, struct super_block *sb, struct ext4_new_flex_group_data *flex_gd) argument
1400 ext4_add_overhead(struct super_block *sb, const ext4_fsblk_t overhead) argument
1418 ext4_update_super(struct super_block *sb, struct ext4_new_flex_group_data *flex_gd) argument
1535 ext4_flex_group_add(struct super_block *sb, struct inode *resize_inode, struct ext4_new_flex_group_data *flex_gd) argument
1625 ext4_setup_next_flex_gd(struct super_block *sb, struct ext4_new_flex_group_data *flex_gd, ext4_fsblk_t n_blocks_count) argument
1700 ext4_group_add(struct super_block *sb, struct ext4_new_group_data *input) argument
1770 ext4_group_extend_no_check(struct super_block *sb, ext4_fsblk_t o_blocks_count, ext4_grpblk_t add) argument
1834 ext4_group_extend(struct super_block *sb, struct ext4_super_block *es, ext4_fsblk_t n_blocks_count) argument
1899 num_desc_blocks(struct super_block *sb, ext4_group_t groups) argument
1909 ext4_convert_meta_bg(struct super_block *sb, struct inode *inode) argument
1996 ext4_resize_fs(struct super_block *sb, ext4_fsblk_t n_blocks_count) argument
[all...]
/linux-master/include/linux/
H A Dquotaops.h17 static inline struct quota_info *sb_dqopt(struct super_block *sb) argument
19 return &sb->s_dquot;
33 #define quota_error(sb, fmt, args...) \
34 __quota_error((sb), __func__, fmt , ## args)
37 void __quota_error(struct super_block *sb, const char *func,
46 struct dquot *dqget(struct super_block *sb, struct kqid qid);
66 int dquot_scan_active(struct super_block *sb,
69 struct dquot *dquot_alloc(struct super_block *sb, int type);
81 int dquot_disable(struct super_block *sb, int type, unsigned int flags);
83 static inline int dquot_suspend(struct super_block *sb, in argument
122 sb_dqinfo(struct super_block *sb, int type) argument
131 sb_has_quota_usage_enabled(struct super_block *sb, int type) argument
137 sb_has_quota_limits_enabled(struct super_block *sb, int type) argument
143 sb_has_quota_suspended(struct super_block *sb, int type) argument
149 sb_any_quota_suspended(struct super_block *sb) argument
155 sb_has_quota_loaded(struct super_block *sb, int type) argument
161 sb_any_quota_loaded(struct super_block *sb) argument
166 sb_has_quota_active(struct super_block *sb, int type) argument
180 sb_has_quota_usage_enabled(struct super_block *sb, int type) argument
185 sb_has_quota_limits_enabled(struct super_block *sb, int type) argument
190 sb_has_quota_suspended(struct super_block *sb, int type) argument
195 sb_any_quota_suspended(struct super_block *sb) argument
201 sb_has_quota_loaded(struct super_block *sb, int type) argument
206 sb_any_quota_loaded(struct super_block *sb) argument
211 sb_has_quota_active(struct super_block *sb, int type) argument
272 dquot_disable(struct super_block *sb, int type, unsigned int flags) argument
278 dquot_suspend(struct super_block *sb, int type) argument
283 dquot_resume(struct super_block *sb, int type) argument
290 dquot_writeback_dquots(struct super_block *sb, int type) argument
[all...]
/linux-master/fs/ufs/
H A Dsuper.c99 static struct inode *ufs_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) argument
101 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi;
107 inode = ufs_iget(sb, ino);
117 static struct dentry *ufs_fh_to_dentry(struct super_block *sb, struct fid *fid, argument
120 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, ufs_nfs_get_inode);
123 static struct dentry *ufs_fh_to_parent(struct super_block *sb, struct fid *fid, argument
126 return generic_fh_to_parent(sb, fid, fh_len, fh_type, ufs_nfs_get_inode);
150 static void ufs_print_super_stuff(struct super_block *sb, argument
155 u32 magic = fs32_to_cpu(sb, usb3->fs_magic);
159 if (fs32_to_cpu(sb, usb
229 ufs_print_cylinder_stuff(struct super_block *sb, struct ufs_cylinder_group *cg) argument
272 ufs_error(struct super_block * sb, const char * function, const char * fmt, ...) argument
306 ufs_panic(struct super_block * sb, const char * function, const char * fmt, ...) argument
331 ufs_warning(struct super_block * sb, const char * function, const char * fmt, ...) argument
470 ufs_setup_cstotal(struct super_block *sb) argument
504 ufs_read_cylinder_structures(struct super_block *sb) argument
590 ufs_put_cstotal(struct super_block *sb) argument
644 ufs_put_super_internal(struct super_block *sb) argument
686 ufs_sync_fs(struct super_block *sb, int wait) argument
729 ufs_mark_sb_dirty(struct super_block *sb) argument
743 ufs_put_super(struct super_block *sb) argument
761 ufs_max_bytes(struct super_block *sb) argument
778 ufs_fill_super(struct super_block *sb, void *data, int silent) argument
1308 ufs_remount(struct super_block *sb, int *mount_flags, char *data) argument
1414 struct super_block *sb = dentry->d_sb; local
1443 ufs_alloc_inode(struct super_block *sb) argument
[all...]
H A Dialloc.c59 struct super_block * sb; local
68 sb = inode->i_sb;
69 uspi = UFS_SB(sb)->s_uspi;
73 mutex_lock(&UFS_SB(sb)->s_lock);
76 ufs_warning(sb, "ufs_free_inode", "reserved inode or nonexistent inode %u\n", ino);
77 mutex_unlock(&UFS_SB(sb)->s_lock);
83 ucpi = ufs_load_cylinder (sb, cg);
85 mutex_unlock(&UFS_SB(sb)->s_lock);
89 if (!ufs_cg_chkmagic(sb, ucg))
90 ufs_panic (sb, "ufs_free_fragment
129 ufs2_init_inodes_chunk(struct super_block *sb, struct ufs_cg_private_info *ucpi, struct ufs_cylinder_group *ucg) argument
174 struct super_block * sb; local
[all...]
H A Dcylinder.c29 static void ufs_read_cylinder (struct super_block * sb, argument
32 struct ufs_sb_info * sbi = UFS_SB(sb);
44 UCPI_UBH(ucpi)->count = uspi->s_cgsize >> sb->s_blocksize_bits;
50 if (!(UCPI_UBH(ucpi)->bh[i] = sb_bread(sb, UCPI_UBH(ucpi)->fragment + i)))
54 ucpi->c_cgx = fs32_to_cpu(sb, ucg->cg_cgx);
55 ucpi->c_ncyl = fs16_to_cpu(sb, ucg->cg_ncyl);
56 ucpi->c_niblk = fs16_to_cpu(sb, ucg->cg_niblk);
57 ucpi->c_ndblk = fs32_to_cpu(sb, ucg->cg_ndblk);
58 ucpi->c_rotor = fs32_to_cpu(sb, ucg->cg_rotor);
59 ucpi->c_frotor = fs32_to_cpu(sb, uc
83 ufs_put_cylinder(struct super_block * sb, unsigned bitmap_nr) argument
127 ufs_load_cylinder( struct super_block * sb, unsigned cgno) argument
[all...]
/linux-master/fs/jfs/
H A Djfs_discard.c34 struct super_block *sb = ip->i_sb; local
37 r = sb_issue_discard(sb, blkno, nblocks, GFP_NOFS, 0);
40 sb, (unsigned long long)blkno,
45 sb, (unsigned long long)blkno,
69 struct super_block *sb = ipbmap->i_sb; local
80 start = range->start >> sb->s_blocksize_bits;
81 end = start + (range->len >> sb->s_blocksize_bits) - 1;
82 minlen = range->minlen >> sb->s_blocksize_bits;
88 range->len < sb->s_blocksize)
103 range->len = trimmed << sb
[all...]
H A Djfs_umount.c37 int jfs_umount(struct super_block *sb) argument
39 struct jfs_sb_info *sbi = JFS_SBI(sb);
47 jfs_info("UnMount JFS: sb:0x%p", sb);
107 updateSuper(sb, FM_CLEAN);
114 rc = lmLogClose(sb);
121 int jfs_umount_rw(struct super_block *sb) argument
123 struct jfs_sb_info *sbi = JFS_SBI(sb);
150 updateSuper(sb, FM_CLEAN);
152 return lmLogClose(sb);
[all...]
/linux-master/fs/ntfs3/
H A Ddebug.h24 void ntfs_printk(const struct super_block *sb, const char *fmt, ...);
29 void ntfs_printk(const struct super_block *sb, const char *fmt, ...) argument
43 #define ntfs_err(sb, fmt, ...) ntfs_printk(sb, KERN_ERR fmt, ##__VA_ARGS__)
44 #define ntfs_warn(sb, fmt, ...) ntfs_printk(sb, KERN_WARNING fmt, ##__VA_ARGS__)
45 #define ntfs_info(sb, fmt, ...) ntfs_printk(sb, KERN_INFO fmt, ##__VA_ARGS__)
46 #define ntfs_notice(sb, fmt, ...) \
47 ntfs_printk(sb, KERN_NOTIC
[all...]
/linux-master/fs/ext2/
H A Dsuper.c42 static void ext2_write_super(struct super_block *sb);
43 static int ext2_remount (struct super_block * sb, int * flags, char * data);
45 static int ext2_sync_fs(struct super_block *sb, int wait);
46 static int ext2_freeze(struct super_block *sb);
47 static int ext2_unfreeze(struct super_block *sb);
49 void ext2_error(struct super_block *sb, const char *function, argument
54 struct ext2_sb_info *sbi = EXT2_SB(sb);
57 if (!sb_rdonly(sb)) {
62 ext2_sync_super(sb, es, 1);
71 sb
84 ext2_msg(struct super_block *sb, const char *prefix, const char *fmt, ...) argument
103 ext2_update_dynamic_rev(struct super_block *sb) argument
131 ext2_quota_off_umount(struct super_block *sb) argument
139 ext2_quota_off_umount(struct super_block *sb) argument
144 ext2_put_super(struct super_block * sb) argument
180 ext2_alloc_inode(struct super_block *sb) argument
237 struct super_block *sb = root->d_sb; local
358 ext2_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) argument
384 ext2_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
391 ext2_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
467 parse_options(char *options, struct super_block *sb, struct ext2_mount_options *opts) argument
631 ext2_setup_super(struct super_block * sb, struct ext2_super_block * es, int read_only) argument
681 ext2_check_descriptors(struct super_block *sb) argument
787 descriptor_loc(struct super_block *sb, unsigned long logic_sb_block, int nr) argument
804 ext2_fill_super(struct super_block *sb, void *data, int silent) argument
1225 ext2_clear_super_error(struct super_block *sb) argument
1245 ext2_sync_super(struct super_block *sb, struct ext2_super_block *es, int wait) argument
1270 ext2_sync_fs(struct super_block *sb, int wait) argument
1291 ext2_freeze(struct super_block *sb) argument
1313 ext2_unfreeze(struct super_block *sb) argument
1321 ext2_write_super(struct super_block *sb) argument
1327 ext2_remount(struct super_block * sb, int * flags, char * data) argument
1412 struct super_block *sb = dentry->d_sb; local
1485 ext2_quota_read(struct super_block *sb, int type, char *data, size_t len, loff_t off) argument
1529 ext2_quota_write(struct super_block *sb, int type, const char *data, size_t len, loff_t off) argument
1580 ext2_quota_on(struct super_block *sb, int type, int format_id, const struct path *path) argument
1601 ext2_quota_off(struct super_block *sb, int type) argument
[all...]
/linux-master/fs/kernfs/
H A Dmount.c82 static struct dentry *__kernfs_fh_to_dentry(struct super_block *sb, argument
86 struct kernfs_super_info *info = kernfs_info(sb);
126 inode = kernfs_get_inode(sb, kn);
131 static struct dentry *kernfs_fh_to_dentry(struct super_block *sb, argument
135 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, false);
138 static struct dentry *kernfs_fh_to_parent(struct super_block *sb, argument
142 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, true);
161 * @sb: the super_block in question
163 * Return: the kernfs_root associated with @sb. If @sb i
166 kernfs_root_from_sb(struct super_block *sb) argument
205 kernfs_node_dentry(struct kernfs_node *kn, struct super_block *sb) argument
246 kernfs_fill_super(struct super_block *sb, struct kernfs_fs_context *kfc) argument
288 kernfs_test_super(struct super_block *sb, struct fs_context *fc) argument
296 kernfs_set_super(struct super_block *sb, struct fs_context *fc) argument
310 kernfs_super_ns(struct super_block *sb) argument
331 struct super_block *sb; local
389 kernfs_kill_sb(struct super_block *sb) argument
[all...]
/linux-master/fs/befs/
H A Dendian.h16 fs64_to_cpu(const struct super_block *sb, fs64 n) argument
18 if (BEFS_SB(sb)->byte_order == BEFS_BYTESEX_LE)
25 cpu_to_fs64(const struct super_block *sb, u64 n) argument
27 if (BEFS_SB(sb)->byte_order == BEFS_BYTESEX_LE)
34 fs32_to_cpu(const struct super_block *sb, fs32 n) argument
36 if (BEFS_SB(sb)->byte_order == BEFS_BYTESEX_LE)
43 cpu_to_fs32(const struct super_block *sb, u32 n) argument
45 if (BEFS_SB(sb)->byte_order == BEFS_BYTESEX_LE)
52 fs16_to_cpu(const struct super_block *sb, fs16 n) argument
54 if (BEFS_SB(sb)
61 cpu_to_fs16(const struct super_block *sb, u16 n) argument
72 fsrun_to_cpu(const struct super_block *sb, befs_disk_block_run n) argument
89 cpu_to_fsrun(const struct super_block *sb, befs_block_run n) argument
106 fsds_to_cpu(const struct super_block *sb, const befs_disk_data_stream *n) argument
[all...]
H A Dbtree.h7 int befs_btree_find(struct super_block *sb, const befs_data_stream *ds,
10 int befs_btree_read(struct super_block *sb, const befs_data_stream *ds,
H A Dbtree.c91 static int befs_btree_seekleaf(struct super_block *sb, const befs_data_stream *ds,
96 static int befs_bt_read_super(struct super_block *sb, const befs_data_stream *ds,
99 static int befs_bt_read_node(struct super_block *sb, const befs_data_stream *ds,
111 static int befs_find_key(struct super_block *sb,
115 static char *befs_bt_get_key(struct super_block *sb,
124 * @sb: Filesystem superblock
134 befs_bt_read_super(struct super_block *sb, const befs_data_stream *ds, argument
140 befs_debug(sb, "---> %s", __func__);
142 bh = befs_read_datastream(sb, ds, 0, NULL);
145 befs_error(sb, "Could
191 befs_bt_read_node(struct super_block *sb, const befs_data_stream *ds, struct befs_btree_node *node, befs_off_t node_off) argument
245 befs_btree_find(struct super_block *sb, const befs_data_stream *ds, const char *key, befs_off_t * value) argument
330 befs_find_key(struct super_block *sb, struct befs_btree_node *node, const char *findkey, befs_off_t * value) argument
411 befs_btree_read(struct super_block *sb, const befs_data_stream *ds, loff_t key_no, size_t bufsize, char *keybuf, size_t * keysize, befs_off_t * value) argument
542 befs_btree_seekleaf(struct super_block *sb, const befs_data_stream *ds, befs_btree_super *bt_super, struct befs_btree_node *this_node, befs_off_t * node_off) argument
675 befs_bt_get_key(struct super_block *sb, struct befs_btree_node *node, int index, u16 * keylen) argument
[all...]
H A Dlinuxvfs.c48 static struct inode *befs_alloc_inode(struct super_block *sb);
52 static int befs_utf2nls(struct super_block *sb, const char *in, int in_len,
54 static int befs_nls2utf(struct super_block *sb, const char *in, int in_len,
61 static struct dentry *befs_fh_to_dentry(struct super_block *sb,
63 static struct dentry *befs_fh_to_parent(struct super_block *sb,
136 struct super_block *sb = inode->i_sb; local
142 befs_debug(sb, "---> befs_get_block() for inode %lu, block %ld",
145 befs_error(sb, "befs_get_block() was asked to write to "
151 res = befs_fblock2brun(sb, ds, block, &run);
153 befs_error(sb,
175 struct super_block *sb = dir->i_sb; local
219 struct super_block *sb = inode->i_sb; local
276 befs_alloc_inode(struct super_block *sb) argument
298 befs_iget(struct super_block *sb, unsigned long ino) argument
473 struct super_block *sb = inode->i_sb; local
505 befs_utf2nls(struct super_block *sb, const char *in, int in_len, char **out, int *out_len) argument
582 befs_nls2utf(struct super_block *sb, const char *in, int in_len, char **out, int *out_len) argument
639 befs_nfs_get_inode(struct super_block *sb, uint64_t ino, uint32_t generation) argument
649 befs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
659 befs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
789 befs_put_super(struct super_block *sb) argument
805 befs_fill_super(struct super_block *sb, void *data, int silent) argument
939 befs_remount(struct super_block *sb, int *flags, char *data) argument
950 struct super_block *sb = dentry->d_sb; local
[all...]
/linux-master/fs/udf/
H A Dlowlevel.c24 unsigned int udf_get_last_session(struct super_block *sb) argument
26 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk);
44 udf_pblk_t udf_get_last_block(struct super_block *sb) argument
46 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk);
54 if (sb_bdev_nr_blocks(sb) > ~(udf_pblk_t)0)
56 lblock = sb_bdev_nr_blocks(sb);
/linux-master/fs/qnx4/
H A Dbitmap.c21 unsigned long qnx4_count_free_blocks(struct super_block *sb) argument
23 int start = le32_to_cpu(qnx4_sb(sb)->BitMap->di_first_xtnt.xtnt_blk) - 1;
27 int size = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size);
33 if ((bh = sb_bread(sb, start + offset)) == NULL) {
/linux-master/drivers/mtd/
H A Dmtdsuper.c30 struct super_block *sb; local
33 sb = sget_dev(fc, MKDEV(MTD_BLOCK_MAJOR, mtd->index));
34 if (IS_ERR(sb))
35 return PTR_ERR(sb);
37 if (sb->s_root) {
49 * contrast to sb->s_bdev that's checked with only
50 * @sb_lock held, nothing checks sb->s_mtd without also
51 * holding sb->s_umount and we're holding sb->s_umount
54 sb
96 get_tree_mtd(struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc)) argument
172 kill_mtd_super(struct super_block *sb) argument
[all...]
/linux-master/fs/omfs/
H A Domfs.h35 static inline struct omfs_sb_info *OMFS_SB(struct super_block *sb) argument
37 return sb->s_fs_info;
41 extern unsigned long omfs_count_free(struct super_block *sb);
42 extern int omfs_allocate_block(struct super_block *sb, u64 block);
43 extern int omfs_allocate_range(struct super_block *sb, int min_request,
45 extern int omfs_clear_range(struct super_block *sb, u64 block, int count);
50 extern int omfs_make_empty(struct inode *inode, struct super_block *sb);
62 extern struct buffer_head *omfs_bread(struct super_block *sb, sector_t block);
63 extern struct inode *omfs_iget(struct super_block *sb, ino_t inode);
65 extern int omfs_reserve_block(struct super_block *sb, sector_
[all...]
/linux-master/fs/romfs/
H A Dstorage.c18 #define ROMFS_MTD_READ(sb, ...) mtd_read((sb)->s_mtd, ##__VA_ARGS__)
23 static int romfs_mtd_read(struct super_block *sb, unsigned long pos, argument
29 ret = ROMFS_MTD_READ(sb, pos, buflen, &rlen, buf);
36 static ssize_t romfs_mtd_strnlen(struct super_block *sb, argument
48 ret = ROMFS_MTD_READ(sb, pos, segment, &len, buf);
66 static int romfs_mtd_strcmp(struct super_block *sb, unsigned long pos, argument
79 ret = ROMFS_MTD_READ(sb, pos, segment, &len, buf);
103 static int romfs_blk_read(struct super_block *sb, unsigned long pos, argument
114 bh = sb_bread(sb, po
130 romfs_blk_strnlen(struct super_block *sb, unsigned long pos, size_t limit) argument
163 romfs_blk_strcmp(struct super_block *sb, unsigned long pos, const char *str, size_t size) argument
214 romfs_dev_read(struct super_block *sb, unsigned long pos, void *buf, size_t buflen) argument
237 romfs_dev_strnlen(struct super_block *sb, unsigned long pos, size_t maxlen) argument
265 romfs_dev_strcmp(struct super_block *sb, unsigned long pos, const char *str, size_t size) argument
[all...]
/linux-master/fs/exfat/
H A Dfatent.c14 static int exfat_mirror_bh(struct super_block *sb, sector_t sec, argument
18 struct exfat_sb_info *sbi = EXFAT_SB(sb);
24 c_bh = sb_getblk(sb, sec2);
27 memcpy(c_bh->b_data, bh->b_data, sb->s_blocksize);
30 if (sb->s_flags & SB_SYNCHRONOUS)
38 static int __exfat_ent_get(struct super_block *sb, unsigned int loc, argument
45 sec = FAT_ENT_OFFSET_SECTOR(sb, loc);
46 off = FAT_ENT_OFFSET_BYTE_IN_SECTOR(sb, loc);
48 bh = sb_bread(sb, sec);
62 int exfat_ent_set(struct super_block *sb, unsigne argument
85 exfat_ent_get(struct super_block *sb, unsigned int loc, unsigned int *content) argument
129 exfat_chain_cont_cluster(struct super_block *sb, unsigned int chain, unsigned int len) argument
150 struct super_block *sb = inode->i_sb; local
238 exfat_find_last_cluster(struct super_block *sb, struct exfat_chain *p_chain, unsigned int *ret_clu) argument
270 struct super_block *sb = dir->i_sb; local
312 struct super_block *sb = inode->i_sb; local
423 exfat_count_num_clusters(struct super_block *sb, struct exfat_chain *p_chain, unsigned int *ret_count) argument
[all...]
/linux-master/fs/affs/
H A Dsuper.c30 static int affs_remount (struct super_block *sb, int *flags, char *data);
33 affs_commit_super(struct super_block *sb, int wait) argument
35 struct affs_sb_info *sbi = AFFS_SB(sb);
37 struct affs_root_tail *tail = AFFS_ROOT_TAIL(sb, bh);
41 affs_fix_checksum(sb, bh);
50 affs_put_super(struct super_block *sb) argument
52 struct affs_sb_info *sbi = AFFS_SB(sb);
59 affs_sync_fs(struct super_block *sb, int wait) argument
61 affs_commit_super(sb, wait);
68 struct super_block *sb; local
80 affs_mark_sb_dirty(struct super_block *sb) argument
99 affs_alloc_inode(struct super_block *sb) argument
296 struct super_block *sb = root->d_sb; local
332 affs_fill_super(struct super_block *sb, void *data, int silent) argument
552 affs_remount(struct super_block *sb, int *flags, char *data) argument
608 struct super_block *sb = dentry->d_sb; local
633 affs_kill_sb(struct super_block *sb) argument
[all...]
/linux-master/include/linux/mtd/
H A Dsuper.h18 int (*fill_super)(struct super_block *sb,
20 extern void kill_mtd_super(struct super_block *sb);

Completed in 355 milliseconds

1234567891011>>