Home
last modified time | relevance | path

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

12345678910>>...20

/linux/fs/hpfs/
H A Dhpfs_fn.h200 int hpfs_chk_sectors(struct super_block *, secno, int, char *);
201 secno hpfs_alloc_sector(struct super_block *, secno, unsigned, int);
202 int hpfs_alloc_if_possible(struct super_block *, secno);
203 void hpfs_free_sectors(struct super_block *, secno, unsigned);
204 int hpfs_check_free_dnodes(struct super_block *, int);
205 void hpfs_free_dnode(struct super_block *, secno);
206 struct dnode *hpfs_alloc_dnode(struct super_block *, secno, dnode_secno *, struct quad_buffer_head …
207 struct fnode *hpfs_alloc_fnode(struct super_block *, secno, fnode_secno *, struct buffer_head **);
208 struct anode *hpfs_alloc_anode(struct super_block *, secno, anode_secno *, struct buffer_head **);
209 int hpfs_trim_fs(struct super_block *, u64, u64, u64, unsigned *);
[all …]
/linux/include/linux/fs/
H A Dsuper.h12 static inline void __sb_end_write(struct super_block *sb, int level) in __sb_end_write()
17 static inline void __sb_start_write(struct super_block *sb, int level) in __sb_start_write()
22 static inline bool __sb_start_write_trylock(struct super_block *sb, int level) in __sb_start_write_trylock()
41 static inline int __sb_write_started(const struct super_block *sb, int level) in __sb_write_started()
52 static inline bool sb_write_started(const struct super_block *sb) in sb_write_started()
63 static inline bool sb_write_not_started(const struct super_block *sb) in sb_write_not_started()
75 static inline void sb_end_write(struct super_block *sb) in sb_end_write()
87 static inline void sb_end_pagefault(struct super_block *sb) in sb_end_pagefault()
99 static inline void sb_end_intwrite(struct super_block *sb) in sb_end_intwrite()
123 static inline void sb_start_write(struct super_block *sb) in sb_start_write()
[all …]
H A Dsuper_types.h39 extern struct super_block *blockdev_superblock;
83 struct inode *(*alloc_inode)(struct super_block *sb);
90 void (*put_super)(struct super_block *sb);
91 int (*sync_fs)(struct super_block *sb, int wait);
92 int (*freeze_super)(struct super_block *sb, enum freeze_holder who,
94 int (*freeze_fs)(struct super_block *sb);
95 int (*thaw_super)(struct super_block *sb, enum freeze_holder who,
97 int (*unfreeze_fs)(struct super_block *sb);
99 int (*remount_fs) (struct super_block *, int *, char *);
100 void (*umount_begin)(struct super_block *sb);
[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);
81 int dquot_disable(struct super_block *sb, int type, unsigned int flags);
83 static inline int dquot_suspend(struct super_block *sb, int type) in dquot_suspend()
87 int dquot_resume(struct super_block *sb, int type);
92 int dquot_commit_info(struct super_block *sb, int type);
93 int dquot_get_next_id(struct super_block *sb, struct kqid *qid);
[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 */
313 …int (*check_quota_file)(struct super_block *sb, int type); /* Detect whether file is in our format…
314 …int (*read_file_info)(struct super_block *sb, int type); /* Read main info about file - called on …
315 int (*write_file_info)(struct super_block *sb, int type); /* Write main info about file */
316 int (*free_file_info)(struct super_block *sb, int type); /* Called on quotaoff() */
320 …int (*get_next_id)(struct super_block *sb, struct kqid *qid); /* Get next ID with existing structu…
326 struct dquot *(*alloc_dquot)(struct super_block *, int); /* Allocate memory for new dquot */
331 int (*write_info) (struct super_block *, int); /* Write of quota "superblock" */
[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,
51 int venus_setattr(struct super_block *, struct CodaFid *, struct coda_vattr *);
52 int venus_lookup(struct super_block *sb, struct CodaFid *fid,
55 int venus_close(struct super_block *sb, struct CodaFid *fid, int flags,
57 int venus_open(struct super_block *sb, struct CodaFid *fid, int flags,
59 int venus_mkdir(struct super_block *sb, struct CodaFid *dirfid,
62 int venus_create(struct super_block *sb, struct CodaFid *dirfid,
[all …]
/linux/fs/
H A Dsuper.c42 static int thaw_super_locked(struct super_block *sb, enum freeze_holder who,
54 static inline void __super_lock(struct super_block *sb, bool excl) in __super_lock()
62 static inline void super_unlock(struct super_block *sb, bool excl) in super_unlock()
70 static inline void __super_lock_excl(struct super_block *sb) in __super_lock_excl()
75 static inline void super_unlock_excl(struct super_block *sb) in super_unlock_excl()
80 static inline void super_unlock_shared(struct super_block *sb) in super_unlock_shared()
85 static bool super_flags(const struct super_block *sb, unsigned int flags) in super_flags()
110 static __must_check bool super_lock(struct super_block *sb, bool excl) in super_lock()
138 static inline bool super_lock_shared(struct super_block *sb) in super_lock_shared()
144 static inline bool super_lock_excl(struct super_block *sb) in super_lock_excl()
[all …]
/linux/fs/squashfs/
H A Dsquashfs.h24 extern int squashfs_read_data(struct super_block *, u64, int, u64 *,
30 extern struct squashfs_cache_entry *squashfs_cache_get(struct super_block *,
34 extern int squashfs_read_metadata(struct super_block *, void *, u64 *,
36 extern struct squashfs_cache_entry *squashfs_get_fragment(struct super_block *,
38 extern struct squashfs_cache_entry *squashfs_get_datablock(struct super_block *,
40 extern void *squashfs_read_table(struct super_block *, u64, int);
44 extern void *squashfs_decompressor_setup(struct super_block *, unsigned short);
67 extern __le64 *squashfs_read_inode_lookup_table(struct super_block *, u64, u64,
71 extern int squashfs_frag_lookup(struct super_block *, unsigned int, u64 *);
72 extern __le64 *squashfs_read_fragment_index_table(struct super_block *,
[all …]
/linux/fs/exfat/
H A Dexfat_fs.h192 struct super_block *sb;
331 static inline struct exfat_sb_info *EXFAT_SB(struct super_block *sb) in EXFAT_SB()
341 static inline int exfat_forced_shutdown(struct super_block *sb) in exfat_forced_shutdown()
431 int exfat_set_volume_dirty(struct super_block *sb);
432 int exfat_clear_volume_dirty(struct super_block *sb);
440 int exfat_ent_get(struct super_block *sb, unsigned int loc,
442 int exfat_ent_set(struct super_block *sb, unsigned int loc,
444 int exfat_chain_cont_cluster(struct super_block *sb, unsigned int chain,
447 int exfat_find_last_cluster(struct super_block *sb, struct exfat_chain *p_chain,
449 int exfat_count_num_clusters(struct super_block *sb,
[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/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 …]
H A Dendian.h16 fs64_to_cpu(const struct super_block *sb, fs64 n) in fs64_to_cpu()
25 cpu_to_fs64(const struct super_block *sb, u64 n) in cpu_to_fs64()
34 fs32_to_cpu(const struct super_block *sb, fs32 n) in fs32_to_cpu()
43 cpu_to_fs32(const struct super_block *sb, u32 n) in cpu_to_fs32()
52 fs16_to_cpu(const struct super_block *sb, fs16 n) in fs16_to_cpu()
61 cpu_to_fs16(const struct super_block *sb, u16 n) in cpu_to_fs16()
72 fsrun_to_cpu(const struct super_block *sb, befs_disk_block_run n) in fsrun_to_cpu()
89 cpu_to_fsrun(const struct super_block *sb, befs_block_run n) in cpu_to_fsrun()
106 fsds_to_cpu(const struct super_block *sb, const befs_disk_data_stream *n) in fsds_to_cpu()
/linux/fs/nilfs2/
H A Dnilfs.h183 int nilfs_transaction_begin(struct super_block *,
185 int nilfs_transaction_commit(struct super_block *);
186 void nilfs_transaction_abort(struct super_block *);
289 struct inode *nilfs_ilookup(struct super_block *sb, struct nilfs_root *root,
291 struct inode *nilfs_iget_locked(struct super_block *sb, struct nilfs_root *root,
293 struct inode *nilfs_iget(struct super_block *sb, struct nilfs_root *root,
295 extern struct inode *nilfs_iget_for_gc(struct super_block *sb,
325 extern struct inode *nilfs_alloc_inode(struct super_block *);
328 void __nilfs_msg(struct super_block *sb, const char *fmt, ...);
330 void __nilfs_error(struct super_block *sb, const char *function,
[all …]
H A Dsegment.h120 struct super_block *sc_super;
224 extern void nilfs_relax_pressure_in_lock(struct super_block *);
226 extern int nilfs_construct_segment(struct super_block *);
227 extern int nilfs_construct_dsync_segment(struct super_block *, struct inode *,
229 extern int nilfs_clean_segments(struct super_block *, struct nilfs_argv *,
232 int nilfs_attach_log_writer(struct super_block *sb, struct nilfs_root *root);
233 void nilfs_detach_log_writer(struct super_block *sb);
240 int nilfs_salvage_orphan_logs(struct the_nilfs *nilfs, struct super_block *sb,
/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/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);
151 int adfs_map_lookup(struct super_block *sb, u32 frag_id, unsigned int offset);
152 void adfs_map_statfs(struct super_block *sb, struct kstatfs *buf);
153 struct adfs_discmap *adfs_read_map(struct super_block *sb, struct adfs_discrecord *dr);
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, ...);
[all …]
/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.h29 struct super_block *sb;
92 extern struct ufs_cg_private_info * ufs_load_cylinder (struct super_block *, unsigned);
93 extern void ufs_put_cylinder (struct super_block *, unsigned);
119 extern struct inode *ufs_iget(struct super_block *, unsigned long);
131 void ufs_warning(struct super_block *, const char *, const char *, ...);
133 void ufs_error(struct super_block *, const char *, const char *, ...);
135 void ufs_panic(struct super_block *, const char *, const char *, ...);
136 void ufs_mark_sb_dirty(struct super_block *sb);
138 static inline struct ufs_sb_info *UFS_SB(struct super_block *sb) in UFS_SB()
H A Dutil.h32 ufs_get_fs_state(struct super_block *sb, struct ufs_super_block_first *usb1, in ufs_get_fs_state()
51 ufs_set_fs_state(struct super_block *sb, struct ufs_super_block_first *usb1, in ufs_set_fs_state()
74 ufs_get_fs_npsect(struct super_block *sb, struct ufs_super_block_first *usb1, in ufs_get_fs_npsect()
84 ufs_get_fs_qbmask(struct super_block *sb, struct ufs_super_block_third *usb3) in ufs_get_fs_qbmask()
108 ufs_get_fs_qfmask(struct super_block *sb, struct ufs_super_block_third *usb3) in ufs_get_fs_qfmask()
132 ufs_get_de_namlen(struct super_block *sb, struct ufs_dir_entry *de) in ufs_get_de_namlen()
141 ufs_set_de_namlen(struct super_block *sb, struct ufs_dir_entry *de, u16 value) in ufs_set_de_namlen()
150 ufs_set_de_type(struct super_block *sb, struct ufs_dir_entry *de, int mode) in ufs_set_de_type()
186 ufs_get_inode_uid(struct super_block *sb, struct ufs_inode *inode) in ufs_get_inode_uid()
201 ufs_set_inode_uid(struct super_block *sb, struct ufs_inode *inode, u32 value) in ufs_set_inode_uid()
[all …]
/linux/fs/erofs/
H A Dinternal.h23 __printf(2, 3) void _erofs_printk(struct super_block *sb, const char *fmt, ...);
191 static inline bool erofs_is_fscache_mode(struct super_block *sb) in erofs_is_fscache_mode()
387 struct super_block *m_sb;
416 void *erofs_read_metadata(struct super_block *sb, struct erofs_buf *buf,
421 int erofs_init_metabuf(struct erofs_buf *buf, struct super_block *sb,
423 void *erofs_read_metabuf(struct erofs_buf *buf, struct super_block *sb,
425 int erofs_map_dev(struct super_block *sb, struct erofs_map_dev *dev);
432 struct inode *erofs_iget(struct super_block *sb, erofs_nid_t nid);
454 int erofs_register_sysfs(struct super_block *sb);
455 void erofs_unregister_sysfs(struct super_block *sb);
[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/ocfs2/
H A Djournal.h366 static inline int ocfs2_quota_trans_credits(struct super_block *sb) in ocfs2_quota_trans_credits()
387 static inline int ocfs2_inline_to_extents_credits(struct super_block *sb) in ocfs2_inline_to_extents_credits()
400 static inline int ocfs2_remove_extent_credits(struct super_block *sb) in ocfs2_remove_extent_credits()
410 static inline int ocfs2_add_dir_index_credits(struct super_block *sb) in ocfs2_add_dir_index_credits()
421 static inline int ocfs2_mknod_credits(struct super_block *sb, int is_dir, in ocfs2_mknod_credits()
444 static inline int ocfs2_link_credits(struct super_block *sb) in ocfs2_link_credits()
452 static inline int ocfs2_unlink_credits(struct super_block *sb) in ocfs2_unlink_credits()
471 static inline int ocfs2_rename_credits(struct super_block *sb) in ocfs2_rename_credits()
487 static inline int ocfs2_calc_dxi_expand_credits(struct super_block *sb) in ocfs2_calc_dxi_expand_credits()
519 static inline int ocfs2_calc_extend_credits(struct super_block *sb, in ocfs2_calc_extend_credits()
[all …]
H A Docfs2.h82 struct super_block *ocfs2_metadata_cache_get_super(struct ocfs2_caching_info *ci);
290 struct super_block *sb;
308 void ocfs2_initialize_journal_triggers(struct super_block *sb,
334 struct super_block *sb;
769 static inline unsigned long ino_from_blkno(struct super_block *sb, in ino_from_blkno()
775 static inline u64 ocfs2_clusters_to_blocks(struct super_block *sb, in ocfs2_clusters_to_blocks()
784 static inline u32 ocfs2_clusters_for_blocks(struct super_block *sb, in ocfs2_clusters_for_blocks()
794 static inline u32 ocfs2_blocks_to_clusters(struct super_block *sb, in ocfs2_blocks_to_clusters()
803 static inline unsigned int ocfs2_clusters_for_bytes(struct super_block *sb, in ocfs2_clusters_for_bytes()
816 static inline unsigned int ocfs2_bytes_to_clusters(struct super_block *sb, in ocfs2_bytes_to_clusters()
[all …]
/linux/fs/btrfs/
H A Dsuper.h10 struct super_block;
16 int btrfs_sync_fs(struct super_block *sb, int wait);
21 static inline struct btrfs_fs_info *btrfs_sb(struct super_block *sb) in btrfs_sb()
26 static inline void btrfs_set_sb_rdonly(struct super_block *sb) in btrfs_set_sb_rdonly()
32 static inline void btrfs_clear_sb_rdonly(struct super_block *sb) in btrfs_clear_sb_rdonly()
/linux/fs/udf/
H A Dudf_sb.h107 __u32 (*s_partition_func)(struct super_block *, __u32, __u16, __u32);
161 static inline struct udf_sb_info *UDF_SB(struct super_block *sb) in UDF_SB()
166 struct logicalVolIntegrityDescImpUse *udf_sb_lvidiu(struct super_block *sb);
168 int udf_compute_nr_groups(struct super_block *sb, u32 partition);
170 static inline int UDF_QUERY_FLAG(struct super_block *sb, int flag) in UDF_QUERY_FLAG()
175 static inline void UDF_SET_FLAG(struct super_block *sb, int flag) in UDF_SET_FLAG()
180 static inline void UDF_CLEAR_FLAG(struct super_block *sb, int flag) in UDF_CLEAR_FLAG()

12345678910>>...20