| /linux/fs/erofs/ |
| H A D | super.c | 128 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_init_device() local 138 if (!sbi->devs->flatdev && !dif->path) { in erofs_init_device() 153 } else if (!sbi->devs->flatdev) { in erofs_init_device() 154 file = erofs_is_fileio_mode(sbi) ? in erofs_init_device() 164 if (!erofs_is_fileio_mode(sbi)) { in erofs_init_device() 171 if (!dif->dax_dev && test_opt(&sbi->opt, DAX_ALWAYS)) { in erofs_init_device() 174 clear_opt(&sbi->opt, DAX_ALWAYS); in erofs_init_device() 179 _48bit = erofs_sb_has_48bit(sbi); in erofs_init_device() 184 sbi->total_blocks += dif->blocks; in erofs_init_device() 192 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_scan_devices() local [all …]
|
| H A D | xattr.c | 156 struct erofs_sb_info *sbi = EROFS_SB(it->sb); in erofs_listxattr_foreach() local 157 struct erofs_xattr_prefix_item *pf = sbi->xattr_prefixes + in erofs_listxattr_foreach() 160 if (pf >= sbi->xattr_prefixes + sbi->xattr_prefix_count) in erofs_listxattr_foreach() 207 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_getxattr_foreach() local 208 struct erofs_xattr_prefix_item *pf = sbi->xattr_prefixes + in erofs_getxattr_foreach() 211 if (pf >= sbi->xattr_prefixes + sbi->xattr_prefix_count) in erofs_getxattr_foreach() 309 struct erofs_sb_info *sbi = EROFS_SB(sb); in erofs_xattr_iter_shared() local 314 erofs_sb_has_shared_ea_in_metabox(sbi)); in erofs_xattr_iter_shared() 319 it->pos = erofs_pos(sb, sbi->xattr_blkaddr) + in erofs_xattr_iter_shared() 342 struct erofs_sb_info *sbi = EROFS_SB(inode->i_sb); in erofs_getxattr() local [all …]
|
| /linux/fs/f2fs/ |
| H A D | shrinker.c | 19 static unsigned long __count_nat_entries(struct f2fs_sb_info *sbi) in __count_nat_entries() argument 21 return NM_I(sbi)->nat_cnt[RECLAIMABLE_NAT]; in __count_nat_entries() 24 static unsigned long __count_free_nids(struct f2fs_sb_info *sbi) in __count_free_nids() argument 26 long count = NM_I(sbi)->nid_cnt[FREE_NID] - MAX_FREE_NIDS; in __count_free_nids() 31 static unsigned long __count_extent_cache(struct f2fs_sb_info *sbi, in __count_extent_cache() argument 34 struct extent_tree_info *eti = &sbi->extent_tree[type]; in __count_extent_cache() 43 struct f2fs_sb_info *sbi; in f2fs_shrink_count() local 50 sbi = list_entry(p, struct f2fs_sb_info, s_list); in f2fs_shrink_count() 53 if (!mutex_trylock(&sbi->umount_mutex)) { in f2fs_shrink_count() 60 count += __count_extent_cache(sbi, EX_READ); in f2fs_shrink_count() [all …]
|
| H A D | gc.h | 99 static inline block_t free_segs_blk_count_zoned(struct f2fs_sb_info *sbi) in free_segs_blk_count_zoned() argument 102 struct free_segmap_info *free_i = FREE_I(sbi); in free_segs_blk_count_zoned() 106 for (j = 0; j < MAIN_SEGS(sbi); j++) in free_segs_blk_count_zoned() 108 free_seg_blks += f2fs_usable_blks_in_seg(sbi, j); in free_segs_blk_count_zoned() 114 static inline block_t free_segs_blk_count(struct f2fs_sb_info *sbi) in free_segs_blk_count() argument 116 if (f2fs_sb_has_blkzoned(sbi)) in free_segs_blk_count() 117 return free_segs_blk_count_zoned(sbi); in free_segs_blk_count() 119 return SEGS_TO_BLKS(sbi, free_segments(sbi)); in free_segs_blk_count() 122 static inline block_t free_user_blocks(struct f2fs_sb_info *sbi) in free_user_blocks() argument 126 free_blks = free_segs_blk_count(sbi); in free_user_blocks() [all …]
|
| /linux/fs/hfsplus/ |
| H A D | options.c | 65 struct hfsplus_sb_info *sbi = fc->s_fs_info; in hfsplus_parse_param() local 87 memcpy(&sbi->creator, param->string, 4); in hfsplus_parse_param() 94 memcpy(&sbi->type, param->string, 4); in hfsplus_parse_param() 97 sbi->umask = (umode_t)result.uint_32; in hfsplus_parse_param() 100 sbi->uid = result.uid; in hfsplus_parse_param() 101 set_bit(HFSPLUS_SB_UID, &sbi->flags); in hfsplus_parse_param() 104 sbi->gid = result.gid; in hfsplus_parse_param() 105 set_bit(HFSPLUS_SB_GID, &sbi->flags); in hfsplus_parse_param() 108 sbi->part = result.uint_32; in hfsplus_parse_param() 111 sbi->session = result.uint_32; in hfsplus_parse_param() [all …]
|
| /linux/fs/hpfs/ |
| H A D | super.c | 115 static void free_sbi(struct hpfs_sb_info *sbi) in free_sbi() argument 117 kfree(sbi->sb_cp_table); in free_sbi() 118 kfree(sbi->sb_bmp_dir); in free_sbi() 119 kfree(sbi); in free_sbi() 169 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_get_free_dnodes() local 170 if (sbi->sb_n_free_dnodes == (unsigned)-1) { in hpfs_get_free_dnodes() 171 unsigned c = hpfs_count_one_bitmap(s, sbi->sb_dmap); in hpfs_get_free_dnodes() 174 sbi->sb_n_free_dnodes = c; in hpfs_get_free_dnodes() 176 return sbi->sb_n_free_dnodes; in hpfs_get_free_dnodes() 182 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_statfs() local [all …]
|
| H A D | alloc.c | 14 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_claim_alloc() local 15 if (sbi->sb_n_free != (unsigned)-1) { in hpfs_claim_alloc() 16 if (unlikely(!sbi->sb_n_free)) { in hpfs_claim_alloc() 18 sbi->sb_n_free = -1; in hpfs_claim_alloc() 21 sbi->sb_n_free--; in hpfs_claim_alloc() 27 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_claim_free() local 28 if (sbi->sb_n_free != (unsigned)-1) { in hpfs_claim_free() 29 if (unlikely(sbi->sb_n_free >= sbi->sb_fs_size)) { in hpfs_claim_free() 31 sbi->sb_n_free = -1; in hpfs_claim_free() 34 sbi->sb_n_free++; in hpfs_claim_free() [all …]
|
| /linux/fs/autofs/ |
| H A D | waitq.c | 15 void autofs_catatonic_mode(struct autofs_sb_info *sbi) in autofs_catatonic_mode() argument 19 mutex_lock(&sbi->wq_mutex); in autofs_catatonic_mode() 20 if (sbi->flags & AUTOFS_SBI_CATATONIC) { in autofs_catatonic_mode() 21 mutex_unlock(&sbi->wq_mutex); in autofs_catatonic_mode() 27 sbi->flags |= AUTOFS_SBI_CATATONIC; in autofs_catatonic_mode() 28 wq = sbi->queues; in autofs_catatonic_mode() 29 sbi->queues = NULL; /* Erase all wait queues */ in autofs_catatonic_mode() 40 fput(sbi->pipe); /* Close the pipe */ in autofs_catatonic_mode() 41 sbi->pipe = NULL; in autofs_catatonic_mode() 42 sbi->pipefd = -1; in autofs_catatonic_mode() [all …]
|
| H A D | expire.c | 44 struct autofs_sb_info *sbi = autofs_sbi(path.dentry->d_sb); in autofs_mount_busy() local 47 if (autofs_type_indirect(sbi->type)) in autofs_mount_busy() 97 struct autofs_sb_info *sbi = autofs_sbi(root->d_sb); in get_next_positive_subdir() local 100 spin_lock(&sbi->lookup_lock); in get_next_positive_subdir() 104 spin_unlock(&sbi->lookup_lock); in get_next_positive_subdir() 115 struct autofs_sb_info *sbi = autofs_sbi(root->d_sb); in get_next_positive_dentry() local 121 spin_lock(&sbi->lookup_lock); in get_next_positive_dentry() 136 spin_unlock(&sbi->lookup_lock); in get_next_positive_dentry() 273 struct autofs_sb_info *sbi, in autofs_expire_direct() argument 283 timeout = sbi->exp_timeout; in autofs_expire_direct() [all …]
|
| H A D | dev-ioctl.c | 160 struct autofs_sb_info *sbi, in autofs_dev_ioctl_version() argument 171 struct autofs_sb_info *sbi, in autofs_dev_ioctl_protover() argument 174 param->protover.version = sbi->version; in autofs_dev_ioctl_protover() 180 struct autofs_sb_info *sbi, in autofs_dev_ioctl_protosubver() argument 183 param->protosubver.sub_version = sbi->sub_version; in autofs_dev_ioctl_protosubver() 225 return ino && ino->sbi->type & *(unsigned *)p; in test_by_type() 246 struct autofs_sb_info *sbi, in autofs_dev_ioctl_openmount() argument 277 struct autofs_sb_info *sbi, in autofs_dev_ioctl_closemount() argument 288 struct autofs_sb_info *sbi, in autofs_dev_ioctl_ready() argument 294 return autofs_wait_release(sbi, token, 0); in autofs_dev_ioctl_ready() [all …]
|
| /linux/fs/zonefs/ |
| H A D | sysfs.c | 15 ssize_t (*show)(struct zonefs_sb_info *sbi, char *buf); 26 struct zonefs_sb_info *sbi = in zonefs_sysfs_attr_show() local 34 return zonefs_attr->show(sbi, buf); in zonefs_sysfs_attr_show() 37 static ssize_t max_wro_seq_files_show(struct zonefs_sb_info *sbi, char *buf) in max_wro_seq_files_show() argument 39 return sysfs_emit(buf, "%u\n", sbi->s_max_wro_seq_files); in max_wro_seq_files_show() 43 static ssize_t nr_wro_seq_files_show(struct zonefs_sb_info *sbi, char *buf) in nr_wro_seq_files_show() argument 45 return sysfs_emit(buf, "%d\n", atomic_read(&sbi->s_wro_seq_files)); in nr_wro_seq_files_show() 49 static ssize_t max_active_seq_files_show(struct zonefs_sb_info *sbi, char *buf) in max_active_seq_files_show() argument 51 return sysfs_emit(buf, "%u\n", sbi->s_max_active_seq_files); in max_active_seq_files_show() 55 static ssize_t nr_active_seq_files_show(struct zonefs_sb_info *sbi, char *buf) in nr_active_seq_files_show() argument [all …]
|
| /linux/fs/ext4/ |
| H A D | super.c | 474 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_maybe_update_superblock() local 475 struct ext4_super_block *es = sbi->s_es; in ext4_maybe_update_superblock() 476 journal_t *journal = sbi->s_journal; in ext4_maybe_update_superblock() 490 if (likely(now - last_update < sbi->s_sb_update_sec)) in ext4_maybe_update_superblock() 493 lifetime_write_kbytes = sbi->s_kbytes_written + in ext4_maybe_update_superblock() 495 sbi->s_sectors_written_start) >> 1); in ext4_maybe_update_superblock() 505 if (diff_size > sbi->s_sb_update_kb) in ext4_maybe_update_superblock() 651 struct ext4_sb_info *sbi = EXT4_SB(sb); in save_error_info() local 657 spin_lock(&sbi->s_error_lock); in save_error_info() 658 sbi->s_add_error_count++; in save_error_info() [all …]
|
| H A D | sysfs.c | 66 static ssize_t session_write_kbytes_show(struct ext4_sb_info *sbi, char *buf) in session_write_kbytes_show() argument 68 struct super_block *sb = sbi->s_buddy_cache->i_sb; in session_write_kbytes_show() 72 sbi->s_sectors_written_start) >> 1); in session_write_kbytes_show() 75 static ssize_t lifetime_write_kbytes_show(struct ext4_sb_info *sbi, char *buf) in lifetime_write_kbytes_show() argument 77 struct super_block *sb = sbi->s_buddy_cache->i_sb; in lifetime_write_kbytes_show() 80 (unsigned long long)(sbi->s_kbytes_written + in lifetime_write_kbytes_show() 85 static ssize_t inode_readahead_blks_store(struct ext4_sb_info *sbi, in inode_readahead_blks_store() argument 98 sbi->s_inode_readahead_blks = t; in inode_readahead_blks_store() 102 static ssize_t reserved_clusters_store(struct ext4_sb_info *sbi, in reserved_clusters_store() argument 106 ext4_fsblk_t clusters = (ext4_blocks_count(sbi->s_es) >> in reserved_clusters_store() [all …]
|
| H A D | mballoc.c | 811 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_mb_mark_free_simple() local 836 buddy + sbi->s_mb_offsets[min]); in ext4_mb_mark_free_simple() 865 struct ext4_sb_info *sbi = EXT4_SB(sb); in mb_update_avg_fragment_size() local 878 xa_erase(&sbi->s_mb_avg_fragment_size[old], grp->bb_group); in mb_update_avg_fragment_size() 887 int err = xa_insert(&sbi->s_mb_avg_fragment_size[new], in mb_update_avg_fragment_size() 915 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_mb_scan_groups_xa_range() local 927 if (sbi->s_mb_stats) in ext4_mb_scan_groups_xa_range() 928 atomic64_inc(&sbi->s_bal_cX_groups_considered[cr]); in ext4_mb_scan_groups_xa_range() 963 struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); in ext4_mb_scan_groups_p2_aligned() local 983 if (sbi->s_mb_stats) in ext4_mb_scan_groups_p2_aligned() [all …]
|
| /linux/fs/vboxsf/ |
| H A D | super.c | 115 struct vboxsf_sbi *sbi; in vboxsf_fill_super() local 125 sbi = kzalloc_obj(*sbi); in vboxsf_fill_super() 126 if (!sbi) in vboxsf_fill_super() 129 sbi->o = ctx->o; in vboxsf_fill_super() 130 idr_init(&sbi->ino_idr); in vboxsf_fill_super() 131 spin_lock_init(&sbi->ino_idr_lock); in vboxsf_fill_super() 132 sbi->next_generation = 1; in vboxsf_fill_super() 133 sbi->bdi_id = -1; in vboxsf_fill_super() 139 sbi->nls = load_nls_default(); in vboxsf_fill_super() 141 sbi->nls = load_nls(nls_name); in vboxsf_fill_super() [all …]
|
| H A D | utils.c | 18 struct vboxsf_sbi *sbi = VBOXSF_SBI(sb); in vboxsf_new_inode() local 29 spin_lock_irqsave(&sbi->ino_idr_lock, flags); in vboxsf_new_inode() 30 cursor = idr_get_cursor(&sbi->ino_idr); in vboxsf_new_inode() 31 ret = idr_alloc_cyclic(&sbi->ino_idr, inode, 1, 0, GFP_ATOMIC); in vboxsf_new_inode() 33 sbi->next_generation++; in vboxsf_new_inode() 34 gen = sbi->next_generation; in vboxsf_new_inode() 35 spin_unlock_irqrestore(&sbi->ino_idr_lock, flags); in vboxsf_new_inode() 49 int vboxsf_init_inode(struct vboxsf_sbi *sbi, struct inode *inode, in vboxsf_init_inode() argument 79 if (sbi->o.dmode_set) in vboxsf_init_inode() 80 mode = sbi->o.dmode; in vboxsf_init_inode() [all …]
|
| /linux/fs/omfs/ |
| H A D | bitmap.c | 12 struct omfs_sb_info *sbi = OMFS_SB(sb); in omfs_count_free() local 15 for (i = 0; i < sbi->s_imap_size; i++) in omfs_count_free() 16 sum += nbits - bitmap_weight(sbi->s_imap[i], nbits); in omfs_count_free() 54 struct omfs_sb_info *sbi = OMFS_SB(sb); in set_run() local 57 bh = sb_bread(sb, clus_to_blk(sbi, sbi->s_bitmap_ino) + map); in set_run() 69 clus_to_blk(sbi, sbi->s_bitmap_ino) + map); in set_run() 74 set_bit(bit, sbi->s_imap[map]); in set_run() 77 clear_bit(bit, sbi->s_imap[map]); in set_run() 94 struct omfs_sb_info *sbi = OMFS_SB(sb); in omfs_allocate_block() local 104 mutex_lock(&sbi->s_bitmap_lock); in omfs_allocate_block() [all …]
|
| /linux/fs/minix/ |
| H A D | bitmap.c | 45 struct minix_sb_info *sbi = minix_sb(sb); in minix_free_block() local 50 if (block < sbi->s_firstdatazone || block >= sbi->s_nzones) { in minix_free_block() 54 zone = block - sbi->s_firstdatazone + 1; in minix_free_block() 57 if (zone >= sbi->s_zmap_blocks) { in minix_free_block() 61 bh = sbi->s_zmap[zone]; in minix_free_block() 73 struct minix_sb_info *sbi = minix_sb(inode->i_sb); in minix_new_block() local 77 for (i = 0; i < sbi->s_zmap_blocks; i++) { in minix_new_block() 78 struct buffer_head *bh = sbi->s_zmap[i]; in minix_new_block() 87 j += i * bits_per_zone + sbi->s_firstdatazone-1; in minix_new_block() 88 if (j < sbi->s_firstdatazone || j >= sbi->s_nzones) in minix_new_block() [all …]
|
| /linux/fs/hfs/ |
| H A D | super.c | 59 struct hfs_sb_info *sbi; in flush_mdb() local 62 sbi = container_of(work, struct hfs_sb_info, mdb_work.work); in flush_mdb() 63 sb = sbi->sb; in flush_mdb() 65 spin_lock(&sbi->work_lock); in flush_mdb() 66 sbi->work_queued = 0; in flush_mdb() 67 spin_unlock(&sbi->work_lock); in flush_mdb() 76 struct hfs_sb_info *sbi = HFS_SB(sb); in hfs_mark_mdb_dirty() local 82 spin_lock(&sbi->work_lock); in hfs_mark_mdb_dirty() 83 if (!sbi->work_queued) { in hfs_mark_mdb_dirty() 85 queue_delayed_work(system_long_wq, &sbi->mdb_work, delay); in hfs_mark_mdb_dirty() [all …]
|
| /linux/fs/jfs/ |
| H A D | super.c | 64 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_handle_error() local 71 if (sbi->flag & JFS_ERR_PANIC) in jfs_handle_error() 74 else if (sbi->flag & JFS_ERR_REMOUNT_RO) { in jfs_handle_error() 121 struct jfs_sb_info *sbi = JFS_SBI(dentry->d_sb); in jfs_statfs() local 123 struct inomap *imap = JFS_IP(sbi->ipimap)->i_imap; in jfs_statfs() 127 buf->f_bsize = sbi->bsize; in jfs_statfs() 128 buf->f_blocks = sbi->bmap->db_mapsize; in jfs_statfs() 129 buf->f_bfree = sbi->bmap->db_nfree; in jfs_statfs() 130 buf->f_bavail = sbi->bmap->db_nfree; in jfs_statfs() 141 ((sbi->bmap->db_nfree >> imap->im_l2nbperiext) in jfs_statfs() [all …]
|
| H A D | resize.c | 53 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_extendfs() local 54 struct inode *ipbmap = sbi->ipbmap; in jfs_extendfs() 56 struct inode *ipimap = sbi->ipimap; in jfs_extendfs() 57 struct jfs_log *log = sbi->log; in jfs_extendfs() 58 struct bmap *bmp = sbi->bmap; in jfs_extendfs() 77 if (sbi->mntflag & JFS_INLINELOG) in jfs_extendfs() 78 oldLVSize = addressPXD(&sbi->logpxd) + lengthPXD(&sbi->logpxd); in jfs_extendfs() 80 oldLVSize = addressPXD(&sbi->fsckpxd) + in jfs_extendfs() 81 lengthPXD(&sbi->fsckpxd); in jfs_extendfs() 125 if ((sbi->mntflag & JFS_INLINELOG)) { in jfs_extendfs() [all …]
|
| /linux/fs/qnx6/ |
| H A D | super_mmi.c | 41 struct qnx6_sb_info *sbi; in qnx6_mmi_fill_super() local 52 sbi = QNX6_SB(s); in qnx6_mmi_fill_super() 53 if (fs32_to_cpu(sbi, sb1->sb_magic) != QNX6_SUPER_MAGIC) { in qnx6_mmi_fill_super() 61 if (fs32_to_cpu(sbi, sb1->sb_checksum) != in qnx6_mmi_fill_super() 68 offset = fs32_to_cpu(sbi, sb1->sb_num_blocks) + QNX6_SUPERBLOCK_AREA / in qnx6_mmi_fill_super() 69 fs32_to_cpu(sbi, sb1->sb_blocksize); in qnx6_mmi_fill_super() 72 if (!sb_set_blocksize(s, fs32_to_cpu(sbi, sb1->sb_blocksize))) { in qnx6_mmi_fill_super() 90 if (fs32_to_cpu(sbi, sb2->sb_magic) != QNX6_SUPER_MAGIC) { in qnx6_mmi_fill_super() 97 if (fs32_to_cpu(sbi, sb2->sb_checksum) in qnx6_mmi_fill_super() 109 if (fs64_to_cpu(sbi, sb1->sb_serial) > in qnx6_mmi_fill_super() [all …]
|
| H A D | qnx6.h | 78 static inline __u64 fs64_to_cpu(struct qnx6_sb_info *sbi, __fs64 n) in fs64_to_cpu() argument 80 if (sbi->s_bytesex == BYTESEX_LE) in fs64_to_cpu() 86 static inline __fs64 cpu_to_fs64(struct qnx6_sb_info *sbi, __u64 n) in cpu_to_fs64() argument 88 if (sbi->s_bytesex == BYTESEX_LE) in cpu_to_fs64() 94 static inline __u32 fs32_to_cpu(struct qnx6_sb_info *sbi, __fs32 n) in fs32_to_cpu() argument 96 if (sbi->s_bytesex == BYTESEX_LE) in fs32_to_cpu() 102 static inline __fs32 cpu_to_fs32(struct qnx6_sb_info *sbi, __u32 n) in cpu_to_fs32() argument 104 if (sbi->s_bytesex == BYTESEX_LE) in cpu_to_fs32() 110 static inline __u16 fs16_to_cpu(struct qnx6_sb_info *sbi, __fs16 n) in fs16_to_cpu() argument 112 if (sbi->s_bytesex == BYTESEX_LE) in fs16_to_cpu() [all …]
|
| /linux/fs/ntfs3/ |
| H A D | record.c | 71 int mi_get(struct ntfs_sb_info *sbi, CLST rno, struct mft_inode **mi) in mi_get() argument 79 err = mi_init(m, sbi, rno); in mi_get() 101 int mi_init(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno) in mi_init() argument 103 mi->sbi = sbi; in mi_init() 105 mi->mrec = kmalloc(sbi->record_size, GFP_NOFS); in mi_init() 119 struct ntfs_sb_info *sbi = mi->sbi; in mi_read() local 120 u32 bpr = sbi->record_size; in mi_read() 121 u64 vbo = (u64)mi->rno << sbi->record_bits; in mi_read() 122 struct ntfs_inode *mft_ni = sbi->mft.ni; in mi_read() 126 if (is_mounted(sbi)) { in mi_read() [all …]
|
| /linux/fs/ufs/ |
| H A D | super.c | 422 struct ufs_sb_info *sbi = UFS_SB(sb); in ufs_setup_cstotal() local 423 struct ufs_sb_private_info *uspi = sbi->s_uspi; in ufs_setup_cstotal() 427 unsigned mtype = sbi->s_flavour; in ufs_setup_cstotal() 456 struct ufs_sb_info *sbi = UFS_SB(sb); in ufs_read_cylinder_structures() local 457 struct ufs_sb_private_info *uspi = sbi->s_uspi; in ufs_read_cylinder_structures() 472 sbi->s_csp = (struct ufs_csum *)space; in ufs_read_cylinder_structures() 486 sbi->s_ucg = kmalloc_objs(struct buffer_head *, uspi->s_ncg, GFP_NOFS); in ufs_read_cylinder_structures() 487 if (!sbi->s_ucg) in ufs_read_cylinder_structures() 490 sbi->s_ucg[i] = NULL; in ufs_read_cylinder_structures() 492 sbi->s_ucpi[i] = NULL; in ufs_read_cylinder_structures() [all …]
|