Searched refs:super_block (Results 26 - 50 of 651) sorted by relevance

1234567891011>>

/linux-master/fs/nilfs2/
H A Dsegment.h78 * @sc_super: Back pointer to super_block struct
121 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 *s
[all...]
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 *);
261 struct inode *nilfs_ilookup(struct super_block *sb, struct nilfs_root *root,
263 struct inode *nilfs_iget_locked(struct super_block *sb, struct nilfs_root *root,
265 struct inode *nilfs_iget(struct super_block *sb, struct nilfs_root *root,
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, ...);
302 void __nilfs_error(struct super_block *s
[all...]
/linux-master/fs/bfs/
H A Dbfs.h41 static inline struct bfs_sb_info *BFS_SB(struct super_block *sb)
56 extern struct inode *bfs_iget(struct super_block *sb, unsigned long ino);
57 extern void bfs_dump_imap(const char *, struct super_block *);
/linux-master/fs/ext4/
H A Dfsmap.h31 void ext4_fsmap_from_internal(struct super_block *sb, struct fsmap *dest,
33 void ext4_fsmap_to_internal(struct super_block *sb, struct ext4_fsmap *dest,
39 int ext4_getfsmap(struct super_block *sb, struct ext4_fsmap_head *head,
/linux-master/fs/nfs/
H A Dcache_lib.h29 extern int nfs_cache_register_sb(struct super_block *sb,
31 extern void nfs_cache_unregister_sb(struct super_block *sb,
/linux-master/fs/hfs/
H A Dhfs_fs.h98 * The HFS-specific part of a Linux (struct super_block)
163 struct super_block *sb;
174 extern u32 hfs_vbm_search_free(struct super_block *, u32, u32 *);
175 extern int hfs_clear_vbm_bits(struct super_block *, u16, u16);
180 extern int hfs_cat_find_brec(struct super_block *, u32, struct hfs_find_data *);
185 extern void hfs_cat_build_key(struct super_block *, btree_key *, u32, const struct qstr *);
193 extern int hfs_free_fork(struct super_block *, struct hfs_cat_file *, int);
213 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 *);
[all...]
/linux-master/include/linux/
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 quotaon() */
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 structure in the quota file */
326 struct dquot *(*alloc_dquot)(struct super_block *, int); /* Allocate memory for new dquot */
331 int (*write_info) (struct super_block *, in
[all...]
H A Dexportfs.h11 struct super_block;
187 * @fh_to_dentry is given a &struct super_block (@sb) and a file handle
225 struct dentry * (*fh_to_dentry)(struct super_block *sb, struct fid *fid,
227 struct dentry * (*fh_to_parent)(struct super_block *sb, struct fid *fid,
234 int (*get_uuid)(struct super_block *sb, u8 *buf, u32 *len, u64 *offset);
319 struct dentry *generic_fh_to_dentry(struct super_block *sb,
321 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
322 struct dentry *generic_fh_to_parent(struct super_block *sb,
324 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
/linux-master/fs/ocfs2/
H A Dblockcheck.h30 void ocfs2_compute_meta_ecc(struct super_block *sb, void *data,
32 int ocfs2_validate_meta_ecc(struct super_block *sb, void *data,
34 void ocfs2_compute_meta_ecc_bhs(struct super_block *sb,
37 int ocfs2_validate_meta_ecc_bhs(struct super_block *sb,
H A Dbuffer_head_io.h30 int (*validate)(struct super_block *sb,
41 int (*validate)(struct super_block *sb,
/linux-master/fs/notify/
H A Dfsnotify.h24 static inline struct super_block *fsnotify_conn_sb(
27 return container_of(conn->obj, struct super_block, s_fsnotify_marks);
30 static inline struct super_block *fsnotify_connector_sb(
68 static inline void fsnotify_clear_marks_by_sb(struct super_block *sb)
/linux-master/fs/erofs/
H A Dxattr.h49 int erofs_xattr_prefixes_init(struct super_block *sb);
50 void erofs_xattr_prefixes_cleanup(struct super_block *sb);
54 static inline int erofs_xattr_prefixes_init(struct super_block *sb) { return 0; }
55 static inline void erofs_xattr_prefixes_cleanup(struct super_block *sb) {}
H A Dcompress.h12 struct super_block *sb;
23 int (*config)(struct super_block *sb, struct erofs_super_block *dsb,
89 int z_erofs_load_lzma_config(struct super_block *sb,
91 int z_erofs_load_deflate_config(struct super_block *sb,
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,
196 static inline bool erofs_is_fscache_mode(struct super_block *sb)
207 /* basic unit of the workstation of a super_block */
401 void *erofs_read_metadata(struct super_block *sb, struct erofs_buf *buf,
407 void erofs_init_metabuf(struct erofs_buf *buf, struct super_block *sb);
408 void *erofs_read_metabuf(struct erofs_buf *buf, struct super_block *sb,
410 int erofs_map_dev(struct super_block *sb, struct erofs_map_dev *dev);
414 struct inode *erofs_iget(struct super_block *sb, erofs_nid_t nid);
436 int erofs_register_sysfs(struct super_block *s
[all...]
/linux-master/fs/qnx4/
H A Dqnx4.h24 extern struct inode *qnx4_iget(struct super_block *, unsigned long);
26 extern unsigned long qnx4_count_free_blocks(struct super_block *sb);
31 extern int qnx4_is_free(struct super_block *sb, long block);
33 static inline struct qnx4_sb_info *qnx4_sb(struct super_block *sb)
/linux-master/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)
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)
175 static inline void UDF_SET_FLAG(struct super_block *sb, int flag)
180 static inline void UDF_CLEAR_FLAG(struct super_block *sb, int flag)
H A Dlowlevel.c24 unsigned int udf_get_last_session(struct super_block *sb)
44 udf_pblk_t udf_get_last_block(struct super_block *sb)
/linux-master/fs/
H A Dsuper.c42 static int thaw_super_locked(struct super_block *sb, enum freeze_holder who);
53 static inline void __super_lock(struct super_block *sb, bool excl)
61 static inline void super_unlock(struct super_block *sb, bool excl)
69 static inline void __super_lock_excl(struct super_block *sb)
74 static inline void super_unlock_excl(struct super_block *sb)
79 static inline void super_unlock_shared(struct super_block *sb)
84 static bool super_flags(const struct super_block *sb, unsigned int flags)
109 static __must_check bool super_lock(struct super_block *sb, bool excl)
137 static inline bool super_lock_shared(struct super_block *sb)
143 static inline bool super_lock_excl(struct super_block *s
[all...]
H A Dinternal.h8 struct super_block;
72 extern int sb_prepare_remount_readonly(struct super_block *);
121 extern bool super_trylock_shared(struct super_block *sb);
122 struct super_block *user_get_super(dev_t, bool excl);
123 void put_super(struct super_block *sb);
125 int sb_init_dio_done_wq(struct super_block *sb);
134 static inline void sb_start_ro_state_change(struct super_block *sb)
154 static inline void sb_end_ro_state_change(struct super_block *sb)
197 extern long prune_icache_sb(struct super_block *sb, struct shrink_control *sc);
206 void invalidate_inodes(struct super_block *s
[all...]
/linux-master/fs/affs/
H A Daffs.h104 struct super_block *sb; /* the VFS superblock object */
129 static inline struct affs_sb_info *AFFS_SB(struct super_block *sb)
134 void affs_mark_sb_dirty(struct super_block *sb);
141 extern u32 affs_checksum_block(struct super_block *sb, struct buffer_head *bh);
142 extern void affs_fix_checksum(struct super_block *sb, struct buffer_head *bh);
147 extern void affs_error(struct super_block *sb, const char *function,
150 extern void affs_warning(struct super_block *sb, const char *function,
159 extern u32 affs_count_free_blocks(struct super_block *s);
160 extern void affs_free_block(struct super_block *sb, u32 block);
162 extern int affs_init_bitmap(struct super_block *s
[all...]
/linux-master/fs/befs/
H A Dendian.h16 fs64_to_cpu(const struct super_block *sb, fs64 n)
25 cpu_to_fs64(const struct super_block *sb, u64 n)
34 fs32_to_cpu(const struct super_block *sb, fs32 n)
43 cpu_to_fs32(const struct super_block *sb, u32 n)
52 fs16_to_cpu(const struct super_block *sb, fs16 n)
61 cpu_to_fs16(const struct super_block *sb, u16 n)
72 fsrun_to_cpu(const struct super_block *sb, befs_disk_block_run n)
89 cpu_to_fsrun(const struct super_block *sb, befs_block_run n)
106 fsds_to_cpu(const struct super_block *sb, const befs_disk_data_stream *n)
/linux-master/fs/ufs/
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)
/linux-master/fs/adfs/
H A Dadfs.h82 static inline struct adfs_sb_info *ADFS_SB(struct super_block *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 *s
[all...]
/linux-master/fs/minix/
H A 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);
64 extern unsigned V1_minix_blocks(loff_t, struct super_block *);
65 extern unsigned V2_minix_blocks(loff_t, struct super_block *);
82 static inline struct minix_sb_info *minix_sb(struct super_block *sb)
/linux-master/fs/ntfs3/
H A Ddebug.h14 struct super_block;
24 void ntfs_printk(const struct super_block *sb, const char *fmt, ...);
29 void ntfs_printk(const struct super_block *sb, const char *fmt, ...)

Completed in 392 milliseconds

1234567891011>>