Home
last modified time | relevance | path

Searched refs:super_block (Results 1 – 200 of 588) sorted by relevance

123

/linux-4.1.27/fs/hpfs/
Dhpfs_fn.h194 int hpfs_chk_sectors(struct super_block *, secno, int, char *);
195 secno hpfs_alloc_sector(struct super_block *, secno, unsigned, int);
196 int hpfs_alloc_if_possible(struct super_block *, secno);
197 void hpfs_free_sectors(struct super_block *, secno, unsigned);
198 int hpfs_check_free_dnodes(struct super_block *, int);
199 void hpfs_free_dnode(struct super_block *, secno);
200 struct dnode *hpfs_alloc_dnode(struct super_block *, secno, dnode_secno *, struct quad_buffer_head …
201 struct fnode *hpfs_alloc_fnode(struct super_block *, secno, fnode_secno *, struct buffer_head **);
202 struct anode *hpfs_alloc_anode(struct super_block *, secno, anode_secno *, struct buffer_head **);
206 secno hpfs_bplus_lookup(struct super_block *, struct inode *, struct bplus_header *, unsigned, stru…
[all …]
Dalloc.c11 static void hpfs_claim_alloc(struct super_block *s, secno sec) in hpfs_claim_alloc()
24 static void hpfs_claim_free(struct super_block *s, secno sec) in hpfs_claim_free()
37 static void hpfs_claim_dirband_alloc(struct super_block *s, secno sec) in hpfs_claim_dirband_alloc()
50 static void hpfs_claim_dirband_free(struct super_block *s, secno sec) in hpfs_claim_dirband_free()
68 static int chk_if_allocated(struct super_block *s, secno sec, char *msg) in chk_if_allocated()
99 int hpfs_chk_sectors(struct super_block *s, secno start, int len, char *msg) in hpfs_chk_sectors()
114 static secno alloc_in_bmp(struct super_block *s, secno near, unsigned n, unsigned forward) in alloc_in_bmp()
202 secno hpfs_alloc_sector(struct super_block *s, secno near, unsigned n, int forward) in hpfs_alloc_sector()
276 static secno alloc_in_dirband(struct super_block *s, secno near) in alloc_in_dirband()
295 int hpfs_alloc_if_possible(struct super_block *s, secno sec) in hpfs_alloc_if_possible()
[all …]
Dmap.c11 __le32 *hpfs_map_dnode_bitmap(struct super_block *s, struct quad_buffer_head *qbh) in hpfs_map_dnode_bitmap()
16 __le32 *hpfs_map_bitmap(struct super_block *s, unsigned bmp_block, in hpfs_map_bitmap()
36 void hpfs_prefetch_bitmap(struct super_block *s, unsigned bmp_block) in hpfs_prefetch_bitmap()
56 unsigned char *hpfs_load_code_page(struct super_block *s, secno cps) in hpfs_load_code_page()
111 __le32 *hpfs_load_bitmap_directory(struct super_block *s, secno bmp) in hpfs_load_bitmap_directory()
137 struct fnode *hpfs_map_fnode(struct super_block *s, ino_t ino, struct buffer_head **bhp) in hpfs_map_fnode()
194 struct anode *hpfs_map_anode(struct super_block *s, anode_secno ano, struct buffer_head **bhp) in hpfs_map_anode()
229 struct dnode *hpfs_map_dnode(struct super_block *s, unsigned secno, in hpfs_map_dnode()
295 dnode_secno hpfs_fnode_dno(struct super_block *s, ino_t ino) in hpfs_fnode_dno()
Dbuffer.c13 void hpfs_prefetch_sectors(struct super_block *s, unsigned secno, int n) in hpfs_prefetch_sectors()
43 void *hpfs_map_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp, in hpfs_map_sector()
65 void *hpfs_get_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp) in hpfs_get_sector()
86 void *hpfs_map_4sectors(struct super_block *s, unsigned secno, struct quad_buffer_head *qbh, in hpfs_map_4sectors()
140 void *hpfs_get_4sectors(struct super_block *s, unsigned secno, in hpfs_get_4sectors()
Dsuper.c22 static void mark_dirty(struct super_block *s, int remount) in mark_dirty()
40 static void unmark_dirty(struct super_block *s) in unmark_dirty()
56 void hpfs_error(struct super_block *s, const char *fmt, ...) in hpfs_error()
100 int hpfs_stop_cycles(struct super_block *s, int key, int *c1, int *c2, in hpfs_stop_cycles()
124 static void hpfs_put_super(struct super_block *s) in hpfs_put_super()
132 static unsigned hpfs_count_one_bitmap(struct super_block *s, secno secno) in hpfs_count_one_bitmap()
146 static unsigned count_bitmaps(struct super_block *s) in count_bitmaps()
164 unsigned hpfs_get_free_dnodes(struct super_block *s) in hpfs_get_free_dnodes()
178 struct super_block *s = dentry->d_sb; in hpfs_statfs()
205 static struct inode *hpfs_alloc_inode(struct super_block *sb) in hpfs_alloc_inode()
[all …]
/linux-4.1.27/include/linux/
Dcoda_psdev.h17 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.h16 static inline struct quota_info *sb_dqopt(struct super_block *sb) in sb_dqopt()
35 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);
91 int dquot_quota_on(struct super_block *sb, int type, int format_id,
[all …]
Dquota.h225 struct super_block;
237 extern void mark_info_dirty(struct super_block *sb, int type);
293 struct super_block *dq_sb; /* superblock this applies to */
302 …int (*check_quota_file)(struct super_block *sb, int type); /* Detect whether file is in our format…
303 …int (*read_file_info)(struct super_block *sb, int type); /* Read main info about file - called on …
304 int (*write_file_info)(struct super_block *sb, int type); /* Write main info about file */
305 int (*free_file_info)(struct super_block *sb, int type); /* Called on quotaoff() */
314 struct dquot *(*alloc_dquot)(struct super_block *, int); /* Allocate memory for new dquot */
319 int (*write_info) (struct super_block *, int); /* Write of quota "superblock" */
421 int (*quota_on)(struct super_block *, int, int, struct path *);
[all …]
Dexportfs.h9 struct super_block;
202 struct dentry * (*fh_to_dentry)(struct super_block *sb, struct fid *fid,
204 struct dentry * (*fh_to_parent)(struct super_block *sb, struct fid *fid,
211 int (*get_uuid)(struct super_block *sb, u8 *buf, u32 *len, u64 *offset);
230 extern struct dentry *generic_fh_to_dentry(struct super_block *sb,
232 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
233 extern struct dentry *generic_fh_to_parent(struct super_block *sb,
235 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
Dcleancache.h41 extern void __cleancache_init_fs(struct super_block *);
42 extern void __cleancache_init_shared_fs(struct super_block *);
47 extern void __cleancache_invalidate_fs(struct super_block *);
78 static inline void cleancache_init_fs(struct super_block *sb) in cleancache_init_fs()
84 static inline void cleancache_init_shared_fs(struct super_block *sb) in cleancache_init_shared_fs()
119 static inline void cleancache_invalidate_fs(struct super_block *sb) in cleancache_invalidate_fs()
Dfs.h453 struct super_block * bd_super;
596 struct super_block *i_sb;
1277 struct super_block { struct
1372 extern struct timespec current_fs_time(struct super_block *sb); argument
1378 void __sb_end_write(struct super_block *sb, int level);
1379 int __sb_start_write(struct super_block *sb, int level, bool wait);
1388 static inline void sb_end_write(struct super_block *sb) in sb_end_write()
1400 static inline void sb_end_pagefault(struct super_block *sb) in sb_end_pagefault()
1412 static inline void sb_end_intwrite(struct super_block *sb) in sb_end_intwrite()
1436 static inline void sb_start_write(struct super_block *sb) in sb_start_write()
[all …]
Dwriteback.h93 void writeback_inodes_sb(struct super_block *, enum wb_reason reason);
94 void writeback_inodes_sb_nr(struct super_block *, unsigned long nr,
96 int try_to_writeback_inodes_sb(struct super_block *, enum wb_reason reason);
97 int try_to_writeback_inodes_sb_nr(struct super_block *, unsigned long nr,
99 void sync_inodes_sb(struct super_block *);
Dkernfs.h25 struct super_block;
280 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb);
312 const void *kernfs_super_ns(struct super_block *sb);
316 void kernfs_kill_sb(struct super_block *sb);
317 struct super_block *kernfs_pin_sb(struct kernfs_root *root, const void *ns);
355 static inline struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()
403 static inline const void *kernfs_super_ns(struct super_block *sb) in kernfs_super_ns()
412 static inline void kernfs_kill_sb(struct super_block *sb) { } in kernfs_kill_sb()
Dsecurity.h39 struct super_block;
1483 int (*quotactl) (int cmds, int type, int id, struct super_block *sb);
1495 int (*sb_alloc_security) (struct super_block *sb);
1496 void (*sb_free_security) (struct super_block *sb);
1498 int (*sb_remount) (struct super_block *sb, void *data);
1499 int (*sb_kern_mount) (struct super_block *sb, int flags, void *data);
1500 int (*sb_show_options) (struct seq_file *m, struct super_block *sb);
1507 int (*sb_set_mnt_opts) (struct super_block *sb,
1511 int (*sb_clone_mnt_opts) (const struct super_block *oldsb,
1512 struct super_block *newsb);
[all …]
Dramfs.h4 struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir,
23 int ramfs_fill_super(struct super_block *sb, void *data, int silent);
Dbuffer_head.h297 sb_bread(struct super_block *sb, sector_t block) in sb_bread()
303 sb_bread_unmovable(struct super_block *sb, sector_t block) in sb_bread_unmovable()
309 sb_breadahead(struct super_block *sb, sector_t block) in sb_breadahead()
315 sb_getblk(struct super_block *sb, sector_t block) in sb_getblk()
322 sb_getblk_gfp(struct super_block *sb, sector_t block, gfp_t gfp) in sb_getblk_gfp()
328 sb_find_get_block(struct super_block *sb, sector_t block) in sb_find_get_block()
334 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh()
Dmount.h19 struct super_block;
68 struct super_block *mnt_sb; /* pointer to superblock */
/linux-4.1.27/fs/logfs/
Dlogfs.h116 struct super_block *a_sb;
151 struct page *(*find_first_sb)(struct super_block *sb, u64 *ofs);
152 struct page *(*find_last_sb)(struct super_block *sb, u64 *ofs);
153 int (*write_sb)(struct super_block *sb, struct page *page);
155 void (*writeseg)(struct super_block *sb, u64 ofs, size_t len);
156 int (*erase)(struct super_block *sb, loff_t ofs, size_t len,
158 int (*can_write_buf)(struct super_block *sb, u64 ofs);
159 void (*sync)(struct super_block *sb);
297 struct super_block *sb;
311 typedef int write_alias_t(struct super_block *sb, u64 ino, u64 bix,
[all …]
Dgc.c31 static int no_free_segments(struct super_block *sb) in no_free_segments()
39 static u8 root_distance(struct super_block *sb, gc_level_t __gc_level) in root_distance()
65 static int segment_is_reserved(struct super_block *sb, u32 segno) in segment_is_reserved()
87 static void logfs_mark_segment_bad(struct super_block *sb, u32 segno) in logfs_mark_segment_bad()
96 static u32 logfs_valid_bytes(struct super_block *sb, u32 segno, u32 *ec, in logfs_valid_bytes()
113 static void logfs_cleanse_block(struct super_block *sb, u64 ofs, u64 ino, in logfs_cleanse_block()
125 static u32 logfs_gc_segment(struct super_block *sb, u32 segno) in logfs_gc_segment()
226 static void free_candidate(struct super_block *sb, struct gc_candidate *cand) in free_candidate()
234 u32 get_best_cand(struct super_block *sb, struct candidate_list *list, u32 *ec) in get_best_cand()
268 static void __add_candidate(struct super_block *sb, struct gc_candidate *cand) in __add_candidate()
[all …]
Dsegment.c15 static int logfs_mark_segment_bad(struct super_block *sb, u32 segno) in logfs_mark_segment_bad()
29 int logfs_erase_segment(struct super_block *sb, u32 segno, int ensure_erase) in logfs_erase_segment()
52 static struct page *get_mapping_page(struct super_block *sb, pgoff_t index, in get_mapping_page()
107 struct super_block *sb = area->a_sb; in pad_partial_page()
128 struct super_block *sb = area->a_sb; in pad_full_pages()
167 static void *alias_tree_lookup(struct super_block *sb, u64 ino, u64 bix, in alias_tree_lookup()
176 static int alias_tree_insert(struct super_block *sb, u64 ino, u64 bix, in alias_tree_insert()
185 static int btree_write_alias(struct super_block *sb, struct logfs_block *block, in btree_write_alias()
206 int logfs_load_object_aliases(struct super_block *sb, in logfs_load_object_aliases()
256 struct super_block *sb = block->sb; in kill_alias()
[all …]
Djournal.c11 static void logfs_calc_free(struct super_block *sb) in logfs_calc_free()
50 static void reserve_sb_and_journal(struct super_block *sb) in reserve_sb_and_journal()
73 static void read_dynsb(struct super_block *sb, in read_dynsb()
87 static void read_anchor(struct super_block *sb, in read_anchor()
105 static void read_erasecount(struct super_block *sb, in read_erasecount()
115 static int read_area(struct super_block *sb, struct logfs_je_area *a) in read_area()
159 static int __read_je_header(struct super_block *sb, u64 ofs, in __read_je_header()
184 static int __read_je_payload(struct super_block *sb, u64 ofs, in __read_je_payload()
211 static int __read_je(struct super_block *sb, u64 ofs, in __read_je()
222 static int read_je(struct super_block *sb, u64 ofs) in read_je()
[all …]
Ddev_mtd.c16 static int logfs_mtd_read(struct super_block *sb, loff_t ofs, size_t len, in logfs_mtd_read()
35 static int loffs_mtd_write(struct super_block *sb, loff_t ofs, size_t len, in loffs_mtd_write()
72 static int logfs_mtd_erase_mapping(struct super_block *sb, loff_t ofs, in logfs_mtd_erase_mapping()
90 static int logfs_mtd_erase(struct super_block *sb, loff_t ofs, size_t len, in logfs_mtd_erase()
118 static void logfs_mtd_sync(struct super_block *sb) in logfs_mtd_sync()
127 struct super_block *sb = _sb; in logfs_mtd_readpage()
148 static struct page *logfs_mtd_find_first_sb(struct super_block *sb, u64 *ofs) in logfs_mtd_find_first_sb()
165 static struct page *logfs_mtd_find_last_sb(struct super_block *sb, u64 *ofs) in logfs_mtd_find_last_sb()
183 static int __logfs_mtd_writeseg(struct super_block *sb, u64 ofs, pgoff_t index, in __logfs_mtd_writeseg()
205 static void logfs_mtd_writeseg(struct super_block *sb, u64 ofs, size_t len) in logfs_mtd_writeseg()
[all …]
Ddev_bdev.c38 struct super_block *sb = _sb; in bdev_readpage()
61 struct super_block *sb = bio->bi_private; in writeseg_end_io()
76 static int __bdev_writeseg(struct super_block *sb, u64 ofs, pgoff_t index, in __bdev_writeseg()
132 static void bdev_writeseg(struct super_block *sb, u64 ofs, size_t len) in bdev_writeseg()
159 struct super_block *sb = bio->bi_private; in erase_end_io()
170 static int do_erase(struct super_block *sb, u64 ofs, pgoff_t index, in do_erase()
218 static int bdev_erase(struct super_block *sb, loff_t to, size_t len, in bdev_erase()
242 static void bdev_sync(struct super_block *sb) in bdev_sync()
249 static struct page *bdev_find_first_sb(struct super_block *sb, u64 *ofs) in bdev_find_first_sb()
259 static struct page *bdev_find_last_sb(struct super_block *sb, u64 *ofs) in bdev_find_last_sb()
[all …]
Dinode.c81 static struct inode *__logfs_iget(struct super_block *sb, ino_t ino) in __logfs_iget()
109 struct inode *logfs_iget(struct super_block *sb, ino_t ino) in logfs_iget()
120 struct inode *logfs_safe_iget(struct super_block *sb, ino_t ino, int *is_cached) in logfs_safe_iget()
202 static void logfs_init_inode(struct super_block *sb, struct inode *inode) in logfs_init_inode()
226 static struct inode *logfs_alloc_inode(struct super_block *sb) in logfs_alloc_inode()
262 struct inode *logfs_new_meta_inode(struct super_block *sb, u64 ino) in logfs_new_meta_inode()
278 struct inode *logfs_read_meta_inode(struct super_block *sb, u64 ino) in logfs_read_meta_inode()
322 static void logfs_set_ino_generation(struct super_block *sb, in logfs_set_ino_generation()
344 struct super_block *sb = dir->i_sb; in logfs_new_inode()
380 static int logfs_sync_fs(struct super_block *sb, int wait) in logfs_sync_fs()
[all …]
Dsuper.c54 static void dump_segfile(struct super_block *sb) in dump_segfile()
89 void logfs_crash_dump(struct super_block *sb) in logfs_crash_dump()
99 struct super_block *sb = dentry->d_sb; in logfs_statfs()
113 static int logfs_sb_set(struct super_block *sb, void *_super) in logfs_sb_set()
131 static int logfs_sb_test(struct super_block *sb, void *_super) in logfs_sb_test()
155 static void logfs_write_ds(struct super_block *sb, struct logfs_disk_super *ds, in logfs_write_ds()
187 static int write_one_sb(struct super_block *sb, in write_one_sb()
188 struct page *(*find_sb)(struct super_block *sb, u64 *ofs)) in write_one_sb()
213 int logfs_write_sb(struct super_block *sb) in logfs_write_sb()
241 static int logfs_recover_sb(struct super_block *sb) in logfs_recover_sb()
[all …]
Dreadwrite.c189 struct super_block *sb = inode->i_sb; in __logfs_set_blocks()
205 static void prelock_page(struct super_block *sb, struct page *page, int lock) in prelock_page()
222 static void preunlock_page(struct super_block *sb, struct page *page, int lock) in preunlock_page()
247 void logfs_get_wblocks(struct super_block *sb, struct page *page, int lock) in logfs_get_wblocks()
262 void logfs_put_wblocks(struct super_block *sb, struct page *page, int lock) in logfs_put_wblocks()
380 static inline void init_shadow_tree(struct super_block *sb, in init_shadow_tree()
461 static int inode_write_alias(struct super_block *sb, in inode_write_alias()
503 static int indirect_write_alias(struct super_block *sb, in indirect_write_alias()
529 int logfs_write_obj_aliases_pagecache(struct super_block *sb) in logfs_write_obj_aliases_pagecache()
543 void __free_block(struct super_block *sb, struct logfs_block *block) in __free_block()
[all …]
/linux-4.1.27/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,
81 struct super_block;
119 static inline void udf_updated_lvid(struct super_block *sb) in udf_updated_lvid()
129 extern u64 lvid_get_unique_id(struct super_block *sb);
130 struct inode *udf_find_metadata_inode_efe(struct super_block *sb,
141 extern struct inode *__udf_iget(struct super_block *, struct kernel_lb_addr *,
143 static inline struct inode *udf_iget_special(struct super_block *sb, in udf_iget_special()
148 static inline struct inode *udf_iget(struct super_block *sb, in udf_iget()
174 extern struct buffer_head *udf_tgetblk(struct super_block *, int);
[all …]
Dudf_sb.h106 __u32 (*s_partition_func)(struct super_block *, __u32, __u16, __u32);
160 static inline struct udf_sb_info *UDF_SB(struct super_block *sb) in UDF_SB()
165 struct logicalVolIntegrityDescImpUse *udf_sb_lvidiu(struct super_block *sb);
167 int udf_compute_nr_groups(struct super_block *sb, u32 partition);
169 static inline int UDF_QUERY_FLAG(struct super_block *sb, int flag) in UDF_QUERY_FLAG()
174 static inline void UDF_SET_FLAG(struct super_block *sb, int flag) in UDF_SET_FLAG()
179 static inline void UDF_CLEAR_FLAG(struct super_block *sb, int flag) in UDF_CLEAR_FLAG()
Dsuper.c84 static int udf_fill_super(struct super_block *, void *, int);
85 static void udf_put_super(struct super_block *);
86 static int udf_sync_fs(struct super_block *, int);
87 static int udf_remount_fs(struct super_block *, int *, char *);
88 static void udf_load_logicalvolint(struct super_block *, struct kernel_extent_ad);
89 static int udf_find_fileset(struct super_block *, struct kernel_lb_addr *,
91 static void udf_load_fileset(struct super_block *, struct buffer_head *,
93 static void udf_open_lvid(struct super_block *);
94 static void udf_close_lvid(struct super_block *);
95 static unsigned int udf_count_free(struct super_block *);
[all …]
Dpartition.c29 uint32_t udf_get_pblock(struct super_block *sb, uint32_t block, in udf_get_pblock()
46 uint32_t udf_get_pblock_virt15(struct super_block *sb, uint32_t block, in udf_get_pblock_virt15()
106 inline uint32_t udf_get_pblock_virt20(struct super_block *sb, uint32_t block, in udf_get_pblock_virt20()
112 uint32_t udf_get_pblock_spar15(struct super_block *sb, uint32_t block, in udf_get_pblock_spar15()
152 int udf_relocate_blocks(struct super_block *sb, long old_block, long *new_block) in udf_relocate_blocks()
283 struct super_block *sb = inode->i_sb; in udf_try_read_meta()
305 uint32_t udf_get_pblock_meta25(struct super_block *sb, uint32_t block, in udf_get_pblock_meta25()
Dballoc.c34 static int read_block_bitmap(struct super_block *sb, in read_block_bitmap()
53 static int __load_block_bitmap(struct super_block *sb, in __load_block_bitmap()
75 static inline int load_block_bitmap(struct super_block *sb, in load_block_bitmap()
92 static void udf_add_free_space(struct super_block *sb, u16 partition, u32 cnt) in udf_add_free_space()
105 static void udf_bitmap_free_blocks(struct super_block *sb, in udf_bitmap_free_blocks()
171 static int udf_bitmap_prealloc_blocks(struct super_block *sb, in udf_bitmap_prealloc_blocks()
221 static int udf_bitmap_new_block(struct super_block *sb, in udf_bitmap_new_block()
346 static void udf_table_free_blocks(struct super_block *sb, in udf_table_free_blocks()
575 static int udf_table_prealloc_blocks(struct super_block *sb, in udf_table_prealloc_blocks()
636 static int udf_table_new_block(struct super_block *sb, in udf_table_new_block()
[all …]
Dlowlevel.c28 unsigned int udf_get_last_session(struct super_block *sb) in udf_get_last_session()
50 unsigned long udf_get_last_block(struct super_block *sb) in udf_get_last_block()
/linux-4.1.27/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 …]
Dxattr.h25 extern __le64 *squashfs_read_xattr_id_table(struct super_block *, u64,
27 extern int squashfs_xattr_lookup(struct super_block *, unsigned int, int *,
30 static inline __le64 *squashfs_read_xattr_id_table(struct super_block *sb, in squashfs_read_xattr_id_table()
38 static inline int squashfs_xattr_lookup(struct super_block *sb, in squashfs_xattr_lookup()
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()
Did.c45 int squashfs_get_id(struct super_block *sb, unsigned int index, in squashfs_get_id()
68 __le64 *squashfs_read_id_index_table(struct super_block *sb, in squashfs_read_id_index_table()
Dfragment.c48 int squashfs_frag_lookup(struct super_block *sb, unsigned int fragment, in squashfs_frag_lookup()
73 __le64 *squashfs_read_fragment_index_table(struct super_block *sb, in squashfs_read_fragment_index_table()
Dxattr_id.c41 int squashfs_xattr_lookup(struct super_block *sb, unsigned int index, in squashfs_xattr_lookup()
66 __le64 *squashfs_read_xattr_id_table(struct super_block *sb, u64 start, in squashfs_read_xattr_id_table()
/linux-4.1.27/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 buffer_head *omfs_bread(struct super_block *sb, sector_t block);
62 extern struct inode *omfs_iget(struct super_block *sb, ino_t inode);
64 extern int omfs_reserve_block(struct super_block *sb, sector_t block);
65 extern int omfs_find_empty_block(struct super_block *sb, int mode, ino_t *ino);
Dbitmap.c7 unsigned long omfs_count_free(struct super_block *sb) in omfs_count_free()
47 static int set_run(struct super_block *sb, int map, in set_run()
90 int omfs_allocate_block(struct super_block *sb, u64 block) in omfs_allocate_block()
129 int omfs_allocate_range(struct super_block *sb, in omfs_allocate_range()
174 int omfs_clear_range(struct super_block *sb, u64 block, int count) in omfs_clear_range()
/linux-4.1.27/fs/befs/
Dbefs.h90 void befs_error(const struct super_block *sb, const char *fmt, ...);
92 void befs_warning(const struct super_block *sb, const char *fmt, ...);
94 void befs_debug(const struct super_block *sb, const char *fmt, ...);
96 void befs_dump_super_block(const struct super_block *sb, befs_super_block *);
97 void befs_dump_inode(const struct super_block *sb, befs_inode *);
98 void befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super *);
99 void befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *);
107 BEFS_SB(const struct super_block *super) in BEFS_SB()
119 iaddr2blockno(struct super_block *sb, befs_inode_addr * iaddr) in iaddr2blockno()
126 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, const befs_disk_data_stream *n) in fsds_to_cpu()
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);
Ddebug.c28 befs_error(const struct super_block *sb, const char *fmt, ...) in befs_error()
41 befs_warning(const struct super_block *sb, const char *fmt, ...) in befs_warning()
54 befs_debug(const struct super_block *sb, const char *fmt, ...) in befs_debug()
70 befs_dump_inode(const struct super_block *sb, befs_inode * inode) in befs_dump_inode()
154 befs_dump_super_block(const struct super_block *sb, befs_super_block * sup) in befs_dump_super_block()
204 befs_dump_small_data(const struct super_block *sb, befs_small_data * sd)
210 befs_dump_run(const struct super_block *sb, befs_disk_block_run run)
223 befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super * super) in befs_dump_index_entry()
244 befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead * node) in befs_dump_index_node()
Dlinuxvfs.c41 static struct inode *befs_iget(struct super_block *, unsigned long);
42 static struct inode *befs_alloc_inode(struct super_block *sb);
47 static int befs_utf2nls(struct super_block *sb, const char *in, int in_len,
49 static int befs_nls2utf(struct super_block *sb, const char *in, int in_len,
51 static void befs_put_super(struct super_block *);
52 static int befs_remount(struct super_block *, int *, char *);
128 struct super_block *sb = inode->i_sb; in befs_get_block()
167 struct super_block *sb = dir->i_sb; in befs_lookup()
217 struct super_block *sb = inode->i_sb; in befs_readdir()
275 befs_alloc_inode(struct super_block *sb) in befs_alloc_inode()
[all …]
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,
48 befs_read_datastream(struct super_block *sb, befs_data_stream * ds, in befs_read_datastream()
90 befs_fblock2brun(struct super_block *sb, befs_data_stream * data, in befs_fblock2brun()
125 befs_read_lsymlink(struct super_block * sb, befs_data_stream * ds, void *buff, in befs_read_lsymlink()
166 befs_count_blocks(struct super_block * sb, befs_data_stream * ds) in befs_count_blocks()
246 befs_find_brun_direct(struct super_block *sb, befs_data_stream * data, in befs_find_brun_direct()
306 befs_find_brun_indirect(struct super_block *sb, in befs_find_brun_indirect()
414 befs_find_brun_dblindirect(struct super_block *sb, in befs_find_brun_dblindirect()
Dbtree.c91 static int befs_btree_seekleaf(struct super_block *sb, befs_data_stream * ds,
96 static int befs_bt_read_super(struct super_block *sb, befs_data_stream * ds,
99 static int befs_bt_read_node(struct super_block *sb, 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,
137 befs_bt_read_super(struct super_block *sb, befs_data_stream * ds, in befs_bt_read_super()
196 befs_bt_read_node(struct super_block *sb, befs_data_stream * ds, in befs_bt_read_node()
250 befs_btree_find(struct super_block *sb, befs_data_stream * ds, in befs_btree_find()
339 befs_find_key(struct super_block *sb, struct befs_btree_node *node, in befs_find_key()
419 befs_btree_read(struct super_block *sb, befs_data_stream * ds, in befs_btree_read()
[all …]
Dsuper.h5 int befs_load_sb(struct super_block *sb, befs_super_block * disk_sb);
7 int befs_check_sb(struct super_block *sb);
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);
Dbtree.h7 int befs_btree_find(struct super_block *sb, befs_data_stream * ds,
10 int befs_btree_read(struct super_block *sb, befs_data_stream * ds,
Dio.c27 befs_bread_iaddr(struct super_block *sb, befs_inode_addr iaddr) in befs_bread_iaddr()
64 befs_bread(struct super_block *sb, befs_blocknr_t block) in befs_bread()
/linux-4.1.27/fs/nilfs2/
Dnilfs.h166 int nilfs_transaction_begin(struct super_block *,
168 int nilfs_transaction_commit(struct super_block *);
169 void nilfs_transaction_abort(struct super_block *);
266 struct inode *nilfs_ilookup(struct super_block *sb, struct nilfs_root *root,
268 struct inode *nilfs_iget_locked(struct super_block *sb, struct nilfs_root *root,
270 struct inode *nilfs_iget(struct super_block *sb, struct nilfs_root *root,
272 extern struct inode *nilfs_iget_for_gc(struct super_block *sb,
297 extern struct inode *nilfs_alloc_inode(struct super_block *);
300 void nilfs_error(struct super_block *, const char *, const char *, ...);
302 void nilfs_warning(struct super_block *, const char *, const char *, ...);
[all …]
Dsegment.h134 struct super_block *sc_super;
230 extern void nilfs_relax_pressure_in_lock(struct super_block *);
232 extern int nilfs_construct_segment(struct super_block *);
233 extern int nilfs_construct_dsync_segment(struct super_block *, struct inode *,
235 extern void nilfs_flush_segment(struct super_block *, ino_t);
236 extern int nilfs_clean_segments(struct super_block *, struct nilfs_argv *,
239 int nilfs_attach_log_writer(struct super_block *sb, struct nilfs_root *root);
240 void nilfs_detach_log_writer(struct super_block *sb);
247 int nilfs_salvage_orphan_logs(struct the_nilfs *nilfs, struct super_block *sb,
Dsuper.c75 static int nilfs_setup_super(struct super_block *sb, int is_mount);
76 static int nilfs_remount(struct super_block *sb, int *flags, char *data);
78 static void nilfs_set_error(struct super_block *sb) in nilfs_set_error()
109 void nilfs_error(struct super_block *sb, const char *function, in nilfs_error()
140 void nilfs_warning(struct super_block *sb, const char *function, in nilfs_warning()
158 struct inode *nilfs_alloc_inode(struct super_block *sb) in nilfs_alloc_inode()
190 static int nilfs_sync_super(struct super_block *sb, int flag) in nilfs_sync_super()
264 struct nilfs_super_block **nilfs_prepare_super(struct super_block *sb, in nilfs_prepare_super()
291 int nilfs_commit_super(struct super_block *sb, int flag) in nilfs_commit_super()
327 int nilfs_cleanup_super(struct super_block *sb) in nilfs_cleanup_super()
[all …]
/linux-4.1.27/fs/
Dsuper.c58 struct super_block *sb; in super_cache_scan()
65 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_scan()
115 struct super_block *sb; in super_cache_count()
118 sb = container_of(shrink, struct super_block, s_shrink); in super_cache_count()
144 static void destroy_super(struct super_block *s) in destroy_super()
166 static struct super_block *alloc_super(struct file_system_type *type, int flags) in alloc_super()
168 struct super_block *s = kzalloc(sizeof(struct super_block), GFP_USER); in alloc_super()
246 static void __put_super(struct super_block *sb) in __put_super()
261 static void put_super(struct super_block *sb) in put_super()
280 void deactivate_locked_super(struct super_block *s) in deactivate_locked_super()
[all …]
Dinternal.h12 struct super_block;
64 extern int sb_prepare_remount_readonly(struct super_block *);
86 extern int do_remount_sb(struct super_block *, int, void *, int);
87 extern bool trylock_super(struct super_block *sb);
90 extern struct super_block *user_get_super(dev_t);
116 extern long prune_icache_sb(struct super_block *sb, struct shrink_control *sc);
125 extern void evict_inodes(struct super_block *);
126 extern int invalidate_inodes(struct super_block *, bool);
131 extern struct dentry *__d_alloc(struct super_block *, const struct qstr *);
133 extern long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc);
Dsync.c30 static int __sync_filesystem(struct super_block *sb, int wait) in __sync_filesystem()
47 int sync_filesystem(struct super_block *sb) in sync_filesystem()
70 static void sync_inodes_one_sb(struct super_block *sb, void *arg) in sync_inodes_one_sb()
76 static void sync_fs_one_sb(struct super_block *sb, void *arg) in sync_fs_one_sb()
152 struct super_block *sb; in SYSCALL_DEFINE1()
Dinode.c131 int inode_init_always(struct super_block *sb, struct inode *inode) in inode_init_always()
194 static struct inode *alloc_inode(struct super_block *sb) in alloc_inode()
442 static unsigned long hash(struct super_block *sb, unsigned long hashval) in hash()
590 void evict_inodes(struct super_block *sb) in evict_inodes()
626 int invalidate_inodes(struct super_block *sb, bool kill_dirty) in invalidate_inodes()
743 long prune_icache_sb(struct super_block *sb, struct shrink_control *sc) in prune_icache_sb()
758 static struct inode *find_inode(struct super_block *sb, in find_inode()
787 static struct inode *find_inode_fast(struct super_block *sb, in find_inode_fast()
858 struct inode *new_inode_pseudo(struct super_block *sb) in new_inode_pseudo()
883 struct inode *new_inode(struct super_block *sb) in new_inode()
[all …]
Dfs-writeback.c42 struct super_block *sb;
83 struct super_block *sb; in inode_to_bdi()
283 struct super_block *sb = NULL; in move_expired_inodes()
663 static long writeback_sb_inodes(struct super_block *sb, in writeback_sb_inodes()
788 struct super_block *sb = inode->i_sb; in __writeback_inodes_wb()
1251 struct super_block *sb = inode->i_sb; in __mark_inode_dirty()
1361 static void wait_sb_inodes(struct super_block *sb) in wait_sb_inodes()
1424 void writeback_inodes_sb_nr(struct super_block *sb, in writeback_inodes_sb_nr()
1455 void writeback_inodes_sb(struct super_block *sb, enum wb_reason reason) in writeback_inodes_sb()
1470 int try_to_writeback_inodes_sb_nr(struct super_block *sb, in try_to_writeback_inodes_sb_nr()
[all …]
Dproc_namespace.c41 static int show_sb_opts(struct seq_file *m, struct super_block *sb) in show_sb_opts()
84 static void show_type(struct seq_file *m, struct super_block *sb) in show_type()
99 struct super_block *sb = mnt_path.dentry->d_sb; in show_vfsmnt()
131 struct super_block *sb = mnt->mnt_sb; in show_mountinfo()
192 struct super_block *sb = mnt_path.dentry->d_sb; in show_vfsstat()
/linux-4.1.27/fs/hfs/
Dhfs_fs.h162 struct super_block *sb;
173 extern u32 hfs_vbm_search_free(struct super_block *, u32, u32 *);
174 extern int hfs_clear_vbm_bits(struct super_block *, u16, u16);
179 extern int hfs_cat_find_brec(struct super_block *, u32, struct hfs_find_data *);
184 extern void hfs_cat_build_key(struct super_block *, btree_key *, u32, struct qstr *);
192 extern int hfs_free_fork(struct super_block *, struct hfs_cat_file *, int);
209 extern struct inode *hfs_iget(struct super_block *, struct hfs_cat_key *, hfs_cat_rec *);
221 extern int hfs_mdb_get(struct super_block *);
222 extern void hfs_mdb_commit(struct super_block *);
223 extern void hfs_mdb_close(struct super_block *);
[all …]
Dsuper.c32 static int hfs_sync_fs(struct super_block *sb, int wait) in hfs_sync_fs()
45 static void hfs_put_super(struct super_block *sb) in hfs_put_super()
56 struct super_block *sb; in flush_mdb()
68 void hfs_mark_mdb_dirty(struct super_block *sb) in hfs_mark_mdb_dirty()
96 struct super_block *sb = dentry->d_sb; in hfs_statfs()
113 static int hfs_remount(struct super_block *sb, int *flags, char *data) in hfs_remount()
161 static struct inode *hfs_alloc_inode(struct super_block *sb) in hfs_alloc_inode()
384 static int hfs_fill_super(struct super_block *sb, void *data, int silent) in hfs_fill_super()
Dcatalog.c23 void hfs_cat_build_key(struct super_block *sb, btree_key *key, u32 parent, struct qstr *name) in hfs_cat_build_key()
65 static int hfs_cat_build_thread(struct super_block *sb, in hfs_cat_build_thread()
85 struct super_block *sb; in hfs_cat_create()
179 int hfs_cat_find_brec(struct super_block *sb, u32 cnid, in hfs_cat_find_brec()
215 struct super_block *sb; in hfs_cat_delete()
282 struct super_block *sb; in hfs_cat_move()
/linux-4.1.27/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);
Djfs_txnmgr.h47 struct super_block *sb; /* super block */
277 struct super_block *sb; /* superblock */
296 extern tid_t txBegin(struct super_block *, int);
297 extern void txBeginAnon(struct super_block *);
306 extern void txQuiesce(struct super_block *);
307 extern void txResume(struct super_block *);
Djfs_mount.c65 static int chkSuper(struct super_block *);
66 static int logMOUNT(struct super_block *sb);
81 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()
Djfs_inode.h27 extern struct inode *jfs_iget(struct super_block *, unsigned long);
37 extern struct dentry *jfs_fh_to_dentry(struct super_block *sb, struct fid *fid,
39 extern struct dentry *jfs_fh_to_parent(struct super_block *sb, struct fid *fid,
Dsuper.c74 static void jfs_handle_error(struct super_block *sb) in jfs_handle_error()
95 void jfs_error(struct super_block *sb, const char *fmt, ...) in jfs_error()
113 static struct inode *jfs_alloc_inode(struct super_block *sb) in jfs_alloc_inode()
184 static void jfs_put_super(struct super_block *sb) in jfs_put_super()
232 static int parse_options(char *options, struct super_block *sb, s64 *newLVSize, in parse_options()
429 static int jfs_remount(struct super_block *sb, int *flags, char *data) in jfs_remount()
489 static int jfs_fill_super(struct super_block *sb, void *data, int silent) in jfs_fill_super()
628 static int jfs_freeze(struct super_block *sb) in jfs_freeze()
658 static int jfs_unfreeze(struct super_block *sb) in jfs_unfreeze()
685 static int jfs_sync_fs(struct super_block *sb, int wait) in jfs_sync_fs()
[all …]
Djfs_umount.c50 int jfs_umount(struct super_block *sb) in jfs_umount()
136 int jfs_umount_rw(struct super_block *sb) in jfs_umount_rw()
Djfs_discard.c47 struct super_block *sb = ip->i_sb; in jfs_issue_discard()
84 struct super_block *sb = ipbmap->i_sb; in jfs_ioc_trim()
/linux-4.1.27/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);
Dvxfs_super.c57 static void vxfs_put_super(struct super_block *);
59 static int vxfs_remount(struct super_block *, int *, char *);
78 vxfs_put_super(struct super_block *sbp) in vxfs_put_super()
125 static int vxfs_remount(struct super_block *sb, int *flags, char *data) in vxfs_remount()
148 static int vxfs_fill_super(struct super_block *sbp, void *dp, int silent) in vxfs_fill_super()
Dvxfs_inode.c88 vxfs_blkiget(struct super_block *sbp, u_long extent, ino_t ino) in vxfs_blkiget()
174 vxfs_stiget(struct super_block *sbp, ino_t ino) in vxfs_stiget()
258 vxfs_get_fake_inode(struct super_block *sbp, struct vxfs_inode_info *vip) in vxfs_get_fake_inode()
293 vxfs_iget(struct super_block *sbp, ino_t ino) in vxfs_iget()
Dvxfs_olt.c57 vxfs_oblock(struct super_block *sbp, daddr_t block, u_long bsize) in vxfs_oblock()
77 vxfs_read_olt(struct super_block *sbp, u_long bsize) in vxfs_read_olt()
/linux-4.1.27/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()
Dufs.h29 struct super_block *sb;
96 extern struct ufs_cg_private_info * ufs_load_cylinder (struct super_block *, unsigned);
97 extern void ufs_put_cylinder (struct super_block *, unsigned);
121 extern struct inode *ufs_iget(struct super_block *, unsigned long);
132 void ufs_warning(struct super_block *, const char *, const char *, ...);
134 void ufs_error(struct super_block *, const char *, const char *, ...);
136 void ufs_panic(struct super_block *, const char *, const char *, ...);
137 void ufs_mark_sb_dirty(struct super_block *sb);
147 static inline struct ufs_sb_info *UFS_SB(struct super_block *sb) in UFS_SB()
173 extern void lock_ufs(struct super_block *sb);
[all …]
Dutil.h37 ufs_get_fs_state(struct super_block *sb, struct ufs_super_block_first *usb1, in ufs_get_fs_state()
56 ufs_set_fs_state(struct super_block *sb, struct ufs_super_block_first *usb1, in ufs_set_fs_state()
79 ufs_get_fs_npsect(struct super_block *sb, struct ufs_super_block_first *usb1, in ufs_get_fs_npsect()
89 ufs_get_fs_qbmask(struct super_block *sb, struct ufs_super_block_third *usb3) in ufs_get_fs_qbmask()
113 ufs_get_fs_qfmask(struct super_block *sb, struct ufs_super_block_third *usb3) in ufs_get_fs_qfmask()
137 ufs_get_de_namlen(struct super_block *sb, struct ufs_dir_entry *de) in ufs_get_de_namlen()
146 ufs_set_de_namlen(struct super_block *sb, struct ufs_dir_entry *de, u16 value) in ufs_set_de_namlen()
155 ufs_set_de_type(struct super_block *sb, struct ufs_dir_entry *de, int mode) in ufs_set_de_type()
191 ufs_get_inode_uid(struct super_block *sb, struct ufs_inode *inode) in ufs_get_inode_uid()
206 ufs_set_inode_uid(struct super_block *sb, struct ufs_inode *inode, u32 value) in ufs_set_inode_uid()
[all …]
Ddir.c33 static inline int ufs_match(struct super_block *sb, int len, in ufs_match()
114 struct super_block *sb = dir->i_sb; in ufs_check_page()
224 ufs_next_entry(struct super_block *sb, struct ufs_dir_entry *p) in ufs_next_entry()
254 struct super_block *sb = dir->i_sb; in ufs_find_entry()
317 struct super_block *sb = dir->i_sb; in ufs_add_link()
415 ufs_validate_entry(struct super_block *sb, char *base, in ufs_validate_entry()
437 struct super_block *sb = inode->i_sb; in ufs_readdir()
514 struct super_block *sb = inode->i_sb; in ufs_delete_entry()
561 struct super_block * sb = dir->i_sb; in ufs_make_empty()
609 struct super_block *sb = inode->i_sb; in ufs_empty_dir()
Dsuper.c96 void lock_ufs(struct super_block *sb) in lock_ufs()
104 void unlock_ufs(struct super_block *sb) in unlock_ufs()
112 static struct inode *ufs_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) in ufs_nfs_get_inode()
130 static struct dentry *ufs_fh_to_dentry(struct super_block *sb, struct fid *fid, in ufs_fh_to_dentry()
136 static struct dentry *ufs_fh_to_parent(struct super_block *sb, struct fid *fid, in ufs_fh_to_parent()
163 static void ufs_print_super_stuff(struct super_block *sb, in ufs_print_super_stuff()
242 static void ufs_print_cylinder_stuff(struct super_block *sb, in ufs_print_cylinder_stuff()
285 void ufs_error (struct super_block * sb, const char * function, in ufs_error()
319 void ufs_panic (struct super_block * sb, const char * function, in ufs_panic()
344 void ufs_warning (struct super_block * sb, const char * function, in ufs_warning()
[all …]
/linux-4.1.27/fs/affs/
Daffs.h103 struct super_block *sb; /* the VFS superblock object */
127 static inline struct affs_sb_info *AFFS_SB(struct super_block *sb) in AFFS_SB()
132 void affs_mark_sb_dirty(struct super_block *sb);
139 extern u32 affs_checksum_block(struct super_block *sb, struct buffer_head *bh);
140 extern void affs_fix_checksum(struct super_block *sb, struct buffer_head *bh);
145 extern void affs_error(struct super_block *sb, const char *function,
148 extern void affs_warning(struct super_block *sb, const char *function,
157 extern u32 affs_count_free_blocks(struct super_block *s);
158 extern void affs_free_block(struct super_block *sb, u32 block);
160 extern int affs_init_bitmap(struct super_block *sb, int *flags);
[all …]
Dsuper.c24 static int affs_remount (struct super_block *sb, int *flags, char *data);
27 affs_commit_super(struct super_block *sb, int wait) in affs_commit_super()
44 affs_put_super(struct super_block *sb) in affs_put_super()
53 affs_sync_fs(struct super_block *sb, int wait) in affs_sync_fs()
62 struct super_block *sb; in flush_superblock()
74 void affs_mark_sb_dirty(struct super_block *sb) in affs_mark_sb_dirty()
93 static struct inode *affs_alloc_inode(struct super_block *sb) in affs_alloc_inode()
298 static int affs_fill_super(struct super_block *sb, void *data, int silent) in affs_fill_super()
513 affs_remount(struct super_block *sb, int *flags, char *data) in affs_remount()
577 struct super_block *sb = dentry->d_sb; in affs_statfs()
[all …]
Damigaffs.c25 struct super_block *sb = dir->i_sb; in affs_insert_hash()
74 struct super_block *sb; in affs_remove_hash()
142 struct super_block *sb = inode->i_sb; in affs_remove_link()
233 struct super_block *sb = inode->i_sb; in affs_empty_dir()
266 struct super_block *sb; in affs_remove_header()
336 affs_checksum_block(struct super_block *sb, struct buffer_head *bh) in affs_checksum_block()
354 affs_fix_checksum(struct super_block *sb, struct buffer_head *bh) in affs_fix_checksum()
443 affs_error(struct super_block *sb, const char *function, const char *fmt, ...) in affs_error()
459 affs_warning(struct super_block *sb, const char *function, const char *fmt, ...) in affs_warning()
Dnamei.c54 affs_get_toupper(struct super_block *sb) in affs_get_toupper()
175 affs_hash_name(struct super_block *sb, const u8 *name, unsigned int len) in affs_hash_name()
190 struct super_block *sb = dir->i_sb; in affs_find_entry()
219 struct super_block *sb = dir->i_sb; in affs_lookup()
262 struct super_block *sb = dir->i_sb; in affs_create()
331 struct super_block *sb = dir->i_sb; in affs_symlink()
418 struct super_block *sb = old_dir->i_sb; in affs_rename()
Dbitmap.c14 affs_count_free_blocks(struct super_block *sb) in affs_count_free_blocks()
38 affs_free_block(struct super_block *sb, u32 block) in affs_free_block()
116 struct super_block *sb; in affs_alloc_block()
243 int affs_init_bitmap(struct super_block *sb, int *flags) in affs_init_bitmap()
352 void affs_free_bitmap(struct super_block *sb) in affs_free_bitmap()
/linux-4.1.27/fs/ext4/
Dext4.h1294 struct super_block *s_sb;
1417 static inline struct ext4_sb_info *EXT4_SB(struct super_block *sb) in EXT4_SB()
1432 static inline int ext4_valid_inum(struct super_block *sb, unsigned long ino) in ext4_valid_inum()
1906 ext4_group_first_block_no(struct super_block *sb, ext4_group_t group_no) in ext4_group_first_block_no()
1935 struct super_block *lr_super;
1987 struct super_block *sb; /* super block of the fs */
2024 void ext4_inode_bitmap_csum_set(struct super_block *sb, ext4_group_t group,
2027 int ext4_inode_bitmap_csum_verify(struct super_block *sb, ext4_group_t group,
2030 void ext4_block_bitmap_csum_set(struct super_block *sb, ext4_group_t group,
2033 int ext4_block_bitmap_csum_verify(struct super_block *sb, ext4_group_t group,
[all …]
Dballoc.c25 static unsigned ext4_num_base_meta_clusters(struct super_block *sb,
34 ext4_group_t ext4_get_group_number(struct super_block *sb, in ext4_get_group_number()
52 void ext4_get_group_no_and_offset(struct super_block *sb, ext4_fsblk_t blocknr, in ext4_get_group_no_and_offset()
72 static inline int ext4_block_in_group(struct super_block *sb, in ext4_block_in_group()
85 static unsigned ext4_num_overhead_clusters(struct super_block *sb, in ext4_num_overhead_clusters()
158 static unsigned int num_clusters_in_group(struct super_block *sb, in num_clusters_in_group()
178 static int ext4_init_block_bitmap(struct super_block *sb, in ext4_init_block_bitmap()
250 unsigned ext4_free_clusters_after_init(struct super_block *sb, in ext4_free_clusters_after_init()
276 struct ext4_group_desc * ext4_get_group_desc(struct super_block *sb, in ext4_get_group_desc()
314 static ext4_fsblk_t ext4_valid_block_bitmap(struct super_block *sb, in ext4_valid_block_bitmap()
[all …]
Dsuper.c63 static int ext4_load_journal(struct super_block *, struct ext4_super_block *,
66 static int ext4_commit_super(struct super_block *sb, int sync);
67 static void ext4_mark_recovery_complete(struct super_block *sb,
69 static void ext4_clear_journal_err(struct super_block *sb,
71 static int ext4_sync_fs(struct super_block *sb, int wait);
72 static int ext4_remount(struct super_block *sb, int *flags, char *data);
74 static int ext4_unfreeze(struct super_block *sb);
75 static int ext4_freeze(struct super_block *sb);
78 static inline int ext2_feature_set_ok(struct super_block *sb);
79 static inline int ext3_feature_set_ok(struct super_block *sb);
[all …]
Dbitmap.c18 int ext4_inode_bitmap_csum_verify(struct super_block *sb, ext4_group_t group, in ext4_inode_bitmap_csum_verify()
40 void ext4_inode_bitmap_csum_set(struct super_block *sb, ext4_group_t group, in ext4_inode_bitmap_csum_set()
56 int ext4_block_bitmap_csum_verify(struct super_block *sb, ext4_group_t group, in ext4_block_bitmap_csum_verify()
82 void ext4_block_bitmap_csum_set(struct super_block *sb, ext4_group_t group, in ext4_block_bitmap_csum_set()
Dmmp.c10 static __le32 ext4_mmp_csum(struct super_block *sb, struct mmp_struct *mmp) in ext4_mmp_csum()
21 static int ext4_mmp_csum_verify(struct super_block *sb, struct mmp_struct *mmp) in ext4_mmp_csum_verify()
29 static void ext4_mmp_csum_set(struct super_block *sb, struct mmp_struct *mmp) in ext4_mmp_csum_set()
41 static int write_mmp_block(struct super_block *sb, struct buffer_head *bh) in write_mmp_block()
68 static int read_mmp_block(struct super_block *sb, struct buffer_head **bh, in read_mmp_block()
111 void __dump_mmp_msg(struct super_block *sb, struct mmp_struct *mmp, in __dump_mmp_msg()
127 struct super_block *sb = ((struct mmpd_data *) data)->sb; in kmmpd()
269 int ext4_multi_mount_protect(struct super_block *sb, in ext4_multi_mount_protect()
Dmballoc.h164 struct super_block *ac_sb;
204 struct super_block *bd_sb;
209 static inline ext4_fsblk_t ext4_grp_offs_to_block(struct super_block *sb, in ext4_grp_offs_to_block()
Dresize.c19 int ext4_resize_begin(struct super_block *sb) in ext4_resize_begin()
54 void ext4_resize_end(struct super_block *sb) in ext4_resize_end()
60 static ext4_group_t ext4_meta_bg_first_group(struct super_block *sb, in ext4_meta_bg_first_group()
66 static ext4_fsblk_t ext4_meta_bg_first_block_no(struct super_block *sb, in ext4_meta_bg_first_block_no()
72 static ext4_grpblk_t ext4_group_overhead_blocks(struct super_block *sb, in ext4_group_overhead_blocks()
85 static int verify_group_input(struct super_block *sb, in verify_group_input()
244 static int ext4_alloc_group_tables(struct super_block *sb, in ext4_alloc_group_tables()
354 static struct buffer_head *bclean(handle_t *handle, struct super_block *sb, in bclean()
408 static int set_flexbg_block_bitmap(struct super_block *sb, handle_t *handle, in set_flexbg_block_bitmap()
473 static int setup_new_flex_group_blocks(struct super_block *sb, in setup_new_flex_group_blocks()
[all …]
Dext4_jbd2.c41 static int ext4_journal_check_start(struct super_block *sb) in ext4_journal_check_start()
62 handle_t *__ext4_journal_start_sb(struct super_block *sb, unsigned int line, in __ext4_journal_start_sb()
82 struct super_block *sb; in __ext4_journal_stop()
110 struct super_block *sb; in __ext4_journal_start_reserved()
313 handle_t *handle, struct super_block *sb) in __ext4_handle_dirty_super()
Dext4_jbd2.h153 void (*jce_func)(struct super_block *sb,
181 void (*func)(struct super_block *sb, in ext4_journal_callback_add()
249 handle_t *handle, struct super_block *sb);
264 handle_t *__ext4_journal_start_sb(struct super_block *sb, unsigned int line,
385 int ext4_force_commit(struct super_block *sb);
/linux-4.1.27/fs/adfs/
Dadfs.h68 static inline struct adfs_sb_info *ADFS_SB(struct super_block *sb) in ADFS_SB()
82 struct super_block *sb;
129 int (*read)(struct super_block *sb, unsigned int id, unsigned int sz, struct adfs_dir *dir);
147 struct inode *adfs_iget(struct super_block *sb, struct object_info *obj);
152 extern int adfs_map_lookup(struct super_block *sb, unsigned int frag_id, unsigned int offset);
153 extern unsigned int adfs_map_free(struct super_block *sb);
157 void __adfs_error(struct super_block *sb, const char *function,
174 extern int adfs_dir_update(struct super_block *sb, struct object_info *obj,
197 __adfs_block_map(struct super_block *sb, unsigned int object_id, in __adfs_block_map()
Dsuper.c26 void __adfs_error(struct super_block *sb, const char *function, const char *fmt, ...) in __adfs_error()
73 static unsigned char adfs_calczonecheck(struct super_block *sb, unsigned char *map) in adfs_calczonecheck()
97 static int adfs_checkmap(struct super_block *sb, struct adfs_discmap *dm) in adfs_checkmap()
118 static void adfs_put_super(struct super_block *sb) in adfs_put_super()
158 static int parse_options(struct super_block *sb, char *options) in parse_options()
213 static int adfs_remount(struct super_block *sb, int *flags, char *data) in adfs_remount()
222 struct super_block *sb = dentry->d_sb; in adfs_statfs()
242 static struct inode *adfs_alloc_inode(struct super_block *sb) in adfs_alloc_inode()
301 static struct adfs_discmap *adfs_read_map(struct super_block *sb, struct adfs_discrecord *dr) in adfs_read_map()
365 static int adfs_fill_super(struct super_block *sb, void *data, int silent) in adfs_fill_super()
Dinode.c89 adfs_atts2mode(struct super_block *sb, struct inode *inode) in adfs_atts2mode()
133 adfs_mode2atts(struct super_block *sb, struct inode *inode) in adfs_mode2atts()
243 adfs_iget(struct super_block *sb, struct object_info *obj) in adfs_iget()
302 struct super_block *sb = inode->i_sb; in adfs_notify_change()
357 struct super_block *sb = inode->i_sb; in adfs_write_inode()
/linux-4.1.27/fs/reiserfs/
Dlock.c21 void reiserfs_write_lock(struct super_block *s) in reiserfs_write_lock()
34 void reiserfs_write_unlock(struct super_block *s) in reiserfs_write_unlock()
51 int __must_check reiserfs_write_unlock_nested(struct super_block *s) in reiserfs_write_unlock_nested()
69 void reiserfs_write_lock_nested(struct super_block *s, int depth) in reiserfs_write_lock_nested()
86 void reiserfs_check_lock_depth(struct super_block *sb, char *caller) in reiserfs_check_lock_depth()
94 void reiserfs_lock_check_recursive(struct super_block *sb) in reiserfs_lock_check_recursive()
Djournal.c87 static int flush_journal_list(struct super_block *s,
89 static int flush_commit_list(struct super_block *s,
93 struct super_block *sb);
94 static void release_journal_dev(struct super_block *super,
96 static int dirty_one_transaction(struct super_block *s,
99 static void queue_log_writer(struct super_block *s);
111 struct super_block *sb,
114 static void init_journal_hash(struct super_block *sb) in init_journal_hash()
136 static struct reiserfs_bitmap_node *allocate_bitmap_node(struct super_block in allocate_bitmap_node()
156 static struct reiserfs_bitmap_node *get_bitmap_node(struct super_block *sb) in get_bitmap_node()
[all …]
Dreiserfs.h227 struct super_block *sb; /* dev of real buffer head */
417 struct super_block *j_work_sb;
746 int reiserfs_resize(struct super_block *, unsigned long);
771 void reiserfs_write_lock(struct super_block *s);
772 void reiserfs_write_unlock(struct super_block *s);
773 int __must_check reiserfs_write_unlock_nested(struct super_block *s);
774 void reiserfs_write_lock_nested(struct super_block *s, int depth);
777 void reiserfs_lock_check_recursive(struct super_block *s);
779 static inline void reiserfs_lock_check_recursive(struct super_block *s) { } in reiserfs_lock_check_recursive()
810 struct super_block *s) in reiserfs_mutex_lock_safe()
[all …]
Dprocfs.c28 struct super_block *sb = m->private; in show_version()
72 struct super_block *sb = m->private; in show_super()
135 struct super_block *sb = m->private; in show_per_level()
194 struct super_block *sb = m->private; in show_bitmap()
227 struct super_block *sb = m->private; in show_on_disk_super()
271 struct super_block *sb = m->private; in show_oidmap()
302 struct super_block *sb = m->private; in show_journal()
409 static void add_file(struct super_block *sb, char *name, in add_file()
416 int reiserfs_proc_info_init(struct super_block *sb) in reiserfs_proc_info_init()
444 int reiserfs_proc_info_done(struct super_block *sb) in reiserfs_proc_info_done()
Dobjectid.c17 static void check_objectid_map(struct super_block *s, __le32 * map) in check_objectid_map()
27 static void check_objectid_map(struct super_block *s, __le32 * map) in check_objectid_map()
51 struct super_block *s = th->t_super; in reiserfs_get_unused_objectid()
100 struct super_block *s = th->t_super; in reiserfs_release_objectid()
179 int reiserfs_convert_objectid_map_v1(struct super_block *s) in reiserfs_convert_objectid_map_v1()
Dxattr.h9 struct super_block;
13 int reiserfs_xattr_init(struct super_block *sb, int mount_flags);
14 int reiserfs_lookup_privroot(struct super_block *sb);
47 static inline int reiserfs_xattrs_initialized(struct super_block *sb) in reiserfs_xattrs_initialized()
Dsuper.c63 static int reiserfs_remount(struct super_block *s, int *flags, char *data);
66 static int reiserfs_sync_fs(struct super_block *s, int wait) in reiserfs_sync_fs()
86 struct super_block *s; in flush_old_commits()
98 void reiserfs_schedule_old_flush(struct super_block *s) in reiserfs_schedule_old_flush()
119 static void cancel_old_flush(struct super_block *s) in cancel_old_flush()
129 static int reiserfs_freeze(struct super_block *s) in reiserfs_freeze()
152 static int reiserfs_unfreeze(struct super_block *s) in reiserfs_unfreeze()
169 static int remove_save_link_only(struct super_block *s, in remove_save_link_only()
189 static int reiserfs_quota_on_mount(struct super_block *, int);
193 static int finish_unfinished(struct super_block *s) in finish_unfinished()
[all …]
Dbitmap.c48 static inline void get_bit_address(struct super_block *s, in get_bit_address()
62 int is_reusable(struct super_block *s, b_blocknr_t block, int bit_value) in is_reusable()
120 static inline int is_block_in_journal(struct super_block *s, unsigned int bmap, in is_block_in_journal()
147 struct super_block *s = th->t_super; in scan_bitmap_block()
274 static int bmap_hash_id(struct super_block *s, u32 id) in bmap_hash_id()
299 static inline int block_group_used(struct super_block *s, u32 id) in block_group_used()
352 struct super_block *s = th->t_super; in scan_bitmap()
420 struct super_block *s = th->t_super; in _reiserfs_free_block()
471 struct super_block *s = th->t_super; in reiserfs_free_block()
558 void reiserfs_init_alloc_options(struct super_block *s) in reiserfs_init_alloc_options()
[all …]
/linux-4.1.27/fs/kernfs/
Dmount.c22 static int kernfs_sop_remount_fs(struct super_block *sb, int *flags, char *data) in kernfs_sop_remount_fs()
58 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()
65 static int kernfs_fill_super(struct super_block *sb, unsigned long magic) in kernfs_fill_super()
100 static int kernfs_test_super(struct super_block *sb, void *data) in kernfs_test_super()
108 static int kernfs_set_super(struct super_block *sb, void *data) in kernfs_set_super()
123 const void *kernfs_super_ns(struct super_block *sb) in kernfs_super_ns()
150 struct super_block *sb; in kernfs_mount_ns()
196 void kernfs_kill_sb(struct super_block *sb) in kernfs_kill_sb()
226 struct super_block *kernfs_pin_sb(struct kernfs_root *root, const void *ns) in kernfs_pin_sb()
229 struct super_block *sb = NULL; in kernfs_pin_sb()
Dkernfs-internal.h52 struct super_block *sb;
79 struct inode *kernfs_get_inode(struct super_block *sb, struct kernfs_node *kn);
/linux-4.1.27/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()
304 static inline unsigned short hfsplus_min_io_size(struct super_block *sb) in hfsplus_min_io_size()
374 int hfsplus_attr_build_key(struct super_block *sb, hfsplus_btree_key *key,
378 int hfsplus_find_attr(struct super_block *sb, u32 cnid, const char *name,
387 int hfsplus_block_allocate(struct super_block *sb, u32 size, u32 offset,
389 int hfsplus_block_free(struct super_block *sb, u32 offset, u32 count);
394 struct hfs_btree *hfs_btree_open(struct super_block *sb, u32 id);
446 int hfsplus_cat_build_key(struct super_block *sb, hfsplus_btree_key *key,
448 void hfsplus_cat_build_key_with_cnid(struct super_block *sb,
[all …]
Dpart_tbl.c70 static int hfs_parse_old_pmap(struct super_block *sb, struct old_pmap *pm, in hfs_parse_old_pmap()
91 static int hfs_parse_new_pmap(struct super_block *sb, void *buf, in hfs_parse_new_pmap()
128 int hfs_part_find(struct super_block *sb, in hfs_part_find()
Dattributes.c49 int hfsplus_attr_build_key(struct super_block *sb, hfsplus_btree_key *key, in hfsplus_attr_build_key()
136 int hfsplus_find_attr(struct super_block *sb, u32 cnid, in hfsplus_find_attr()
171 struct super_block *sb = inode->i_sb; in hfsplus_attr_exists()
197 struct super_block *sb = inode->i_sb; in hfsplus_create_attr()
300 struct super_block *sb = inode->i_sb; in hfsplus_delete_attr()
Dsuper.c19 static struct inode *hfsplus_alloc_inode(struct super_block *sb);
56 struct inode *hfsplus_iget(struct super_block *sb, unsigned long ino) in hfsplus_iget()
173 static int hfsplus_sync_fs(struct super_block *sb, int wait) in hfsplus_sync_fs()
258 void hfsplus_mark_mdb_dirty(struct super_block *sb) in hfsplus_mark_mdb_dirty()
275 static void hfsplus_put_super(struct super_block *sb) in hfsplus_put_super()
307 struct super_block *sb = dentry->d_sb; in hfsplus_statfs()
325 static int hfsplus_remount(struct super_block *sb, int *flags, char *data) in hfsplus_remount()
370 static int hfsplus_fill_super(struct super_block *sb, void *data, int silent) in hfsplus_fill_super()
616 static struct inode *hfsplus_alloc_inode(struct super_block *sb) in hfsplus_alloc_inode()
/linux-4.1.27/fs/autofs4/
Dautofs_i.h121 struct super_block *sb;
132 static inline struct autofs_sb_info *autofs4_sbi(struct super_block *sb) in autofs4_sbi()
150 struct inode *autofs4_get_inode(struct super_block *, umode_t);
156 int autofs4_expire_run(struct super_block *, struct vfsmount *,
159 int autofs4_do_expire_multi(struct super_block *sb, struct vfsmount *mnt,
161 int autofs4_expire_multi(struct super_block *, struct vfsmount *,
163 struct dentry *autofs4_expire_direct(struct super_block *sb,
166 struct dentry *autofs4_expire_indirect(struct super_block *sb,
210 int autofs4_fill_super(struct super_block *, void *, int);
283 extern void autofs4_kill_sb(struct super_block *);
/linux-4.1.27/fs/minix/
Dminix.h45 extern struct inode *minix_iget(struct super_block *, unsigned long);
46 extern struct minix_inode * minix_V1_raw_inode(struct super_block *, ino_t, struct buffer_head **);
47 extern struct minix2_inode * minix_V2_raw_inode(struct super_block *, ino_t, struct buffer_head **);
50 extern unsigned long minix_count_free_inodes(struct super_block *sb);
53 extern unsigned long minix_count_free_blocks(struct super_block *sb);
63 extern unsigned V1_minix_blocks(loff_t, struct super_block *);
64 extern unsigned V2_minix_blocks(loff_t, struct super_block *);
80 static inline struct minix_sb_info *minix_sb(struct super_block *sb) in minix_sb()
Dbitmap.c43 struct super_block *sb = inode->i_sb; in minix_free_block()
96 unsigned long minix_count_free_blocks(struct super_block *sb) in minix_count_free_blocks()
106 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V1_raw_inode()
130 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V2_raw_inode()
184 struct super_block *sb = inode->i_sb; in minix_free_inode()
214 struct super_block *sb = dir->i_sb; in minix_new_inode()
266 unsigned long minix_count_free_inodes(struct super_block *sb) in minix_count_free_inodes()
/linux-4.1.27/fs/ocfs2/
Djournal.h378 static inline int ocfs2_quota_trans_credits(struct super_block *sb) in ocfs2_quota_trans_credits()
399 static inline int ocfs2_inline_to_extents_credits(struct super_block *sb) in ocfs2_inline_to_extents_credits()
412 static inline int ocfs2_remove_extent_credits(struct super_block *sb) in ocfs2_remove_extent_credits()
422 static inline int ocfs2_add_dir_index_credits(struct super_block *sb) in ocfs2_add_dir_index_credits()
433 static inline int ocfs2_mknod_credits(struct super_block *sb, int is_dir, in ocfs2_mknod_credits()
456 static inline int ocfs2_link_credits(struct super_block *sb) in ocfs2_link_credits()
464 static inline int ocfs2_unlink_credits(struct super_block *sb) in ocfs2_unlink_credits()
483 static inline int ocfs2_rename_credits(struct super_block *sb) in ocfs2_rename_credits()
499 static inline int ocfs2_calc_dxi_expand_credits(struct super_block *sb) in ocfs2_calc_dxi_expand_credits()
531 static inline int ocfs2_calc_extend_credits(struct super_block *sb, in ocfs2_calc_extend_credits()
[all …]
Docfs2.h96 struct super_block *ocfs2_metadata_cache_get_super(struct ocfs2_caching_info *ci);
304 struct super_block *sb;
705 static inline unsigned long ino_from_blkno(struct super_block *sb, in ino_from_blkno()
711 static inline u64 ocfs2_clusters_to_blocks(struct super_block *sb, in ocfs2_clusters_to_blocks()
720 static inline u32 ocfs2_blocks_to_clusters(struct super_block *sb, in ocfs2_blocks_to_clusters()
729 static inline unsigned int ocfs2_clusters_for_bytes(struct super_block *sb, in ocfs2_clusters_for_bytes()
742 static inline unsigned int ocfs2_bytes_to_clusters(struct super_block *sb, in ocfs2_bytes_to_clusters()
752 static inline u64 ocfs2_blocks_for_bytes(struct super_block *sb, in ocfs2_blocks_for_bytes()
759 static inline u64 ocfs2_clusters_to_bytes(struct super_block *sb, in ocfs2_clusters_to_bytes()
765 static inline u64 ocfs2_block_to_cluster_start(struct super_block *sb, in ocfs2_block_to_cluster_start()
[all …]
Dquota.h93 ssize_t ocfs2_quota_read(struct super_block *sb, int type, char *data,
95 ssize_t ocfs2_quota_write(struct super_block *sb, int type,
97 int ocfs2_global_read_info(struct super_block *sb, int type);
98 int ocfs2_global_write_info(struct super_block *sb, int type);
112 int ocfs2_validate_quota_block(struct super_block *sb, struct buffer_head *bh);
Dblockcheck.h43 void ocfs2_compute_meta_ecc(struct super_block *sb, void *data,
45 int ocfs2_validate_meta_ecc(struct super_block *sb, void *data,
47 void ocfs2_compute_meta_ecc_bhs(struct super_block *sb,
50 int ocfs2_validate_meta_ecc_bhs(struct super_block *sb,
Dquota_local.c28 static inline unsigned int ol_quota_entries_per_block(struct super_block *sb) in ol_quota_entries_per_block()
35 static inline unsigned int ol_chunk_blocks(struct super_block *sb) in ol_chunk_blocks()
43 static unsigned int ol_chunk_entries(struct super_block *sb) in ol_chunk_entries()
49 static unsigned int ol_quota_chunk_block(struct super_block *sb, int c) in ol_quota_chunk_block()
55 static unsigned int ol_dqblk_block(struct super_block *sb, int c, int off) in ol_dqblk_block()
62 static unsigned int ol_dqblk_block_off(struct super_block *sb, int c, int off) in ol_dqblk_block_off()
70 static loff_t ol_dqblk_off(struct super_block *sb, int c, int off) in ol_dqblk_off()
76 static inline unsigned int ol_dqblk_block_offset(struct super_block *sb, loff_t off) in ol_dqblk_block_offset()
82 static int ol_dqblk_chunk_off(struct super_block *sb, int c, loff_t off) in ol_dqblk_chunk_off()
96 struct super_block *sb = inode->i_sb; in ocfs2_modify_bh()
[all …]
Docfs2_fs.h1281 static inline int ocfs2_fast_symlink_chars(struct super_block *sb) in ocfs2_fast_symlink_chars()
1287 static inline int ocfs2_max_inline_data_with_xattr(struct super_block *sb, in ocfs2_max_inline_data_with_xattr()
1301 static inline int ocfs2_extent_recs_per_inode(struct super_block *sb) in ocfs2_extent_recs_per_inode()
1312 struct super_block *sb, in ocfs2_extent_recs_per_inode_with_xattr()
1329 static inline int ocfs2_extent_recs_per_dx_root(struct super_block *sb) in ocfs2_extent_recs_per_dx_root()
1339 static inline int ocfs2_chain_recs_per_inode(struct super_block *sb) in ocfs2_chain_recs_per_inode()
1349 static inline u16 ocfs2_extent_recs_per_eb(struct super_block *sb) in ocfs2_extent_recs_per_eb()
1359 static inline u16 ocfs2_extent_recs_per_gd(struct super_block *sb) in ocfs2_extent_recs_per_gd()
1369 static inline int ocfs2_dx_entries_per_leaf(struct super_block *sb) in ocfs2_dx_entries_per_leaf()
1379 static inline int ocfs2_dx_entries_per_root(struct super_block *sb) in ocfs2_dx_entries_per_root()
[all …]
Dsuper.h35 void __ocfs2_error(struct super_block *sb, const char *function,
41 void __ocfs2_abort(struct super_block *sb, const char *function,
Dquota_global.c132 int ocfs2_validate_quota_block(struct super_block *sb, struct buffer_head *bh) in ocfs2_validate_quota_block()
165 ssize_t ocfs2_quota_read(struct super_block *sb, int type, char *data, in ocfs2_quota_read()
214 ssize_t ocfs2_quota_write(struct super_block *sb, int type, in ocfs2_quota_write()
336 int ocfs2_global_read_info(struct super_block *sb, int type) in ocfs2_global_read_info()
415 static int __ocfs2_global_write_info(struct super_block *sb, int type) in __ocfs2_global_write_info()
443 int ocfs2_global_write_info(struct super_block *sb, int type) in ocfs2_global_write_info()
456 static int ocfs2_global_qinit_alloc(struct super_block *sb, int type) in ocfs2_global_qinit_alloc()
467 static int ocfs2_calc_global_qinit_credits(struct super_block *sb, int type) in ocfs2_calc_global_qinit_credits()
481 struct super_block *sb = dquot->dq_sb; in __ocfs2_sync_dquot()
594 struct super_block *sb = dquot->dq_sb; in ocfs2_sync_dquot_helper()
[all …]
Dbuffer_head_io.h49 int (*validate)(struct super_block *sb,
60 int (*validate)(struct super_block *sb, in ocfs2_read_block()
Dinode.h142 struct inode *ocfs2_ilookup(struct super_block *sb, u64 feoff);
153 void ocfs2_sync_blockdev(struct super_block *sb);
173 int ocfs2_validate_inode_block(struct super_block *sb,
Dsuper.c106 static int ocfs2_parse_options(struct super_block *sb, char *options,
109 static int ocfs2_check_set_options(struct super_block *sb,
112 static void ocfs2_put_super(struct super_block *sb);
113 static int ocfs2_mount_volume(struct super_block *sb);
114 static int ocfs2_remount(struct super_block *sb, int *flags, char *data);
115 static void ocfs2_dismount_volume(struct super_block *sb, int mnt_err);
122 static int ocfs2_sync_fs(struct super_block *sb, int wait);
132 static int ocfs2_initialize_super(struct super_block *sb,
136 static int ocfs2_get_sector(struct super_block *sb,
140 static struct inode *ocfs2_alloc_inode(struct super_block *sb);
[all …]
Dextent_map.h65 int (*validate)(struct super_block *sb,
74 int (*validate)(struct super_block *sb, in ocfs2_read_virt_block()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dlproc_llite.c53 struct super_block *sb = (struct super_block *)m->private; in ll_blksize_seq_show()
70 struct super_block *sb = (struct super_block *)m->private; in ll_kbytestotal_seq_show()
94 struct super_block *sb = (struct super_block *)m->private; in ll_kbytesfree_seq_show()
118 struct super_block *sb = (struct super_block *)m->private; in ll_kbytesavail_seq_show()
142 struct super_block *sb = (struct super_block *)m->private; in ll_filestotal_seq_show()
159 struct super_block *sb = (struct super_block *)m->private; in ll_filesfree_seq_show()
176 struct ll_sb_info *sbi = ll_s2sbi((struct super_block *)m->private); in ll_client_type_seq_show()
191 struct super_block *sb = (struct super_block *)m->private; in ll_fstype_seq_show()
201 struct super_block *sb = (struct super_block *)m->private; in ll_sb_uuid_seq_show()
211 struct super_block *sb = m->private; in ll_site_stats_seq_show()
[all …]
Dllite_internal.h675 struct super_block *sb, char *osc, char *mdc);
684 struct super_block *sb, char *osc, char *mdc){return 0;} in lprocfs_register_mountpoint()
712 struct inode *ll_iget(struct super_block *sb, ino_t hash,
797 int ll_fill_super(struct super_block *sb, struct vfsmount *mnt);
798 void ll_put_super(struct super_block *sb);
799 void ll_kill_super(struct super_block *sb);
805 int ll_statfs_internal(struct super_block *sb, struct obd_statfs *osfs,
813 void ll_umount_begin(struct super_block *sb);
814 int ll_remount_fs(struct super_block *sb, int *flags, char *data);
818 struct super_block *, struct lookup_intent *);
[all …]
/linux-4.1.27/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()
125 extern struct sysv_inode *sysv_raw_inode(struct super_block *, unsigned,
129 extern unsigned long sysv_count_free_inodes(struct super_block *);
132 extern sysv_zone_t sysv_new_block(struct super_block *);
133 extern void sysv_free_block(struct super_block *, sysv_zone_t);
134 extern unsigned long sysv_count_free_blocks(struct super_block *);
141 extern struct inode *sysv_iget(struct super_block *, unsigned int);
Dialloc.c39 sv_sb_fic_inode(struct super_block * sb, unsigned int i) in sv_sb_fic_inode()
56 sysv_raw_inode(struct super_block *sb, unsigned ino, struct buffer_head **bh) in sysv_raw_inode()
70 static int refill_free_cache(struct super_block *sb) in refill_free_cache()
102 struct super_block *sb = inode->i_sb; in sysv_free_inode()
137 struct super_block *sb = dir->i_sb; in sysv_new_inode()
181 unsigned long sysv_count_free_inodes(struct super_block * sb) in sysv_count_free_inodes()
Dinode.c34 static int sysv_sync_fs(struct super_block *sb, int wait) in sysv_sync_fs()
59 static int sysv_remount(struct super_block *sb, int *flags, char *data) in sysv_remount()
69 static void sysv_put_super(struct super_block *sb) in sysv_put_super()
89 struct super_block *sb = dentry->d_sb; in sysv_statfs()
177 struct inode *sysv_iget(struct super_block *sb, unsigned int ino) in sysv_iget()
239 struct super_block * sb = inode->i_sb; in __sysv_write_inode()
312 static struct inode *sysv_alloc_inode(struct super_block *sb) in sysv_alloc_inode()
Dballoc.c30 static inline sysv_zone_t *get_chunk(struct super_block *sb, struct buffer_head *bh) in get_chunk()
42 void sysv_free_block(struct super_block * sb, sysv_zone_t nr) in sysv_free_block()
99 sysv_zone_t sysv_new_block(struct super_block * sb) in sysv_new_block()
158 unsigned long sysv_count_free_blocks(struct super_block * sb) in sysv_count_free_blocks()
/linux-4.1.27/fs/romfs/
Dinternal.h20 static inline size_t romfs_maxsize(struct super_block *sb) in romfs_maxsize()
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,
Dstorage.c27 static int romfs_mtd_read(struct super_block *sb, unsigned long pos, in romfs_mtd_read()
40 static ssize_t romfs_mtd_strnlen(struct super_block *sb, in romfs_mtd_strnlen()
70 static int romfs_mtd_strcmp(struct super_block *sb, unsigned long pos, in romfs_mtd_strcmp()
107 static int romfs_blk_read(struct super_block *sb, unsigned long pos, in romfs_blk_read()
134 static ssize_t romfs_blk_strnlen(struct super_block *sb, in romfs_blk_strnlen()
167 static int romfs_blk_strcmp(struct super_block *sb, unsigned long pos, in romfs_blk_strcmp()
218 int romfs_dev_read(struct super_block *sb, unsigned long pos, in romfs_dev_read()
243 ssize_t romfs_dev_strnlen(struct super_block *sb, in romfs_dev_strnlen()
271 int romfs_dev_strcmp(struct super_block *sb, unsigned long pos, in romfs_dev_strcmp()
Dsuper.c96 static struct inode *romfs_iget(struct super_block *sb, unsigned long pos);
295 static struct inode *romfs_iget(struct super_block *sb, unsigned long pos) in romfs_iget()
389 static struct inode *romfs_alloc_inode(struct super_block *sb) in romfs_alloc_inode()
417 struct super_block *sb = dentry->d_sb; in romfs_statfs()
434 static int romfs_remount(struct super_block *sb, int *flags, char *data) in romfs_remount()
468 static int romfs_fill_super(struct super_block *sb, void *data, int silent) in romfs_fill_super()
574 static void romfs_kill_sb(struct super_block *sb) in romfs_kill_sb()
/linux-4.1.27/fs/coda/
Dcoda_fs_i.h52 struct inode *coda_cnode_make(struct CodaFid *, struct super_block *);
53 struct inode *coda_iget(struct super_block *sb, struct CodaFid *fid, struct coda_vattr *attr);
54 struct inode *coda_cnode_makectl(struct super_block *sb);
55 struct inode *coda_fid_to_inode(struct CodaFid *fid, struct super_block *sb);
Dupcall.c74 int venus_rootfid(struct super_block *sb, struct CodaFid *fidp) in venus_rootfid()
91 int venus_getattr(struct super_block *sb, struct CodaFid *fid, in venus_getattr()
110 int venus_setattr(struct super_block *sb, struct CodaFid *fid, in venus_setattr()
129 int venus_lookup(struct super_block *sb, struct CodaFid *fid, in venus_lookup()
159 int venus_close(struct super_block *sb, struct CodaFid *fid, int flags, in venus_close()
179 int venus_open(struct super_block *sb, struct CodaFid *fid, in venus_open()
200 int venus_mkdir(struct super_block *sb, struct CodaFid *dirfid, in venus_mkdir()
231 int venus_rename(struct super_block *sb, struct CodaFid *old_fid, in venus_rename()
268 int venus_create(struct super_block *sb, struct CodaFid *dirfid, in venus_create()
301 int venus_rmdir(struct super_block *sb, struct CodaFid *dirfid, in venus_rmdir()
[all …]
Dcnode.c59 struct inode * coda_iget(struct super_block * sb, struct CodaFid * fid, in coda_iget()
91 struct inode *coda_cnode_make(struct CodaFid *fid, struct super_block *sb) in coda_cnode_make()
134 struct inode *coda_fid_to_inode(struct CodaFid *fid, struct super_block *sb) in coda_fid_to_inode()
156 struct inode *coda_cnode_makectl(struct super_block *sb) in coda_cnode_makectl()
Dinode.c37 static void coda_put_super(struct super_block *);
42 static struct inode *coda_alloc_inode(struct super_block *sb) in coda_alloc_inode()
95 static int coda_remount(struct super_block *sb, int *flags, char *data) in coda_remount()
152 static int coda_fill_super(struct super_block *sb, void *data, int silent) in coda_fill_super()
239 static void coda_put_super(struct super_block *sb) in coda_put_super()
/linux-4.1.27/drivers/mtd/
Dmtdsuper.c26 static int get_sb_mtd_compare(struct super_block *sb, void *_mtd) in get_sb_mtd_compare()
46 static int get_sb_mtd_set(struct super_block *sb, void *_mtd) in get_sb_mtd_set()
62 int (*fill_super)(struct super_block *, void *, int)) in mount_mtd_aux() argument
64 struct super_block *sb; in mount_mtd_aux()
105 int (*fill_super)(struct super_block *, void *, int)) in mount_mtd_nr() argument
123 int (*fill_super)(struct super_block *, void *, int)) in mount_mtd() argument
213 void kill_mtd_super(struct super_block *sb) in kill_mtd_super()
/linux-4.1.27/fs/ext3/
Dext3.h689 static inline struct ext3_sb_info * EXT3_SB(struct super_block *sb) in EXT3_SB()
698 static inline int ext3_valid_inum(struct super_block *sb, unsigned long ino) in ext3_valid_inum()
973 ext3_group_first_block_no(struct super_block *sb, unsigned long group_no) in ext3_group_first_block_no()
997 extern int ext3_bg_has_super(struct super_block *sb, int group);
998 extern unsigned long ext3_bg_num_gdb(struct super_block *sb, int group);
1005 extern void ext3_free_blocks_sb (handle_t *handle, struct super_block *sb,
1008 extern ext3_fsblk_t ext3_count_free_blocks (struct super_block *);
1009 extern void ext3_check_blocks_bitmap (struct super_block *);
1010 extern struct ext3_group_desc * ext3_get_group_desc(struct super_block * sb,
1013 extern int ext3_should_retry_alloc(struct super_block *sb, int *retries);
[all …]
Dsuper.c47 static int ext3_load_journal(struct super_block *, struct ext3_super_block *,
49 static int ext3_create_journal(struct super_block *, struct ext3_super_block *,
51 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);
[all …]
Dballoc.c39 static void ext3_get_group_no_and_offset(struct super_block *sb, in ext3_get_group_no_and_offset()
58 struct ext3_group_desc * ext3_get_group_desc(struct super_block * sb, in ext3_get_group_desc()
93 static int ext3_valid_block_bitmap(struct super_block *sb, in ext3_valid_block_bitmap()
148 read_block_bitmap(struct super_block *sb, unsigned int block_group) in read_block_bitmap()
273 unsigned int group, struct super_block * sb) in goal_in_my_reservation()
337 void ext3_rsv_window_add(struct super_block *sb, in ext3_rsv_window_add()
377 static void rsv_window_remove(struct super_block *sb, in rsv_window_remove()
423 struct super_block *sb = inode->i_sb; in ext3_init_block_alloc_info()
490 void ext3_free_blocks_sb(handle_t *handle, struct super_block *sb, in ext3_free_blocks_sb()
683 struct super_block *sb = inode->i_sb; in ext3_free_blocks()
[all …]
Dialloc.c44 read_inode_bitmap(struct super_block * sb, unsigned long block_group) in read_inode_bitmap()
81 struct super_block * sb = inode->i_sb; in ext3_free_inode()
193 static int find_group_orlov(struct super_block *sb, struct inode *parent) in find_group_orlov()
279 static int find_group_other(struct super_block *sb, struct inode *parent) in find_group_other()
349 struct super_block *sb; in ext3_new_inode()
570 struct inode *ext3_orphan_get(struct super_block *sb, unsigned long ino) in ext3_orphan_get()
646 unsigned long ext3_count_free_inodes (struct super_block * sb) in ext3_count_free_inodes()
693 unsigned long ext3_count_dirs (struct super_block * sb) in ext3_count_dirs()
/linux-4.1.27/fs/qnx4/
Dqnx4.h23 extern struct inode *qnx4_iget(struct super_block *, unsigned long);
25 extern unsigned long qnx4_count_free_blocks(struct super_block *sb);
30 extern int qnx4_is_free(struct super_block *sb, long block);
32 static inline struct qnx4_sb_info *qnx4_sb(struct super_block *sb) in qnx4_sb()
Dinode.c30 static struct inode *qnx4_alloc_inode(struct super_block *sb);
32 static int qnx4_remount(struct super_block *sb, int *flags, char *data);
43 static int qnx4_remount(struct super_block *sb, int *flags, char *data) in qnx4_remount()
130 struct super_block *sb = dentry->d_sb; in qnx4_statfs()
150 static const char *qnx4_checkroot(struct super_block *sb, in qnx4_checkroot()
186 static int qnx4_fill_super(struct super_block *s, void *data, int silent) in qnx4_fill_super()
236 static void qnx4_kill_sb(struct super_block *sb) in qnx4_kill_sb()
260 struct inode *qnx4_iget(struct super_block *sb, unsigned long ino) in qnx4_iget()
335 static struct inode *qnx4_alloc_inode(struct super_block *sb) in qnx4_alloc_inode()
/linux-4.1.27/fs/nfs/
Dinternal.h23 static inline void nfs_attr_check_mountpoint(struct super_block *parent, struct nfs_fattr *fattr) in nfs_attr_check_mountpoint()
39 const struct super_block *sb;
136 void (*fill_super)(struct super_block *, struct nfs_mount_info *);
137 int (*set_security)(struct super_block *, struct dentry *, struct nfs_mount_info *);
359 extern struct inode *nfs_alloc_inode(struct super_block *sb);
379 void nfs_initialise_sb(struct super_block *);
380 int nfs_set_sb_security(struct super_block *, struct dentry *, struct nfs_mount_info *);
381 int nfs_clone_sb_security(struct super_block *, struct dentry *, struct nfs_mount_info *);
387 void nfs_kill_super(struct super_block *);
388 void nfs_fill_super(struct super_block *, struct nfs_mount_info *);
[all …]
Dcache_lib.c115 int nfs_cache_register_sb(struct super_block *sb, struct cache_detail *cd) in nfs_cache_register_sb()
128 struct super_block *pipefs_sb; in nfs_cache_register_net()
142 void nfs_cache_unregister_sb(struct super_block *sb, struct cache_detail *cd) in nfs_cache_unregister_sb()
150 struct super_block *pipefs_sb; in nfs_cache_unregister_net()
Dcache_lib.h28 extern int nfs_cache_register_sb(struct super_block *sb,
30 extern void nfs_cache_unregister_sb(struct super_block *sb,
Dfscache.h76 extern void nfs_fscache_get_super_cookie(struct super_block *, const char *, int);
77 extern void nfs_fscache_release_super_cookie(struct super_block *);
186 static inline void nfs_fscache_release_super_cookie(struct super_block *sb) {} in nfs_fscache_release_super_cookie()
/linux-4.1.27/fs/fat/
Dnfs.c32 static struct inode *fat_dget(struct super_block *sb, int i_logstart) in fat_dget()
53 static struct inode *fat_ilookup(struct super_block *sb, u64 ino, loff_t i_pos) in fat_ilookup()
65 static struct inode *__fat_nfs_get_inode(struct super_block *sb, in __fat_nfs_get_inode()
101 static struct inode *fat_nfs_get_inode(struct super_block *sb, in fat_nfs_get_inode()
151 static struct dentry *fat_fh_to_dentry(struct super_block *sb, struct fid *fid, in fat_fh_to_dentry()
158 static struct dentry *fat_fh_to_dentry_nostale(struct super_block *sb, in fat_fh_to_dentry_nostale()
189 static struct dentry *fat_fh_to_parent(struct super_block *sb, struct fid *fid, in fat_fh_to_parent()
196 static struct dentry *fat_fh_to_parent_nostale(struct super_block *sb, in fat_fh_to_parent_nostale()
223 struct inode *fat_rebuild_parent(struct super_block *sb, int parent_logstart) in fat_rebuild_parent()
273 struct super_block *sb = child_dir->d_sb; in fat_get_parent()
Dfat.h139 static inline struct msdos_sb_info *MSDOS_SB(struct super_block *sb) in MSDOS_SB()
347 extern void fat_ent_access_init(struct super_block *sb);
355 extern int fat_count_free_clusters(struct super_block *sb);
373 extern struct inode *fat_iget(struct super_block *sb, loff_t i_pos);
374 extern struct inode *fat_build_inode(struct super_block *sb,
377 extern int fat_fill_super(struct super_block *sb, void *data, int silent,
378 int isvfat, void (*setup)(struct super_block *));
381 extern int fat_flush_inodes(struct super_block *sb, struct inode *i1,
390 void __fat_fs_error(struct super_block *sb, int report, const char *fmt, ...);
396 void fat_msg(struct super_block *sb, const char *level, const char *fmt, ...);
[all …]
Dfatent.c10 void (*ent_blocknr)(struct super_block *, int, int *, sector_t *);
12 int (*ent_bread)(struct super_block *, struct fat_entry *,
21 static void fat12_ent_blocknr(struct super_block *sb, int entry, in fat12_ent_blocknr()
31 static void fat_ent_blocknr(struct super_block *sb, int entry, in fat_ent_blocknr()
67 static int fat12_ent_bread(struct super_block *sb, struct fat_entry *fatent, in fat12_ent_bread()
99 static int fat_ent_bread(struct super_block *sb, struct fat_entry *fatent, in fat_ent_bread()
286 void fat_ent_access_init(struct super_block *sb) in fat_ent_access_init()
308 static void mark_fsinfo_dirty(struct super_block *sb) in mark_fsinfo_dirty()
318 static inline int fat_ent_update_ptr(struct super_block *sb, in fat_ent_update_ptr()
350 struct super_block *sb = inode->i_sb; in fat_ent_read()
[all …]
Dmisc.c19 void __fat_fs_error(struct super_block *sb, int report, const char *fmt, ...) in __fat_fs_error()
46 void fat_msg(struct super_block *sb, const char *level, const char *fmt, ...) in fat_msg()
60 int fat_clusters_flush(struct super_block *sb) in fat_clusters_flush()
101 struct super_block *sb = inode->i_sb; in fat_chain_add()
Ddir.c39 static inline loff_t fat_make_i_pos(struct super_block *sb, in fat_make_i_pos()
50 struct super_block *sb = dir->i_sb; in fat_dir_readahead()
83 struct super_block *sb = dir->i_sb; in fat__get_entry()
141 static int uni16_to_x8(struct super_block *sb, unsigned char *ascii, in uni16_to_x8()
181 static inline int fat_uni_to_x8(struct super_block *sb, const wchar_t *uni, in fat_uni_to_x8()
350 static int fat_parse_short(struct super_block *sb, in fat_parse_short()
465 struct super_block *sb = inode->i_sb; in fat_search_long()
556 struct super_block *sb = inode->i_sb; in __fat_readdir()
951 struct super_block *sb = dir->i_sb; in fat_scan()
975 struct super_block *sb = dir->i_sb; in fat_scan_logstart()
[all …]
/linux-4.1.27/fs/ext2/
Dext2.h164 static inline struct ext2_sb_info *EXT2_SB(struct super_block *sb) in EXT2_SB()
723 extern int ext2_bg_has_super(struct super_block *sb, int group);
724 extern unsigned long ext2_bg_num_gdb(struct super_block *sb, int group);
730 extern unsigned long ext2_count_free_blocks (struct super_block *);
731 extern unsigned long ext2_count_dirs (struct super_block *);
732 extern void ext2_check_blocks_bitmap (struct super_block *);
733 extern struct ext2_group_desc * ext2_get_group_desc(struct super_block * sb,
737 extern int ext2_should_retry_alloc(struct super_block *sb, int *retries);
739 extern void ext2_rsv_window_add(struct super_block *sb, struct ext2_reserve_window_node *rsv);
754 extern unsigned long ext2_count_free_inodes (struct super_block *);
[all …]
Dsuper.c39 static void ext2_sync_super(struct super_block *sb,
41 static int ext2_remount (struct super_block * sb, int * flags, char * data);
43 static int ext2_sync_fs(struct super_block *sb, int wait);
44 static int ext2_freeze(struct super_block *sb);
45 static int ext2_unfreeze(struct super_block *sb);
47 void ext2_error(struct super_block *sb, const char *function, in ext2_error()
82 void ext2_msg(struct super_block *sb, const char *prefix, in ext2_msg()
101 void ext2_update_dynamic_rev(struct super_block *sb) in ext2_update_dynamic_rev()
126 static void ext2_put_super (struct super_block * sb) in ext2_put_super()
160 static struct inode *ext2_alloc_inode(struct super_block *sb) in ext2_alloc_inode()
[all …]
Dballoc.c39 struct ext2_group_desc * ext2_get_group_desc(struct super_block * sb, in ext2_get_group_desc()
73 static int ext2_valid_block_bitmap(struct super_block *sb, in ext2_valid_block_bitmap()
124 read_block_bitmap(struct super_block *sb, unsigned int block_group) in read_block_bitmap()
162 static void group_adjust_blocks(struct super_block *sb, int group_no, in group_adjust_blocks()
265 unsigned int group, struct super_block * sb) in goal_in_my_reservation()
329 void ext2_rsv_window_add(struct super_block *sb, in ext2_rsv_window_add()
368 static void rsv_window_remove(struct super_block *sb, in rsv_window_remove()
414 struct super_block *sb = inode->i_sb; in ext2_init_block_alloc_info()
485 struct super_block * sb = inode->i_sb; in ext2_free_blocks()
664 ext2_try_to_allocate(struct super_block *sb, int group, in ext2_try_to_allocate()
[all …]
Dialloc.c46 read_inode_bitmap(struct super_block * sb, unsigned long block_group) in read_inode_bitmap()
65 static void ext2_release_inode(struct super_block *sb, int group, int dir) in ext2_release_inode()
105 struct super_block * sb = inode->i_sb; in ext2_free_inode()
204 static int find_group_dir(struct super_block *sb, struct inode *parent) in find_group_dir()
258 static int find_group_orlov(struct super_block *sb, struct inode *parent) in find_group_orlov()
370 static int find_group_other(struct super_block *sb, struct inode *parent) in find_group_other()
433 struct super_block *sb; in ext2_new_inode()
615 unsigned long ext2_count_free_inodes (struct super_block * sb) in ext2_count_free_inodes()
662 unsigned long ext2_count_dirs (struct super_block * sb) in ext2_count_dirs()
Dxattr.h68 extern void ext2_xattr_put_super(struct super_block *);
97 ext2_xattr_put_super(struct super_block *sb) in ext2_xattr_put_super()
/linux-4.1.27/fs/jffs2/
Dsuper.c33 static void jffs2_put_super(struct super_block *);
37 static struct inode *jffs2_alloc_inode(struct super_block *sb) in jffs2_alloc_inode()
99 static int jffs2_sync_fs(struct super_block *sb, int wait) in jffs2_sync_fs()
113 static struct inode *jffs2_nfs_get_inode(struct super_block *sb, uint64_t ino, in jffs2_nfs_get_inode()
122 static struct dentry *jffs2_fh_to_dentry(struct super_block *sb, struct fid *fid, in jffs2_fh_to_dentry()
129 static struct dentry *jffs2_fh_to_parent(struct super_block *sb, struct fid *fid, in jffs2_fh_to_parent()
241 static int jffs2_remount_fs(struct super_block *sb, int *flags, char *data) in jffs2_remount_fs()
270 static int jffs2_fill_super(struct super_block *sb, void *data, int silent) in jffs2_fill_super()
320 static void jffs2_put_super (struct super_block *sb) in jffs2_put_super()
345 static void jffs2_kill_sb(struct super_block *sb) in jffs2_kill_sb()
/linux-4.1.27/fs/qnx6/
Dinode.c30 static void qnx6_put_super(struct super_block *sb);
31 static struct inode *qnx6_alloc_inode(struct super_block *sb);
33 static int qnx6_remount(struct super_block *sb, int *flags, char *data);
48 struct super_block *sb = root->d_sb; in qnx6_show_options()
56 static int qnx6_remount(struct super_block *sb, int *flags, char *data) in qnx6_remount()
63 static unsigned qnx6_get_devblock(struct super_block *sb, __fs32 block) in qnx6_get_devblock()
113 struct super_block *s = inode->i_sb; in qnx6_block_map()
157 struct super_block *sb = dentry->d_sb; in qnx6_statfs()
180 static const char *qnx6_checkroot(struct super_block *s) in qnx6_checkroot()
204 void qnx6_superblock_debug(struct qnx6_super_block *sb, struct super_block *s) in qnx6_superblock_debug()
[all …]
Dqnx6.h46 extern struct inode *qnx6_iget(struct super_block *sb, unsigned ino);
52 struct super_block *);
58 static inline struct qnx6_sb_info *QNX6_SB(struct super_block *sb) in QNX6_SB()
125 extern struct qnx6_super_block *qnx6_mmi_fill_super(struct super_block *s,
Ddir.c49 static struct qnx6_long_filename *qnx6_longname(struct super_block *sb, in qnx6_longname()
72 struct super_block *s = inode->i_sb; in qnx6_dir_longfilename()
119 struct super_block *s = inode->i_sb; in qnx6_readdir()
182 struct super_block *s = dir->i_sb; in qnx6_long_match()
207 static unsigned qnx6_match(struct super_block *s, int len, const char *name, in qnx6_match()
220 struct super_block *s = dir->i_sb; in qnx6_find_entry()
/linux-4.1.27/fs/devpts/
Dinode.c134 static inline struct pts_fs_info *DEVPTS_SB(struct super_block *sb) in DEVPTS_SB()
139 static inline struct super_block *pts_sb_from_inode(struct inode *inode) in pts_sb_from_inode()
239 static int mknod_ptmx(struct super_block *sb) in mknod_ptmx()
312 static int devpts_remount(struct super_block *sb, int *flags, char *data) in devpts_remount()
375 devpts_fill_super(struct super_block *s, void *data, int silent) in devpts_fill_super()
410 static int compare_init_pts_sb(struct super_block *s, void *p) in compare_init_pts_sb()
449 struct super_block *s; in devpts_mount()
502 static void devpts_kill_sb(struct super_block *sb) in devpts_kill_sb()
527 struct super_block *sb = pts_sb_from_inode(ptmx_inode); in devpts_new_index()
563 struct super_block *sb = pts_sb_from_inode(ptmx_inode); in devpts_kill_index()
[all …]
/linux-4.1.27/fs/bfs/
Dbfs.h33 static inline struct bfs_sb_info *BFS_SB(struct super_block *sb) in BFS_SB()
48 extern struct inode *bfs_iget(struct super_block *sb, unsigned long ino);
49 extern void bfs_dump_imap(const char *, struct super_block *);
Dinode.c34 struct inode *bfs_iget(struct super_block *sb, unsigned long ino) in bfs_iget()
99 static struct bfs_inode *find_inode(struct super_block *sb, u16 ino, struct buffer_head **p) in find_inode()
168 struct super_block *s = inode->i_sb; in bfs_evict_inode()
209 static void bfs_put_super(struct super_block *s) in bfs_put_super()
224 struct super_block *s = dentry->d_sb; in bfs_statfs()
241 static struct inode *bfs_alloc_inode(struct super_block *sb) in bfs_alloc_inode()
299 void bfs_dump_imap(const char *prefix, struct super_block *s) in bfs_dump_imap()
320 static int bfs_fill_super(struct super_block *s, void *data, int silent) in bfs_fill_super()
Dfile.c33 struct super_block *sb) in bfs_move_block()
48 static int bfs_move_blocks(struct super_block *sb, unsigned long start, in bfs_move_blocks()
68 struct super_block *sb = inode->i_sb; in bfs_get_block()
/linux-4.1.27/fs/proc/
Dinternal.h165 extern struct inode *proc_pid_make_inode(struct super_block *, struct task_struct *);
214 extern struct inode *proc_get_inode(struct super_block *, struct proc_dir_entry *);
215 extern int proc_fill_super(struct super_block *);
239 extern int proc_setup_self(struct super_block *);
244 extern int proc_setup_thread_self(struct super_block *);
273 extern int proc_remount(struct super_block *, int *, char *);
Droot.c26 static int proc_test_super(struct super_block *sb, void *data) in proc_test_super()
31 static int proc_set_super(struct super_block *sb, void *data) in proc_set_super()
92 int proc_remount(struct super_block *sb, int *flags, char *data) in proc_remount()
104 struct super_block *sb; in proc_mount()
149 static void proc_kill_sb(struct super_block *sb) in proc_kill_sb()
/linux-4.1.27/fs/quota/
Dquota.c21 static int check_quotactl_permission(struct super_block *sb, int type, int cmd, in check_quotactl_permission()
48 static void quota_sync_one(struct super_block *sb, void *arg) in quota_sync_one()
82 static int quota_quotaon(struct super_block *sb, int type, int cmd, qid_t id, in quota_quotaon()
94 static int quota_quotaoff(struct super_block *sb, int type) in quota_quotaoff()
103 static int quota_getfmt(struct super_block *sb, int type, void __user *addr) in quota_getfmt()
119 static int quota_getinfo(struct super_block *sb, int type, void __user *addr) in quota_getinfo()
149 static int quota_setinfo(struct super_block *sb, int type, void __user *addr) in quota_setinfo()
203 static int quota_getquota(struct super_block *sb, int type, qid_t id, in quota_getquota()
251 static int quota_setquota(struct super_block *sb, int type, qid_t id, in quota_setquota()
269 static int quota_enable(struct super_block *sb, void __user *addr) in quota_enable()
[all …]
Ddquot.c132 void __quota_error(struct super_block *sb, const char *func, in __quota_error()
253 hashfn(const struct super_block *sb, struct kqid qid) in hashfn()
278 static struct dquot *find_dquot(unsigned int hashent, struct super_block *sb, in find_dquot()
393 void mark_info_dirty(struct super_block *sb, int type) in mark_info_dirty()
513 static void invalidate_dquots(struct super_block *sb, int type) in invalidate_dquots()
561 int dquot_scan_active(struct super_block *sb, in dquot_scan_active()
605 int dquot_writeback_dquots(struct super_block *sb, int type) in dquot_writeback_dquots()
656 int dquot_quota_sync(struct super_block *sb, int type) in dquot_quota_sync()
797 struct dquot *dquot_alloc(struct super_block *sb, int type) in dquot_alloc()
803 static struct dquot *get_empty_dquot(struct super_block *sb, int type) in get_empty_dquot()
[all …]
/linux-4.1.27/fs/xfs/
Dxfs_quotaops.c69 struct super_block *sb, in xfs_fs_get_quota_state()
121 struct super_block *sb, in xfs_fs_set_info()
173 struct super_block *sb, in xfs_quota_enable()
188 struct super_block *sb, in xfs_quota_disable()
205 struct super_block *sb, in xfs_fs_rm_xquota()
229 struct super_block *sb, in xfs_fs_get_dqblk()
246 struct super_block *sb, in xfs_fs_set_dqblk()
Dxfs_export.c122 struct super_block *sb, in xfs_nfs_get_inode()
164 xfs_fs_fh_to_dentry(struct super_block *sb, struct fid *fid, in xfs_fs_fh_to_dentry()
188 xfs_fs_fh_to_parent(struct super_block *sb, struct fid *fid, in xfs_fs_fh_to_parent()
/linux-4.1.27/fs/efs/
Defs.h122 static inline struct efs_sb_info *SUPER_INFO(struct super_block *sb) in SUPER_INFO()
134 extern struct inode *efs_iget(struct super_block *, unsigned long);
139 extern struct dentry *efs_fh_to_dentry(struct super_block *sb, struct fid *fid,
141 extern struct dentry *efs_fh_to_parent(struct super_block *sb, struct fid *fid,
Dsuper.c21 static int efs_fill_super(struct super_block *s, void *d, int silent);
29 static void efs_kill_sb(struct super_block *s) in efs_kill_sb()
67 static struct inode *efs_alloc_inode(struct super_block *sb) in efs_alloc_inode()
115 static int efs_remount(struct super_block *sb, int *flags, char *data) in efs_remount()
255 static int efs_fill_super(struct super_block *s, void *d, int silent) in efs_fill_super()
333 struct super_block *sb = dentry->d_sb; in efs_statfs()
Dnamei.c76 static struct inode *efs_nfs_get_inode(struct super_block *sb, u64 ino, in efs_nfs_get_inode()
95 struct dentry *efs_fh_to_dentry(struct super_block *sb, struct fid *fid, in efs_fh_to_dentry()
102 struct dentry *efs_fh_to_parent(struct super_block *sb, struct fid *fid, in efs_fh_to_parent()
/linux-4.1.27/fs/isofs/
Disofs.h62 static inline struct isofs_sb_info *ISOFS_SB(struct super_block *sb) in ISOFS_SB()
121 struct inode *__isofs_iget(struct super_block *sb,
126 static inline struct inode *isofs_iget(struct super_block *sb, in isofs_iget()
133 static inline struct inode *isofs_iget_reloc(struct super_block *sb, in isofs_iget_reloc()
Dexport.c19 isofs_export_iget(struct super_block *sb, in isofs_export_iget()
161 static struct dentry *isofs_fh_to_dentry(struct super_block *sb, in isofs_fh_to_dentry()
173 static struct dentry *isofs_fh_to_parent(struct super_block *sb, in isofs_fh_to_parent()
/linux-4.1.27/mm/
Dcleancache.c37 static void cleancache_register_ops_sb(struct super_block *sb, void *unused) in cleancache_register_ops_sb()
114 void __cleancache_init_fs(struct super_block *sb) in __cleancache_init_fs()
128 void __cleancache_init_shared_fs(struct super_block *sb) in __cleancache_init_shared_fs()
150 struct super_block *sb = inode->i_sb; in cleancache_get_key()
292 void __cleancache_invalidate_fs(struct super_block *sb) in __cleancache_invalidate_fs()
/linux-4.1.27/fs/9p/
Dv9fs.h156 struct super_block *sb, int new);
162 struct super_block *sb, int new);
201 struct super_block *sb) in v9fs_get_inode_from_fid()
219 struct super_block *sb) in v9fs_get_new_inode_from_fid()
Dv9fs_vfs.h57 struct inode *v9fs_alloc_inode(struct super_block *sb);
59 struct inode *v9fs_get_inode(struct super_block *sb, umode_t mode, dev_t);
64 void v9fs_stat2inode(struct p9_wstat *, struct inode *, struct super_block *);
Dvfs_super.c61 static int v9fs_set_super(struct super_block *s, void *data) in v9fs_set_super()
76 v9fs_fill_super(struct super_block *sb, struct v9fs_session_info *v9ses, in v9fs_fill_super()
116 struct super_block *sb = NULL; in v9fs_mount()
221 static void v9fs_kill_super(struct super_block *s) in v9fs_kill_super()
237 v9fs_umount_begin(struct super_block *sb) in v9fs_umount_begin()
/linux-4.1.27/fs/cramfs/
Dinode.c41 static inline struct cramfs_sb_info *CRAMFS_SB(struct super_block *sb) in CRAMFS_SB()
80 static struct inode *get_cramfs_inode(struct super_block *sb, in get_cramfs_inode()
158 static struct super_block *buffer_dev[READ_BUFFERS];
165 static void *cramfs_read(struct super_block *sb, unsigned int offset, unsigned int len) in cramfs_read()
241 static void cramfs_kill_sb(struct super_block *sb) in cramfs_kill_sb()
249 static int cramfs_remount(struct super_block *sb, int *flags, char *data) in cramfs_remount()
256 static int cramfs_fill_super(struct super_block *sb, void *data, int silent) in cramfs_fill_super()
351 struct super_block *sb = dentry->d_sb; in cramfs_statfs()
373 struct super_block *sb = inode->i_sb; in cramfs_readdir()
503 struct super_block *sb = inode->i_sb; in cramfs_readpage()
/linux-4.1.27/include/linux/mtd/
Dsuper.h23 int (*fill_super)(struct super_block *, void *, int));
24 extern void kill_mtd_super(struct super_block *sb);
/linux-4.1.27/fs/ncpfs/
Dncp_fs.h43 static inline struct ncp_server *NCP_SBP(const struct super_block *sb) in NCP_SBP()
56 struct inode *ncp_iget(struct super_block *, struct ncp_entry_info *);
64 int ncp_conn_logged_in(struct super_block *);
/linux-4.1.27/fs/efivarfs/
Dsuper.c35 static struct super_block *efivarfs_sb;
115 struct super_block *sb = (struct super_block *)data; in efivarfs_callback()
191 static int efivarfs_fill_super(struct super_block *sb, void *data, int silent) in efivarfs_fill_super()
233 static void efivarfs_kill_sb(struct super_block *sb) in efivarfs_kill_sb()
/linux-4.1.27/fs/afs/
Dsuper.c36 static void afs_kill_super(struct super_block *sb);
37 static struct inode *afs_alloc_inode(struct super_block *sb);
290 static int afs_test_super(struct super_block *sb, void *data) in afs_test_super()
298 static int afs_set_super(struct super_block *sb, void *data) in afs_set_super()
307 static int afs_fill_super(struct super_block *sb, in afs_fill_super()
358 struct super_block *sb; in afs_mount()
448 static void afs_kill_super(struct super_block *sb) in afs_kill_super()
480 static struct inode *afs_alloc_inode(struct super_block *sb) in afs_alloc_inode()
/linux-4.1.27/fs/ntfs/
Dinode.h274 extern struct inode *ntfs_iget(struct super_block *sb, unsigned long mft_no);
280 extern struct inode *ntfs_alloc_big_inode(struct super_block *sb);
284 extern void __ntfs_init_inode(struct super_block *sb, ntfs_inode *ni);
295 extern ntfs_inode *ntfs_new_extent_inode(struct super_block *sb,
Ddebug.h62 void __ntfs_warning(const char *function, const struct super_block *sb,
67 void __ntfs_error(const char *function, const struct super_block *sb,
/linux-4.1.27/fs/ecryptfs/
Decryptfs_kernel.h352 struct super_block *wsi_sb;
474 ecryptfs_superblock_to_private(struct super_block *sb) in ecryptfs_superblock_to_private()
480 ecryptfs_set_superblock_private(struct super_block *sb, in ecryptfs_set_superblock_private()
486 static inline struct super_block *
487 ecryptfs_superblock_to_lower(struct super_block *sb) in ecryptfs_superblock_to_lower()
493 ecryptfs_set_superblock_lower(struct super_block *sb, in ecryptfs_set_superblock_lower()
494 struct super_block *lower_sb) in ecryptfs_set_superblock_lower()
561 struct super_block *sb);
567 struct super_block *sb,
/linux-4.1.27/fs/gfs2/
Dexport.c35 struct super_block *sb = inode->i_sb; in gfs2_encode_fh()
134 static struct dentry *gfs2_get_dentry(struct super_block *sb, in gfs2_get_dentry()
158 static struct dentry *gfs2_fh_to_dentry(struct super_block *sb, struct fid *fid, in gfs2_fh_to_dentry()
180 static struct dentry *gfs2_fh_to_parent(struct super_block *sb, struct fid *fid, in gfs2_fh_to_parent()
/linux-4.1.27/fs/nfs/blocklayout/
Drpc_pipefs.c145 static struct dentry *nfs4blocklayout_register_sb(struct super_block *sb, in nfs4blocklayout_register_sb()
158 static void nfs4blocklayout_unregister_sb(struct super_block *sb, in nfs4blocklayout_unregister_sb()
168 struct super_block *sb = ptr; in rpc_pipefs_event()
210 struct super_block *pipefs_sb; in nfs4blocklayout_register_net()
224 struct super_block *pipefs_sb; in nfs4blocklayout_unregister_net()
/linux-4.1.27/fs/f2fs/
Dsuper.c239 void f2fs_msg(struct super_block *sb, const char *level, const char *fmt, ...) in f2fs_msg()
258 static int parse_options(struct super_block *sb, char *options) in parse_options()
390 static struct inode *f2fs_alloc_inode(struct super_block *sb) in f2fs_alloc_inode()
457 static void f2fs_put_super(struct super_block *sb) in f2fs_put_super()
506 int f2fs_sync_fs(struct super_block *sb, int sync) in f2fs_sync_fs()
528 static int f2fs_freeze(struct super_block *sb) in f2fs_freeze()
539 static int f2fs_unfreeze(struct super_block *sb) in f2fs_unfreeze()
546 struct super_block *sb = dentry->d_sb; in f2fs_statfs()
623 struct super_block *sb = seq->private; in segment_info_seq_show()
661 static int f2fs_remount(struct super_block *sb, int *flags, char *data) in f2fs_remount()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dobd_mount.c56 static int (*client_fill_super)(struct super_block *sb,
59 static void (*kill_super_cb)(struct super_block *sb);
75 int lustre_process_log(struct super_block *sb, char *logname, in lustre_process_log()
117 int lustre_end_log(struct super_block *sb, char *logname, in lustre_end_log()
204 int lustre_start_mgc(struct super_block *sb) in lustre_start_mgc()
476 static int lustre_stop_mgc(struct super_block *sb) in lustre_stop_mgc()
551 struct lustre_sb_info *lustre_init_lsi(struct super_block *sb) in lustre_init_lsi()
577 static int lustre_free_lsi(struct super_block *sb) in lustre_free_lsi()
625 int lustre_put_lsi(struct super_block *sb) in lustre_put_lsi()
760 int lustre_common_put_super(struct super_block *sb) in lustre_common_put_super()
[all …]
/linux-4.1.27/fs/fuse/
Dinode.c79 static struct inode *fuse_alloc_inode(struct super_block *sb) in fuse_alloc_inode()
136 static int fuse_remount_fs(struct super_block *sb, int *flags, char *data) in fuse_remount_fs()
293 struct inode *fuse_iget(struct super_block *sb, u64 nodeid, in fuse_iget()
329 int fuse_reverse_inval_inode(struct super_block *sb, u64 nodeid, in fuse_reverse_inval_inode()
354 static void fuse_umount_begin(struct super_block *sb) in fuse_umount_begin()
378 static void fuse_put_super(struct super_block *sb) in fuse_put_super()
410 struct super_block *sb = dentry->d_sb; in fuse_statfs()
554 struct super_block *sb = root->d_sb; in fuse_show_options()
616 static struct inode *fuse_get_root_inode(struct super_block *sb, unsigned mode) in fuse_get_root_inode()
632 static struct dentry *fuse_get_dentry(struct super_block *sb, in fuse_get_dentry()
[all …]
Dfuse_i.h622 struct super_block *sb;
628 static inline struct fuse_conn *get_fuse_conn_super(struct super_block *sb) in get_fuse_conn_super()
661 struct inode *fuse_iget(struct super_block *sb, u64 nodeid,
665 int fuse_lookup_name(struct super_block *sb, u64 nodeid, struct qstr *name,
873 int fuse_reverse_inval_inode(struct super_block *sb, u64 nodeid,
886 int fuse_reverse_inval_entry(struct super_block *sb, u64 parent_nodeid,
/linux-4.1.27/fs/cifs/
Dcifsfs.h49 extern void cifs_sb_active(struct super_block *sb);
50 extern void cifs_sb_deactive(struct super_block *sb);
54 extern struct inode *cifs_root_iget(struct super_block *);
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_fs.c46 static struct super_block *ipath_super;
232 static int create_device_files(struct super_block *sb, in create_device_files()
297 static int remove_device_files(struct super_block *sb, in remove_device_files()
326 static int ipathfs_fill_super(struct super_block *sb, void *data, in ipathfs_fill_super()
370 static void ipathfs_kill_super(struct super_block *s) in ipathfs_kill_super()
/linux-4.1.27/fs/ceph/
Dexport.c61 static struct dentry *__fh_to_dentry(struct super_block *sb, u64 ino) in __fh_to_dentry()
108 static struct dentry *ceph_fh_to_dentry(struct super_block *sb, in ceph_fh_to_dentry()
124 static struct dentry *__get_parent(struct super_block *sb, in __get_parent()
186 static struct dentry *ceph_fh_to_parent(struct super_block *sb, in ceph_fh_to_parent()
/linux-4.1.27/fs/nfsd/
Dblocklayout.c17 nfsd4_block_get_device_info_simple(struct super_block *sb, in nfsd4_block_get_device_info_simple()
39 nfsd4_block_proc_getdeviceinfo(struct super_block *sb, in nfsd4_block_proc_getdeviceinfo()
52 struct super_block *sb = inode->i_sb; in nfsd4_block_proc_layoutget()

123