Searched refs:sb (Results 126 - 150 of 924) sorted by relevance

1234567891011>>

/linux-master/fs/efivarfs/
H A Dsuper.c30 sfi->sb->s_flags |= SB_RDONLY;
33 sfi->sb->s_flags &= ~SB_RDONLY;
49 struct super_block *sb = root->d_sb; local
50 struct efivarfs_fs_info *sbi = sb->s_fs_info;
191 struct super_block *sb = (struct super_block *)data; local
194 struct dentry *dentry, *root = sb->s_root;
232 inode = efivarfs_get_inode(sb, d_inode(root), S_IFREG | 0644, 0,
312 static int efivarfs_fill_super(struct super_block *sb, struct fs_context *fc) argument
314 struct efivarfs_fs_info *sfi = sb->s_fs_info;
319 sb
391 efivarfs_kill_sb(struct super_block *sb) argument
[all...]
/linux-master/fs/sysv/
H A Dballoc.c28 sb->sv_sbd2->s_tfree = *sb->sv_free_blocks
31 static inline sysv_zone_t *get_chunk(struct super_block *sb, struct buffer_head *bh) argument
35 if (SYSV_SB(sb)->s_type == FSTYPE_SYSV4)
43 void sysv_free_block(struct super_block * sb, sysv_zone_t nr) argument
45 struct sysv_sb_info * sbi = SYSV_SB(sb);
78 bh = sb_getblk(sb, block);
84 memset(bh->b_data, 0, sb->s_blocksize);
86 memcpy(get_chunk(sb,bh), blocks, count * sizeof(sysv_zone_t));
96 dirty_sb(sb);
100 sysv_new_block(struct super_block * sb) argument
159 sysv_count_free_blocks(struct super_block * sb) argument
[all...]
H A Dsuper.c202 struct super_block *sb = sbi->s_sb; local
220 if (!sb_rdonly(sb)) {
223 sb->s_id);
245 "forcing read-only mode.\n", sb->s_id);
303 static int complete_read_super(struct super_block *sb, int silent, int size) argument
305 struct sysv_sb_info *sbi = SYSV_SB(sb);
314 flavour_setup[sbi->s_type](sbi, &sb->s_max_links);
332 found, sb->s_blocksize, sb->s_id);
334 sb
352 sysv_fill_super(struct super_block *sb, void *data, int silent) argument
438 v7_sanity_check(struct super_block *sb, struct buffer_head *bh) argument
474 v7_fill_super(struct super_block *sb, void *data, int silent) argument
[all...]
/linux-master/fs/omfs/
H A Dbitmap.c8 unsigned long omfs_count_free(struct super_block *sb) argument
12 struct omfs_sb_info *sbi = OMFS_SB(sb);
13 int nbits = sb->s_blocksize * 8;
48 static int set_run(struct super_block *sb, int map, argument
54 struct omfs_sb_info *sbi = OMFS_SB(sb);
57 bh = sb_bread(sb, clus_to_blk(sbi, sbi->s_bitmap_ino) + map);
68 bh = sb_bread(sb,
91 int omfs_allocate_block(struct super_block *sb, u64 block) argument
94 struct omfs_sb_info *sbi = OMFS_SB(sb);
95 int bits_per_entry = 8 * sb
130 omfs_allocate_range(struct super_block *sb, int min_request, int max_request, u64 *return_block, int *return_size) argument
175 omfs_clear_range(struct super_block *sb, u64 block, int count) argument
[all...]
/linux-master/fs/bfs/
H A Dbfs.h41 static inline struct bfs_sb_info *BFS_SB(struct super_block *sb) argument
43 return sb->s_fs_info;
56 extern struct inode *bfs_iget(struct super_block *sb, unsigned long ino);
/linux-master/fs/affs/
H A Ddir.c48 struct super_block *sb = inode->i_sb; local
71 affs_warning(sb, "readdir", "More than 65535 entries in chain");
76 dir_bh = affs_bread(sb, inode->i_ino);
91 fh_bh = affs_bread(sb, ino);
93 affs_error(sb, "readdir","Cannot read block %d", i);
97 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain);
105 for (; hash_pos < AFFS_SB(sb)->s_hashsize; hash_pos++) {
112 fh_bh = affs_bread(sb, ino);
114 affs_error(sb, "readdir",
119 namelen = min(AFFS_TAIL(sb, fh_b
[all...]
/linux-master/arch/mips/boot/compressed/
H A Dcalc_vmlinuz_load_addr.c17 struct stat sb; local
25 if (stat(argv[1], &sb) == -1) {
41 vmlinux_size = (uint64_t)sb.st_size;
/linux-master/fs/coda/
H A Dcoda_fs_i.h53 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);
H A Dinode.c45 static struct inode *coda_alloc_inode(struct super_block *sb) argument
48 ei = alloc_inode_sb(sb, coda_inode_cachep, GFP_KERNEL);
182 static int coda_fill_super(struct super_block *sb, struct fs_context *fc) argument
207 vc->vc_sb = sb;
210 sb->s_fs_info = vc;
211 sb->s_flags |= SB_NOATIME;
212 sb->s_blocksize = 4096; /* XXXXX what do we put here?? */
213 sb->s_blocksize_bits = 12;
214 sb->s_magic = CODA_SUPER_MAGIC;
215 sb
261 coda_put_super(struct super_block *sb) argument
[all...]
/linux-master/fs/ext4/
H A Dfsmap.h31 void ext4_fsmap_from_internal(struct super_block *sb, struct fsmap *dest,
33 void ext4_fsmap_to_internal(struct super_block *sb, struct ext4_fsmap *dest,
39 int ext4_getfsmap(struct super_block *sb, struct ext4_fsmap_head *head,
H A Dmballoc.c141 * that list. So, there are exactly MB_NUM_ORDERS(sb) (which means total
153 * so we only have MB_NUM_ORDERS(sb) lists.
419 static void ext4_mb_generate_from_pa(struct super_block *sb, void *bitmap,
426 static int ext4_try_to_trim_range(struct super_block *sb,
556 struct super_block *sb = e4b->bd_sb; local
560 assert_spin_locked(ext4_group_lock_ptr(sb, e4b->bd_group));
565 blocknr = ext4_group_first_block_no(sb, e4b->bd_group);
566 blocknr += EXT4_C2B(EXT4_SB(sb), first + i);
567 ext4_mark_group_bitmap_corrupted(sb, e4b->bd_group,
569 ext4_grp_locked_error(sb, e4
615 mb_group_bb_bitmap_alloc(struct super_block *sb, struct ext4_group_info *grp, ext4_group_t group) argument
656 mb_group_bb_bitmap_alloc(struct super_block *sb, struct ext4_group_info *grp, ext4_group_t group) argument
683 struct super_block *sb = e4b->bd_sb; local
785 ext4_mb_mark_free_simple(struct super_block *sb, void *buddy, ext4_grpblk_t first, ext4_grpblk_t len, struct ext4_group_info *grp) argument
821 mb_avg_fragment_size_order(struct super_block *sb, ext4_grpblk_t len) argument
839 mb_update_avg_fragment_size(struct super_block *sb, struct ext4_group_info *grp) argument
1146 mb_set_largest_free_order(struct super_block *sb, struct ext4_group_info *grp) argument
1180 ext4_mb_generate_buddy(struct super_block *sb, void *buddy, void *bitmap, ext4_group_t group, struct ext4_group_info *grp) argument
1283 struct super_block *sb; local
1444 ext4_mb_get_buddy_page_lock(struct super_block *sb, ext4_group_t group, struct ext4_buddy *e4b, gfp_t gfp) argument
1503 ext4_mb_init_group(struct super_block *sb, ext4_group_t group, gfp_t gfp) argument
1573 ext4_mb_load_buddy_gfp(struct super_block *sb, ext4_group_t group, struct ext4_buddy *e4b, gfp_t gfp) argument
1722 ext4_mb_load_buddy(struct super_block *sb, ext4_group_t group, struct ext4_buddy *e4b) argument
1898 struct super_block *sb = e4b->bd_sb; local
2389 struct super_block *sb = ac->ac_sb; local
2443 struct super_block *sb = ac->ac_sb; local
2526 struct super_block *sb = ac->ac_sb; local
2640 struct super_block *sb = ac->ac_sb; local
2714 ext4_mb_prefetch(struct super_block *sb, ext4_group_t group, unsigned int nr, int *cnt) argument
2763 ext4_mb_prefetch_fini(struct super_block *sb, ext4_group_t group, unsigned int nr) argument
2792 struct super_block *sb; local
2993 struct super_block *sb = pde_data(file_inode(seq->file)); local
3004 struct super_block *sb = pde_data(file_inode(seq->file)); local
3016 struct super_block *sb = pde_data(file_inode(seq->file)); local
3083 struct super_block *sb = seq->private; local
3191 struct super_block *sb = pde_data(file_inode(seq->file)); local
3202 struct super_block *sb = pde_data(file_inode(seq->file)); local
3214 struct super_block *sb = pde_data(file_inode(seq->file)); local
3278 ext4_mb_alloc_groupinfo(struct super_block *sb, ext4_group_t ngroups) argument
3311 ext4_mb_add_groupinfo(struct super_block *sb, ext4_group_t group, struct ext4_group_desc *desc) argument
3390 ext4_mb_init_backend(struct super_block *sb) argument
3531 struct super_block *sb = sbi->s_sb; local
3577 ext4_mb_init(struct super_block *sb) argument
3756 ext4_mb_release(struct super_block *sb) argument
3834 ext4_issue_discard(struct super_block *sb, ext4_group_t block_group, ext4_grpblk_t cluster, int count) argument
3848 ext4_free_data_in_buddy(struct super_block *sb, struct ext4_free_data *entry) argument
3900 ext4_process_freed_data(struct super_block *sb, tid_t commit_tid) argument
3969 ext4_mb_mark_context(handle_t *handle, struct super_block *sb, bool state, ext4_group_t group, ext4_grpblk_t blkoff, ext4_grpblk_t len, int flags, ext4_grpblk_t *ret_changed) argument
4082 struct super_block *sb; local
4148 ext4_mb_mark_bb(struct super_block *sb, ext4_fsblk_t block, int len, bool state) argument
4204 struct super_block *sb = ac->ac_sb; local
4977 ext4_mb_generate_from_pa(struct super_block *sb, void *bitmap, ext4_group_t group) argument
5015 ext4_mb_mark_pa_deleted(struct super_block *sb, struct ext4_prealloc_space *pa) argument
5055 ext4_mb_put_pa(struct ext4_allocation_context *ac, struct super_block *sb, struct ext4_prealloc_space *pa) argument
5149 struct super_block *sb = ac->ac_sb; local
5249 struct super_block *sb = ac->ac_sb; local
5316 struct super_block *sb = e4b->bd_sb; local
5368 struct super_block *sb = e4b->bd_sb; local
5395 ext4_mb_discard_group_preallocations(struct super_block *sb, ext4_group_t group, int *busy) argument
5506 struct super_block *sb = inode->i_sb; local
5641 ext4_mb_show_pa(struct super_block *sb) argument
5677 struct super_block *sb = ac->ac_sb; local
5710 ext4_mb_show_pa(struct super_block *sb) argument
5782 struct super_block *sb = ar->inode->i_sb; local
5831 ext4_mb_discard_lg_preallocations(struct super_block *sb, struct ext4_locality_group *lg, int order, int total_entries) argument
5917 struct super_block *sb = ac->ac_sb; local
6001 ext4_mb_discard_preallocations(struct super_block *sb, int needed) argument
6028 ext4_mb_discard_preallocations_should_retry(struct super_block *sb, struct ext4_allocation_context *ac, u64 *seq) argument
6061 struct super_block *sb = ar->inode->i_sb; local
6129 struct super_block *sb; local
6304 struct super_block *sb = e4b->bd_sb; local
6369 struct super_block *sb = inode->i_sb; local
6393 struct super_block *sb = inode->i_sb; local
6553 struct super_block *sb = inode->i_sb; local
6651 ext4_group_add_blocks(handle_t *handle, struct super_block *sb, ext4_fsblk_t block, unsigned long count) argument
6755 ext4_last_grp_cluster(struct super_block *sb, ext4_group_t grp) argument
6849 ext4_trim_all_free(struct super_block *sb, ext4_group_t group, ext4_grpblk_t start, ext4_grpblk_t max, ext4_grpblk_t minblocks) argument
6894 ext4_trim_fs(struct super_block *sb, struct fstrim_range *range) argument
6986 ext4_mballoc_query_range( struct super_block *sb, ext4_group_t group, ext4_grpblk_t start, ext4_grpblk_t end, ext4_mballoc_query_range_fn formatter, void *priv) argument
[all...]
H A Dblock_validity.c147 static int ext4_protect_reserved_inode(struct super_block *sb, argument
152 struct ext4_sb_info *sbi = EXT4_SB(sb);
160 inode = ext4_iget(sb, ino, EXT4_IGET_SPECIAL);
163 num = (inode->i_size + sb->s_blocksize - 1) >> sb->s_blocksize_bits;
206 * sb->s_umount semaphore. However we have to be careful as we can be
211 int ext4_setup_system_zone(struct super_block *sb) argument
213 ext4_group_t ngroups = ext4_get_groups_count(sb);
214 struct ext4_sb_info *sbi = EXT4_SB(sb);
225 unsigned int meta_blks = ext4_num_base_meta_blocks(sb,
283 ext4_release_system_zone(struct super_block *sb) argument
295 ext4_sb_block_valid(struct super_block *sb, struct inode *inode, ext4_fsblk_t start_blk, unsigned int count) argument
[all...]
/linux-master/fs/nfs/
H A Dgetroot.c39 static int nfs_superblock_set_dummy_root(struct super_block *sb, struct inode *inode) argument
42 if (sb->s_root == NULL) {
43 sb->s_root = d_make_root(inode);
44 if (sb->s_root == NULL)
55 spin_lock(&d_inode(sb->s_root)->i_lock);
56 spin_lock(&sb->s_root->d_lock);
57 hlist_del_init(&sb->s_root->d_u.d_alias);
58 spin_unlock(&sb->s_root->d_lock);
59 spin_unlock(&d_inode(sb->s_root)->i_lock);
129 if (ctx->clone_data.sb) {
[all...]
H A Dcache_lib.h29 extern int nfs_cache_register_sb(struct super_block *sb,
31 extern void nfs_cache_unregister_sb(struct super_block *sb,
/linux-master/drivers/md/bcache/
H A Dsuper.c64 static unsigned int get_bucket_size(struct cache_sb *sb, struct cache_sb_disk *s) argument
68 if (sb->version >= BCACHE_SB_VERSION_CDEV_WITH_FEATURES) {
69 if (bch_has_feature_large_bucket(sb)) {
82 } else if (bch_has_feature_obso_large_bucket(sb)) {
91 static const char *read_super_common(struct cache_sb *sb, struct block_device *bdev, argument
97 sb->first_bucket= le16_to_cpu(s->first_bucket);
98 sb->nbuckets = le64_to_cpu(s->nbuckets);
99 sb->bucket_size = get_bucket_size(sb, s);
101 sb
166 read_super(struct cache_sb *sb, struct block_device *bdev, struct cache_sb_disk **res) argument
289 __write_super(struct cache_sb *sb, struct cache_sb_disk *out, struct bio *bio) argument
1448 register_bdev(struct cache_sb *sb, struct cache_sb_disk *sb_disk, struct file *bdev_file, struct cached_dev *dc) argument
1857 bch_cache_set_alloc(struct cache_sb *sb) argument
2342 register_cache(struct cache_sb *sb, struct cache_sb_disk *sb_disk, struct file *bdev_file, struct cache *ca) argument
2448 struct cache_sb *sb; member in struct:async_reg_args
2506 alloc_holder_object(struct cache_sb *sb) argument
2518 struct cache_sb *sb; local
[all...]
/linux-master/fs/qnx6/
H A Dinode.c31 static void qnx6_put_super(struct super_block *sb);
32 static struct inode *qnx6_alloc_inode(struct super_block *sb);
34 static int qnx6_remount(struct super_block *sb, int *flags, char *data);
49 struct super_block *sb = root->d_sb; local
50 struct qnx6_sb_info *sbi = QNX6_SB(sb);
57 static int qnx6_remount(struct super_block *sb, int *flags, char *data) argument
59 sync_filesystem(sb);
64 static unsigned qnx6_get_devblock(struct super_block *sb, __fs32 block) argument
66 struct qnx6_sb_info *sbi = QNX6_SB(sb);
157 struct super_block *sb local
203 qnx6_superblock_debug(struct qnx6_super_block *sb, struct super_block *s) argument
230 qnx6_parse_options(char *options, struct super_block *sb) argument
261 struct qnx6_super_block *sb; local
481 qnx6_put_super(struct super_block *sb) argument
518 qnx6_iget(struct super_block *sb, unsigned ino) argument
592 qnx6_alloc_inode(struct super_block *sb) argument
[all...]
/linux-master/fs/fuse/
H A Dinode.c89 static struct inode *fuse_alloc_inode(struct super_block *sb) argument
93 fi = alloc_inode_sb(sb, fuse_inode_cachep, GFP_KERNEL);
111 if (IS_ENABLED(CONFIG_FUSE_DAX) && !fuse_dax_inode_alloc(sb, fi))
186 struct super_block *sb = fsc->root->d_sb; local
188 sync_filesystem(sb);
427 struct inode *fuse_iget(struct super_block *sb, u64 nodeid, argument
433 struct fuse_conn *fc = get_fuse_conn_super(sb);
446 inode = new_inode(sb);
465 inode = iget5_locked(sb, nodeid, fuse_inode_eq, fuse_inode_set, &nodeid);
479 if (inode != d_inode(sb
567 fuse_umount_begin(struct super_block *sb) argument
609 struct super_block *sb = dentry->d_sb; local
684 fuse_sync_fs(struct super_block *sb, int wait) argument
852 struct super_block *sb = root->d_sb; local
984 fuse_get_root_inode(struct super_block *sb, unsigned mode) argument
1000 fuse_get_dentry(struct super_block *sb, struct fuse_inode_handle *handle) argument
1079 fuse_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
1094 fuse_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
1423 fuse_bdi_init(struct fuse_conn *fc, struct super_block *sb) argument
1549 fuse_sb_defaults(struct super_block *sb) argument
1563 fuse_fill_super_submount(struct super_block *sb, struct fuse_inode *parent_fi) argument
1625 struct super_block *sb; local
1668 fuse_fill_super_common(struct super_block *sb, struct fuse_fs_context *ctx) argument
1770 fuse_fill_super(struct super_block *sb, struct fs_context *fsc) argument
1801 fuse_set_no_super(struct super_block *sb, struct fs_context *fsc) argument
1806 fuse_test_super(struct super_block *sb, struct fs_context *fsc) argument
1818 struct super_block *sb; local
1941 fuse_sb_destroy(struct super_block *sb) argument
1960 fuse_kill_sb_anon(struct super_block *sb) argument
1978 fuse_kill_sb_blk(struct super_block *sb) argument
[all...]
/linux-master/fs/adfs/
H A Dadfs.h82 static inline struct adfs_sb_info *ADFS_SB(struct super_block *sb) argument
84 return sb->s_fs_info;
91 struct super_block *sb; member in struct:adfs_dir
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, cons
206 __adfs_block_map(struct super_block *sb, u32 indaddr, unsigned int block) argument
[all...]
/linux-master/fs/udf/
H A Dudfdecl.h21 extern __printf(3, 4) void _udf_err(struct super_block *sb,
23 #define udf_err(sb, fmt, ...) \
24 _udf_err(sb, __func__, fmt, ##__VA_ARGS__)
26 extern __printf(3, 4) void _udf_warn(struct super_block *sb,
28 #define udf_warn(sb, fmt, ...) \
29 _udf_warn(sb, __func__, fmt, ##__VA_ARGS__)
116 static inline void udf_updated_lvid(struct super_block *sb) argument
118 struct buffer_head *bh = UDF_SB(sb)->s_lvid_bh;
124 UDF_SB(sb)->s_lvid_dirty = 1;
126 extern u64 lvid_get_unique_id(struct super_block *sb);
144 udf_iget_special(struct super_block *sb, struct kernel_lb_addr *ino) argument
149 udf_iget(struct super_block *sb, struct kernel_lb_addr *ino) argument
209 udf_get_lb_pblock(struct super_block *sb, struct kernel_lb_addr *loc, uint32_t offset) argument
[all...]
H A Dpartition.c25 uint32_t udf_get_pblock(struct super_block *sb, uint32_t block, argument
28 struct udf_sb_info *sbi = UDF_SB(sb);
37 return map->s_partition_func(sb, block, partition, offset);
42 uint32_t udf_get_pblock_virt15(struct super_block *sb, uint32_t block, argument
49 struct udf_sb_info *sbi = UDF_SB(sb);
69 index = (sb->s_blocksize - vdata->s_start_offset) / sizeof(uint32_t);
72 newblock = 1 + (block / (sb->s_blocksize / sizeof(uint32_t)));
73 index = block % (sb->s_blocksize / sizeof(uint32_t));
82 sb, block, partition);
96 return udf_get_pblock(sb, lo
101 udf_get_pblock_virt20(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument
107 udf_get_pblock_spar15(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument
147 udf_relocate_blocks(struct super_block *sb, long old_block, long *new_block) argument
278 struct super_block *sb = inode->i_sb; local
301 udf_get_pblock_meta25(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument
[all...]
/linux-master/fs/erofs/
H A Ddir.c53 struct super_block *sb = dir->i_sb; local
54 unsigned long bsz = sb->s_blocksize;
56 unsigned int i = erofs_blknr(sb, ctx->pos);
57 unsigned int ofs = erofs_blkoff(sb, ctx->pos);
68 erofs_err(sb, "fail to readdir of logical block %u of nid %llu",
76 erofs_err(sb, "invalid de[0].nameoff %u @ nid %llu",
89 ctx->pos = erofs_pos(sb, i) + ofs;
99 ctx->pos = erofs_pos(sb, i) + maxsize;
/linux-master/fs/squashfs/
H A Dxattr.c30 struct super_block *sb = inode->i_sb; local
31 struct squashfs_sb_info *msblk = sb->s_fs_info;
50 err = squashfs_read_metadata(sb, &entry, &start, &offset,
69 err = squashfs_read_metadata(sb, buffer, &start,
80 err = squashfs_read_metadata(sb, NULL, &start,
88 err = squashfs_read_metadata(sb, &val, &start, &offset,
93 err = squashfs_read_metadata(sb, NULL, &start, &offset,
108 struct super_block *sb = inode->i_sb; local
109 struct squashfs_sb_info *msblk = sb->s_fs_info;
127 err = squashfs_read_metadata(sb,
[all...]
/linux-master/drivers/android/
H A Dbinderfs.c79 static inline struct binderfs_info *BINDERFS_SB(const struct super_block *sb) argument
81 return sb->s_fs_info;
120 struct super_block *sb = ref_inode->i_sb; local
121 struct binderfs_info *info = sb->s_fs_info;
149 inode = new_inode(sb);
184 root = sb->s_root;
384 * @sb: super block of the binderfs mount
387 * referred to by @sb.
391 static int binderfs_binder_ctl_create(struct super_block *sb) argument
397 struct dentry *root = sb
467 binderfs_make_inode(struct super_block *sb, int mode) argument
519 struct super_block *sb; local
551 struct super_block *sb; local
591 init_binder_features(struct super_block *sb) argument
614 init_binder_logs(struct super_block *sb) argument
651 binderfs_fill_super(struct super_block *sb, struct fs_context *fc) argument
773 binderfs_kill_super(struct super_block *sb) argument
[all...]
/linux-master/fs/cramfs/
H A Dinode.c50 static inline struct cramfs_sb_info *CRAMFS_SB(struct super_block *sb) argument
52 return sb->s_fs_info;
90 static struct inode *get_cramfs_inode(struct super_block *sb, argument
96 inode = iget_locked(sb, cramino(cramfs_inode, offset));
107 CRAMFS_SB(sb)->flags & CRAMFS_FLAG_EXT_BLOCK_POINTERS &&
108 CRAMFS_SB(sb)->linear_phys_addr)
183 static void *cramfs_blkdev_read(struct super_block *sb, unsigned int offset, argument
186 struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping;
202 if (buffer_dev[i] != sb)
214 devsize = bdev_nr_bytes(sb
254 cramfs_direct_read(struct super_block *sb, unsigned int offset, unsigned int len) argument
270 cramfs_read(struct super_block *sb, unsigned int offset, unsigned int len) argument
448 struct super_block *sb = inode->i_sb; local
485 cramfs_kill_sb(struct super_block *sb) argument
510 cramfs_read_super(struct super_block *sb, struct fs_context *fc, struct cramfs_super *super) argument
588 cramfs_finalize_super(struct super_block *sb, struct cramfs_inode *cramfs_root) argument
607 cramfs_blkdev_fill_super(struct super_block *sb, struct fs_context *fc) argument
628 cramfs_mtd_fill_super(struct super_block *sb, struct fs_context *fc) argument
671 struct super_block *sb = dentry->d_sb; local
697 struct super_block *sb = inode->i_sb; local
825 struct super_block *sb = inode->i_sb; local
[all...]
/linux-master/fs/efs/
H A Dsuper.c76 static struct inode *efs_alloc_inode(struct super_block *sb) argument
79 ei = alloc_inode_sb(sb, efs_inode_cachep, GFP_KERNEL);
234 static int efs_validate_super(struct efs_sb_info *sb, struct efs_super *super) { argument
239 sb->fs_magic = be32_to_cpu(super->fs_magic);
240 sb->total_blocks = be32_to_cpu(super->fs_size);
241 sb->first_block = be32_to_cpu(super->fs_firstcg);
242 sb->group_size = be32_to_cpu(super->fs_cgfsize);
243 sb->data_free = be32_to_cpu(super->fs_tfree);
244 sb->inode_free = be32_to_cpu(super->fs_tinode);
245 sb
253 struct efs_sb_info *sb; local
386 struct super_block *sb = dentry->d_sb; local
[all...]

Completed in 480 milliseconds

1234567891011>>