Home
last modified time | relevance | path

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

12

/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,
48 struct dquot *dqget(struct super_block *sb, struct kqid qid);
58 int dquot_scan_active(struct super_block *sb,
61 struct dquot *dquot_alloc(struct super_block *sb, int type);
73 int dquot_disable(struct super_block *sb, int type, unsigned int flags);
75 static inline int dquot_suspend(struct super_block *sb, int type) in dquot_suspend() argument
[all …]
Dcoda_psdev.h23 static inline struct venus_comm *coda_vcp(struct super_block *sb) in coda_vcp() argument
25 return (struct venus_comm *)((sb)->s_fs_info); in coda_vcp()
29 int venus_rootfid(struct super_block *sb, struct CodaFid *fidp);
30 int venus_getattr(struct super_block *sb, struct CodaFid *fid,
33 int venus_lookup(struct super_block *sb, struct CodaFid *fid,
36 int venus_close(struct super_block *sb, struct CodaFid *fid, int flags,
38 int venus_open(struct super_block *sb, struct CodaFid *fid, int flags,
40 int venus_mkdir(struct super_block *sb, struct CodaFid *dirfid,
43 int venus_create(struct super_block *sb, struct CodaFid *dirfid,
46 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.h186 struct dentry * (*fh_to_dentry)(struct super_block *sb, struct fid *fid,
188 struct dentry * (*fh_to_parent)(struct super_block *sb, struct fid *fid,
207 extern struct dentry *generic_fh_to_dentry(struct super_block *sb,
209 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
210 extern struct dentry *generic_fh_to_parent(struct super_block *sb,
212 struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen));
Dbuffer_head.h295 sb_bread(struct super_block *sb, sector_t block) in sb_bread() argument
297 return __bread_gfp(sb->s_bdev, block, sb->s_blocksize, __GFP_MOVABLE); in sb_bread()
301 sb_bread_unmovable(struct super_block *sb, sector_t block) in sb_bread_unmovable() argument
303 return __bread_gfp(sb->s_bdev, block, sb->s_blocksize, 0); in sb_bread_unmovable()
307 sb_breadahead(struct super_block *sb, sector_t block) in sb_breadahead() argument
309 __breadahead(sb->s_bdev, block, sb->s_blocksize); in sb_breadahead()
313 sb_getblk(struct super_block *sb, sector_t block) in sb_getblk() argument
315 return __getblk_gfp(sb->s_bdev, block, sb->s_blocksize, __GFP_MOVABLE); in sb_getblk()
319 sb_find_get_block(struct super_block *sb, sector_t block) in sb_find_get_block() argument
321 return __find_get_block(sb->s_bdev, block, sb->s_blocksize); in sb_find_get_block()
[all …]
Dramfs.h4 struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir,
23 int ramfs_fill_super(struct super_block *sb, void *data, int silent);
Dkernfs.h272 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb);
303 const void *kernfs_super_ns(struct super_block *sb);
307 void kernfs_kill_sb(struct super_block *sb);
346 static inline struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb() argument
395 static inline const void *kernfs_super_ns(struct super_block *sb) in kernfs_super_ns() argument
404 static inline void kernfs_kill_sb(struct super_block *sb) { } in kernfs_kill_sb() argument
Dfs.h1300 extern struct timespec current_fs_time(struct super_block *sb);
1306 void __sb_end_write(struct super_block *sb, int level);
1307 int __sb_start_write(struct super_block *sb, int level, bool wait);
1316 static inline void sb_end_write(struct super_block *sb) in sb_end_write() argument
1318 __sb_end_write(sb, SB_FREEZE_WRITE); in sb_end_write()
1328 static inline void sb_end_pagefault(struct super_block *sb) in sb_end_pagefault() argument
1330 __sb_end_write(sb, SB_FREEZE_PAGEFAULT); in sb_end_pagefault()
1340 static inline void sb_end_intwrite(struct super_block *sb) in sb_end_intwrite() argument
1342 __sb_end_write(sb, SB_FREEZE_FS); in sb_end_intwrite()
1364 static inline void sb_start_write(struct super_block *sb) in sb_start_write() argument
[all …]
Dquota.h229 extern void mark_info_dirty(struct super_block *sb, int type);
294 …int (*check_quota_file)(struct super_block *sb, int type); /* Detect whether file is in our format…
295 …int (*read_file_info)(struct super_block *sb, int type); /* Read main info about file - called on …
296 int (*write_file_info)(struct super_block *sb, int type); /* Write main info about file */
297 int (*free_file_info)(struct super_block *sb, int type); /* Called on quotaoff() */
Dsecurity.h1461 int (*quotactl) (int cmds, int type, int id, struct super_block *sb);
1473 int (*sb_alloc_security) (struct super_block *sb);
1474 void (*sb_free_security) (struct super_block *sb);
1476 int (*sb_remount) (struct super_block *sb, void *data);
1477 int (*sb_kern_mount) (struct super_block *sb, int flags, void *data);
1478 int (*sb_show_options) (struct seq_file *m, struct super_block *sb);
1485 int (*sb_set_mnt_opts) (struct super_block *sb,
1765 int security_quotactl(int cmds, int type, int id, struct super_block *sb);
1775 int security_sb_alloc(struct super_block *sb);
1776 void security_sb_free(struct super_block *sb);
[all …]
Dshmem_fs.h49 extern int shmem_fill_super(struct super_block *sb, void *data, int silent);
Dblkdev.h1170 static inline int sb_issue_discard(struct super_block *sb, sector_t block, in sb_issue_discard() argument
1173 return blkdev_issue_discard(sb->s_bdev, block << (sb->s_blocksize_bits - 9), in sb_issue_discard()
1174 nr_blocks << (sb->s_blocksize_bits - 9), in sb_issue_discard()
1177 static inline int sb_issue_zeroout(struct super_block *sb, sector_t block, in sb_issue_zeroout() argument
1180 return blkdev_issue_zeroout(sb->s_bdev, in sb_issue_zeroout()
1181 block << (sb->s_blocksize_bits - 9), in sb_issue_zeroout()
1182 nr_blocks << (sb->s_blocksize_bits - 9), in sb_issue_zeroout()
Dhugetlb.h203 static inline struct hugetlbfs_sb_info *HUGETLBFS_SB(struct super_block *sb) in HUGETLBFS_SB() argument
205 return sb->s_fs_info; in HUGETLBFS_SB()
/include/uapi/linux/
Dbcache.h207 static inline _Bool SB_IS_BDEV(const struct cache_sb *sb) in SB_IS_BDEV() argument
209 return sb->version == BCACHE_SB_VERSION_BDEV in SB_IS_BDEV()
210 || sb->version == BCACHE_SB_VERSION_BDEV_WITH_OFFSET; in SB_IS_BDEV()
242 static inline __u64 jset_magic(struct cache_sb *sb) in jset_magic() argument
244 return sb->set_magic ^ JSET_MAGIC; in jset_magic()
247 static inline __u64 pset_magic(struct cache_sb *sb) in pset_magic() argument
249 return sb->set_magic ^ PSET_MAGIC; in pset_magic()
252 static inline __u64 bset_magic(struct cache_sb *sb) in bset_magic() argument
254 return sb->set_magic ^ BSET_MAGIC; in bset_magic()
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…
/include/linux/mtd/
Dsuper.h24 extern void kill_mtd_super(struct super_block *sb);
/include/trace/events/
Df2fs.h210 TP_PROTO(struct super_block *sb, int wait),
212 TP_ARGS(sb, wait),
221 __entry->dev = sb->s_dev;
222 __entry->dirty = is_sbi_flag_set(F2FS_SB(sb), SBI_IS_DIRTY);
513 TP_PROTO(struct super_block *sb, unsigned int wait_ms,
516 TP_ARGS(sb, wait_ms, prefree, free),
526 __entry->dev = sb->s_dev;
541 TP_PROTO(struct super_block *sb, bool sync, bool background,
547 TP_ARGS(sb, sync, background, dirty_nodes, dirty_dents, dirty_imeta,
564 __entry->dev = sb->s_dev;
[all …]
Dext4.h559 TP_PROTO(struct super_block *sb, unsigned long long blk,
562 TP_ARGS(sb, blk, count),
572 __entry->dev = sb->s_dev;
655 TP_PROTO(struct super_block *sb, struct ext4_prealloc_space *pa),
657 TP_ARGS(sb, pa),
667 __entry->dev = sb->s_dev;
699 TP_PROTO(struct super_block *sb, int needed),
701 TP_ARGS(sb, needed),
710 __entry->dev = sb->s_dev;
883 TP_PROTO(struct super_block *sb, int wait),
[all …]
Dext3.h321 TP_PROTO(struct super_block *sb, unsigned long blk,
324 TP_ARGS(sb, blk, count),
334 __entry->dev = sb->s_dev;
478 TP_PROTO(struct super_block *sb, int wait),
480 TP_ARGS(sb, wait),
489 __entry->dev = sb->s_dev;
499 TP_PROTO(struct super_block *sb,
502 TP_ARGS(sb, rsv_node),
511 __entry->dev = sb->s_dev;
548 TP_PROTO(struct super_block *sb, unsigned long goal),
[all …]
Dbcache.h166 memcpy(__entry->uuid, c->sb.set_uuid, 16);
202 memcpy(__entry->uuid, c->sb.set_uuid, 16);
/include/uapi/linux/raid/
Dmd_p.h197 static inline __u64 md_event(mdp_super_t *sb) { in md_event() argument
198 __u64 ev = sb->events_hi; in md_event()
199 return (ev<<32)| sb->events_lo; in md_event()
/include/linux/sunrpc/
Drpc_pipe_fs.h85 extern struct dentry *rpc_d_lookup_sb(const struct super_block *sb,
/include/net/9p/
Dclient.h214 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);

12