/linux-6.12.1/fs/hpfs/ |
D | hpfs_fn.h | 200 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-6.12.1/include/linux/ |
D | quotaops.h | 17 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 …]
|
D | quota.h | 235 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 …]
|
D | fs.h | 645 struct super_block *i_sb; 1253 struct super_block { struct 1568 static inline bool fsuidgid_has_mapping(struct super_block *sb, in fsuidgid_has_mapping() 1709 static inline void __sb_end_write(struct super_block *sb, int level) in __sb_end_write() 1714 static inline void __sb_start_write(struct super_block *sb, int level) in __sb_start_write() 1719 static inline bool __sb_start_write_trylock(struct super_block *sb, int level) in __sb_start_write_trylock() 1738 static inline int __sb_write_started(const struct super_block *sb, int level) in __sb_write_started() 1749 static inline bool sb_write_started(const struct super_block *sb) in sb_write_started() 1760 static inline bool sb_write_not_started(const struct super_block *sb) in sb_write_not_started() 1802 static inline void sb_end_write(struct super_block *sb) in sb_end_write() [all …]
|
/linux-6.12.1/fs/coda/ |
D | coda_psdev.h | 38 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-6.12.1/fs/ |
D | super.c | 42 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) in __super_lock() 61 static inline void super_unlock(struct super_block *sb, bool excl) in super_unlock() 69 static inline void __super_lock_excl(struct super_block *sb) in __super_lock_excl() 74 static inline void super_unlock_excl(struct super_block *sb) in super_unlock_excl() 79 static inline void super_unlock_shared(struct super_block *sb) in super_unlock_shared() 84 static bool super_flags(const struct super_block *sb, unsigned int flags) in super_flags() 109 static __must_check bool super_lock(struct super_block *sb, bool excl) in super_lock() 137 static inline bool super_lock_shared(struct super_block *sb) in super_lock_shared() 143 static inline bool super_lock_excl(struct super_block *sb) in super_lock_excl() [all …]
|
/linux-6.12.1/fs/udf/ |
D | udfdecl.h | 21 extern __printf(3, 4) void _udf_err(struct super_block *sb, 26 extern __printf(3, 4) void _udf_warn(struct super_block *sb, 74 struct super_block; 116 static inline void udf_updated_lvid(struct super_block *sb) in udf_updated_lvid() 126 extern u64 lvid_get_unique_id(struct super_block *sb); 127 struct inode *udf_find_metadata_inode_efe(struct super_block *sb, 142 extern struct inode *__udf_iget(struct super_block *, struct kernel_lb_addr *, 144 static inline struct inode *udf_iget_special(struct super_block *sb, in udf_iget_special() 149 static inline struct inode *udf_iget(struct super_block *sb, in udf_iget() 186 extern struct buffer_head *udf_read_tagged(struct super_block *, uint32_t, [all …]
|
/linux-6.12.1/fs/squashfs/ |
D | squashfs.h | 18 extern int squashfs_read_data(struct super_block *, u64, int, u64 *, 24 extern struct squashfs_cache_entry *squashfs_cache_get(struct super_block *, 28 extern int squashfs_read_metadata(struct super_block *, void *, u64 *, 30 extern struct squashfs_cache_entry *squashfs_get_fragment(struct super_block *, 32 extern struct squashfs_cache_entry *squashfs_get_datablock(struct super_block *, 34 extern void *squashfs_read_table(struct super_block *, u64, int); 38 extern void *squashfs_decompressor_setup(struct super_block *, unsigned short); 61 extern __le64 *squashfs_read_inode_lookup_table(struct super_block *, u64, u64, 65 extern int squashfs_frag_lookup(struct super_block *, unsigned int, u64 *); 66 extern __le64 *squashfs_read_fragment_index_table(struct super_block *, [all …]
|
/linux-6.12.1/fs/omfs/ |
D | omfs.h | 35 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-6.12.1/fs/hfs/ |
D | hfs_fs.h | 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 *); 223 extern void hfs_mdb_close(struct super_block *); [all …]
|
/linux-6.12.1/fs/befs/ |
D | befs.h | 94 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 …]
|
/linux-6.12.1/fs/erofs/ |
D | internal.h | 27 __printf(3, 4) void _erofs_err(struct super_block *sb, 31 __printf(3, 4) void _erofs_info(struct super_block *sb, 199 static inline bool erofs_is_fscache_mode(struct super_block *sb) in erofs_is_fscache_mode() 403 void *erofs_read_metadata(struct super_block *sb, struct erofs_buf *buf, 409 void erofs_init_metabuf(struct erofs_buf *buf, struct super_block *sb); 410 void *erofs_read_metabuf(struct erofs_buf *buf, struct super_block *sb, 412 int erofs_map_dev(struct super_block *sb, struct erofs_map_dev *dev); 419 struct inode *erofs_iget(struct super_block *sb, erofs_nid_t nid); 441 int erofs_register_sysfs(struct super_block *sb); 442 void erofs_unregister_sysfs(struct super_block *sb); [all …]
|
/linux-6.12.1/fs/nilfs2/ |
D | nilfs.h | 182 int nilfs_transaction_begin(struct super_block *, 184 int nilfs_transaction_commit(struct super_block *); 185 void nilfs_transaction_abort(struct super_block *); 288 struct inode *nilfs_ilookup(struct super_block *sb, struct nilfs_root *root, 290 struct inode *nilfs_iget_locked(struct super_block *sb, struct nilfs_root *root, 292 struct inode *nilfs_iget(struct super_block *sb, struct nilfs_root *root, 294 extern struct inode *nilfs_iget_for_gc(struct super_block *sb, 324 extern struct inode *nilfs_alloc_inode(struct super_block *); 327 void __nilfs_msg(struct super_block *sb, const char *fmt, ...); 329 void __nilfs_error(struct super_block *sb, const char *function, [all …]
|
D | segment.h | 120 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 void nilfs_flush_segment(struct super_block *, ino_t); 230 extern int nilfs_clean_segments(struct super_block *, struct nilfs_argv *, 233 int nilfs_attach_log_writer(struct super_block *sb, struct nilfs_root *root); 234 void nilfs_detach_log_writer(struct super_block *sb); 241 int nilfs_salvage_orphan_logs(struct the_nilfs *nilfs, struct super_block *sb,
|
/linux-6.12.1/fs/ext4/ |
D | ext4.h | 1454 struct super_block *sb; 1471 static inline int ext4_inodes_per_orphan_block(struct super_block *sb) in ext4_inodes_per_orphan_block() 1543 struct super_block *s_sb; 1761 static inline struct ext4_sb_info *EXT4_SB(struct super_block *sb) in EXT4_SB() 1770 static inline int ext4_writepages_down_read(struct super_block *sb) in ext4_writepages_down_read() 1776 static inline void ext4_writepages_up_read(struct super_block *sb, int ctx) in ext4_writepages_up_read() 1782 static inline int ext4_writepages_down_write(struct super_block *sb) in ext4_writepages_down_write() 1788 static inline void ext4_writepages_up_write(struct super_block *sb, int ctx) in ext4_writepages_up_write() 1794 static inline int ext4_valid_inum(struct super_block *sb, unsigned long ino) in ext4_valid_inum() 1826 static inline void ext4_set_mount_flag(struct super_block *sb, int bit) in ext4_set_mount_flag() [all …]
|
D | mballoc-test.c | 33 static struct inode *mbt_alloc_inode(struct super_block *sb) in mbt_alloc_inode() 60 static void mbt_kill_sb(struct super_block *sb) in mbt_kill_sb() 70 static int mbt_mb_init(struct super_block *sb) in mbt_mb_init() 120 static void mbt_mb_release(struct super_block *sb) in mbt_mb_release() 129 static int mbt_set(struct super_block *sb, void *data) in mbt_set() 134 static struct super_block *mbt_ext4_alloc_super_block(void) in mbt_ext4_alloc_super_block() 137 struct super_block *sb; in mbt_ext4_alloc_super_block() 170 static void mbt_ext4_free_super_block(struct super_block *sb) in mbt_ext4_free_super_block() 188 static void mbt_init_sb_layout(struct super_block *sb, in mbt_init_sb_layout() 213 static int mbt_grp_ctx_init(struct super_block *sb, in mbt_grp_ctx_init() [all …]
|
/linux-6.12.1/fs/jfs/ |
D | jfs_superblock.h | 96 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-6.12.1/fs/ufs/ |
D | swab.h | 27 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()
|
D | ufs.h | 28 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); 124 extern struct inode *ufs_iget(struct super_block *, unsigned long); 136 void ufs_warning(struct super_block *, const char *, const char *, ...); 138 void ufs_error(struct super_block *, const char *, const char *, ...); 140 void ufs_panic(struct super_block *, const char *, const char *, ...); 141 void ufs_mark_sb_dirty(struct super_block *sb); 143 static inline struct ufs_sb_info *UFS_SB(struct super_block *sb) in UFS_SB()
|
/linux-6.12.1/fs/adfs/ |
D | adfs.h | 82 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-6.12.1/fs/exfat/ |
D | exfat_fs.h | 195 struct super_block *sb; 330 static inline struct exfat_sb_info *EXFAT_SB(struct super_block *sb) in EXFAT_SB() 340 static inline int exfat_forced_shutdown(struct super_block *sb) in exfat_forced_shutdown() 430 int exfat_set_volume_dirty(struct super_block *sb); 431 int exfat_clear_volume_dirty(struct super_block *sb); 439 int exfat_ent_get(struct super_block *sb, unsigned int loc, 441 int exfat_ent_set(struct super_block *sb, unsigned int loc, 443 int exfat_chain_cont_cluster(struct super_block *sb, unsigned int chain, 446 int exfat_find_last_cluster(struct super_block *sb, struct exfat_chain *p_chain, 448 int exfat_count_num_clusters(struct super_block *sb, [all …]
|
/linux-6.12.1/fs/affs/ |
D | affs.h | 102 struct super_block *sb; /* the VFS superblock object */ 127 static inline struct affs_sb_info *AFFS_SB(struct super_block *sb) in AFFS_SB() 132 void affs_mark_sb_dirty(struct super_block *sb); 139 extern u32 affs_checksum_block(struct super_block *sb, struct buffer_head *bh); 140 extern void affs_fix_checksum(struct super_block *sb, struct buffer_head *bh); 145 extern void affs_error(struct super_block *sb, const char *function, 148 extern void affs_warning(struct super_block *sb, const char *function, 157 extern u32 affs_count_free_blocks(struct super_block *s); 158 extern void affs_free_block(struct super_block *sb, u32 block); 160 extern int affs_init_bitmap(struct super_block *sb, int *flags); [all …]
|
/linux-6.12.1/fs/freevxfs/ |
D | vxfs_extern.h | 17 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-6.12.1/fs/reiserfs/ |
D | lock.c | 22 void reiserfs_write_lock(struct super_block *s) in reiserfs_write_lock() 35 void reiserfs_write_unlock(struct super_block *s) in reiserfs_write_unlock() 52 int __must_check reiserfs_write_unlock_nested(struct super_block *s) in reiserfs_write_unlock_nested() 70 void reiserfs_write_lock_nested(struct super_block *s, int depth) in reiserfs_write_lock_nested() 87 void reiserfs_check_lock_depth(struct super_block *sb, char *caller) in reiserfs_check_lock_depth() 95 void reiserfs_lock_check_recursive(struct super_block *sb) in reiserfs_lock_check_recursive()
|
/linux-6.12.1/fs/notify/ |
D | fsnotify.h | 30 static inline struct super_block *fsnotify_conn_sb( in fsnotify_conn_sb() 36 static inline struct super_block *fsnotify_object_sb(void *obj, in fsnotify_object_sb() 45 return (struct super_block *)obj; in fsnotify_object_sb() 51 static inline struct super_block *fsnotify_connector_sb( in fsnotify_connector_sb() 57 static inline fsnotify_connp_t *fsnotify_sb_marks(struct super_block *sb) in fsnotify_sb_marks() 87 static inline void fsnotify_clear_marks_by_sb(struct super_block *sb) in fsnotify_clear_marks_by_sb()
|