| /linux/fs/hpfs/ |
| H A 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 …]
|
| H A D | alloc.c | 12 static void hpfs_claim_alloc(struct super_block *s, secno sec) in hpfs_claim_alloc() 25 static void hpfs_claim_free(struct super_block *s, secno sec) in hpfs_claim_free() 38 static void hpfs_claim_dirband_alloc(struct super_block *s, secno sec) in hpfs_claim_dirband_alloc() 51 static void hpfs_claim_dirband_free(struct super_block *s, secno sec) in hpfs_claim_dirband_free() 69 static int chk_if_allocated(struct super_block *s, secno sec, char *msg) in chk_if_allocated() 100 int hpfs_chk_sectors(struct super_block *s, secno start, int len, char *msg) in hpfs_chk_sectors() 115 static secno alloc_in_bmp(struct super_block *s, secno near, unsigned n, unsigned forward) in alloc_in_bmp() 203 secno hpfs_alloc_sector(struct super_block *s, secno near, unsigned n, int forward) in hpfs_alloc_sector() 277 static secno alloc_in_dirband(struct super_block *s, secno near) in alloc_in_dirband() 296 int hpfs_alloc_if_possible(struct super_block *s, secno sec) in hpfs_alloc_if_possible() [all …]
|
| /linux/fs/coda/ |
| H A 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 …]
|
| H A D | coda_fs_i.h | 52 struct inode *coda_cnode_make(struct CodaFid *, struct super_block *); 53 struct inode *coda_iget(struct super_block *sb, struct CodaFid *fid, struct coda_vattr *attr); 54 struct inode *coda_cnode_makectl(struct super_block *sb); 55 struct inode *coda_fid_to_inode(struct CodaFid *fid, struct super_block *sb);
|
| /linux/fs/udf/ |
| H A 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() 188 extern struct buffer_head *udf_read_tagged(struct super_block *, uint32_t, [all …]
|
| /linux/fs/squashfs/ |
| H A D | squashfs.h | 24 extern int squashfs_read_data(struct super_block *, u64, int, u64 *, 30 extern struct squashfs_cache_entry *squashfs_cache_get(struct super_block *, 34 extern int squashfs_read_metadata(struct super_block *, void *, u64 *, 36 extern struct squashfs_cache_entry *squashfs_get_fragment(struct super_block *, 38 extern struct squashfs_cache_entry *squashfs_get_datablock(struct super_block *, 40 extern void *squashfs_read_table(struct super_block *, u64, int); 44 extern void *squashfs_decompressor_setup(struct super_block *, unsigned short); 67 extern __le64 *squashfs_read_inode_lookup_table(struct super_block *, u64, u64, 71 extern int squashfs_frag_lookup(struct super_block *, unsigned int, u64 *); 72 extern __le64 *squashfs_read_fragment_index_table(struct super_block *, [all …]
|
| H A D | xattr.h | 12 extern __le64 *squashfs_read_xattr_id_table(struct super_block *, u64, 14 extern int squashfs_xattr_lookup(struct super_block *, unsigned int, int *, 17 static inline __le64 *squashfs_read_xattr_id_table(struct super_block *sb, in squashfs_read_xattr_id_table() 33 static inline int squashfs_xattr_lookup(struct super_block *sb, in squashfs_xattr_lookup()
|
| /linux/fs/ |
| H A D | super.c | 45 static int thaw_super_locked(struct super_block *sb, enum freeze_holder who, 57 static inline void __super_lock(struct super_block *sb, bool excl) in __super_lock() 65 static inline void super_unlock(struct super_block *sb, bool excl) in super_unlock() 73 static inline void __super_lock_excl(struct super_block *sb) in __super_lock_excl() 78 static inline void super_unlock_excl(struct super_block *sb) in super_unlock_excl() 83 static inline void super_unlock_shared(struct super_block *sb) in super_unlock_shared() 88 static bool super_flags(const struct super_block *sb, unsigned int flags) in super_flags() 113 static __must_check bool super_lock(struct super_block *sb, bool excl) in super_lock() 141 static inline bool super_lock_shared(struct super_block *sb) in super_lock_shared() 147 static inline bool super_lock_excl(struct super_block *sb) in super_lock_excl() [all …]
|
| /linux/include/linux/ |
| H A 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 …]
|
| /linux/fs/omfs/ |
| H A 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/fs/befs/ |
| H A 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 …]
|
| H A D | endian.h | 16 fs64_to_cpu(const struct super_block *sb, fs64 n) in fs64_to_cpu() 25 cpu_to_fs64(const struct super_block *sb, u64 n) in cpu_to_fs64() 34 fs32_to_cpu(const struct super_block *sb, fs32 n) in fs32_to_cpu() 43 cpu_to_fs32(const struct super_block *sb, u32 n) in cpu_to_fs32() 52 fs16_to_cpu(const struct super_block *sb, fs16 n) in fs16_to_cpu() 61 cpu_to_fs16(const struct super_block *sb, u16 n) in cpu_to_fs16() 72 fsrun_to_cpu(const struct super_block *sb, befs_disk_block_run n) in fsrun_to_cpu() 89 cpu_to_fsrun(const struct super_block *sb, befs_block_run n) in cpu_to_fsrun() 106 fsds_to_cpu(const struct super_block *sb, const befs_disk_data_stream *n) in fsds_to_cpu()
|
| H A D | datastream.h | 7 struct buffer_head *befs_read_datastream(struct super_block *sb, 11 int befs_fblock2brun(struct super_block *sb, const befs_data_stream *data, 14 size_t befs_read_lsymlink(struct super_block *sb, const befs_data_stream *data, 17 befs_blocknr_t befs_count_blocks(struct super_block *sb,
|
| /linux/fs/jfs/ |
| H A 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/fs/ext4/ |
| H A D | ext4.h | 1521 struct super_block *sb; 1538 static inline int ext4_inodes_per_orphan_block(struct super_block *sb) in ext4_inodes_per_orphan_block() 1641 struct super_block *s_sb; 1876 static inline struct ext4_sb_info *EXT4_SB(struct super_block *sb) in EXT4_SB() 1885 static inline int ext4_writepages_down_read(struct super_block *sb) in ext4_writepages_down_read() 1891 static inline void ext4_writepages_up_read(struct super_block *sb, int ctx) in ext4_writepages_up_read() 1897 static inline int ext4_writepages_down_write(struct super_block *sb) in ext4_writepages_down_write() 1903 static inline void ext4_writepages_up_write(struct super_block *sb, int ctx) in ext4_writepages_up_write() 1909 static inline int ext4_fc_lock(struct super_block *sb) in ext4_fc_lock() 1915 static inline void ext4_fc_unlock(struct super_block *sb, int ctx) in ext4_fc_unlock() [all …]
|
| H A D | mballoc.h | 175 struct super_block *ac_sb; 230 struct super_block *bd_sb; 235 static inline ext4_fsblk_t ext4_grp_offs_to_block(struct super_block *sb, in ext4_grp_offs_to_block() 257 struct super_block *sb, 265 struct super_block *sb, 274 struct super_block *sb, bool state, 292 extern void ext4_mb_generate_buddy_test(struct super_block *sb, 295 extern int ext4_mb_load_buddy_test(struct super_block *sb,
|
| H A D | balloc.c | 27 static unsigned ext4_num_base_meta_clusters(struct super_block *sb, 36 ext4_group_t ext4_get_group_number(struct super_block *sb, in ext4_get_group_number() 54 void ext4_get_group_no_and_offset(struct super_block *sb, ext4_fsblk_t blocknr, in ext4_get_group_no_and_offset() 74 static inline int ext4_block_in_group(struct super_block *sb, in ext4_block_in_group() 88 static unsigned ext4_num_overhead_clusters(struct super_block *sb, in ext4_num_overhead_clusters() 162 static unsigned int num_clusters_in_group(struct super_block *sb, in num_clusters_in_group() 182 static int ext4_init_block_bitmap(struct super_block *sb, in ext4_init_block_bitmap() 239 unsigned ext4_free_clusters_after_init(struct super_block *sb, in ext4_free_clusters_after_init() 265 struct ext4_group_desc * ext4_get_group_desc(struct super_block *sb, in ext4_get_group_desc() 310 static ext4_fsblk_t ext4_valid_block_bitmap_padding(struct super_block *sb, in ext4_valid_block_bitmap_padding() [all …]
|
| /linux/fs/ufs/ |
| H A 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()
|
| H A D | ufs.h | 29 struct super_block *sb; 92 extern struct ufs_cg_private_info * ufs_load_cylinder (struct super_block *, unsigned); 93 extern void ufs_put_cylinder (struct super_block *, unsigned); 119 extern struct inode *ufs_iget(struct super_block *, unsigned long); 131 void ufs_warning(struct super_block *, const char *, const char *, ...); 133 void ufs_error(struct super_block *, const char *, const char *, ...); 135 void ufs_panic(struct super_block *, const char *, const char *, ...); 136 void ufs_mark_sb_dirty(struct super_block *sb); 138 static inline struct ufs_sb_info *UFS_SB(struct super_block *sb) in UFS_SB()
|
| H A D | util.h | 32 ufs_get_fs_state(struct super_block *sb, struct ufs_super_block_first *usb1, in ufs_get_fs_state() 51 ufs_set_fs_state(struct super_block *sb, struct ufs_super_block_first *usb1, in ufs_set_fs_state() 74 ufs_get_fs_npsect(struct super_block *sb, struct ufs_super_block_first *usb1, in ufs_get_fs_npsect() 84 ufs_get_fs_qbmask(struct super_block *sb, struct ufs_super_block_third *usb3) in ufs_get_fs_qbmask() 108 ufs_get_fs_qfmask(struct super_block *sb, struct ufs_super_block_third *usb3) in ufs_get_fs_qfmask() 132 ufs_get_de_namlen(struct super_block *sb, struct ufs_dir_entry *de) in ufs_get_de_namlen() 141 ufs_set_de_namlen(struct super_block *sb, struct ufs_dir_entry *de, u16 value) in ufs_set_de_namlen() 150 ufs_set_de_type(struct super_block *sb, struct ufs_dir_entry *de, int mode) in ufs_set_de_type() 186 ufs_get_inode_uid(struct super_block *sb, struct ufs_inode *inode) in ufs_get_inode_uid() 201 ufs_set_inode_uid(struct super_block *sb, struct ufs_inode *inode, u32 value) in ufs_set_inode_uid() [all …]
|
| /linux/fs/nilfs2/ |
| H A 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 int nilfs_clean_segments(struct super_block *, struct nilfs_argv *, 232 int nilfs_attach_log_writer(struct super_block *sb, struct nilfs_root *root); 233 void nilfs_detach_log_writer(struct super_block *sb); 240 int nilfs_salvage_orphan_logs(struct the_nilfs *nilfs, struct super_block *sb,
|
| /linux/fs/minix/ |
| H A D | minix.h | 49 struct inode *minix_iget(struct super_block *, unsigned long); 50 struct minix_inode *minix_V1_raw_inode(struct super_block *, ino_t, struct buffer_head **); 51 struct minix2_inode *minix_V2_raw_inode(struct super_block *, ino_t, struct buffer_head **); 54 unsigned long minix_count_free_inodes(struct super_block *sb); 57 unsigned long minix_count_free_blocks(struct super_block *sb); 69 extern unsigned V1_minix_blocks(loff_t, struct super_block *); 70 extern unsigned V2_minix_blocks(loff_t, struct super_block *); 87 static inline struct minix_sb_info *minix_sb(struct super_block *sb) in minix_sb()
|
| /linux/fs/romfs/ |
| H A D | internal.h | 16 static inline size_t romfs_maxsize(struct super_block *sb) in romfs_maxsize() 38 extern int romfs_dev_read(struct super_block *sb, unsigned long pos, 40 extern ssize_t romfs_dev_strnlen(struct super_block *sb, 42 extern int romfs_dev_strcmp(struct super_block *sb, unsigned long pos,
|
| H A D | storage.c | 23 static int romfs_mtd_read(struct super_block *sb, unsigned long pos, in romfs_mtd_read() 36 static ssize_t romfs_mtd_strnlen(struct super_block *sb, in romfs_mtd_strnlen() 66 static int romfs_mtd_strcmp(struct super_block *sb, unsigned long pos, in romfs_mtd_strcmp() 103 static int romfs_blk_read(struct super_block *sb, unsigned long pos, in romfs_blk_read() 130 static ssize_t romfs_blk_strnlen(struct super_block *sb, in romfs_blk_strnlen() 163 static int romfs_blk_strcmp(struct super_block *sb, unsigned long pos, in romfs_blk_strcmp() 214 int romfs_dev_read(struct super_block *sb, unsigned long pos, in romfs_dev_read() 237 ssize_t romfs_dev_strnlen(struct super_block *sb, in romfs_dev_strnlen() 265 int romfs_dev_strcmp(struct super_block *sb, unsigned long pos, in romfs_dev_strcmp()
|
| /linux/fs/crypto/ |
| H A D | fscrypt_private.h | 331 int fscrypt_initialize(struct super_block *sb); 363 fscrypt_max_file_dun_bits(const struct super_block *sb, int du_bits) in fscrypt_max_file_dun_bits() 413 void fscrypt_destroy_inline_crypt_key(struct super_block *sb, 416 int fscrypt_derive_sw_secret(struct super_block *sb, 452 fscrypt_destroy_inline_crypt_key(struct super_block *sb, in fscrypt_destroy_inline_crypt_key() 458 fscrypt_derive_sw_secret(struct super_block *sb, in fscrypt_derive_sw_secret() 682 void fscrypt_put_master_key_activeref(struct super_block *sb, 686 fscrypt_find_master_key(struct super_block *sb, 692 int fscrypt_add_test_dummy_key(struct super_block *sb, 695 int fscrypt_verify_key_added(struct super_block *sb, [all …]
|