Home
last modified time | relevance | path

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

12345678910>>...24

/Linux-v4.19/fs/hpfs/
Dhpfs_fn.h200 int hpfs_chk_sectors(struct super_block *, secno, int, char *);
201 secno hpfs_alloc_sector(struct super_block *, secno, unsigned, int);
202 int hpfs_alloc_if_possible(struct super_block *, secno);
203 void hpfs_free_sectors(struct super_block *, secno, unsigned);
204 int hpfs_check_free_dnodes(struct super_block *, int);
205 void hpfs_free_dnode(struct super_block *, secno);
206 struct dnode *hpfs_alloc_dnode(struct super_block *, secno, dnode_secno *, struct quad_buffer_head …
207 struct fnode *hpfs_alloc_fnode(struct super_block *, secno, fnode_secno *, struct buffer_head **);
208 struct anode *hpfs_alloc_anode(struct super_block *, secno, anode_secno *, struct buffer_head **);
209 int hpfs_trim_fs(struct super_block *, u64, u64, u64, unsigned *);
[all …]
/Linux-v4.19/include/linux/
Dcoda_psdev.h18 struct super_block *vc_sb;
23 static inline struct venus_comm *coda_vcp(struct super_block *sb) in coda_vcp()
29 int venus_rootfid(struct super_block *sb, struct CodaFid *fidp);
30 int venus_getattr(struct super_block *sb, struct CodaFid *fid,
32 int venus_setattr(struct super_block *, struct CodaFid *, struct coda_vattr *);
33 int venus_lookup(struct super_block *sb, struct CodaFid *fid,
36 int venus_close(struct super_block *sb, struct CodaFid *fid, int flags,
38 int venus_open(struct super_block *sb, struct CodaFid *fid, int flags,
40 int venus_mkdir(struct super_block *sb, struct CodaFid *dirfid,
43 int venus_create(struct super_block *sb, struct CodaFid *dirfid,
[all …]
Dquotaops.h17 static inline struct quota_info *sb_dqopt(struct super_block *sb) in sb_dqopt()
39 void __quota_error(struct super_block *sb, const char *func,
48 struct dquot *dqget(struct super_block *sb, struct kqid qid);
58 int dquot_scan_active(struct super_block *sb,
61 struct dquot *dquot_alloc(struct super_block *sb, int type);
73 int dquot_disable(struct super_block *sb, int type, unsigned int flags);
75 static inline int dquot_suspend(struct super_block *sb, int type) in dquot_suspend()
79 int dquot_resume(struct super_block *sb, int type);
84 int dquot_commit_info(struct super_block *sb, int type);
85 int dquot_get_next_id(struct super_block *sb, struct kqid *qid);
[all …]
Dquota.h235 struct super_block;
247 extern void mark_info_dirty(struct super_block *sb, int type);
302 struct super_block *dq_sb; /* superblock this applies to */
311 …int (*check_quota_file)(struct super_block *sb, int type); /* Detect whether file is in our format…
312 …int (*read_file_info)(struct super_block *sb, int type); /* Read main info about file - called on …
313 int (*write_file_info)(struct super_block *sb, int type); /* Write main info about file */
314 int (*free_file_info)(struct super_block *sb, int type); /* Called on quotaoff() */
318 …int (*get_next_id)(struct super_block *sb, struct kqid *qid); /* Get next ID with existing structu…
324 struct dquot *(*alloc_dquot)(struct super_block *, int); /* Allocate memory for new dquot */
329 int (*write_info) (struct super_block *, int); /* Write of quota "superblock" */
[all …]
Dexportfs.h11 struct super_block;
196 struct dentry * (*fh_to_dentry)(struct super_block *sb, struct fid *fid,
198 struct dentry * (*fh_to_parent)(struct super_block *sb, struct fid *fid,
205 int (*get_uuid)(struct super_block *sb, u8 *buf, u32 *len, u64 *offset);
224 extern struct dentry *generic_fh_to_dentry(struct super_block *sb,
226 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
227 extern struct dentry *generic_fh_to_parent(struct super_block *sb,
229 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
/Linux-v4.19/fs/udf/
Dudfdecl.h21 extern __printf(3, 4) void _udf_err(struct super_block *sb,
26 extern __printf(3, 4) void _udf_warn(struct super_block *sb,
85 struct super_block;
117 static inline void udf_updated_lvid(struct super_block *sb) in udf_updated_lvid()
127 extern u64 lvid_get_unique_id(struct super_block *sb);
128 struct inode *udf_find_metadata_inode_efe(struct super_block *sb,
145 extern struct inode *__udf_iget(struct super_block *, struct kernel_lb_addr *,
147 static inline struct inode *udf_iget_special(struct super_block *sb, in udf_iget_special()
152 static inline struct inode *udf_iget(struct super_block *sb, in udf_iget()
183 extern struct buffer_head *udf_tgetblk(struct super_block *sb,
[all …]
/Linux-v4.19/fs/squashfs/
Dsquashfs.h31 extern int squashfs_read_data(struct super_block *, u64, int, u64 *,
37 extern struct squashfs_cache_entry *squashfs_cache_get(struct super_block *,
41 extern int squashfs_read_metadata(struct super_block *, void *, u64 *,
43 extern struct squashfs_cache_entry *squashfs_get_fragment(struct super_block *,
45 extern struct squashfs_cache_entry *squashfs_get_datablock(struct super_block *,
47 extern void *squashfs_read_table(struct super_block *, u64, int);
51 extern void *squashfs_decompressor_setup(struct super_block *, unsigned short);
61 extern __le64 *squashfs_read_inode_lookup_table(struct super_block *, u64, u64,
65 extern int squashfs_frag_lookup(struct super_block *, unsigned int, u64 *);
66 extern __le64 *squashfs_read_fragment_index_table(struct super_block *,
[all …]
/Linux-v4.19/fs/
Dsuper.c40 static int thaw_super_locked(struct super_block *sb);
61 struct super_block *sb; in super_cache_scan()
68 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_scan()
118 struct super_block *sb; in super_cache_count()
121 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_count()
156 struct super_block *s = container_of(work, struct super_block, in destroy_super_work()
167 struct super_block *s = container_of(head, struct super_block, rcu); in destroy_super_rcu()
173 static void destroy_unused_super(struct super_block *s) in destroy_unused_super()
197 static struct super_block *alloc_super(struct file_system_type *type, int flags, in alloc_super()
200 struct super_block *s = kzalloc(sizeof(struct super_block), GFP_USER); in alloc_super()
[all …]
Dinternal.h12 struct super_block;
79 extern int sb_prepare_remount_readonly(struct super_block *);
102 extern int do_remount_sb(struct super_block *, int, void *, int);
103 extern bool trylock_super(struct super_block *sb);
106 extern struct super_block *user_get_super(dev_t);
134 extern long prune_icache_sb(struct super_block *sb, struct shrink_control *sc);
144 extern int invalidate_inodes(struct super_block *, bool);
149 extern struct dentry *__d_alloc(struct super_block *, const struct qstr *);
151 extern long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc);
192 int sb_init_dio_done_wq(struct super_block *sb);
/Linux-v4.19/fs/hfs/
Dhfs_fs.h163 struct super_block *sb;
174 extern u32 hfs_vbm_search_free(struct super_block *, u32, u32 *);
175 extern int hfs_clear_vbm_bits(struct super_block *, u16, u16);
180 extern int hfs_cat_find_brec(struct super_block *, u32, struct hfs_find_data *);
185 extern void hfs_cat_build_key(struct super_block *, btree_key *, u32, const struct qstr *);
193 extern int hfs_free_fork(struct super_block *, struct hfs_cat_file *, int);
210 extern struct inode *hfs_iget(struct super_block *, struct hfs_cat_key *, hfs_cat_rec *);
218 extern int hfs_mdb_get(struct super_block *);
219 extern void hfs_mdb_commit(struct super_block *);
220 extern void hfs_mdb_close(struct super_block *);
[all …]
/Linux-v4.19/fs/omfs/
Domfs.h35 static inline struct omfs_sb_info *OMFS_SB(struct super_block *sb) in OMFS_SB()
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_t block);
66 extern int omfs_find_empty_block(struct super_block *sb, int mode, ino_t *ino);
/Linux-v4.19/fs/nilfs2/
Dnilfs.h160 int nilfs_transaction_begin(struct super_block *,
162 int nilfs_transaction_commit(struct super_block *);
163 void nilfs_transaction_abort(struct super_block *);
260 struct inode *nilfs_ilookup(struct super_block *sb, struct nilfs_root *root,
262 struct inode *nilfs_iget_locked(struct super_block *sb, struct nilfs_root *root,
264 struct inode *nilfs_iget(struct super_block *sb, struct nilfs_root *root,
266 extern struct inode *nilfs_iget_for_gc(struct super_block *sb,
291 extern struct inode *nilfs_alloc_inode(struct super_block *);
295 void __nilfs_msg(struct super_block *sb, const char *level,
298 void __nilfs_error(struct super_block *sb, const char *function,
[all …]
Dsegment.h121 struct super_block *sc_super;
228 extern void nilfs_relax_pressure_in_lock(struct super_block *);
230 extern int nilfs_construct_segment(struct super_block *);
231 extern int nilfs_construct_dsync_segment(struct super_block *, struct inode *,
233 extern void nilfs_flush_segment(struct super_block *, ino_t);
234 extern int nilfs_clean_segments(struct super_block *, struct nilfs_argv *,
237 int nilfs_attach_log_writer(struct super_block *sb, struct nilfs_root *root);
238 void nilfs_detach_log_writer(struct super_block *sb);
245 int nilfs_salvage_orphan_logs(struct the_nilfs *nilfs, struct super_block *sb,
/Linux-v4.19/fs/befs/
Dbefs.h94 void befs_error(const struct super_block *sb, const char *fmt, ...);
96 void befs_warning(const struct super_block *sb, const char *fmt, ...);
98 void befs_debug(const struct super_block *sb, const char *fmt, ...);
100 void befs_dump_super_block(const struct super_block *sb, befs_super_block *);
101 void befs_dump_inode(const struct super_block *sb, befs_inode *);
102 void befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super *);
103 void befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *);
111 BEFS_SB(const struct super_block *super) in BEFS_SB()
123 iaddr2blockno(struct super_block *sb, const befs_inode_addr *iaddr) in iaddr2blockno()
130 blockno2iaddr(struct super_block *sb, befs_blocknr_t blockno) in blockno2iaddr()
[all …]
Dendian.h16 fs64_to_cpu(const struct super_block *sb, fs64 n) in fs64_to_cpu()
25 cpu_to_fs64(const struct super_block *sb, u64 n) in cpu_to_fs64()
34 fs32_to_cpu(const struct super_block *sb, fs32 n) in fs32_to_cpu()
43 cpu_to_fs32(const struct super_block *sb, u32 n) in cpu_to_fs32()
52 fs16_to_cpu(const struct super_block *sb, fs16 n) in fs16_to_cpu()
61 cpu_to_fs16(const struct super_block *sb, u16 n) in cpu_to_fs16()
72 fsrun_to_cpu(const struct super_block *sb, befs_disk_block_run n) in fsrun_to_cpu()
89 cpu_to_fsrun(const struct super_block *sb, befs_block_run n) in cpu_to_fsrun()
106 fsds_to_cpu(const struct super_block *sb, const befs_disk_data_stream *n) in fsds_to_cpu()
/Linux-v4.19/fs/jfs/
Djfs_superblock.h109 extern int readSuper(struct super_block *, struct buffer_head **);
110 extern int updateSuper(struct super_block *, uint);
112 extern void jfs_error(struct super_block *, const char *, ...);
113 extern int jfs_mount(struct super_block *);
114 extern int jfs_mount_rw(struct super_block *, int);
115 extern int jfs_umount(struct super_block *);
116 extern int jfs_umount_rw(struct super_block *);
117 extern int jfs_extendfs(struct super_block *, s64, int);
/Linux-v4.19/fs/ufs/
Dswab.h27 fs64_to_cpu(struct super_block *sbp, __fs64 n) in fs64_to_cpu()
36 cpu_to_fs64(struct super_block *sbp, u64 n) in cpu_to_fs64()
45 fs32_to_cpu(struct super_block *sbp, __fs32 n) in fs32_to_cpu()
54 cpu_to_fs32(struct super_block *sbp, u32 n) in cpu_to_fs32()
63 fs32_add(struct super_block *sbp, __fs32 *n, int d) in fs32_add()
72 fs32_sub(struct super_block *sbp, __fs32 *n, int d) in fs32_sub()
81 fs16_to_cpu(struct super_block *sbp, __fs16 n) in fs16_to_cpu()
90 cpu_to_fs16(struct super_block *sbp, u16 n) in cpu_to_fs16()
99 fs16_add(struct super_block *sbp, __fs16 *n, int d) in fs16_add()
108 fs16_sub(struct super_block *sbp, __fs16 *n, int d) in fs16_sub()
Dufs.h28 struct super_block *sb;
97 extern struct ufs_cg_private_info * ufs_load_cylinder (struct super_block *, unsigned);
98 extern void ufs_put_cylinder (struct super_block *, unsigned);
122 extern struct inode *ufs_iget(struct super_block *, unsigned long);
133 void ufs_warning(struct super_block *, const char *, const char *, ...);
135 void ufs_error(struct super_block *, const char *, const char *, ...);
137 void ufs_panic(struct super_block *, const char *, const char *, ...);
138 void ufs_mark_sb_dirty(struct super_block *sb);
140 static inline struct ufs_sb_info *UFS_SB(struct super_block *sb) in UFS_SB()
/Linux-v4.19/fs/affs/
Daffs.h104 struct super_block *sb; /* the VFS superblock object */
128 static inline struct affs_sb_info *AFFS_SB(struct super_block *sb) in AFFS_SB()
133 void affs_mark_sb_dirty(struct super_block *sb);
140 extern u32 affs_checksum_block(struct super_block *sb, struct buffer_head *bh);
141 extern void affs_fix_checksum(struct super_block *sb, struct buffer_head *bh);
146 extern void affs_error(struct super_block *sb, const char *function,
149 extern void affs_warning(struct super_block *sb, const char *function,
158 extern u32 affs_count_free_blocks(struct super_block *s);
159 extern void affs_free_block(struct super_block *sb, u32 block);
161 extern int affs_init_bitmap(struct super_block *sb, int *flags);
[all …]
/Linux-v4.19/fs/freevxfs/
Dvxfs_extern.h42 struct super_block;
51 extern int vxfs_read_fshead(struct super_block *);
56 extern struct inode *vxfs_blkiget(struct super_block *, u_long, ino_t);
57 extern struct inode *vxfs_stiget(struct super_block *, ino_t);
58 extern struct inode *vxfs_iget(struct super_block *, ino_t);
66 extern int vxfs_read_olt(struct super_block *, u_long);
/Linux-v4.19/fs/ext4/
Dext4.h1392 struct super_block *s_sb;
1516 static inline struct ext4_sb_info *EXT4_SB(struct super_block *sb) in EXT4_SB()
1525 static inline int ext4_valid_inum(struct super_block *sb, unsigned long ino) in ext4_valid_inum()
1670 static inline bool ext4_has_feature_##name(struct super_block *sb) \
1675 static inline void ext4_set_feature_##name(struct super_block *sb) \
1680 static inline void ext4_clear_feature_##name(struct super_block *sb) \
1687 static inline bool ext4_has_feature_##name(struct super_block *sb) \
1692 static inline void ext4_set_feature_##name(struct super_block *sb) \
1697 static inline void ext4_clear_feature_##name(struct super_block *sb) \
1704 static inline bool ext4_has_feature_##name(struct super_block *sb) \
[all …]
/Linux-v4.19/fs/adfs/
Dadfs.h69 static inline struct adfs_sb_info *ADFS_SB(struct super_block *sb) in ADFS_SB()
83 struct super_block *sb;
130 int (*read)(struct super_block *sb, unsigned int id, unsigned int sz, struct adfs_dir *dir);
148 struct inode *adfs_iget(struct super_block *sb, struct object_info *obj);
153 extern int adfs_map_lookup(struct super_block *sb, unsigned int frag_id, unsigned int offset);
154 extern unsigned int adfs_map_free(struct super_block *sb);
158 void __adfs_error(struct super_block *sb, const char *function,
175 extern int adfs_dir_update(struct super_block *sb, struct object_info *obj,
198 __adfs_block_map(struct super_block *sb, unsigned int object_id, in __adfs_block_map()
/Linux-v4.19/fs/reiserfs/
Dlock.c22 void reiserfs_write_lock(struct super_block *s) in reiserfs_write_lock()
35 void reiserfs_write_unlock(struct super_block *s) in reiserfs_write_unlock()
52 int __must_check reiserfs_write_unlock_nested(struct super_block *s) in reiserfs_write_unlock_nested()
70 void reiserfs_write_lock_nested(struct super_block *s, int depth) in reiserfs_write_lock_nested()
87 void reiserfs_check_lock_depth(struct super_block *sb, char *caller) in reiserfs_check_lock_depth()
95 void reiserfs_lock_check_recursive(struct super_block *sb) in reiserfs_lock_check_recursive()
/Linux-v4.19/fs/kernfs/
Dmount.c25 static int kernfs_sop_remount_fs(struct super_block *sb, int *flags, char *data) in kernfs_sop_remount_fs()
87 static struct inode *kernfs_fh_get_inode(struct super_block *sb, in kernfs_fh_get_inode()
113 static struct dentry *kernfs_fh_to_dentry(struct super_block *sb, struct fid *fid, in kernfs_fh_to_dentry()
120 static struct dentry *kernfs_fh_to_parent(struct super_block *sb, struct fid *fid, in kernfs_fh_to_parent()
147 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()
185 struct super_block *sb) in kernfs_node_dentry()
221 static int kernfs_fill_super(struct super_block *sb, unsigned long magic) in kernfs_fill_super()
259 static int kernfs_test_super(struct super_block *sb, void *data) in kernfs_test_super()
267 static int kernfs_set_super(struct super_block *sb, void *data) in kernfs_set_super()
282 const void *kernfs_super_ns(struct super_block *sb) in kernfs_super_ns()
[all …]
/Linux-v4.19/fs/hfsplus/
Dhfsplus_fs.h74 struct super_block *sb;
202 static inline struct hfsplus_sb_info *HFSPLUS_SB(struct super_block *sb) in HFSPLUS_SB()
305 static inline unsigned short hfsplus_min_io_size(struct super_block *sb) in hfsplus_min_io_size()
375 int hfsplus_attr_build_key(struct super_block *sb, hfsplus_btree_key *key,
379 int hfsplus_find_attr(struct super_block *sb, u32 cnid, const char *name,
388 int hfsplus_block_allocate(struct super_block *sb, u32 size, u32 offset,
390 int hfsplus_block_free(struct super_block *sb, u32 offset, u32 count);
395 struct hfs_btree *hfs_btree_open(struct super_block *sb, u32 id);
447 int hfsplus_cat_build_key(struct super_block *sb, hfsplus_btree_key *key,
449 void hfsplus_cat_build_key_with_cnid(struct super_block *sb,
[all …]

12345678910>>...24