Searched refs:sb (Results 1 - 25 of 515) sorted by relevance

1234567891011>>

/fs/befs/
H A Dsuper.h5 int befs_load_sb(struct super_block *sb, befs_super_block * disk_sb);
7 int befs_check_sb(struct super_block *sb);
H A Ddebug.c28 befs_error(const struct super_block *sb, const char *fmt, ...) argument
36 pr_err("(%s): %pV\n", sb->s_id, &vaf);
41 befs_warning(const struct super_block *sb, const char *fmt, ...) argument
49 pr_warn("(%s): %pV\n", sb->s_id, &vaf);
54 befs_debug(const struct super_block *sb, const char *fmt, ...) argument
63 pr_debug("(%s): %pV\n", sb->s_id, &vaf);
70 befs_dump_inode(const struct super_block *sb, befs_inode * inode) argument
76 befs_debug(sb, "befs_inode information");
78 befs_debug(sb, " magic1 %08x", fs32_to_cpu(sb, inod
154 befs_dump_super_block(const struct super_block *sb, befs_super_block * sup) argument
223 befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super * super) argument
244 befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead * node) argument
[all...]
H A Dinode.c18 befs_check_inode(struct super_block *sb, befs_inode * raw_inode, argument
21 u32 magic1 = fs32_to_cpu(sb, raw_inode->magic1);
22 befs_inode_addr ino_num = fsrun_to_cpu(sb, raw_inode->inode_num);
23 u32 flags = fs32_to_cpu(sb, raw_inode->flags);
27 befs_error(sb,
36 if (inode != iaddr2blockno(sb, &ino_num)) {
37 befs_error(sb, "inode blocknr field disagrees with vfs "
39 inode, (unsigned long)iaddr2blockno(sb, &ino_num));
48 befs_error(sb, "inode is not used - inode = %lu",
H A Dinode.h6 int befs_check_inode(struct super_block *sb, befs_inode * raw_inode,
H A Dio.c27 befs_bread_iaddr(struct super_block *sb, befs_inode_addr iaddr) argument
31 befs_sb_info *befs_sb = BEFS_SB(sb);
33 befs_debug(sb, "---> Enter %s "
38 befs_error(sb, "BEFS: Invalid allocation group %u, max is %u",
43 block = iaddr2blockno(sb, &iaddr);
45 befs_debug(sb, "%s: offset = %lu", __func__, (unsigned long)block);
47 bh = sb_bread(sb, block);
50 befs_error(sb, "Failed to read block %lu",
55 befs_debug(sb, "<--- %s", __func__);
59 befs_debug(sb, "<
64 befs_bread(struct super_block *sb, befs_blocknr_t block) argument
[all...]
H A Dio.h5 struct buffer_head *befs_bread_iaddr(struct super_block *sb,
8 struct buffer_head *befs_bread(struct super_block *sb, befs_blocknr_t block);
H A Dsuper.c25 befs_load_sb(struct super_block *sb, befs_super_block * disk_sb) argument
27 befs_sb_info *befs_sb = BEFS_SB(sb);
35 befs_sb->magic1 = fs32_to_cpu(sb, disk_sb->magic1);
36 befs_sb->magic2 = fs32_to_cpu(sb, disk_sb->magic2);
37 befs_sb->magic3 = fs32_to_cpu(sb, disk_sb->magic3);
38 befs_sb->block_size = fs32_to_cpu(sb, disk_sb->block_size);
39 befs_sb->block_shift = fs32_to_cpu(sb, disk_sb->block_shift);
40 befs_sb->num_blocks = fs64_to_cpu(sb, disk_sb->num_blocks);
41 befs_sb->used_blocks = fs64_to_cpu(sb, disk_sb->used_blocks);
42 befs_sb->inode_size = fs32_to_cpu(sb, disk_s
60 befs_check_sb(struct super_block *sb) argument
[all...]
H A Ddatastream.h6 struct buffer_head *befs_read_datastream(struct super_block *sb,
10 int befs_fblock2brun(struct super_block *sb, befs_data_stream * data,
13 size_t befs_read_lsymlink(struct super_block *sb, befs_data_stream * data,
16 befs_blocknr_t befs_count_blocks(struct super_block *sb, befs_data_stream * ds);
H A Ddatastream.c23 static int befs_find_brun_direct(struct super_block *sb,
27 static int befs_find_brun_indirect(struct super_block *sb,
32 static int befs_find_brun_dblindirect(struct super_block *sb,
39 * @sb: Filesystem superblock
48 befs_read_datastream(struct super_block *sb, befs_data_stream * ds, argument
55 befs_debug(sb, "---> %s %llu", __func__, pos);
56 block = pos >> BEFS_SB(sb)->block_shift;
58 *off = pos - (block << BEFS_SB(sb)->block_shift);
60 if (befs_fblock2brun(sb, ds, block, &run) != BEFS_OK) {
61 befs_error(sb, "BeF
90 befs_fblock2brun(struct super_block *sb, befs_data_stream * data, befs_blocknr_t fblock, befs_block_run * run) argument
125 befs_read_lsymlink(struct super_block * sb, befs_data_stream * ds, void *buff, befs_off_t len) argument
166 befs_count_blocks(struct super_block * sb, befs_data_stream * ds) argument
246 befs_find_brun_direct(struct super_block *sb, befs_data_stream * data, befs_blocknr_t blockno, befs_block_run * run) argument
306 befs_find_brun_indirect(struct super_block *sb, befs_data_stream * data, befs_blocknr_t blockno, befs_block_run * run) argument
414 befs_find_brun_dblindirect(struct super_block *sb, befs_data_stream * data, befs_blocknr_t blockno, befs_block_run * run) argument
[all...]
/fs/minix/
H A Ditree_v2.c24 #define INDIRCOUNT(sb) (1 << ((sb)->s_blocksize_bits - 2))
30 struct super_block *sb = inode->i_sb; local
34 block, bdevname(sb->s_bdev, b));
35 } else if ((u64)block * (u64)sb->s_blocksize >=
36 minix_sb(sb)->s_max_size) {
40 block, bdevname(sb->s_bdev, b));
43 } else if ((block -= DIRCOUNT) < INDIRCOUNT(sb)) {
46 } else if ((block -= INDIRCOUNT(sb)) < INDIRCOUNT(sb) * INDIRCOUN
73 V2_minix_blocks(loff_t size, struct super_block *sb) argument
[all...]
/fs/hfs/
H A Dmdb.c32 static int hfs_get_last_session(struct super_block *sb, argument
41 *size = sb->s_bdev->bd_inode->i_size >> 9;
43 if (HFS_SB(sb)->session >= 0) {
44 te.cdte_track = HFS_SB(sb)->session;
46 res = ioctl_by_bdev(sb->s_bdev, CDROMREADTOCENTRY, (unsigned long)&te);
55 res = ioctl_by_bdev(sb->s_bdev, CDROMMULTISESSION, (unsigned long)&ms_info);
67 int hfs_mdb_get(struct super_block *sb) argument
79 size = sb_min_blocksize(sb, HFS_SECTOR_SIZE);
83 if (hfs_get_last_session(sb, &part_start, &part_size))
87 bh = sb_bread512(sb, part_star
258 hfs_mdb_commit(struct super_block *sb) argument
334 hfs_mdb_close(struct super_block *sb) argument
348 hfs_mdb_put(struct super_block *sb) argument
[all...]
/fs/
H A Dsuper.c49 * One thing we have to be careful of with a per-sb shrinker is that we don't
58 struct super_block *sb; local
65 sb = container_of(shrink, struct super_block, s_shrink);
74 if (!grab_super_passive(sb))
77 if (sb->s_op->nr_cached_objects)
78 fs_objects = sb->s_op->nr_cached_objects(sb, sc->nid);
80 inodes = list_lru_count_node(&sb->s_inode_lru, sc->nid);
81 dentries = list_lru_count_node(&sb->s_dentry_lru, sc->nid);
94 freed = prune_dcache_sb(sb, dentrie
111 struct super_block *sb; local
245 __put_super(struct super_block *sb) argument
260 put_super(struct super_block *sb) argument
353 grab_super_passive(struct super_block *sb) argument
388 generic_shutdown_super(struct super_block *sb) argument
485 drop_super(struct super_block *sb) argument
503 struct super_block *sb, *p = NULL; local
539 struct super_block *sb, *p = NULL; local
573 struct super_block *sb; local
636 struct super_block *sb; local
659 struct super_block *sb; local
693 do_remount_sb(struct super_block *sb, int flags, void *data, int force) argument
769 struct super_block *sb, *p = NULL; local
874 kill_anon_super(struct super_block *sb) argument
883 kill_litter_super(struct super_block *sb) argument
892 ns_test_super(struct super_block *sb, void *data) argument
897 ns_set_super(struct super_block *sb, void *data) argument
906 struct super_block *sb; local
1024 kill_block_super(struct super_block *sb) argument
1092 struct super_block *sb; local
1146 __sb_end_write(struct super_block *sb, int level) argument
1170 acquire_freeze_lock(struct super_block *sb, int level, bool trylock, unsigned long ip) argument
1190 __sb_start_write(struct super_block *sb, int level, bool wait) argument
1227 sb_wait_write(struct super_block *sb, int level) argument
1289 freeze_super(struct super_block *sb) argument
1364 thaw_super(struct super_block *sb) argument
[all...]
/fs/ocfs2/
H A Dsuper.h35 void __ocfs2_error(struct super_block *sb, const char *function,
38 #define ocfs2_error(sb, fmt, args...) __ocfs2_error(sb, __PRETTY_FUNCTION__, fmt, ##args)
41 void __ocfs2_abort(struct super_block *sb, const char *function,
44 #define ocfs2_abort(sb, fmt, args...) __ocfs2_abort(sb, __PRETTY_FUNCTION__, fmt, ##args)
/fs/quota/
H A Dquota.c21 static int check_quotactl_permission(struct super_block *sb, int type, int cmd, argument
45 return security_quotactl(cmd, type, id, sb);
48 static void quota_sync_one(struct super_block *sb, void *arg) argument
50 if (sb->s_qcop && sb->s_qcop->quota_sync)
51 sb->s_qcop->quota_sync(sb, *(int *)arg);
66 static int quota_quotaon(struct super_block *sb, int type, int cmd, qid_t id, argument
69 if (!sb->s_qcop->quota_on && !sb
78 quota_getfmt(struct super_block *sb, int type, void __user *addr) argument
94 quota_getinfo(struct super_block *sb, int type, void __user *addr) argument
107 quota_setinfo(struct super_block *sb, int type, void __user *addr) argument
132 quota_getquota(struct super_block *sb, int type, qid_t id, void __user *addr) argument
180 quota_setquota(struct super_block *sb, int type, qid_t id, void __user *addr) argument
198 quota_setxstate(struct super_block *sb, int cmd, void __user *addr) argument
209 quota_getxstate(struct super_block *sb, void __user *addr) argument
222 quota_getxstatev(struct super_block *sb, void __user *addr) argument
247 quota_setxquota(struct super_block *sb, int type, qid_t id, void __user *addr) argument
263 quota_getxquota(struct super_block *sb, int type, qid_t id, void __user *addr) argument
281 quota_rmxquota(struct super_block *sb, void __user *addr) argument
293 do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, void __user *addr, struct path *path) argument
379 struct super_block *sb; local
412 struct super_block *sb = NULL; local
[all...]
/fs/ext2/
H A Dxip.h12 static inline int ext2_use_xip (struct super_block *sb) argument
14 struct ext2_sb_info *sbi = EXT2_SB(sb);
22 #define ext2_xip_verify_sb(sb) do { } while (0)
23 #define ext2_use_xip(sb) 0
/fs/kernfs/
H A Dmount.c22 static int kernfs_sop_remount_fs(struct super_block *sb, int *flags, char *data) argument
24 struct kernfs_root *root = kernfs_info(sb)->root;
53 * @sb: the super_block in question
55 * Return the kernfs_root associated with @sb. If @sb is not a kernfs one,
58 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) argument
60 if (sb->s_op == &kernfs_sops)
61 return kernfs_info(sb)->root;
65 static int kernfs_fill_super(struct super_block *sb, unsigned long magic) argument
67 struct kernfs_super_info *info = kernfs_info(sb);
100 kernfs_test_super(struct super_block *sb, void *data) argument
108 kernfs_set_super(struct super_block *sb, void *data) argument
123 kernfs_super_ns(struct super_block *sb) argument
150 struct super_block *sb; local
196 kernfs_kill_sb(struct super_block *sb) argument
229 struct super_block *sb = NULL; local
[all...]
/fs/ext3/
H A Dsuper.c51 static int ext3_commit_super(struct super_block *sb,
54 static void ext3_mark_recovery_complete(struct super_block * sb,
56 static void ext3_clear_journal_err(struct super_block * sb,
58 static int ext3_sync_fs(struct super_block *sb, int wait);
59 static const char *ext3_decode_error(struct super_block * sb, int errno,
61 static int ext3_remount (struct super_block * sb, int * flags, char * data);
63 static int ext3_unfreeze(struct super_block *sb);
64 static int ext3_freeze(struct super_block *sb);
69 handle_t *ext3_journal_start_sb(struct super_block *sb, int nblocks) argument
73 if (sb
91 struct super_block *sb; local
127 ext3_msg(struct super_block *sb, const char *prefix, const char *fmt, ...) argument
158 ext3_handle_error(struct super_block *sb) argument
191 ext3_error(struct super_block *sb, const char *function, const char *fmt, ...) argument
210 ext3_decode_error(struct super_block * sb, int errno, char nbuf[16]) argument
246 __ext3_std_error(struct super_block * sb, const char * function, int errno) argument
275 ext3_abort(struct super_block *sb, const char *function, const char *fmt, ...) argument
312 ext3_warning(struct super_block *sb, const char *function, const char *fmt, ...) argument
329 ext3_update_dynamic_rev(struct super_block *sb) argument
357 ext3_blkdev_get(dev_t dev, struct super_block *sb) argument
397 dump_orphan_list(struct super_block *sb, struct ext3_sb_info *sbi) argument
415 ext3_put_super(struct super_block * sb) argument
477 ext3_alloc_inode(struct super_block *sb) argument
552 ext3_show_quota_options(struct seq_file *seq, struct super_block *sb) argument
608 struct super_block *sb = root->d_sb; local
688 ext3_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) argument
717 ext3_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
724 ext3_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
737 bdev_try_to_free_page(struct super_block *sb, struct page *page, gfp_t wait) argument
890 get_sb_block(void **data, struct super_block *sb) argument
912 set_qf_name(struct super_block *sb, int qtype, substring_t *args) argument
952 clear_qf_name(struct super_block *sb, int qtype) argument
970 parse_options(char *options, struct super_block *sb, unsigned int *inum, unsigned long *journal_devnum, ext3_fsblk_t *n_blocks_count, int is_remount) argument
1362 ext3_setup_super(struct super_block *sb, struct ext3_super_block *es, int read_only) argument
1432 ext3_check_descriptors(struct super_block *sb) argument
1506 ext3_orphan_cleanup(struct super_block * sb, struct ext3_super_block * es) argument
1657 descriptor_loc(struct super_block *sb, ext3_fsblk_t logic_sb_block, int nr) argument
1677 ext3_fill_super(struct super_block *sb, void *data, int silent) argument
2152 ext3_init_journal_params(struct super_block *sb, journal_t *journal) argument
2174 ext3_get_journal(struct super_block *sb, unsigned int journal_inum) argument
2215 ext3_get_dev_journal(struct super_block *sb, dev_t j_dev) argument
2300 ext3_load_journal(struct super_block *sb, struct ext3_super_block *es, unsigned long journal_devnum) argument
2391 ext3_create_journal(struct super_block *sb, struct ext3_super_block *es, unsigned int journal_inum) argument
2433 ext3_commit_super(struct super_block *sb, struct ext3_super_block *es, int sync) argument
2491 ext3_mark_recovery_complete(struct super_block * sb, struct ext3_super_block * es) argument
2515 ext3_clear_journal_err(struct super_block *sb, struct ext3_super_block *es) argument
2551 ext3_force_commit(struct super_block *sb) argument
2564 ext3_sync_fs(struct super_block *sb, int wait) argument
2585 ext3_freeze(struct super_block *sb) argument
2621 ext3_unfreeze(struct super_block *sb) argument
2632 ext3_remount(struct super_block * sb, int * flags, char * data) argument
2783 struct super_block *sb = dentry->d_sb; local
2932 ext3_write_info(struct super_block *sb, int type) argument
2952 ext3_quota_on_mount(struct super_block *sb, int type) argument
2961 ext3_quota_on(struct super_block *sb, int type, int format_id, struct path *path) argument
3004 ext3_quota_read(struct super_block *sb, int type, char *data, size_t len, loff_t off) argument
3042 ext3_quota_write(struct super_block *sb, int type, const char *data, size_t len, loff_t off) argument
[all...]
/fs/romfs/
H A Dinternal.h20 static inline size_t romfs_maxsize(struct super_block *sb) argument
22 return (size_t) (unsigned long) sb->s_fs_info;
42 extern int romfs_dev_read(struct super_block *sb, unsigned long pos,
44 extern ssize_t romfs_dev_strnlen(struct super_block *sb,
46 extern int romfs_dev_strcmp(struct super_block *sb, unsigned long pos,
/fs/ext4/
H A Dresize.c19 int ext4_resize_begin(struct super_block *sb) argument
30 if (EXT4_SB(sb)->s_mount_state & EXT4_ERROR_FS) {
31 ext4_warning(sb, "There are errors in the filesystem, "
36 if (test_and_set_bit_lock(EXT4_RESIZING, &EXT4_SB(sb)->s_resize_flags))
42 void ext4_resize_end(struct super_block *sb) argument
44 clear_bit_unlock(EXT4_RESIZING, &EXT4_SB(sb)->s_resize_flags);
48 static ext4_group_t ext4_meta_bg_first_group(struct super_block *sb, argument
50 return (group >> EXT4_DESC_PER_BLOCK_BITS(sb)) <<
51 EXT4_DESC_PER_BLOCK_BITS(sb);
54 static ext4_fsblk_t ext4_meta_bg_first_block_no(struct super_block *sb, argument
60 ext4_group_overhead_blocks(struct super_block *sb, ext4_group_t group) argument
73 verify_group_input(struct super_block *sb, struct ext4_new_group_data *input) argument
232 ext4_alloc_group_tables(struct super_block *sb, struct ext4_new_flex_group_data *flex_gd, int flexbg_size) argument
342 bclean(handle_t *handle, struct super_block *sb, ext4_fsblk_t blk) argument
396 set_flexbg_block_bitmap(struct super_block *sb, handle_t *handle, struct ext4_new_flex_group_data *flex_gd, ext4_fsblk_t block, ext4_group_t count) argument
461 setup_new_flex_group_blocks(struct super_block *sb, struct ext4_new_flex_group_data *flex_gd) argument
664 ext4_list_backups(struct super_block *sb, unsigned *three, unsigned *five, unsigned *seven) argument
698 verify_reserved_gdb(struct super_block *sb, ext4_group_t end, struct buffer_head *primary) argument
744 struct super_block *sb = inode->i_sb; local
883 add_new_gdb_meta_bg(struct super_block *sb, handle_t *handle, ext4_group_t group) argument
936 struct super_block *sb = inode->i_sb; local
1043 update_backups(struct super_block *sb, int blk_off, char *data, int size, int meta_bg) argument
1151 ext4_add_new_descs(handle_t *handle, struct super_block *sb, ext4_group_t group, struct inode *resize_inode, ext4_group_t count) argument
1193 ext4_get_bitmap(struct super_block *sb, __u64 block) argument
1208 ext4_set_bitmap_checksums(struct super_block *sb, ext4_group_t group, struct ext4_group_desc *gdp, struct ext4_new_group_data *group_data) argument
1237 ext4_setup_new_descs(handle_t *handle, struct super_block *sb, struct ext4_new_flex_group_data *flex_gd) argument
1306 ext4_update_super(struct super_block *sb, struct ext4_new_flex_group_data *flex_gd) argument
1410 ext4_flex_group_add(struct super_block *sb, struct inode *resize_inode, struct ext4_new_flex_group_data *flex_gd) argument
1497 ext4_setup_next_flex_gd(struct super_block *sb, struct ext4_new_flex_group_data *flex_gd, ext4_fsblk_t n_blocks_count, unsigned long flexbg_size) argument
1571 ext4_group_add(struct super_block *sb, struct ext4_new_group_data *input) argument
1643 ext4_group_extend_no_check(struct super_block *sb, ext4_fsblk_t o_blocks_count, ext4_grpblk_t add) argument
1703 ext4_group_extend(struct super_block *sb, struct ext4_super_block *es, ext4_fsblk_t n_blocks_count) argument
1772 num_desc_blocks(struct super_block *sb, ext4_group_t groups) argument
1782 ext4_convert_meta_bg(struct super_block *sb, struct inode *inode) argument
1866 ext4_resize_fs(struct super_block *sb, ext4_fsblk_t n_blocks_count) argument
[all...]
H A Dmmp.c10 static __le32 ext4_mmp_csum(struct super_block *sb, struct mmp_struct *mmp) argument
12 struct ext4_sb_info *sbi = EXT4_SB(sb);
21 static int ext4_mmp_csum_verify(struct super_block *sb, struct mmp_struct *mmp) argument
23 if (!ext4_has_metadata_csum(sb))
26 return mmp->mmp_checksum == ext4_mmp_csum(sb, mmp);
29 static void ext4_mmp_csum_set(struct super_block *sb, struct mmp_struct *mmp) argument
31 if (!ext4_has_metadata_csum(sb))
34 mmp->mmp_checksum = ext4_mmp_csum(sb, mmp);
41 static int write_mmp_block(struct super_block *sb, struct buffer_head *bh) argument
49 sb_start_write(sb);
68 read_mmp_block(struct super_block *sb, struct buffer_head **bh, ext4_fsblk_t mmp_block) argument
111 __dump_mmp_msg(struct super_block *sb, struct mmp_struct *mmp, const char *function, unsigned int line, const char *msg) argument
127 struct super_block *sb = ((struct mmpd_data *) data)->sb; local
269 ext4_multi_mount_protect(struct super_block *sb, ext4_fsblk_t mmp_block) argument
[all...]
H A Dsuper.c67 static int ext4_commit_super(struct super_block *sb, int sync);
68 static void ext4_mark_recovery_complete(struct super_block *sb,
70 static void ext4_clear_journal_err(struct super_block *sb,
72 static int ext4_sync_fs(struct super_block *sb, int wait);
73 static int ext4_remount(struct super_block *sb, int *flags, char *data);
75 static int ext4_unfreeze(struct super_block *sb);
76 static int ext4_freeze(struct super_block *sb);
79 static inline int ext2_feature_set_ok(struct super_block *sb);
80 static inline int ext3_feature_set_ok(struct super_block *sb);
81 static int ext4_feature_set_ok(struct super_block *sb, in
118 ext4_verify_csum_type(struct super_block *sb, struct ext4_super_block *es) argument
128 ext4_superblock_csum(struct super_block *sb, struct ext4_super_block *es) argument
140 ext4_superblock_csum_verify(struct super_block *sb, struct ext4_super_block *es) argument
149 ext4_superblock_csum_set(struct super_block *sb) argument
188 ext4_block_bitmap(struct super_block *sb, struct ext4_group_desc *bg) argument
196 ext4_inode_bitmap(struct super_block *sb, struct ext4_group_desc *bg) argument
204 ext4_inode_table(struct super_block *sb, struct ext4_group_desc *bg) argument
212 ext4_free_group_clusters(struct super_block *sb, struct ext4_group_desc *bg) argument
220 ext4_free_inodes_count(struct super_block *sb, struct ext4_group_desc *bg) argument
228 ext4_used_dirs_count(struct super_block *sb, struct ext4_group_desc *bg) argument
236 ext4_itable_unused_count(struct super_block *sb, struct ext4_group_desc *bg) argument
244 ext4_block_bitmap_set(struct super_block *sb, struct ext4_group_desc *bg, ext4_fsblk_t blk) argument
252 ext4_inode_bitmap_set(struct super_block *sb, struct ext4_group_desc *bg, ext4_fsblk_t blk) argument
260 ext4_inode_table_set(struct super_block *sb, struct ext4_group_desc *bg, ext4_fsblk_t blk) argument
268 ext4_free_group_clusters_set(struct super_block *sb, struct ext4_group_desc *bg, __u32 count) argument
276 ext4_free_inodes_set(struct super_block *sb, struct ext4_group_desc *bg, __u32 count) argument
284 ext4_used_dirs_set(struct super_block *sb, struct ext4_group_desc *bg, __u32 count) argument
292 ext4_itable_unused_set(struct super_block *sb, struct ext4_group_desc *bg, __u32 count) argument
301 __save_error_info(struct super_block *sb, const char *func, unsigned int line) argument
330 save_error_info(struct super_block *sb, const char *func, unsigned int line) argument
345 block_device_ejected(struct super_block *sb) argument
355 struct super_block *sb = journal->j_private; local
388 ext4_handle_error(struct super_block *sb) argument
418 __ext4_error(struct super_block *sb, const char *function, unsigned int line, const char *fmt, ...) argument
504 ext4_decode_error(struct super_block *sb, int errno, char nbuf[16]) argument
541 __ext4_std_error(struct super_block *sb, const char *function, unsigned int line, int errno) argument
574 __ext4_abort(struct super_block *sb, const char *function, unsigned int line, const char *fmt, ...) argument
604 __ext4_msg(struct super_block *sb, const char *prefix, const char *fmt, ...) argument
620 __ext4_warning(struct super_block *sb, const char *function, unsigned int line, const char *fmt, ...) argument
690 ext4_update_dynamic_rev(struct super_block *sb) argument
718 ext4_blkdev_get(dev_t dev, struct super_block *sb) argument
757 dump_orphan_list(struct super_block *sb, struct ext4_sb_info *sbi) argument
775 ext4_put_super(struct super_block *sb) argument
871 ext4_alloc_inode(struct super_block *sb) argument
986 ext4_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) argument
1015 ext4_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
1022 ext4_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
1035 bdev_try_to_free_page(struct super_block *sb, struct page *page, gfp_t wait) argument
1263 set_qf_name(struct super_block *sb, int qtype, substring_t *args) argument
1309 clear_qf_name(struct super_block *sb, int qtype) argument
1428 handle_mount_opt(struct super_block *sb, char *opt, int token, substring_t *args, unsigned long *journal_devnum, unsigned int *journal_ioprio, int is_remount) argument
1644 parse_options(char *options, struct super_block *sb, unsigned long *journal_devnum, unsigned int *journal_ioprio, int is_remount) argument
1710 ext4_show_quota_options(struct seq_file *seq, struct super_block *sb) argument
1756 _ext4_show_options(struct seq_file *seq, struct super_block *sb, int nodefs) argument
1840 struct super_block *sb = seq->private; local
1862 ext4_setup_super(struct super_block *sb, struct ext4_super_block *es, int read_only) argument
1919 ext4_alloc_flex_bg_array(struct super_block *sb, ext4_group_t ngroup) argument
1951 ext4_fill_flex_info(struct super_block *sb) argument
2032 ext4_group_desc_csum_verify(struct super_block *sb, __u32 block_group, struct ext4_group_desc *gdp) argument
2043 ext4_group_desc_csum_set(struct super_block *sb, __u32 block_group, struct ext4_group_desc *gdp) argument
2052 ext4_check_descriptors(struct super_block *sb, ext4_group_t *first_not_zeroed) argument
2141 ext4_orphan_cleanup(struct super_block *sb, struct ext4_super_block *es) argument
2362 descriptor_loc(struct super_block *sb, ext4_fsblk_t logical_sb_block, int nr) argument
2464 struct super_block *sb = sbi->s_buddy_cache->i_sb; local
2476 struct super_block *sb = sbi->s_buddy_cache->i_sb; local
2761 ext4_feature_set_ok(struct super_block *sb, int readonly) argument
2821 struct super_block *sb = (struct super_block *) arg; local
2868 struct super_block *sb; local
2925 ext4_unregister_li_request(struct super_block *sb) argument
3065 ext4_has_uninit_itable(struct super_block *sb) argument
3100 ext4_li_request_new(struct super_block *sb, ext4_group_t start) argument
3124 ext4_register_li_request(struct super_block *sb, ext4_group_t first_not_zeroed) argument
3199 set_journal_csum_feature_set(struct super_block *sb) argument
3253 count_overhead(struct super_block *sb, ext4_group_t grp, char *buf) argument
3309 ext4_calculate_overhead(struct super_block *sb) argument
3354 ext4_calculate_resv_clusters(struct super_block *sb) argument
3396 ext4_fill_super(struct super_block *sb, void *data, int silent) argument
4286 ext4_init_journal_params(struct super_block *sb, journal_t *journal) argument
4306 ext4_get_journal(struct super_block *sb, unsigned int journal_inum) argument
4349 ext4_get_dev_journal(struct super_block *sb, dev_t j_dev) argument
4444 ext4_load_journal(struct super_block *sb, struct ext4_super_block *es, unsigned long journal_devnum) argument
4536 ext4_commit_super(struct super_block *sb, int sync) argument
4610 ext4_mark_recovery_complete(struct super_block *sb, struct ext4_super_block *es) argument
4638 ext4_clear_journal_err(struct super_block *sb, struct ext4_super_block *es) argument
4676 ext4_force_commit(struct super_block *sb) argument
4687 ext4_sync_fs(struct super_block *sb, int wait) argument
4737 ext4_freeze(struct super_block *sb) argument
4774 ext4_unfreeze(struct super_block *sb) argument
4801 ext4_remount(struct super_block *sb, int *flags, char *data) argument
5036 struct super_block *sb = dentry->d_sb; local
5141 struct super_block *sb = dquot->dq_sb; local
5154 ext4_write_info(struct super_block *sb, int type) argument
5174 ext4_quota_on_mount(struct super_block *sb, int type) argument
5183 ext4_quota_on(struct super_block *sb, int type, int format_id, struct path *path) argument
5223 ext4_quota_enable(struct super_block *sb, int type, int format_id, unsigned int flags) argument
5253 ext4_enable_quotas(struct super_block *sb) argument
5281 ext4_quota_on_sysfile(struct super_block *sb, int type, int format_id) argument
5293 ext4_quota_off(struct super_block *sb, int type) argument
5322 ext4_quota_off_sysfile(struct super_block *sb, int type) argument
5335 ext4_quota_read(struct super_block *sb, int type, char *data, size_t len, loff_t off) argument
5372 ext4_quota_write(struct super_block *sb, int type, const char *data, size_t len, loff_t off) argument
5446 ext2_feature_set_ok(struct super_block *sb) argument
5459 ext2_feature_set_ok(struct super_block *sb) argument
5476 ext3_feature_set_ok(struct super_block *sb) argument
5491 ext3_feature_set_ok(struct super_block *sb) argument
[all...]
/fs/ufs/
H A Dialloc.c58 struct super_block * sb; local
67 sb = inode->i_sb;
68 uspi = UFS_SB(sb)->s_uspi;
72 lock_ufs(sb);
75 ufs_warning(sb, "ufs_free_inode", "reserved inode or nonexistent inode %u\n", ino);
76 unlock_ufs(sb);
82 ucpi = ufs_load_cylinder (sb, cg);
84 unlock_ufs(sb);
88 if (!ufs_cg_chkmagic(sb, ucg))
89 ufs_panic (sb, "ufs_free_fragment
128 ufs2_init_inodes_chunk(struct super_block *sb, struct ufs_cg_private_info *ucpi, struct ufs_cylinder_group *ucg) argument
173 struct super_block * sb; local
[all...]
/fs/logfs/
H A Dgc.c31 static int no_free_segments(struct super_block *sb) argument
33 struct logfs_super *super = logfs_super(sb);
39 static u8 root_distance(struct super_block *sb, gc_level_t __gc_level) argument
41 struct logfs_super *super = logfs_super(sb);
65 static int segment_is_reserved(struct super_block *sb, u32 segno) argument
67 struct logfs_super *super = logfs_super(sb);
87 static void logfs_mark_segment_bad(struct super_block *sb, u32 segno) argument
96 static u32 logfs_valid_bytes(struct super_block *sb, u32 segno, u32 *ec, argument
102 logfs_get_segment_entry(sb, segno, &se);
113 static void logfs_cleanse_block(struct super_block *sb, u6 argument
125 logfs_gc_segment(struct super_block *sb, u32 segno) argument
135 LOGFS_BUG_ON(segment_is_reserved(sb, segno), sb); local
226 free_candidate(struct super_block *sb, struct gc_candidate *cand) argument
234 get_best_cand(struct super_block *sb, struct candidate_list *list, u32 *ec) argument
268 __add_candidate(struct super_block *sb, struct gc_candidate *cand) argument
298 add_candidate(struct super_block *sb, u32 segno, u32 valid, u32 ec, u8 dist) argument
318 remove_segment_from_lists(struct super_block *sb, u32 segno) argument
330 scan_segment(struct super_block *sb, u32 segno) argument
364 get_candidate(struct super_block *sb) argument
384 __logfs_gc_once(struct super_block *sb, struct gc_candidate *cand) argument
411 logfs_gc_once(struct super_block *sb) argument
422 logfs_scan_some(struct super_block *sb) argument
456 __logfs_gc_pass(struct super_block *sb, int target) argument
524 wl_ratelimit(struct super_block *sb, u64 *next_event) argument
535 logfs_wl_pass(struct super_block *sb) argument
578 logfs_journal_wl_pass(struct super_block *sb) argument
615 logfs_gc_pass(struct super_block *sb) argument
631 check_area(struct super_block *sb, int i) argument
663 logfs_check_areas(struct super_block *sb) argument
684 logfs_init_gc(struct super_block *sb) argument
699 logfs_cleanup_list(struct super_block *sb, struct candidate_list *list) argument
713 logfs_cleanup_gc(struct super_block *sb) argument
[all...]
H A Dsuper.c54 static void dump_segfile(struct super_block *sb) argument
56 struct logfs_super *super = logfs_super(sb);
61 logfs_get_segment_entry(sb, segno, &se);
65 logfs_get_segment_entry(sb, segno, &se);
70 logfs_get_segment_entry(sb, segno, &se);
75 logfs_get_segment_entry(sb, segno, &se);
89 void logfs_crash_dump(struct super_block *sb) argument
91 dump_segfile(sb);
99 struct super_block *sb = dentry->d_sb; local
100 struct logfs_super *super = logfs_super(sb);
113 logfs_sb_set(struct super_block *sb, void *_super) argument
131 logfs_sb_test(struct super_block *sb, void *_super) argument
155 logfs_write_ds(struct super_block *sb, struct logfs_disk_super *ds, u32 segno, u32 ec) argument
187 write_one_sb(struct super_block *sb, struct page *(*find_sb)(struct super_block *sb, u64 *ofs)) argument
213 logfs_write_sb(struct super_block *sb) argument
241 logfs_recover_sb(struct super_block *sb) argument
277 logfs_make_writeable(struct super_block *sb) argument
307 logfs_get_sb_final(struct super_block *sb) argument
359 find_super_block(struct super_block *sb) argument
390 __logfs_read_sb(struct super_block *sb) argument
432 logfs_read_sb(struct super_block *sb, int read_only) argument
479 logfs_kill_sb(struct super_block *sb) argument
515 struct super_block *sb; local
[all...]
/fs/jfs/
H A Djfs_discard.c47 struct super_block *sb = ip->i_sb; local
50 r = sb_issue_discard(sb, blkno, nblocks, GFP_NOFS, 0);
54 sb, (unsigned long long)blkno,
60 sb, (unsigned long long)blkno,
84 struct super_block *sb = ipbmap->i_sb; local
95 start = range->start >> sb->s_blocksize_bits;
96 end = start + (range->len >> sb->s_blocksize_bits) - 1;
97 minlen = range->minlen >> sb->s_blocksize_bits;
103 range->len < sb->s_blocksize)
118 range->len = trimmed << sb
[all...]

Completed in 381 milliseconds

1234567891011>>