Home
last modified time | relevance | path

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

12

/include/linux/
Dquotaops.h17 static inline struct quota_info *sb_dqopt(struct super_block *sb) in sb_dqopt()
39 void __quota_error(struct super_block *sb, const char *func,
48 struct dquot *dqget(struct super_block *sb, struct kqid qid);
68 int dquot_scan_active(struct super_block *sb,
71 struct dquot *dquot_alloc(struct super_block *sb, int type);
83 int dquot_disable(struct super_block *sb, int type, unsigned int flags);
85 static inline int dquot_suspend(struct super_block *sb, int type) in dquot_suspend()
89 int dquot_resume(struct super_block *sb, int type);
94 int dquot_commit_info(struct super_block *sb, int type);
95 int dquot_get_next_id(struct super_block *sb, struct kqid *qid);
[all …]
Dquota.h235 struct super_block;
247 extern void mark_info_dirty(struct super_block *sb, int type);
302 struct super_block *dq_sb; /* superblock this applies to */
311 …int (*check_quota_file)(struct super_block *sb, int type); /* Detect whether file is in our format…
312 …int (*read_file_info)(struct super_block *sb, int type); /* Read main info about file - called on …
313 int (*write_file_info)(struct super_block *sb, int type); /* Write main info about file */
314 int (*free_file_info)(struct super_block *sb, int type); /* Called on quotaoff() */
318 …int (*get_next_id)(struct super_block *sb, struct kqid *qid); /* Get next ID with existing structu…
324 struct dquot *(*alloc_dquot)(struct super_block *, int); /* Allocate memory for new dquot */
329 int (*write_info) (struct super_block *, int); /* Write of quota "superblock" */
[all …]
Dexportfs.h11 struct super_block;
196 struct dentry * (*fh_to_dentry)(struct super_block *sb, struct fid *fid,
198 struct dentry * (*fh_to_parent)(struct super_block *sb, struct fid *fid,
205 int (*get_uuid)(struct super_block *sb, u8 *buf, u32 *len, u64 *offset);
224 extern struct dentry *generic_fh_to_dentry(struct super_block *sb,
226 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
227 extern struct dentry *generic_fh_to_parent(struct super_block *sb,
229 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
Dcleancache.h42 extern void __cleancache_init_fs(struct super_block *);
43 extern void __cleancache_init_shared_fs(struct super_block *);
48 extern void __cleancache_invalidate_fs(struct super_block *);
79 static inline void cleancache_init_fs(struct super_block *sb) in cleancache_init_fs()
85 static inline void cleancache_init_shared_fs(struct super_block *sb) in cleancache_init_shared_fs()
118 static inline void cleancache_invalidate_fs(struct super_block *sb) in cleancache_invalidate_fs()
Dfs_context.h24 struct super_block;
149 int (*fill_super)(struct super_block *sb,
153 int (*fill_super)(struct super_block *sb,
156 int (*fill_super)(struct super_block *sb,
159 int (*fill_super)(struct super_block *sb,
162 int (*fill_super)(struct super_block *sb,
167 int (*fill_super)(struct super_block *sb,
Dfs.h477 struct super_block * bd_super;
641 struct super_block *i_sb;
1424 struct super_block { struct
1585 void __sb_end_write(struct super_block *sb, int level);
1586 int __sb_start_write(struct super_block *sb, int level, bool wait);
1600 static inline void sb_end_write(struct super_block *sb) in sb_end_write()
1612 static inline void sb_end_pagefault(struct super_block *sb) in sb_end_pagefault()
1624 static inline void sb_end_intwrite(struct super_block *sb) in sb_end_intwrite()
1648 static inline void sb_start_write(struct super_block *sb) in sb_start_write()
1653 static inline int sb_start_write_trylock(struct super_block *sb) in sb_start_write_trylock()
[all …]
Dkernfs.h25 struct super_block;
335 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb);
336 struct inode *kernfs_get_inode(struct super_block *sb, struct kernfs_node *kn);
339 struct super_block *sb);
379 const void *kernfs_super_ns(struct super_block *sb);
382 void kernfs_kill_sb(struct super_block *sb);
427 static inline struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()
431 kernfs_get_inode(struct super_block *sb, struct kernfs_node *kn) in kernfs_get_inode()
489 static inline const void *kernfs_super_ns(struct super_block *sb) in kernfs_super_ns()
497 static inline void kernfs_kill_sb(struct super_block *sb) { } in kernfs_kill_sb()
Dramfs.h5 struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir,
Dmount.h20 struct super_block;
70 struct super_block *mnt_sb; /* pointer to superblock */
Dfscrypt.h64 bool (*has_stable_inodes)(struct super_block *sb);
65 void (*get_ino_and_lblk_bits)(struct super_block *sb,
67 bool (*inline_crypt_enabled)(struct super_block *sb);
68 int (*get_num_devices)(struct super_block *sb);
69 void (*get_devices)(struct super_block *sb,
135 extern void fscrypt_sb_free(struct super_block *sb);
264 static inline void fscrypt_set_ops(struct super_block *sb, in fscrypt_set_ops()
369 static inline void fscrypt_sb_free(struct super_block *sb) in fscrypt_sb_free()
543 static inline void fscrypt_set_ops(struct super_block *sb, in fscrypt_set_ops()
Dbuffer_head.h305 sb_bread(struct super_block *sb, sector_t block) in sb_bread()
311 sb_bread_unmovable(struct super_block *sb, sector_t block) in sb_bread_unmovable()
317 sb_breadahead(struct super_block *sb, sector_t block) in sb_breadahead()
323 sb_getblk(struct super_block *sb, sector_t block) in sb_getblk()
330 sb_getblk_gfp(struct super_block *sb, sector_t block, gfp_t gfp) in sb_getblk_gfp()
336 sb_find_get_block(struct super_block *sb, sector_t block) in sb_find_get_block()
342 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh()
Dwriteback.h191 void writeback_inodes_sb(struct super_block *, enum wb_reason reason);
192 void writeback_inodes_sb_nr(struct super_block *, unsigned long nr,
194 void try_to_writeback_inodes_sb(struct super_block *sb, enum wb_reason reason);
195 void sync_inodes_sb(struct super_block *);
Dsecurity.h42 struct super_block;
271 int security_quotactl(int cmds, int type, int id, struct super_block *sb);
282 int security_sb_alloc(struct super_block *sb);
283 void security_sb_free(struct super_block *sb);
286 int security_sb_remount(struct super_block *sb, void *mnt_opts);
287 int security_sb_kern_mount(struct super_block *sb);
288 int security_sb_show_options(struct seq_file *m, struct super_block *sb);
294 int security_sb_set_mnt_opts(struct super_block *sb,
298 int security_sb_clone_mnt_opts(const struct super_block *oldsb,
299 struct super_block *newsb,
[all …]
Ddqblk_qtree.h30 struct super_block *dqi_sb; /* Sb quota is on */
Ddcache.h103 struct super_block *d_sb; /* The root of the dentry tree */
238 extern struct dentry * d_alloc_anon(struct super_block *);
247 extern void shrink_dcache_sb(struct super_block *);
249 extern void shrink_dcache_for_umount(struct super_block *);
Dlsm_hooks.h1481 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);
1499 int (*sb_remount)(struct super_block *sb, void *mnt_opts);
1500 int (*sb_kern_mount)(struct super_block *sb);
1501 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,
Dfsnotify_backend.h359 extern void fsnotify_sb_delete(struct super_block *sb);
528 static inline void fsnotify_sb_delete(struct super_block *sb) in fsnotify_sb_delete()
539 static inline void fsnotify_unmount_inodes(struct super_block *sb) in fsnotify_unmount_inodes()
Dnfs_fs.h254 static inline struct nfs_server *NFS_SB(const struct super_block *s) in NFS_SB()
371 extern struct inode *nfs_fhget(struct super_block *, struct nfs_fh *,
373 struct inode *nfs_ilookup(struct super_block *sb, struct nfs_fattr *, struct nfs_fh *);
Dnfs_fs_sb.h176 struct super_block *super; /* VFS super block */
/include/linux/mtd/
Dsuper.h18 int (*fill_super)(struct super_block *sb,
20 extern void kill_mtd_super(struct super_block *sb);
/include/linux/sunrpc/
Drpc_pipe_fs.h86 extern struct dentry *rpc_d_lookup_sb(const struct super_block *sb,
90 extern struct super_block *rpc_get_sb_net(const struct net *net);
/include/trace/events/
Dext4.h610 TP_PROTO(struct super_block *sb, unsigned long long blk,
706 TP_PROTO(struct super_block *sb, struct ext4_prealloc_space *pa),
750 TP_PROTO(struct super_block *sb, int needed),
934 TP_PROTO(struct super_block *sb, int wait),
1085 TP_PROTO(struct super_block *sb,
1118 TP_PROTO(struct super_block *sb,
1129 TP_PROTO(struct super_block *sb,
1261 TP_PROTO(struct super_block *sb, unsigned long group),
1283 TP_PROTO(struct super_block *sb, unsigned long group),
1290 TP_PROTO(struct super_block *sb, unsigned long group),
[all …]
Df2fs.h258 TP_PROTO(struct super_block *sb, int wait),
602 TP_PROTO(struct super_block *sb, unsigned int wait_ms,
630 TP_PROTO(struct super_block *sb, bool sync, bool background,
682 TP_PROTO(struct super_block *sb, int ret, int seg_freed,
737 TP_PROTO(struct super_block *sb, int type, int gc_type,
1064 TP_PROTO(struct super_block *sb, int type, struct bio *bio),
1099 TP_PROTO(struct super_block *sb, int type, struct bio *bio),
1108 TP_PROTO(struct super_block *sb, int type, struct bio *bio),
1117 TP_PROTO(struct super_block *sb, int type, struct bio *bio),
1126 TP_PROTO(struct super_block *sb, int type, struct bio *bio),
[all …]
Dnilfs2.h67 TP_PROTO(struct super_block *sb,
/include/linux/lockd/
Dlockd.h301 int nlmsvc_unlock_all_by_sb(struct super_block *sb);

12