Home
last modified time | relevance | path

Searched refs:super_block (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/fs/hpfs/
Dhpfs_fn.h203 int hpfs_chk_sectors(struct super_block *, secno, int, char *);
204 secno hpfs_alloc_sector(struct super_block *, secno, unsigned, int, int);
205 int hpfs_alloc_if_possible(struct super_block *, secno);
206 void hpfs_free_sectors(struct super_block *, secno, unsigned);
207 int hpfs_check_free_dnodes(struct super_block *, int);
208 void hpfs_free_dnode(struct super_block *, secno);
209 struct dnode *hpfs_alloc_dnode(struct super_block *, secno, dnode_secno *, struct quad_buffer_head …
210 struct fnode *hpfs_alloc_fnode(struct super_block *, secno, fnode_secno *, struct buffer_head **);
211 struct anode *hpfs_alloc_anode(struct super_block *, secno, anode_secno *, struct buffer_head **);
215 secno hpfs_bplus_lookup(struct super_block *, struct inode *, struct bplus_header *, unsigned, stru…
[all …]
/fs/squashfs/
Dsquashfs.h36 extern int squashfs_read_data(struct super_block *, void **, u64, int, u64 *,
42 extern struct squashfs_cache_entry *squashfs_cache_get(struct super_block *,
46 extern int squashfs_read_metadata(struct super_block *, void *, u64 *,
48 extern struct squashfs_cache_entry *squashfs_get_fragment(struct super_block *,
50 extern struct squashfs_cache_entry *squashfs_get_datablock(struct super_block *,
52 extern int squashfs_read_table(struct super_block *, void *, u64, int);
55 extern __le64 *squashfs_read_inode_lookup_table(struct super_block *, u64,
59 extern int squashfs_frag_lookup(struct super_block *, unsigned int, u64 *);
60 extern __le64 *squashfs_read_fragment_index_table(struct super_block *,
64 extern int squashfs_get_id(struct super_block *, unsigned int, unsigned int *);
[all …]
/fs/udf/
Dudfdecl.h74 struct super_block;
115 extern void udf_warning(struct super_block *, const char *, const char *, ...);
127 extern struct inode *udf_iget(struct super_block *, kernel_lb_addr);
154 extern struct buffer_head *udf_tgetblk(struct super_block *, int);
155 extern struct buffer_head *udf_tread(struct super_block *, int);
160 extern struct buffer_head *udf_read_tagged(struct super_block *, uint32_t,
162 extern struct buffer_head *udf_read_ptagged(struct super_block *,
169 extern unsigned int udf_get_last_session(struct super_block *);
170 extern unsigned long udf_get_last_block(struct super_block *);
173 extern uint32_t udf_get_pblock(struct super_block *, uint32_t, uint16_t,
[all …]
/fs/ext2/
Dext2.h88 extern int ext2_bg_has_super(struct super_block *sb, int group);
89 extern unsigned long ext2_bg_num_gdb(struct super_block *sb, int group);
95 extern unsigned long ext2_count_free_blocks (struct super_block *);
96 extern unsigned long ext2_count_dirs (struct super_block *);
97 extern void ext2_check_blocks_bitmap (struct super_block *);
98 extern struct ext2_group_desc * ext2_get_group_desc(struct super_block * sb,
102 extern int ext2_should_retry_alloc(struct super_block *sb, int *retries);
104 extern void ext2_rsv_window_add(struct super_block *sb, struct ext2_reserve_window_node *rsv);
122 extern unsigned long ext2_count_free_inodes (struct super_block *);
123 extern void ext2_check_inodes_bitmap (struct super_block *);
[all …]
/fs/
Dsuper.c56 static struct super_block *alloc_super(struct file_system_type *type) in alloc_super()
58 struct super_block *s = kzalloc(sizeof(struct super_block), GFP_USER); in alloc_super()
124 static inline void destroy_super(struct super_block *s) in destroy_super()
138 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()
194 void deactivate_super(struct super_block *s) in deactivate_super()
221 static int grab_super(struct super_block *s) __releases(sb_lock) in grab_super()
245 void lock_super(struct super_block * sb) in lock_super()
251 void unlock_super(struct super_block * sb) in unlock_super()
[all …]
/fs/befs/
Dbefs.h91 void befs_error(const struct super_block *sb, const char *fmt, ...);
92 void befs_warning(const struct super_block *sb, const char *fmt, ...);
93 void befs_debug(const struct super_block *sb, const char *fmt, ...);
95 void befs_dump_super_block(const struct super_block *sb, befs_super_block *);
96 void befs_dump_inode(const struct super_block *sb, befs_inode *);
97 void befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super *);
98 void befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *);
106 BEFS_SB(const struct super_block *super) in BEFS_SB()
118 iaddr2blockno(struct super_block *sb, befs_inode_addr * iaddr) in iaddr2blockno()
125 blockno2iaddr(struct super_block *sb, befs_blocknr_t blockno) in blockno2iaddr()
[all …]
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()
/fs/ext4/
Dext4.h672 static inline struct ext4_sb_info *EXT4_SB(struct super_block *sb) in EXT4_SB()
688 static inline int ext4_valid_inum(struct super_block *sb, unsigned long ino) in ext4_valid_inum()
956 ext4_group_first_block_no(struct super_block *sb, ext4_group_t group_no) in ext4_group_first_block_no()
967 void ext4_get_group_no_and_offset(struct super_block *sb, ext4_fsblk_t blocknr,
1004 extern unsigned int ext4_block_group(struct super_block *sb,
1006 extern ext4_grpblk_t ext4_block_group_offset(struct super_block *sb,
1008 extern int ext4_bg_has_super(struct super_block *sb, ext4_group_t group);
1009 extern unsigned long ext4_bg_num_gdb(struct super_block *sb,
1017 extern void ext4_add_groupblocks(handle_t *handle, struct super_block *sb,
1019 extern ext4_fsblk_t ext4_count_free_blocks(struct super_block *);
[all …]
/fs/omfs/
Domfs.h34 static inline struct omfs_sb_info *OMFS_SB(struct super_block *sb) in OMFS_SB()
40 extern unsigned long omfs_count_free(struct super_block *sb);
41 extern int omfs_allocate_block(struct super_block *sb, u64 block);
42 extern int omfs_allocate_range(struct super_block *sb, int min_request,
44 extern int omfs_clear_range(struct super_block *sb, u64 block, int count);
49 extern int omfs_make_empty(struct inode *inode, struct super_block *sb);
61 extern struct inode *omfs_iget(struct super_block *sb, ino_t inode);
63 extern int omfs_reserve_block(struct super_block *sb, sector_t block);
64 extern int omfs_find_empty_block(struct super_block *sb, int mode, ino_t *ino);
/fs/hfs/
Dhfs_fs.h159 extern u32 hfs_vbm_search_free(struct super_block *, u32, u32 *);
160 extern int hfs_clear_vbm_bits(struct super_block *, u16, u16);
165 extern int hfs_cat_find_brec(struct super_block *, u32, struct hfs_find_data *);
170 extern void hfs_cat_build_key(struct super_block *, btree_key *, u32, struct qstr *);
178 extern int hfs_free_fork(struct super_block *, struct hfs_cat_file *, int);
195 extern struct inode *hfs_iget(struct super_block *, struct hfs_cat_key *, hfs_cat_rec *);
207 extern int hfs_mdb_get(struct super_block *);
208 extern void hfs_mdb_commit(struct super_block *);
209 extern void hfs_mdb_close(struct super_block *);
210 extern void hfs_mdb_put(struct super_block *);
[all …]
/fs/jfs/
Djfs_superblock.h109 extern int readSuper(struct super_block *, struct buffer_head **);
110 extern int updateSuper(struct super_block *, uint);
111 extern void jfs_error(struct super_block *, const char *, ...);
112 extern int jfs_mount(struct super_block *);
113 extern int jfs_mount_rw(struct super_block *, int);
114 extern int jfs_umount(struct super_block *);
115 extern int jfs_umount_rw(struct super_block *);
116 extern int jfs_extendfs(struct super_block *, s64, int);
/fs/ufs/
Dswab.h26 fs64_to_cpu(struct super_block *sbp, __fs64 n) in fs64_to_cpu()
35 cpu_to_fs64(struct super_block *sbp, u64 n) in cpu_to_fs64()
44 fs32_to_cpu(struct super_block *sbp, __fs32 n) in fs32_to_cpu()
53 cpu_to_fs32(struct super_block *sbp, u32 n) in cpu_to_fs32()
62 fs32_add(struct super_block *sbp, __fs32 *n, int d) in fs32_add()
71 fs32_sub(struct super_block *sbp, __fs32 *n, int d) in fs32_sub()
80 fs16_to_cpu(struct super_block *sbp, __fs16 n) in fs16_to_cpu()
89 cpu_to_fs16(struct super_block *sbp, u16 n) in cpu_to_fs16()
98 fs16_add(struct super_block *sbp, __fs16 *n, int d) in fs16_add()
107 fs16_sub(struct super_block *sbp, __fs16 *n, int d) in fs16_sub()
/fs/freevxfs/
Dvxfs_extern.h42 struct super_block;
51 extern int vxfs_read_fshead(struct super_block *);
60 extern struct inode * vxfs_get_fake_inode(struct super_block *,
63 extern struct vxfs_inode_info * vxfs_blkiget(struct super_block *, u_long, ino_t);
64 extern struct vxfs_inode_info * vxfs_stiget(struct super_block *, ino_t);
65 extern struct inode * vxfs_iget(struct super_block *, ino_t);
73 extern int vxfs_read_olt(struct super_block *, u_long);
/fs/affs/
Daffs.h126 static inline struct affs_sb_info *AFFS_SB(struct super_block *sb) in AFFS_SB()
136 extern u32 affs_checksum_block(struct super_block *sb, struct buffer_head *bh);
137 extern void affs_fix_checksum(struct super_block *sb, struct buffer_head *bh);
141 extern void affs_error(struct super_block *sb, const char *function, const char *fmt, ...);
142 extern void affs_warning(struct super_block *sb, const char *function, const char *fmt, ...);
148 extern u32 affs_count_free_blocks(struct super_block *s);
149 extern void affs_free_block(struct super_block *sb, u32 block);
151 extern int affs_init_bitmap(struct super_block *sb, int *flags);
152 extern void affs_free_bitmap(struct super_block *sb);
156 extern int affs_hash_name(struct super_block *sb, const u8 *name, unsigned int len);
[all …]
/fs/adfs/
Dadfs.h23 struct super_block *sb;
50 int (*read)(struct super_block *sb, unsigned int id, unsigned int sz, struct adfs_dir *dir);
67 struct inode *adfs_iget(struct super_block *sb, struct object_info *obj);
72 extern int adfs_map_lookup(struct super_block *sb, unsigned int frag_id, unsigned int offset);
73 extern unsigned int adfs_map_free(struct super_block *sb);
76 void __adfs_error(struct super_block *sb, const char *function,
93 extern int adfs_dir_update(struct super_block *sb, struct object_info *obj);
115 __adfs_block_map(struct super_block *sb, unsigned int object_id, in __adfs_block_map()
/fs/ocfs2/
Djournal.h325 static inline int ocfs2_quota_trans_credits(struct super_block *sb) in ocfs2_quota_trans_credits()
337 int ocfs2_calc_qdel_credits(struct super_block *sb, int type);
339 int ocfs2_calc_qinit_credits(struct super_block *sb, int type);
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()
[all …]
Docfs2.h217 struct super_block *sb;
485 static inline unsigned long ino_from_blkno(struct super_block *sb, in ino_from_blkno()
491 static inline u64 ocfs2_clusters_to_blocks(struct super_block *sb, in ocfs2_clusters_to_blocks()
500 static inline u32 ocfs2_blocks_to_clusters(struct super_block *sb, in ocfs2_blocks_to_clusters()
509 static inline unsigned int ocfs2_clusters_for_bytes(struct super_block *sb, in ocfs2_clusters_for_bytes()
522 static inline u64 ocfs2_blocks_for_bytes(struct super_block *sb, in ocfs2_blocks_for_bytes()
529 static inline u64 ocfs2_clusters_to_bytes(struct super_block *sb, in ocfs2_clusters_to_bytes()
535 static inline u64 ocfs2_align_bytes_to_clusters(struct super_block *sb, in ocfs2_align_bytes_to_clusters()
545 static inline u64 ocfs2_align_bytes_to_blocks(struct super_block *sb, in ocfs2_align_bytes_to_blocks()
559 static inline unsigned int ocfs2_page_index_to_clusters(struct super_block *sb, in ocfs2_page_index_to_clusters()
[all …]
/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()
411 struct super_block *s = de->parent->data; in r_start()
[all …]
Djournal.c92 struct super_block *, unsigned long nblocks,
94 static int flush_journal_list(struct super_block *s,
96 static int flush_commit_list(struct super_block *s,
100 struct super_block *p_s_sb, unsigned long nblocks);
101 static int release_journal_dev(struct super_block *super,
103 static int dirty_one_transaction(struct super_block *s,
106 static void queue_log_writer(struct super_block *s);
116 struct super_block *p_s_sb,
119 static void init_journal_hash(struct super_block *p_s_sb) in init_journal_hash()
140 static void disable_barrier(struct super_block *s) in disable_barrier()
[all …]
/fs/autofs4/
Dautofs_i.h132 struct super_block *sb;
141 static inline struct autofs_sb_info *autofs4_sbi(struct super_block *sb) in autofs4_sbi()
180 struct inode *autofs4_get_inode(struct super_block *, struct autofs_info *);
186 int autofs4_expire_run(struct super_block *, struct vfsmount *,
189 int autofs4_expire_multi(struct super_block *, struct vfsmount *,
191 struct dentry *autofs4_expire_direct(struct super_block *sb,
194 struct dentry *autofs4_expire_indirect(struct super_block *sb,
215 int autofs4_fill_super(struct super_block *, void *, int);
266 extern void autofs4_kill_sb(struct super_block *);
/fs/hfsplus/
Dhfsplus_fs.h46 struct super_block *sb;
260 int hfsplus_block_allocate(struct super_block *, u32, u32, u32 *);
261 int hfsplus_block_free(struct super_block *, u32, u32);
264 struct hfs_btree *hfs_btree_open(struct super_block *, u32);
308 void hfsplus_cat_build_key(struct super_block *sb, hfsplus_btree_key *, u32, struct qstr *);
309 int hfsplus_find_cat(struct super_block *, u32, struct hfs_find_data *);
323 int hfsplus_free_fork(struct super_block *, u32, struct hfsplus_fork_raw *, int);
336 struct inode *hfsplus_new_inode(struct super_block *, int);
354 struct inode *hfsplus_iget(struct super_block *, unsigned long);
364 int hfsplus_uni2asc(struct super_block *, const struct hfsplus_unistr *, char *, int *);
[all …]
/fs/sysv/
Dsysv.h22 struct super_block *s_sb; /* VFS superblock */
79 static inline struct sysv_sb_info *SYSV_SB(struct super_block *sb) in SYSV_SB()
114 static inline void dirty_sb(struct super_block *sb) in dirty_sb()
126 extern struct sysv_inode *sysv_raw_inode(struct super_block *, unsigned,
130 extern unsigned long sysv_count_free_inodes(struct super_block *);
133 extern sysv_zone_t sysv_new_block(struct super_block *);
134 extern void sysv_free_block(struct super_block *, sysv_zone_t);
135 extern unsigned long sysv_count_free_blocks(struct super_block *);
144 extern struct inode *sysv_iget(struct super_block *, unsigned int);
/fs/minix/
Dminix.h43 extern struct inode *minix_iget(struct super_block *, unsigned long);
44 extern struct minix_inode * minix_V1_raw_inode(struct super_block *, ino_t, struct buffer_head **);
45 extern struct minix2_inode * minix_V2_raw_inode(struct super_block *, ino_t, struct buffer_head **);
64 extern unsigned V1_minix_blocks(loff_t, struct super_block *);
65 extern unsigned V2_minix_blocks(loff_t, struct super_block *);
82 static inline struct minix_sb_info *minix_sb(struct super_block *sb) in minix_sb()
/fs/autofs/
Dautofs_i.h106 struct super_block *sb;
115 static inline struct autofs_sb_info *autofs_sbi(struct super_block *sb) in autofs_sbi()
141 struct autofs_dir_ent *autofs_expire(struct super_block *,struct autofs_sb_info *, struct vfsmount …
151 int autofs_fill_super(struct super_block *, void *, int);
152 void autofs_kill_sb(struct super_block *sb);
153 struct inode *autofs_iget(struct super_block *, unsigned long);
/fs/jffs2/
Dsuper.c29 static void jffs2_put_super(struct super_block *);
33 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()

12345678910>>...16