Home
last modified time | relevance | path

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

/include/linux/
Dquotaops.h16 static inline struct quota_info *sb_dqopt(struct super_block *sb) in sb_dqopt() argument
18 return &sb->s_dquot; in sb_dqopt()
31 #define quota_error(sb, fmt, args...) \ argument
32 __quota_error((sb), __func__, fmt , ## args)
35 void __quota_error(struct super_block *sb, const char *func,
47 struct dquot *dqget(struct super_block *sb, unsigned int id, int type);
49 int dquot_scan_active(struct super_block *sb,
52 struct dquot *dquot_alloc(struct super_block *sb, int type);
63 int dquot_disable(struct super_block *sb, int type, unsigned int flags);
65 static inline int dquot_suspend(struct super_block *sb, int type) in dquot_suspend() argument
[all …]
Dcoda_psdev.h28 static inline struct venus_comm *coda_vcp(struct super_block *sb) in coda_vcp() argument
30 return (struct venus_comm *)((sb)->s_fs_info); in coda_vcp()
34 int venus_rootfid(struct super_block *sb, struct CodaFid *fidp);
35 int venus_getattr(struct super_block *sb, struct CodaFid *fid,
38 int venus_lookup(struct super_block *sb, struct CodaFid *fid,
41 int venus_close(struct super_block *sb, struct CodaFid *fid, int flags,
43 int venus_open(struct super_block *sb, struct CodaFid *fid, int flags,
45 int venus_mkdir(struct super_block *sb, struct CodaFid *dirfid,
48 int venus_create(struct super_block *sb, struct CodaFid *dirfid,
51 int venus_rmdir(struct super_block *sb, struct CodaFid *dirfid,
[all …]
Dcleancache.h75 static inline void cleancache_init_fs(struct super_block *sb) in cleancache_init_fs() argument
78 __cleancache_init_fs(sb); in cleancache_init_fs()
81 static inline void cleancache_init_shared_fs(char *uuid, struct super_block *sb) in cleancache_init_shared_fs() argument
84 __cleancache_init_shared_fs(uuid, sb); in cleancache_init_shared_fs()
116 static inline void cleancache_invalidate_fs(struct super_block *sb) in cleancache_invalidate_fs() argument
119 __cleancache_invalidate_fs(sb); in cleancache_invalidate_fs()
Dexportfs.h170 struct dentry * (*fh_to_dentry)(struct super_block *sb, struct fid *fid,
172 struct dentry * (*fh_to_parent)(struct super_block *sb, struct fid *fid,
189 extern struct dentry *generic_fh_to_dentry(struct super_block *sb,
191 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
192 extern struct dentry *generic_fh_to_parent(struct super_block *sb,
194 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
Doprofile.h54 int (*create_files)(struct super_block * sb, struct dentry * root);
128 int oprofilefs_create_file(struct super_block * sb, struct dentry * root,
131 int oprofilefs_create_file_perm(struct super_block * sb, struct dentry * root,
135 int oprofilefs_create_ulong(struct super_block * sb, struct dentry * root,
139 int oprofilefs_create_ro_ulong(struct super_block * sb, struct dentry * root,
143 int oprofilefs_create_ro_atomic(struct super_block * sb, struct dentry * root,
147 struct dentry * oprofilefs_mkdir(struct super_block * sb, struct dentry * root,
Dcramfs_fs_sb.h15 static inline struct cramfs_sb_info *CRAMFS_SB(struct super_block *sb) in CRAMFS_SB() argument
17 return sb->s_fs_info; in CRAMFS_SB()
Dbuffer_head.h287 sb_bread(struct super_block *sb, sector_t block) in sb_bread() argument
289 return __bread(sb->s_bdev, block, sb->s_blocksize); in sb_bread()
293 sb_breadahead(struct super_block *sb, sector_t block) in sb_breadahead() argument
295 __breadahead(sb->s_bdev, block, sb->s_blocksize); in sb_breadahead()
299 sb_getblk(struct super_block *sb, sector_t block) in sb_getblk() argument
301 return __getblk(sb->s_bdev, block, sb->s_blocksize); in sb_getblk()
305 sb_find_get_block(struct super_block *sb, sector_t block) in sb_find_get_block() argument
307 return __find_get_block(sb->s_bdev, block, sb->s_blocksize); in sb_find_get_block()
311 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh() argument
314 bh->b_bdev = sb->s_bdev; in map_bh()
[all …]
Dramfs.h4 struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir,
24 int ramfs_fill_super(struct super_block *sb, void *data, int silent);
Dbfs_fs.h77 #define BFS_UNCLEAN(bfs_sb, sb) \ argument
78 …((le32_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & MS_RD…
Dquota.h240 extern void mark_info_dirty(struct super_block *sb, int type);
306 …int (*check_quota_file)(struct super_block *sb, int type); /* Detect whether file is in our format…
307 …int (*read_file_info)(struct super_block *sb, int type); /* Read main info about file - called on …
308 int (*write_file_info)(struct super_block *sb, int type); /* Write main info about file */
309 int (*free_file_info)(struct super_block *sb, int type); /* Called on quotaoff() */
Dshmem_fs.h46 extern int shmem_fill_super(struct super_block *sb, void *data, int silent);
Dsecurity.h1402 int (*quotactl) (int cmds, int type, int id, struct super_block *sb);
1414 int (*sb_alloc_security) (struct super_block *sb);
1415 void (*sb_free_security) (struct super_block *sb);
1417 int (*sb_remount) (struct super_block *sb, void *data);
1418 int (*sb_kern_mount) (struct super_block *sb, int flags, void *data);
1419 int (*sb_show_options) (struct seq_file *m, struct super_block *sb);
1426 int (*sb_set_mnt_opts) (struct super_block *sb,
1691 int security_quotactl(int cmds, int type, int id, struct super_block *sb);
1701 int security_sb_alloc(struct super_block *sb);
1702 void security_sb_free(struct super_block *sb);
[all …]
Dfs.h1515 extern void prune_icache_sb(struct super_block *sb, int nr_to_scan);
1516 extern void prune_dcache_sb(struct super_block *sb, int nr_to_scan);
1518 extern struct timespec current_fs_time(struct super_block *sb);
1529 #define vfs_check_frozen(sb, level) \ argument
1530 wait_event((sb)->s_wait_unfrozen, ((sb)->s_frozen < (level)))
1688 struct inode *(*alloc_inode)(struct super_block *sb);
1697 int (*sync_fs)(struct super_block *sb, int wait);
1883 void generic_shutdown_super(struct super_block *sb);
1884 void kill_block_super(struct super_block *sb);
1885 void kill_anon_super(struct super_block *sb);
[all …]
Dblkdev.h958 static inline int sb_issue_discard(struct super_block *sb, sector_t block, in sb_issue_discard() argument
961 return blkdev_issue_discard(sb->s_bdev, block << (sb->s_blocksize_bits - 9), in sb_issue_discard()
962 nr_blocks << (sb->s_blocksize_bits - 9), in sb_issue_discard()
965 static inline int sb_issue_zeroout(struct super_block *sb, sector_t block, in sb_issue_zeroout() argument
968 return blkdev_issue_zeroout(sb->s_bdev, in sb_issue_zeroout()
969 block << (sb->s_blocksize_bits - 9), in sb_issue_zeroout()
970 nr_blocks << (sb->s_blocksize_bits - 9), in sb_issue_zeroout()
Dacct.h126 extern void acct_auto_close(struct super_block *sb);
Dhugetlb.h148 static inline struct hugetlbfs_sb_info *HUGETLBFS_SB(struct super_block *sb) in HUGETLBFS_SB() argument
150 return sb->s_fs_info; in HUGETLBFS_SB()
/include/linux/mtd/
Dsuper.h24 extern void kill_mtd_super(struct super_block *sb);
/include/trace/events/
Dext3.h319 TP_PROTO(struct super_block *sb, unsigned long blk,
322 TP_ARGS(sb, blk, count),
332 __entry->dev = sb->s_dev;
476 TP_PROTO(struct super_block *sb, int wait),
478 TP_ARGS(sb, wait),
487 __entry->dev = sb->s_dev;
497 TP_PROTO(struct super_block *sb,
500 TP_ARGS(sb, rsv_node),
509 __entry->dev = sb->s_dev;
546 TP_PROTO(struct super_block *sb, unsigned long goal),
[all …]
Dext4.h480 TP_PROTO(struct super_block *sb, unsigned long long blk,
483 TP_ARGS(sb, blk, count),
493 __entry->dev = sb->s_dev;
576 TP_PROTO(struct super_block *sb, struct ext4_prealloc_space *pa),
578 TP_ARGS(sb, pa),
588 __entry->dev = sb->s_dev;
620 TP_PROTO(struct super_block *sb, int needed),
622 TP_ARGS(sb, needed),
631 __entry->dev = sb->s_dev;
804 TP_PROTO(struct super_block *sb, int wait),
[all …]
Dwriteback.h54 __entry->sb_dev = work->sb ? work->sb->s_dev : 0;
/include/linux/raid/
Dmd_p.h194 static inline __u64 md_event(mdp_super_t *sb) { in md_event() argument
195 __u64 ev = sb->events_hi; in md_event()
196 return (ev<<32)| sb->events_lo; in md_event()
/include/linux/sunrpc/
Drpc_pipe_fs.h65 extern struct dentry *rpc_d_lookup_sb(const struct super_block *sb,
/include/net/9p/
Dclient.h213 int p9_client_statfs(struct p9_fid *fid, struct p9_rstatfs *sb);
/include/linux/ssb/
Dssb_driver_chipcommon.h471 #define SSB_CHIPCO_CLK_SB2MIPS_T6(sb) (2 * (sb)) argument
/include/linux/lockd/
Dlockd.h289 int nlmsvc_unlock_all_by_sb(struct super_block *sb);