Home
last modified time | relevance | path

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

12345678910>>...27

/linux/fs/hpfs/
H A Dhpfs_fn.h202 int hpfs_alloc_if_possible(struct super_block *, secno);
203 void hpfs_free_sectors(struct super_block *, secno, unsigned);
204 int hpfs_check_free_dnodes(struct super_block *, int);
205 void hpfs_free_dnode(struct super_block *, secno);
258 void hpfs_remove_dtree(struct super_block *, dnode_secno);
291 void hpfs_prefetch_bitmap(struct super_block *, unsigned);
328 void hpfs_error(struct super_block *, const char *, ...);
330 unsigned hpfs_get_free_dnodes(struct super_block *);
363 static inline void hpfs_lock(struct super_block *s) in hpfs_lock()
369 static inline void hpfs_unlock(struct super_block *s) in hpfs_unlock()
[all …]
/linux/include/linux/
H A Dquotaops.h17 static inline struct quota_info *sb_dqopt(struct super_block *sb) in sb_dqopt()
37 void __quota_error(struct super_block *sb, const char *func,
46 struct dquot *dqget(struct super_block *sb, struct kqid qid);
66 int dquot_scan_active(struct super_block *sb,
69 struct dquot *dquot_alloc(struct super_block *sb, int type);
87 int dquot_resume(struct super_block *sb, int type);
92 int dquot_commit_info(struct super_block *sb, int type);
106 int dquot_quota_off(struct super_block *sb, int type);
108 int dquot_quota_sync(struct super_block *sb, int type);
111 int dquot_get_dqblk(struct super_block *sb, struct kqid id,
[all …]
H A Dquota.h235 struct super_block;
247 extern void mark_info_dirty(struct super_block *sb, int type);
304 struct super_block *dq_sb; /* superblock this applies to */
432 int (*quota_off)(struct super_block *, int);
433 int (*quota_enable)(struct super_block *, unsigned int);
434 int (*quota_disable)(struct super_block *, unsigned int);
435 int (*quota_sync)(struct super_block *, int);
436 int (*set_info)(struct super_block *, int, struct qc_info *);
438 int (*get_nextdqblk)(struct super_block *, struct kqid *,
441 int (*get_state)(struct super_block *, struct qc_state *);
[all …]
/linux/fs/coda/
H A Dcoda_psdev.h38 struct super_block *vc_sb;
42 static inline struct venus_comm *coda_vcp(struct super_block *sb) in coda_vcp()
48 int venus_rootfid(struct super_block *sb, struct CodaFid *fidp);
49 int venus_getattr(struct super_block *sb, struct CodaFid *fid,
52 int venus_lookup(struct super_block *sb, struct CodaFid *fid,
59 int venus_mkdir(struct super_block *sb, struct CodaFid *dirfid,
65 int venus_rmdir(struct super_block *sb, struct CodaFid *dirfid,
75 int venus_link(struct super_block *sb, struct CodaFid *fid,
77 int venus_symlink(struct super_block *sb, struct CodaFid *fid,
80 int venus_pioctl(struct super_block *sb, struct CodaFid *fid,
[all …]
/linux/fs/udf/
H A 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,
74 struct super_block;
116 static inline void udf_updated_lvid(struct super_block *sb) in udf_updated_lvid()
126 extern u64 lvid_get_unique_id(struct super_block *sb);
127 struct inode *udf_find_metadata_inode_efe(struct super_block *sb,
149 static inline struct inode *udf_iget(struct super_block *sb, in udf_iget()
185 extern struct buffer_head *udf_read_ptagged(struct super_block *,
192 extern unsigned int udf_get_last_session(struct super_block *);
193 udf_pblk_t udf_get_last_block(struct super_block *);
[all …]
/linux/fs/
H A Dsuper.c180 struct super_block *sb; in super_cache_scan()
237 struct super_block *sb; in super_cache_count()
275 struct super_block *s = container_of(work, struct super_block, in destroy_super_work()
288 struct super_block *s = container_of(head, struct super_block, rcu); in destroy_super_rcu()
318 struct super_block *s = kzalloc(sizeof(struct super_block), GFP_KERNEL); in alloc_super()
979 struct super_block *sb; in user_get_super()
1261 struct super_block *sb; in vfs_get_super()
1400 struct super_block *sb; in fs_bdev_mark_dead()
1587 struct super_block *s; in get_tree_bdev()
1638 struct super_block *s; in mount_bdev()
[all …]
H A Dinternal.h8 struct super_block;
75 extern int sb_prepare_remount_readonly(struct super_block *);
124 extern bool super_trylock_shared(struct super_block *sb);
125 struct super_block *user_get_super(dev_t, bool excl);
126 void put_super(struct super_block *sb);
128 int sb_init_dio_done_wq(struct super_block *sb);
137 static inline void sb_start_ro_state_change(struct super_block *sb) in sb_start_ro_state_change()
157 static inline void sb_end_ro_state_change(struct super_block *sb) in sb_end_ro_state_change()
200 extern long prune_icache_sb(struct super_block *sb, struct shrink_control *sc);
209 void invalidate_inodes(struct super_block *sb);
[all …]
/linux/fs/squashfs/
H A Dsquashfs.h18 extern int squashfs_read_data(struct super_block *, u64, int, u64 *,
24 extern struct squashfs_cache_entry *squashfs_cache_get(struct super_block *,
28 extern int squashfs_read_metadata(struct super_block *, void *, u64 *,
30 extern struct squashfs_cache_entry *squashfs_get_fragment(struct super_block *,
32 extern struct squashfs_cache_entry *squashfs_get_datablock(struct super_block *,
34 extern void *squashfs_read_table(struct super_block *, u64, int);
38 extern void *squashfs_decompressor_setup(struct super_block *, unsigned short);
65 extern int squashfs_frag_lookup(struct super_block *, unsigned int, u64 *);
66 extern __le64 *squashfs_read_fragment_index_table(struct super_block *,
79 extern __le64 *squashfs_read_id_index_table(struct super_block *, u64, u64,
[all …]
/linux/fs/omfs/
H A Domfs.h35 static inline struct omfs_sb_info *OMFS_SB(struct super_block *sb) in OMFS_SB()
41 extern unsigned long omfs_count_free(struct super_block *sb);
42 extern int omfs_allocate_block(struct super_block *sb, u64 block);
43 extern int omfs_allocate_range(struct super_block *sb, int min_request,
45 extern int omfs_clear_range(struct super_block *sb, u64 block, int count);
50 extern int omfs_make_empty(struct inode *inode, struct super_block *sb);
62 extern struct buffer_head *omfs_bread(struct super_block *sb, sector_t block);
63 extern struct inode *omfs_iget(struct super_block *sb, ino_t inode);
65 extern int omfs_reserve_block(struct super_block *sb, sector_t block);
66 extern int omfs_find_empty_block(struct super_block *sb, int mode, ino_t *ino);
/linux/fs/hfs/
H A Dhfs_fs.h163 struct super_block *sb;
174 extern u32 hfs_vbm_search_free(struct super_block *, u32, u32 *);
175 extern int hfs_clear_vbm_bits(struct super_block *, u16, u16);
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 *);
224 extern void hfs_mdb_put(struct super_block *);
227 extern int hfs_part_find(struct super_block *, sector_t *, sector_t *);
243 extern void hfs_mark_mdb_dirty(struct super_block *sb);
278 static inline const char *hfs_mdb_name(struct super_block *sb) in hfs_mdb_name()
[all …]
/linux/fs/befs/
H A Dbefs.h94 void befs_error(const struct super_block *sb, const char *fmt, ...);
96 void befs_warning(const struct super_block *sb, const char *fmt, ...);
98 void befs_debug(const struct super_block *sb, const char *fmt, ...);
100 void befs_dump_super_block(const struct super_block *sb, befs_super_block *);
101 void befs_dump_inode(const struct super_block *sb, befs_inode *);
102 void befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super *);
103 void befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *);
111 BEFS_SB(const struct super_block *super) in BEFS_SB()
123 iaddr2blockno(struct super_block *sb, const befs_inode_addr *iaddr) in iaddr2blockno()
130 blockno2iaddr(struct super_block *sb, befs_blocknr_t blockno) in blockno2iaddr()
[all …]
/linux/fs/nilfs2/
H A Dnilfs.h155 int nilfs_transaction_begin(struct super_block *,
157 int nilfs_transaction_commit(struct super_block *);
158 void nilfs_transaction_abort(struct super_block *);
267 extern struct inode *nilfs_iget_for_gc(struct super_block *sb,
297 extern struct inode *nilfs_alloc_inode(struct super_block *);
300 void __nilfs_msg(struct super_block *sb, const char *fmt, ...);
338 extern int nilfs_store_magic(struct super_block *sb,
346 int nilfs_commit_super(struct super_block *sb, int flag);
347 int nilfs_cleanup_super(struct super_block *sb);
348 int nilfs_resize_fs(struct super_block *sb, __u64 newsize);
[all …]
H A Dsegment.h121 struct super_block *sc_super;
228 extern void nilfs_relax_pressure_in_lock(struct super_block *);
230 extern int nilfs_construct_segment(struct super_block *);
231 extern int nilfs_construct_dsync_segment(struct super_block *, struct inode *,
233 extern void nilfs_flush_segment(struct super_block *, ino_t);
234 extern int nilfs_clean_segments(struct super_block *, struct nilfs_argv *,
237 int nilfs_attach_log_writer(struct super_block *sb, struct nilfs_root *root);
238 void nilfs_detach_log_writer(struct super_block *sb);
245 int nilfs_salvage_orphan_logs(struct the_nilfs *nilfs, struct super_block *sb,
/linux/fs/erofs/
H A Dinternal.h27 __printf(3, 4) void _erofs_err(struct super_block *sb,
31 __printf(3, 4) void _erofs_info(struct super_block *sb,
193 static inline bool erofs_is_fscache_mode(struct super_block *sb) in erofs_is_fscache_mode()
411 struct inode *erofs_iget(struct super_block *sb, erofs_nid_t nid);
433 int erofs_register_sysfs(struct super_block *sb);
434 void erofs_unregister_sysfs(struct super_block *sb);
457 void erofs_shrinker_register(struct super_block *sb);
458 void erofs_shrinker_unregister(struct super_block *sb);
472 int erofs_init_managed_cache(struct super_block *sb);
511 int erofs_fscache_register_fs(struct super_block *sb);
[all …]
/linux/fs/ext4/
H A Dext4.h1454 struct super_block *sb;
1543 struct super_block *s_sb;
2604 struct super_block *lr_super;
2907 void ext4_fc_replay_cleanup(struct super_block *sb);
2919 extern int ext4_mb_init(struct super_block *);
2920 extern void ext4_mb_release(struct super_block *);
3075 extern int ext4_group_add(struct super_block *sb,
3134 struct super_block *, ext4_group_t,
3520 int ext4_enable_quotas(struct super_block *sb);
3691 extern void ext4_ext_init(struct super_block *);
[all …]
H A Dmballoc-test.c390 struct super_block *sb = (struct super_block *)test->priv; in mbt_kunit_exit()
399 struct super_block *sb = (struct super_block *)test->priv; in test_new_blocks_simple()
512 struct super_block *sb = (struct super_block *)test->priv; in test_free_blocks_simple_range()
534 struct super_block *sb = (struct super_block *)test->priv; in test_free_blocks_simple()
554 struct super_block *sb = (struct super_block *)test->priv; in test_mark_diskspace_used_range()
583 struct super_block *sb = (struct super_block *)test->priv; in test_mark_diskspace_used()
675 struct super_block *sb = (struct super_block *)test->priv; in mbt_validate_group_info()
719 struct super_block *sb = (struct super_block *)test->priv; in test_mb_generate_buddy()
750 struct super_block *sb = (struct super_block *)test->priv; in test_mb_mark_used_range()
782 struct super_block *sb = (struct super_block *)test->priv; in test_mb_mark_used()
[all …]
/linux/fs/jfs/
H A Djfs_superblock.h96 extern int readSuper(struct super_block *, struct buffer_head **);
97 extern int updateSuper(struct super_block *, uint);
99 extern void jfs_error(struct super_block *, const char *, ...);
100 extern int jfs_mount(struct super_block *);
101 extern int jfs_mount_rw(struct super_block *, int);
102 extern int jfs_umount(struct super_block *);
103 extern int jfs_umount_rw(struct super_block *);
104 extern int jfs_extendfs(struct super_block *, s64, int);
/linux/fs/ufs/
H A Dswab.h27 fs64_to_cpu(struct super_block *sbp, __fs64 n) in fs64_to_cpu()
36 cpu_to_fs64(struct super_block *sbp, u64 n) in cpu_to_fs64()
45 fs32_to_cpu(struct super_block *sbp, __fs32 n) in fs32_to_cpu()
54 cpu_to_fs32(struct super_block *sbp, u32 n) in cpu_to_fs32()
63 fs32_add(struct super_block *sbp, __fs32 *n, int d) in fs32_add()
72 fs32_sub(struct super_block *sbp, __fs32 *n, int d) in fs32_sub()
81 fs16_to_cpu(struct super_block *sbp, __fs16 n) in fs16_to_cpu()
90 cpu_to_fs16(struct super_block *sbp, u16 n) in cpu_to_fs16()
99 fs16_add(struct super_block *sbp, __fs16 *n, int d) in fs16_add()
108 fs16_sub(struct super_block *sbp, __fs16 *n, int d) in fs16_sub()
H A Dufs.h28 struct super_block *sb;
97 extern struct ufs_cg_private_info * ufs_load_cylinder (struct super_block *, unsigned);
98 extern void ufs_put_cylinder (struct super_block *, unsigned);
122 extern struct inode *ufs_iget(struct super_block *, unsigned long);
134 void ufs_warning(struct super_block *, const char *, const char *, ...);
136 void ufs_error(struct super_block *, const char *, const char *, ...);
138 void ufs_panic(struct super_block *, const char *, const char *, ...);
139 void ufs_mark_sb_dirty(struct super_block *sb);
141 static inline struct ufs_sb_info *UFS_SB(struct super_block *sb) in UFS_SB()
/linux/fs/adfs/
H A Dadfs.h82 static inline struct adfs_sb_info *ADFS_SB(struct super_block *sb) in ADFS_SB()
91 struct super_block *sb;
126 int (*read)(struct super_block *sb, unsigned int indaddr,
145 struct inode *adfs_iget(struct super_block *sb, struct object_info *obj);
152 void adfs_map_statfs(struct super_block *sb, struct kstatfs *buf);
154 void adfs_free_map(struct super_block *sb);
158 void __adfs_error(struct super_block *sb, const char *function,
161 void adfs_msg(struct super_block *sb, const char *pfx, const char *fmt, ...);
181 int adfs_dir_read_buffers(struct super_block *sb, u32 indaddr,
184 extern int adfs_dir_update(struct super_block *sb, struct object_info *obj,
[all …]
/linux/fs/affs/
H A Daffs.h104 struct super_block *sb; /* the VFS superblock object */
134 void affs_mark_sb_dirty(struct super_block *sb);
159 extern u32 affs_count_free_blocks(struct super_block *s);
160 extern void affs_free_block(struct super_block *sb, u32 block);
163 extern void affs_free_bitmap(struct super_block *sb);
192 extern struct inode *affs_iget(struct super_block *sb,
231 affs_set_blocksize(struct super_block *sb, int size) in affs_set_blocksize()
236 affs_bread(struct super_block *sb, int block) in affs_bread()
244 affs_getblk(struct super_block *sb, int block) in affs_getblk()
252 affs_getzeroblk(struct super_block *sb, int block) in affs_getzeroblk()
[all …]
/linux/fs/freevxfs/
H A Dvxfs_extern.h17 struct super_block;
26 extern int vxfs_read_fshead(struct super_block *);
31 extern struct inode *vxfs_blkiget(struct super_block *, u_long, ino_t);
32 extern struct inode *vxfs_stiget(struct super_block *, ino_t);
33 extern struct inode *vxfs_iget(struct super_block *, ino_t);
41 extern int vxfs_read_olt(struct super_block *, u_long);
/linux/fs/exfat/
H A Dexfat_fs.h191 struct super_block *sb;
421 int exfat_set_volume_dirty(struct super_block *sb);
422 int exfat_clear_volume_dirty(struct super_block *sb);
430 int exfat_ent_get(struct super_block *sb, unsigned int loc,
432 int exfat_ent_set(struct super_block *sb, unsigned int loc,
439 int exfat_count_num_clusters(struct super_block *sb,
443 int exfat_load_bitmap(struct super_block *sb);
510 struct inode *exfat_build_inode(struct super_block *sb,
524 int exfat_utf16_to_nls(struct super_block *sb,
527 int exfat_nls_to_utf16(struct super_block *sb,
[all …]
/linux/fs/reiserfs/
H A Dlock.c22 void reiserfs_write_lock(struct super_block *s) in reiserfs_write_lock()
35 void reiserfs_write_unlock(struct super_block *s) in reiserfs_write_unlock()
52 int __must_check reiserfs_write_unlock_nested(struct super_block *s) in reiserfs_write_unlock_nested()
70 void reiserfs_write_lock_nested(struct super_block *s, int depth) in reiserfs_write_lock_nested()
87 void reiserfs_check_lock_depth(struct super_block *sb, char *caller) in reiserfs_check_lock_depth()
95 void reiserfs_lock_check_recursive(struct super_block *sb) in reiserfs_lock_check_recursive()
/linux/fs/notify/
H A Dfsnotify.h30 static inline struct super_block *fsnotify_conn_sb( in fsnotify_conn_sb()
36 static inline struct super_block *fsnotify_object_sb(void *obj, in fsnotify_object_sb()
45 return (struct super_block *)obj; in fsnotify_object_sb()
51 static inline struct super_block *fsnotify_connector_sb( in fsnotify_connector_sb()
57 static inline fsnotify_connp_t *fsnotify_sb_marks(struct super_block *sb) in fsnotify_sb_marks()
87 static inline void fsnotify_clear_marks_by_sb(struct super_block *sb) in fsnotify_clear_marks_by_sb()

12345678910>>...27