Home
last modified time | relevance | path

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

12345678910>>...14

/fs/befs/
Dendian.h15 fs64_to_cpu(const struct super_block *sb, fs64 n) in fs64_to_cpu()
24 cpu_to_fs64(const struct super_block *sb, u64 n) in cpu_to_fs64()
33 fs32_to_cpu(const struct super_block *sb, fs32 n) in fs32_to_cpu()
42 cpu_to_fs32(const struct super_block *sb, u32 n) in cpu_to_fs32()
51 fs16_to_cpu(const struct super_block *sb, fs16 n) in fs16_to_cpu()
60 cpu_to_fs16(const struct super_block *sb, u16 n) in cpu_to_fs16()
71 fsrun_to_cpu(const struct super_block *sb, befs_disk_block_run n) in fsrun_to_cpu()
88 cpu_to_fsrun(const struct super_block *sb, befs_block_run n) in cpu_to_fsrun()
105 fsds_to_cpu(const struct super_block *sb, befs_disk_data_stream n) in fsds_to_cpu()
Ddebug.c28 befs_error(const struct super_block *sb, const char *fmt, ...) in befs_error()
46 befs_warning(const struct super_block *sb, const char *fmt, ...) in befs_warning()
65 befs_debug(const struct super_block *sb, const char *fmt, ...) in befs_debug()
93 befs_dump_inode(const struct super_block *sb, befs_inode * inode) in befs_dump_inode()
177 befs_dump_super_block(const struct super_block *sb, befs_super_block * sup) in befs_dump_super_block()
246 befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super * super) in befs_dump_index_entry()
267 befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead * node) in befs_dump_index_node()
/fs/
Dsuper.c138 static int __put_super(struct super_block *sb) in __put_super()
156 int __put_super_and_need_restart(struct super_block *sb) in __put_super_and_need_restart()
177 static void put_super(struct super_block *sb) in put_super()
245 void lock_super(struct super_block * sb) in lock_super()
251 void unlock_super(struct super_block * sb) in unlock_super()
266 void __fsync_super(struct super_block *sb) in __fsync_super()
285 int fsync_super(struct super_block *sb) in fsync_super()
305 void generic_shutdown_super(struct super_block *sb) in generic_shutdown_super()
407 void drop_super(struct super_block *sb) in drop_super()
415 static inline void write_super(struct super_block *sb) in write_super()
[all …]
Dinode.c120 struct inode *inode_init_always(struct super_block *sb, struct inode *inode) in inode_init_always()
195 static struct inode *alloc_inode(struct super_block *sb) in alloc_inode()
382 int invalidate_inodes(struct super_block * sb) in invalidate_inodes()
515 static struct inode * find_inode(struct super_block * sb, struct hlist_head *head, int (*test)(stru… in find_inode()
539 static struct inode * find_inode_fast(struct super_block * sb, struct hlist_head *head, unsigned lo… in find_inode_fast()
559 static unsigned long hash(struct super_block *sb, unsigned long hashval) in hash()
570 __inode_add_to_lists(struct super_block *sb, struct hlist_head *head, in __inode_add_to_lists()
592 void inode_add_to_lists(struct super_block *sb, struct inode *inode) in inode_add_to_lists()
614 struct inode *new_inode(struct super_block *sb) in new_inode()
674 static struct inode * get_new_inode(struct super_block *sb, struct hlist_head *head, int (*test)(st… in get_new_inode()
[all …]
Dfs-writeback.c96 struct super_block *sb = inode->i_sb; in __mark_inode_dirty() local
193 struct super_block *sb = inode->i_sb; in redirty_tail() local
243 static void queue_io(struct super_block *sb, in queue_io()
250 int sb_has_dirty_inodes(struct super_block *sb) in sb_has_dirty_inodes()
441 void generic_sync_sb_inodes(struct super_block *sb, in generic_sync_sb_inodes()
574 static void sync_sb_inodes(struct super_block *sb, in sync_sb_inodes()
602 struct super_block *sb; in writeback_inodes() local
642 void sync_inodes_sb(struct super_block *sb, int wait) in sync_inodes_sb()
683 struct super_block *sb; in __sync_inodes() local
/fs/ext4/
Dsuper.c70 ext4_fsblk_t ext4_block_bitmap(struct super_block *sb, in ext4_block_bitmap()
78 ext4_fsblk_t ext4_inode_bitmap(struct super_block *sb, in ext4_inode_bitmap()
86 ext4_fsblk_t ext4_inode_table(struct super_block *sb, in ext4_inode_table()
94 __u32 ext4_free_blks_count(struct super_block *sb, in ext4_free_blks_count()
102 __u32 ext4_free_inodes_count(struct super_block *sb, in ext4_free_inodes_count()
110 __u32 ext4_used_dirs_count(struct super_block *sb, in ext4_used_dirs_count()
118 __u32 ext4_itable_unused_count(struct super_block *sb, in ext4_itable_unused_count()
126 void ext4_block_bitmap_set(struct super_block *sb, in ext4_block_bitmap_set()
134 void ext4_inode_bitmap_set(struct super_block *sb, in ext4_inode_bitmap_set()
142 void ext4_inode_table_set(struct super_block *sb, in ext4_inode_table_set()
[all …]
Dballoc.c32 void ext4_get_group_no_and_offset(struct super_block *sb, ext4_fsblk_t blocknr, in ext4_get_group_no_and_offset()
47 static int ext4_block_in_group(struct super_block *sb, ext4_fsblk_t block, in ext4_block_in_group()
57 static int ext4_group_used_meta_blocks(struct super_block *sb, in ext4_group_used_meta_blocks()
90 unsigned ext4_init_block_bitmap(struct super_block *sb, struct buffer_head *bh, in ext4_init_block_bitmap()
205 struct ext4_group_desc * ext4_get_group_desc(struct super_block *sb, in ext4_get_group_desc()
242 static int ext4_valid_block_bitmap(struct super_block *sb, in ext4_valid_block_bitmap()
305 ext4_read_block_bitmap(struct super_block *sb, ext4_group_t block_group) in ext4_read_block_bitmap()
385 void ext4_add_groupblocks(handle_t *handle, struct super_block *sb, in ext4_add_groupblocks()
517 struct super_block *sb; in ext4_free_blocks() local
610 int ext4_should_retry_alloc(struct super_block *sb, int *retries) in ext4_should_retry_alloc()
[all …]
Dext4_jbd2.h34 #define EXT4_SINGLEDATA_TRANS_BLOCKS(sb) \ argument
50 #define EXT4_DATA_TRANS_BLOCKS(sb) (EXT4_SINGLEDATA_TRANS_BLOCKS(sb) + \ argument
59 #define EXT4_META_TRANS_BLOCKS(sb) (EXT4_XATTR_TRANS_BLOCKS + \ argument
66 #define EXT4_DELETE_TRANS_BLOCKS(sb) (2 * EXT4_DATA_TRANS_BLOCKS(sb) + 64) argument
90 #define EXT4_QUOTA_TRANS_BLOCKS(sb) (test_opt(sb, QUOTA) ? 2 : 0) argument
93 #define EXT4_QUOTA_INIT_BLOCKS(sb) (test_opt(sb, QUOTA) ? (DQUOT_INIT_ALLOC*\ argument
95 #define EXT4_QUOTA_DEL_BLOCKS(sb) (test_opt(sb, QUOTA) ? (DQUOT_DEL_ALLOC*\ argument
98 #define EXT4_QUOTA_TRANS_BLOCKS(sb) 0 argument
99 #define EXT4_QUOTA_INIT_BLOCKS(sb) 0 argument
100 #define EXT4_QUOTA_DEL_BLOCKS(sb) 0 argument
/fs/ocfs2/
Dquota_local.c25 static inline unsigned int ol_quota_entries_per_block(struct super_block *sb) in ol_quota_entries_per_block()
32 static inline unsigned int ol_chunk_blocks(struct super_block *sb) in ol_chunk_blocks()
40 static unsigned int ol_chunk_entries(struct super_block *sb) in ol_chunk_entries()
46 static unsigned int ol_quota_chunk_block(struct super_block *sb, int c) in ol_quota_chunk_block()
52 static unsigned int ol_dqblk_block(struct super_block *sb, int c, int off) in ol_dqblk_block()
59 static unsigned int ol_dqblk_block_off(struct super_block *sb, int c, int off) in ol_dqblk_block_off()
67 static loff_t ol_dqblk_off(struct super_block *sb, int c, int off) in ol_dqblk_off()
74 static inline unsigned int ol_dqblk_file_block(struct super_block *sb, loff_t off) in ol_dqblk_file_block()
79 static inline unsigned int ol_dqblk_block_offset(struct super_block *sb, loff_t off) in ol_dqblk_block_offset()
85 static int ol_dqblk_chunk_off(struct super_block *sb, int c, loff_t off) in ol_dqblk_chunk_off()
[all …]
Djournal.h325 static inline int ocfs2_quota_trans_credits(struct super_block *sb) in ocfs2_quota_trans_credits()
351 static inline int ocfs2_inline_to_extents_credits(struct super_block *sb) in ocfs2_inline_to_extents_credits()
364 static inline int ocfs2_remove_extent_credits(struct super_block *sb) in ocfs2_remove_extent_credits()
376 static inline int ocfs2_mknod_credits(struct super_block *sb) in ocfs2_mknod_credits()
392 static inline int ocfs2_link_credits(struct super_block *sb) in ocfs2_link_credits()
400 static inline int ocfs2_unlink_credits(struct super_block *sb) in ocfs2_unlink_credits()
413 static inline int ocfs2_rename_credits(struct super_block *sb) in ocfs2_rename_credits()
430 static inline int ocfs2_calc_extend_credits(struct super_block *sb, in ocfs2_calc_extend_credits()
458 static inline int ocfs2_calc_symlink_credits(struct super_block *sb) in ocfs2_calc_symlink_credits()
469 static inline int ocfs2_calc_group_alloc_credits(struct super_block *sb, in ocfs2_calc_group_alloc_credits()
[all …]
Dsuper.c207 static void ocfs2_write_super(struct super_block *sb) in ocfs2_write_super()
214 static int ocfs2_sync_fs(struct super_block *sb, int wait) in ocfs2_sync_fs()
363 static struct inode *ocfs2_alloc_inode(struct super_block *sb) in ocfs2_alloc_inode()
427 static int ocfs2_remount(struct super_block *sb, int *flags, char *data) in ocfs2_remount()
540 static int ocfs2_sb_probe(struct super_block *sb, in ocfs2_sb_probe()
683 struct super_block *sb = osb->sb; in ocfs2_susp_quotas() local
711 struct super_block *sb = osb->sb; in ocfs2_enable_quotas() local
750 struct super_block *sb = osb->sb; in ocfs2_disable_quotas() local
770 static int ocfs2_quota_on(struct super_block *sb, int type, int format_id, in ocfs2_quota_on()
787 static int ocfs2_quota_off(struct super_block *sb, int type, int remount) in ocfs2_quota_off()
[all …]
Dquota_global.c91 static int ocfs2_validate_quota_block(struct super_block *sb, in ocfs2_validate_quota_block()
152 ssize_t ocfs2_quota_read(struct super_block *sb, int type, char *data, in ocfs2_quota_read()
189 ssize_t ocfs2_quota_write(struct super_block *sb, int type, in ocfs2_quota_write()
296 int ocfs2_global_read_info(struct super_block *sb, int type) in ocfs2_global_read_info()
364 static int __ocfs2_global_write_info(struct super_block *sb, int type) in __ocfs2_global_write_info()
392 int ocfs2_global_write_info(struct super_block *sb, int type) in ocfs2_global_write_info()
451 struct super_block *sb = dquot->dq_sb; in __ocfs2_sync_dquot() local
562 struct super_block *sb = dquot->dq_sb; in ocfs2_sync_dquot_helper() local
604 struct super_block *sb = oinfo->dqi_gqinode->i_sb; in qsync_work_fn() local
636 int ocfs2_calc_qdel_credits(struct super_block *sb, int type) in ocfs2_calc_qdel_credits()
[all …]
/fs/ext3/
Dsuper.c75 handle_t *ext3_journal_start_sb(struct super_block *sb, int nblocks) in ext3_journal_start_sb()
103 struct super_block *sb; in __ext3_journal_stop() local
154 static void ext3_handle_error(struct super_block *sb) in ext3_handle_error()
181 void ext3_error (struct super_block * sb, const char * function, in ext3_error()
195 static const char *ext3_decode_error(struct super_block * sb, int errno, in ext3_decode_error()
231 void __ext3_std_error (struct super_block * sb, const char * function, in __ext3_std_error()
261 void ext3_abort (struct super_block * sb, const char * function, in ext3_abort()
288 void ext3_warning (struct super_block * sb, const char * function, in ext3_warning()
301 void ext3_update_dynamic_rev(struct super_block *sb) in ext3_update_dynamic_rev()
372 static void dump_orphan_list(struct super_block *sb, struct ext3_sb_info *sbi) in dump_orphan_list()
[all …]
Dballoc.c48 struct ext3_group_desc * ext3_get_group_desc(struct super_block * sb, in ext3_get_group_desc()
83 static int ext3_valid_block_bitmap(struct super_block *sb, in ext3_valid_block_bitmap()
138 read_block_bitmap(struct super_block *sb, unsigned int block_group) in read_block_bitmap()
262 unsigned int group, struct super_block * sb) in goal_in_my_reservation()
326 void ext3_rsv_window_add(struct super_block *sb, in ext3_rsv_window_add()
365 static void rsv_window_remove(struct super_block *sb, in rsv_window_remove()
411 struct super_block *sb = inode->i_sb; in ext3_init_block_alloc_info() local
476 void ext3_free_blocks_sb(handle_t *handle, struct super_block *sb, in ext3_free_blocks_sb()
669 struct super_block * sb; in ext3_free_blocks() local
865 ext3_try_to_allocate(struct super_block *sb, handle_t *handle, int group, in ext3_try_to_allocate()
[all …]
/fs/jffs2/
Dsuper.c33 static struct inode *jffs2_alloc_inode(struct super_block *sb) in jffs2_alloc_inode()
56 static int jffs2_sync_fs(struct super_block *sb, int wait) in jffs2_sync_fs()
66 static struct inode *jffs2_nfs_get_inode(struct super_block *sb, uint64_t ino, in jffs2_nfs_get_inode()
75 static struct dentry *jffs2_fh_to_dentry(struct super_block *sb, struct fid *fid, in jffs2_fh_to_dentry()
82 static struct dentry *jffs2_fh_to_parent(struct super_block *sb, struct fid *fid, in jffs2_fh_to_parent()
128 static int jffs2_fill_super(struct super_block *sb, void *data, int silent) in jffs2_fill_super()
171 static void jffs2_put_super (struct super_block *sb) in jffs2_put_super()
198 static void jffs2_kill_sb(struct super_block *sb) in jffs2_kill_sb()
/fs/ufs/
Dsuper.c103 static void ufs_print_super_stuff(struct super_block *sb, in ufs_print_super_stuff()
182 static void ufs_print_cylinder_stuff(struct super_block *sb, in ufs_print_cylinder_stuff()
219 # define ufs_print_super_stuff(sb, usb1, usb2, usb3) /**/ argument
220 # define ufs_print_cylinder_stuff(sb, cg) /**/ argument
227 void ufs_error (struct super_block * sb, const char * function, in ufs_error()
259 void ufs_panic (struct super_block * sb, const char * function, in ufs_panic()
282 void ufs_warning (struct super_block * sb, const char * function, in ufs_warning()
421 static void ufs_setup_cstotal(struct super_block *sb) in ufs_setup_cstotal()
455 static int ufs_read_cylinder_structures(struct super_block *sb) in ufs_read_cylinder_structures()
541 static void ufs_put_cstotal(struct super_block *sb) in ufs_put_cstotal()
[all …]
/fs/ext2/
Dsuper.c46 void ext2_error (struct super_block * sb, const char * function, in ext2_error()
73 void ext2_warning (struct super_block * sb, const char * function, in ext2_warning()
86 void ext2_update_dynamic_rev(struct super_block *sb) in ext2_update_dynamic_rev()
111 static void ext2_put_super (struct super_block * sb) in ext2_put_super()
143 static struct inode *ext2_alloc_inode(struct super_block *sb) in ext2_alloc_inode()
215 struct super_block *sb = vfs->mnt_sb; in ext2_show_options() local
317 static struct inode *ext2_nfs_get_inode(struct super_block *sb, in ext2_nfs_get_inode()
343 static struct dentry *ext2_fh_to_dentry(struct super_block *sb, struct fid *fid, in ext2_fh_to_dentry()
350 static struct dentry *ext2_fh_to_parent(struct super_block *sb, struct fid *fid, in ext2_fh_to_parent()
577 static int ext2_setup_super (struct super_block * sb, in ext2_setup_super()
[all …]
Dballoc.c38 struct ext2_group_desc * ext2_get_group_desc(struct super_block * sb, in ext2_get_group_desc()
72 static int ext2_valid_block_bitmap(struct super_block *sb, in ext2_valid_block_bitmap()
123 read_block_bitmap(struct super_block *sb, unsigned int block_group) in read_block_bitmap()
161 static void release_blocks(struct super_block *sb, int count) in release_blocks()
171 static void group_adjust_blocks(struct super_block *sb, int group_no, in group_adjust_blocks()
275 unsigned int group, struct super_block * sb) in goal_in_my_reservation()
339 void ext2_rsv_window_add(struct super_block *sb, in ext2_rsv_window_add()
378 static void rsv_window_remove(struct super_block *sb, in rsv_window_remove()
424 struct super_block *sb = inode->i_sb; in ext2_init_block_alloc_info() local
495 struct super_block * sb = inode->i_sb; in ext2_free_blocks() local
[all …]
/fs/udf/
Dsuper.c130 static struct inode *udf_alloc_inode(struct super_block *sb) in udf_alloc_inode()
256 struct super_block *sb = mnt->mnt_sb; in udf_show_options() local
543 static void udf_write_super(struct super_block *sb) in udf_write_super()
554 static int udf_remount_fs(struct super_block *sb, int *flags, char *options) in udf_remount_fs()
588 static int udf_vrs(struct super_block *sb, int silent) in udf_vrs()
685 static int udf_check_anchor_block(struct super_block *sb, sector_t block) in udf_check_anchor_block()
704 static sector_t udf_scan_anchors(struct super_block *sb, sector_t lastblock) in udf_scan_anchors()
763 static void udf_find_anchor(struct super_block *sb) in udf_find_anchor()
812 static int udf_find_fileset(struct super_block *sb, in udf_find_fileset()
902 static int udf_load_pvoldesc(struct super_block *sb, sector_t block) in udf_load_pvoldesc()
[all …]
/fs/jfs/
Djfs_mount.c81 int jfs_mount(struct super_block *sb) in jfs_mount()
239 int jfs_mount_rw(struct super_block *sb, int remount) in jfs_mount_rw()
301 static int chkSuper(struct super_block *sb) in chkSuper()
409 int updateSuper(struct super_block *sb, uint state) in updateSuper()
464 int readSuper(struct super_block *sb, struct buffer_head **bpp) in readSuper()
494 static int logMOUNT(struct super_block *sb) in logMOUNT()
/fs/sysv/
Dialloc.c38 sv_sb_fic_inode(struct super_block * sb, unsigned int i) in sv_sb_fic_inode()
55 sysv_raw_inode(struct super_block *sb, unsigned ino, struct buffer_head **bh) in sysv_raw_inode()
69 static int refill_free_cache(struct super_block *sb) in refill_free_cache()
101 struct super_block *sb = inode->i_sb; in sysv_free_inode() local
137 struct super_block *sb = dir->i_sb; in sysv_new_inode() local
187 unsigned long sysv_count_free_inodes(struct super_block * sb) in sysv_count_free_inodes()
/fs/reiserfs/
Dprocfs.c29 static int show_version(struct seq_file *m, struct super_block *sb) in show_version()
80 static int show_super(struct seq_file *m, struct super_block *sb) in show_super()
142 static int show_per_level(struct seq_file *m, struct super_block *sb) in show_per_level()
200 static int show_bitmap(struct seq_file *m, struct super_block *sb) in show_bitmap()
232 static int show_on_disk_super(struct seq_file *m, struct super_block *sb) in show_on_disk_super()
275 static int show_oidmap(struct seq_file *m, struct super_block *sb) in show_oidmap()
305 static int show_journal(struct seq_file *m, struct super_block *sb) in show_journal()
398 static int test_sb(struct super_block *sb, void *data) in test_sb()
403 static int set_sb(struct super_block *sb, void *data) in set_sb()
474 static void add_file(struct super_block *sb, char *name, in add_file()
[all …]
/fs/affs/
Damigaffs.c29 struct super_block *sb = dir->i_sb; in affs_insert_hash() local
78 struct super_block *sb; in affs_remove_hash() local
152 struct super_block *sb = inode->i_sb; in affs_remove_link() local
235 struct super_block *sb = inode->i_sb; in affs_empty_dir() local
268 struct super_block *sb; in affs_remove_header() local
338 affs_checksum_block(struct super_block *sb, struct buffer_head *bh) in affs_checksum_block()
356 affs_fix_checksum(struct super_block *sb, struct buffer_head *bh) in affs_fix_checksum()
445 affs_error(struct super_block *sb, const char *function, const char *fmt, ...) in affs_error()
461 affs_warning(struct super_block *sb, const char *function, const char *fmt, ...) in affs_warning()
/fs/hfs/
Dmdb.c31 static int hfs_get_last_session(struct super_block *sb, in hfs_get_last_session()
66 int hfs_mdb_get(struct super_block *sb) in hfs_mdb_get()
258 void hfs_mdb_commit(struct super_block *sb) in hfs_mdb_commit()
321 void hfs_mdb_close(struct super_block *sb) in hfs_mdb_close()
335 void hfs_mdb_put(struct super_block *sb) in hfs_mdb_put()
/fs/squashfs/
Dexport.c52 static long long squashfs_inode_lookup(struct super_block *sb, int ino_num) in squashfs_inode_lookup()
74 static struct dentry *squashfs_export_iget(struct super_block *sb, in squashfs_export_iget()
90 static struct dentry *squashfs_fh_to_dentry(struct super_block *sb, in squashfs_fh_to_dentry()
101 static struct dentry *squashfs_fh_to_parent(struct super_block *sb, in squashfs_fh_to_parent()
123 __le64 *squashfs_read_inode_lookup_table(struct super_block *sb, in squashfs_read_inode_lookup_table()

12345678910>>...14