/linux-master/fs/squashfs/ |
H A D | super.c | 180 static int squashfs_fill_super(struct super_block *sb, struct fs_context *fc) argument 194 sb->s_fs_info = kzalloc(sizeof(*msblk), GFP_KERNEL); 195 if (sb->s_fs_info == NULL) { 199 msblk = sb->s_fs_info; 204 msblk->devblksize = sb_min_blocksize(sb, SQUASHFS_DEVBLK_SIZE); 216 sblk = squashfs_read_table(sb, SQUASHFS_START, sizeof(*sblk)); 228 sb->s_magic = le32_to_cpu(sblk->s_magic); 229 if (sb->s_magic != SQUASHFS_MAGIC) { 232 sb->s_bdev); 255 msblk->bytes_used > bdev_nr_bytes(sb 490 struct super_block *sb = fc->root->d_sb; local 516 struct super_block *sb = root->d_sb; local 583 squashfs_put_super(struct super_block *sb) argument 662 squashfs_alloc_inode(struct super_block *sb) argument [all...] |
/linux-master/fs/zonefs/ |
H A D | zonefs.h | 246 static inline struct zonefs_sb_info *ZONEFS_SB(struct super_block *sb) argument 248 return sb->s_fs_info; 251 #define zonefs_info(sb, format, args...) \ 252 pr_info("zonefs (%s): " format, sb->s_id, ## args) 253 #define zonefs_err(sb, format, args...) \ 254 pr_err("zonefs (%s) ERROR: " format, sb->s_id, ## args) 255 #define zonefs_warn(sb, format, args...) \ 256 pr_warn("zonefs (%s) WARNING: " format, sb->s_id, ## args) 284 int zonefs_sysfs_register(struct super_block *sb); 285 void zonefs_sysfs_unregister(struct super_block *sb); [all...] |
/linux-master/fs/affs/ |
H A D | namei.c | 36 affs_get_toupper(struct super_block *sb) argument 38 return affs_test_opt(AFFS_SB(sb)->s_flags, SF_INTL) ? 157 affs_hash_name(struct super_block *sb, const u8 *name, unsigned int len) argument 159 toupper_t fn = affs_get_toupper(sb); 166 return hash % AFFS_SB(sb)->s_hashsize; 172 struct super_block *sb = dir->i_sb; local 174 toupper_t fn = affs_get_toupper(sb); 179 bh = affs_bread(sb, dir->i_ino); 183 key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)]); 189 bh = affs_bread(sb, ke 201 struct super_block *sb = dir->i_sb; local 248 struct super_block *sb = dir->i_sb; local 319 struct super_block *sb = dir->i_sb; local 408 struct super_block *sb = old_dir->i_sb; local 456 struct super_block *sb = old_dir->i_sb; local 538 affs_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) argument 553 affs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument 560 affs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument [all...] |
/linux-master/fs/ext4/ |
H A D | mballoc.h | 30 #define mb_debug(sb, fmt, ...) \ 32 current->comm, task_pid_nr(current), sb->s_id, \ 35 #define mb_debug(sb, fmt, ...) no_printk(fmt, ##__VA_ARGS__) 98 #define MB_NUM_ORDERS(sb) ((sb)->s_blocksize_bits + 2) 228 static inline ext4_fsblk_t ext4_grp_offs_to_block(struct super_block *sb, argument 231 return ext4_group_first_block_no(sb, fex->fe_group) + 232 (fex->fe_start << EXT4_SB(sb)->s_cluster_bits); 250 struct super_block *sb, 258 struct super_block *sb, [all...] |
H A D | ext4.h | 1255 #define clear_opt(sb, opt) EXT4_SB(sb)->s_mount_opt &= \ 1257 #define set_opt(sb, opt) EXT4_SB(sb)->s_mount_opt |= \ 1259 #define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & \ 1262 #define clear_opt2(sb, opt) EXT4_SB(sb)->s_mount_opt2 &= \ 1264 #define set_opt2(sb, opt) EXT4_SB(sb) 1451 struct super_block *sb; member in struct:ext4_journal_trigger 1468 ext4_inodes_per_orphan_block(struct super_block *sb) argument 1758 EXT4_SB(struct super_block *sb) argument 1767 ext4_writepages_down_read(struct super_block *sb) argument 1773 ext4_writepages_up_read(struct super_block *sb, int ctx) argument 1779 ext4_writepages_down_write(struct super_block *sb) argument 1785 ext4_writepages_up_write(struct super_block *sb, int ctx) argument 1791 ext4_valid_inum(struct super_block *sb, unsigned long ino) argument 1823 ext4_set_mount_flag(struct super_block *sb, int bit) argument 1828 ext4_clear_mount_flag(struct super_block *sb, int bit) argument 1833 ext4_test_mount_flag(struct super_block *sb, int bit) argument 1851 ext4_simulate_fail(struct super_block *sb, unsigned long code) argument 1865 ext4_simulate_fail_bh(struct super_block *sb, struct buffer_head *bh, unsigned long code) argument 2221 ext4_has_compat_features(struct super_block *sb) argument 2225 ext4_has_ro_compat_features(struct super_block *sb) argument 2229 ext4_has_incompat_features(struct super_block *sb) argument 2243 ext4_forced_shutdown(struct super_block *sb) argument 2557 ext4_group_first_block_no(struct super_block *sb, ext4_group_t group_no) argument 2572 ext4_dir_htree_level(struct super_block *sb) argument 2654 struct super_block *sb; /* super block of the fs */ member in struct:mmpd_data 2839 get_dtype(struct super_block *sb, int filetype) argument 3266 ext4_has_metadata_csum(struct super_block *sb) argument 3275 ext4_has_group_desc_csum(struct super_block *sb) argument 3321 ext4_isize(struct super_block *sb, struct ext4_inode *raw_inode) argument 3343 ext4_get_groups_count(struct super_block *sb) argument 3463 ext4_group_lock_ptr(struct super_block *sb, ext4_group_t group) argument 3478 ext4_lock_group(struct super_block *sb, ext4_group_t group) argument 3498 ext4_unlock_group(struct super_block *sb, ext4_group_t group) argument 3505 ext4_quota_capable(struct super_block *sb) argument 3510 ext4_is_quota_journalled(struct super_block *sb) argument 3632 ext4_set_de_type(struct super_block *sb, struct ext4_dir_entry_2 *de, umode_t mode) argument [all...] |
/linux-master/fs/f2fs/ |
H A D | super.c | 280 KERN_SOH_ASCII, level, sbi->sb->s_id, &vaf); 283 KERN_SOH_ASCII, level, sbi->sb->s_id, &vaf); 298 f2fs_sb_read_encoding(const struct f2fs_super_block *sb) argument 300 __u16 magic = le16_to_cpu(sb->s_encoding); 377 static int f2fs_set_qf_name(struct super_block *sb, int qtype, argument 380 struct f2fs_sb_info *sbi = F2FS_SB(sb); 384 if (sb_any_quota_loaded(sb) && !F2FS_OPTION(sbi).s_qf_names[qtype]) { 418 static int f2fs_clear_qf_name(struct super_block *sb, int qtype) argument 420 struct f2fs_sb_info *sbi = F2FS_SB(sb); 422 if (sb_any_quota_loaded(sb) 477 f2fs_set_test_dummy_encryption(struct super_block *sb, const char *opt, const substring_t *arg, bool is_remount) argument 665 parse_options(struct super_block *sb, char *options, bool is_remount) argument 1395 f2fs_alloc_inode(struct super_block *sb) argument 1569 f2fs_put_super(struct super_block *sb) argument 1688 f2fs_sync_fs(struct super_block *sb, int sync) argument 1711 f2fs_freeze(struct super_block *sb) argument 1732 f2fs_unfreeze(struct super_block *sb) argument 1739 f2fs_statfs_project(struct super_block *sb, kprojid_t projid, struct kstatfs *buf) argument 1785 struct super_block *sb = dentry->d_sb; local 1840 f2fs_show_quota_options(struct seq_file *seq, struct super_block *sb) argument 1878 f2fs_show_compress_options(struct seq_file *seq, struct super_block *sb) argument 2267 f2fs_remount(struct super_block *sb, int *flags, char *data) argument 2600 f2fs_quota_read(struct super_block *sb, int type, char *data, size_t len, loff_t off) argument 2655 f2fs_quota_write(struct super_block *sb, int type, const char *data, size_t len, loff_t off) argument 2758 f2fs_quota_enable(struct super_block *sb, int type, int format_id, unsigned int flags) argument 2793 f2fs_enable_quotas(struct super_block *sb) argument 2858 f2fs_quota_sync(struct super_block *sb, int type) argument 2906 f2fs_quota_on(struct super_block *sb, int type, int format_id, const struct path *path) argument 2948 __f2fs_quota_off(struct super_block *sb, int type) argument 2974 f2fs_quota_off(struct super_block *sb, int type) argument 2991 f2fs_quota_off_umount(struct super_block *sb) argument 3014 f2fs_truncate_quota_inode_pages(struct super_block *sb) argument 3064 struct super_block *sb = dquot->dq_sb; local 3075 f2fs_dquot_commit_info(struct super_block *sb, int type) argument 3120 f2fs_quota_sync(struct super_block *sb, int type) argument 3125 f2fs_quota_off_umount(struct super_block *sb) argument 3179 f2fs_get_dummy_policy(struct super_block *sb) argument 3184 f2fs_has_stable_inodes(struct super_block *sb) argument 3189 f2fs_get_devices(struct super_block *sb, unsigned int *num_devs) argument 3223 f2fs_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) argument 3248 f2fs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument 3255 f2fs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument 3326 struct super_block *sb = sbi->sb; local 3908 struct super_block *sb = sbi->sb; local 4104 struct super_block *sb = sbi->sb; local 4309 f2fs_fill_super(struct super_block *sb, void *data, int silent) argument 4827 kill_f2fs_super(struct super_block *sb) argument [all...] |
/linux-master/fs/reiserfs/ |
H A D | tail_conversion.c | 29 struct super_block *sb = inode->i_sb; local 50 REISERFS_SB(sb)->s_direct2indirect++; 52 blk_size = sb->s_blocksize; 66 if (search_for_position_by_key(sb, &end_key, path) == POSITION_FOUND) { 67 reiserfs_error(sb, "PAP-14030", 115 if (search_for_position_by_key(sb, &end_key, path) == 117 reiserfs_panic(sb, "PAP-14050", 176 * interested in removing it from per-sb j_dirty_buffers list, to avoid 211 struct super_block *sb = inode->i_sb; local 213 unsigned long block_size = sb [all...] |
/linux-master/fs/quota/ |
H A D | quota_v1.c | 127 static int v1_check_quota_file(struct super_block *sb, int type) argument 129 struct inode *inode = sb_dqopt(sb)->files[type]; 147 size = sb->s_op->quota_read(sb, type, (char *)&dqhead, 155 " It probably contains newer quota format.\n", sb->s_id); 159 static int v1_read_file_info(struct super_block *sb, int type) argument 161 struct quota_info *dqopt = sb_dqopt(sb); 168 ret = sb->s_op->quota_read(sb, type, (char *)&dqblk, 189 static int v1_write_file_info(struct super_block *sb, in argument [all...] |
/linux-master/fs/overlayfs/ |
H A D | super.c | 148 static struct inode *ovl_alloc_inode(struct super_block *sb) argument 150 struct ovl_inode *oi = alloc_inode_sb(sb, ovl_inode_cachep, GFP_KERNEL); 189 static void ovl_put_super(struct super_block *sb) argument 191 struct ovl_fs *ofs = OVL_FS(sb); 198 static int ovl_sync_fs(struct super_block *sb, int wait) argument 200 struct ovl_fs *ofs = OVL_FS(sb); 208 * the sb's writeback errseq, which VFS inspects after this call. 211 errseq_set(&sb->s_wb_err, -EIO); 248 struct super_block *sb = dentry->d_sb; local 249 struct ovl_fs *ofs = OVL_FS(sb); 442 ovl_setup_trap(struct super_block *sb, struct dentry *dir, struct inode **ptrap, const char *name) argument 479 ovl_get_upper(struct super_block *sb, struct ovl_fs *ofs, struct ovl_layer *upper_layer, const struct path *upperpath) argument 641 ovl_make_workdir(struct super_block *sb, struct ovl_fs *ofs, const struct path *workpath) argument 783 ovl_get_workdir(struct super_block *sb, struct ovl_fs *ofs, const struct path *upperpath, const struct path *workpath) argument 817 ovl_get_indexdir(struct super_block *sb, struct ovl_fs *ofs, struct ovl_entry *oe, const struct path *upperpath) argument 928 struct super_block *sb = path->mnt->mnt_sb; local 982 ovl_get_layers(struct super_block *sb, struct ovl_fs *ofs, struct ovl_fs_context *ctx, struct ovl_layer *layers) argument 1110 ovl_get_lowerstack(struct super_block *sb, struct ovl_fs_context *ctx, struct ovl_fs *ofs, struct ovl_layer *layers) argument 1171 ovl_check_layer(struct super_block *sb, struct ovl_fs *ofs, struct dentry *dentry, const char *name, bool is_lower) argument 1204 ovl_check_overlapping_layers(struct super_block *sb, struct ovl_fs *ofs) argument 1239 ovl_get_root(struct super_block *sb, struct dentry *upperdentry, struct ovl_entry *oe) argument 1292 ovl_fill_super(struct super_block *sb, struct fs_context *fc) argument [all...] |
/linux-master/fs/erofs/ |
H A D | fscache.c | 260 struct super_block *sb = inode->i_sb; local 281 offset = erofs_blkoff(sb, map.m_pa); 282 blknr = erofs_blknr(sb, map.m_pa); 285 src = erofs_read_metabuf(&buf, sb, blknr, EROFS_KMAP); 317 ret = erofs_map_dev(sb, &mdev); 409 static int erofs_fscache_register_volume(struct super_block *sb) argument 411 struct erofs_sb_info *sbi = EROFS_SB(sb); 424 erofs_err(sb, "failed to register volume for %s", name); 434 static int erofs_fscache_init_domain(struct super_block *sb) argument 438 struct erofs_sb_info *sbi = EROFS_SB(sb); 474 erofs_fscache_register_domain(struct super_block *sb) argument 495 erofs_fscache_acquire_cookie(struct super_block *sb, char *name, unsigned int flags) argument 559 erofs_domain_init_cookie(struct super_block *sb, char *name, unsigned int flags) argument 581 erofs_domain_register_cookie(struct super_block *sb, char *name, unsigned int flags) argument 607 erofs_fscache_register_cookie(struct super_block *sb, char *name, unsigned int flags) argument 636 erofs_fscache_register_fs(struct super_block *sb) argument 670 erofs_fscache_unregister_fs(struct super_block *sb) argument [all...] |
/linux-master/fs/nilfs2/ |
H A D | the_nilfs.c | 51 * @sb: super block instance 56 struct the_nilfs *alloc_nilfs(struct super_block *sb) argument 64 nilfs->ns_sb = sb; 65 nilfs->ns_bdev = sb->s_bdev; 97 struct super_block *sb, sector_t sr_block) 120 err = nilfs_dat_read(sb, dat_entry_size, rawi, &nilfs->ns_dat); 125 err = nilfs_cpfile_read(sb, checkpoint_size, rawi, &nilfs->ns_cpfile); 130 err = nilfs_sufile_read(sb, segment_usage_size, rawi, 197 * @sb: super block instance 208 static int nilfs_get_blocksize(struct super_block *sb, argument 96 nilfs_load_super_root(struct the_nilfs *nilfs, struct super_block *sb, sector_t sr_block) argument 232 load_nilfs(struct the_nilfs *nilfs, struct super_block *sb) argument 588 nilfs_load_super_block(struct the_nilfs *nilfs, struct super_block *sb, int blocksize, struct nilfs_super_block **sbpp) argument 671 init_nilfs(struct the_nilfs *nilfs, struct super_block *sb, char *data) argument [all...] |
/linux-master/fs/qnx4/ |
H A D | inode.c | 32 static struct inode *qnx4_alloc_inode(struct super_block *sb); 46 struct super_block *sb = fc->root->d_sb; local 49 sync_filesystem(sb); 50 qs = qnx4_sb(sb); 137 struct super_block *sb = dentry->d_sb; local 138 u64 id = huge_encode_dev(sb->s_bdev->bd_dev); 140 buf->f_type = sb->s_magic; 141 buf->f_bsize = sb->s_blocksize; 142 buf->f_blocks = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size) * 8; 143 buf->f_bfree = qnx4_count_free_blocks(sb); 156 qnx4_checkroot(struct super_block *sb, struct qnx4_super_block *s) argument 257 qnx4_kill_sb(struct super_block *sb) argument 282 qnx4_iget(struct super_block *sb, unsigned long ino) argument 355 qnx4_alloc_inode(struct super_block *sb) argument [all...] |
/linux-master/fs/nfsd/ |
H A D | blocklayout.c | 25 struct super_block *sb = inode->i_sb; local 47 error = sb->s_export_op->map_blocks(inode, seg->offset, seg->length, 144 nfsd4_block_get_device_info_simple(struct super_block *sb, argument 161 return sb->s_export_op->get_uuid(sb, b->simple.sig, &b->simple.sig_len, 166 nfsd4_block_proc_getdeviceinfo(struct super_block *sb, argument 171 if (bdev_is_partition(sb->s_bdev)) 173 return nfserrno(nfsd4_block_get_device_info_simple(sb, gdp)); 249 nfsd4_block_get_device_info_scsi(struct super_block *sb, argument 270 ret = nfsd4_block_get_unique_id(sb 306 nfsd4_scsi_proc_getdeviceinfo(struct super_block *sb, struct svc_rqst *rqstp, struct nfs4_client *clp, struct nfsd4_getdeviceinfo *gdp) argument [all...] |
/linux-master/drivers/md/ |
H A D | dm-zoned-metadata.c | 136 struct dmz_super *sb; member in struct:dmz_sb 177 struct dmz_sb sb[2]; member in struct:dmz_metadata 541 sector_t block = zmd->sb[zmd->mblk_primary].block + mblk_no; 542 struct dmz_dev *dev = zmd->sb[zmd->mblk_primary].dev; 673 struct dmz_dev *dev = zmd->sb[zmd->mblk_primary].dev; 716 struct dmz_dev *dev = zmd->sb[set].dev; 717 sector_t block = zmd->sb[set].block + mblk->no; 769 struct dmz_mblock *mblk = zmd->sb[set].mblk; 770 struct dmz_super *sb = zmd->sb[se local 982 struct dmz_super *sb = dsb->sb; local 1098 dmz_read_sb(struct dmz_metadata *zmd, struct dmz_sb *sb, int set) argument 1151 dmz_get_sb(struct dmz_metadata *zmd, struct dmz_sb *sb, int set) argument 1317 struct dmz_sb *sb; local [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | agheader.c | 65 * responsible for validating all the geometry information in sb 0, so 67 * sb 0 is ok and we can use its information to check everything else. 75 struct xfs_dsb *sb; local 117 sb = bp->b_addr; 125 if (sb->sb_blocksize != cpu_to_be32(mp->m_sb.sb_blocksize)) 128 if (sb->sb_dblocks != cpu_to_be64(mp->m_sb.sb_dblocks)) 131 if (sb->sb_rblocks != cpu_to_be64(mp->m_sb.sb_rblocks)) 134 if (sb->sb_rextents != cpu_to_be64(mp->m_sb.sb_rextents)) 137 if (!uuid_equal(&sb->sb_uuid, &mp->m_sb.sb_uuid)) 140 if (sb [all...] |
/linux-master/fs/configfs/ |
H A D | mount.c | 63 static int configfs_fill_super(struct super_block *sb, struct fs_context *fc) argument 68 sb->s_blocksize = PAGE_SIZE; 69 sb->s_blocksize_bits = PAGE_SHIFT; 70 sb->s_magic = CONFIGFS_MAGIC; 71 sb->s_op = &configfs_ops; 72 sb->s_time_gran = 1; 75 &configfs_root, sb); 94 sb->s_root = root; 95 sb->s_d_op = &configfs_dentry_ops; /* the rest get that */
|
/linux-master/fs/coda/ |
H A D | cnode.c | 60 struct inode * coda_iget(struct super_block * sb, struct CodaFid * fid, argument 69 inode = iget5_locked(sb, hash, coda_test_inode, coda_set_inode, fid); 97 struct inode *coda_cnode_make(struct CodaFid *fid, struct super_block *sb) argument 104 error = venus_getattr(sb, fid, &attr); 108 inode = coda_iget(sb, fid, &attr); 140 struct inode *coda_fid_to_inode(struct CodaFid *fid, struct super_block *sb) argument 145 inode = ilookup5(sb, hash, coda_test_inode, fid); 167 struct inode *coda_cnode_makectl(struct super_block *sb) argument 169 struct inode *inode = new_inode(sb);
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sharedbuffer.sh | 50 max_occ=$(devlink sb -j occupancy show $dl_port \ 69 max_occ=$(devlink sb -j occupancy show $dl_port \ 88 max_occ=$(devlink sb -j occupancy show $dl_port \ 104 devlink sb occupancy clearmax $DEVLINK_DEV 109 devlink sb occupancy snapshot $DEVLINK_DEV 132 devlink sb occupancy clearmax $DEVLINK_DEV 137 devlink sb occupancy snapshot $DEVLINK_DEV 160 devlink sb occupancy clearmax $DEVLINK_DEV 164 devlink sb occupancy snapshot $DEVLINK_DEV
|
/linux-master/fs/ext2/ |
H A D | ext2.h | 169 static inline struct ext2_sb_info *EXT2_SB(struct super_block *sb) argument 171 return sb->s_fs_info; 385 #define test_opt(sb, opt) (EXT2_SB(sb)->s_mount_opt & \ 506 #define EXT2_HAS_COMPAT_FEATURE(sb,mask) \ 507 ( EXT2_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask) ) 508 #define EXT2_HAS_RO_COMPAT_FEATURE(sb,mask) \ 509 ( EXT2_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask) ) 510 #define EXT2_HAS_INCOMPAT_FEATURE(sb,mask) \ 511 ( EXT2_SB(sb) 797 ext2_group_first_block_no(struct super_block *sb, unsigned long group_no) argument 804 ext2_group_last_block_no(struct super_block *sb, unsigned long group_no) argument [all...] |
/linux-master/fs/ufs/ |
H A D | util.c | 20 struct super_block *sb, u64 fragment, u64 size) 36 if (!(ubh->bh[i] = sb_bread(sb, fragment + i))) 49 struct super_block *sb, u64 fragment, u64 size) 61 if (!(USPI_UBH(uspi)->bh[i] = sb_bread(sb, fragment + i))) 182 ufs_get_inode_dev(struct super_block *sb, struct ufs_inode_info *ufsi) argument 187 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) 188 fs32 = fs32_to_cpu(sb, ufsi->i_u1.i_data[1]); 190 fs32 = fs32_to_cpu(sb, ufsi->i_u1.i_data[0]); 191 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { 209 ufs_set_inode_dev(struct super_block *sb, struc argument 19 _ubh_bread_(struct ufs_sb_private_info * uspi, struct super_block *sb, u64 fragment, u64 size) argument 48 ubh_bread_uspi(struct ufs_sb_private_info * uspi, struct super_block *sb, u64 fragment, u64 size) argument [all...] |
/linux-master/fs/exfat/ |
H A D | dir.c | 32 static int exfat_get_uniname_from_ext_entry(struct super_block *sb, argument 39 err = exfat_get_dentry_set(&es, sb, p_dir, entry, ES_ALL_ENTRIES); 75 struct super_block *sb = inode->i_sb; local 76 struct exfat_sb_info *sbi = EXFAT_SB(sb); 110 if (exfat_get_next_cluster(sb, &(clu.dir))) 121 ep = exfat_get_dentry(sb, &clu, i, &bh); 155 err = exfat_get_uniname_from_ext_entry(sb, &clu, i, 161 exfat_utf16_to_nls(sb, &uni_name, 166 ep = exfat_get_dentry(sb, &clu, i + 1, &bh); 187 if (exfat_get_next_cluster(sb, 229 struct super_block *sb = inode->i_sb; local 455 struct super_block *sb = es->sb; local 484 struct super_block *sb = inode->i_sb; local 578 exfat_walk_fat_chain(struct super_block *sb, struct exfat_chain *p_dir, unsigned int byte_offset, unsigned int *clu) argument 610 exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir, int entry, sector_t *sector, int *offset) argument 636 exfat_dir_readahead(struct super_block *sb, sector_t sec) argument 670 exfat_get_dentry(struct super_block *sb, struct exfat_chain *p_dir, int entry, struct buffer_head **bh) argument 768 __exfat_get_dentry_set(struct exfat_entry_set_cache *es, struct super_block *sb, struct exfat_chain *p_dir, int entry, unsigned int num_entries) argument 849 exfat_get_dentry_set(struct exfat_entry_set_cache *es, struct super_block *sb, struct exfat_chain *p_dir, int entry, unsigned int num_entries) argument 936 exfat_get_empty_dentry_set(struct exfat_entry_set_cache *es, struct super_block *sb, struct exfat_chain *p_dir, int entry, unsigned int num_entries) argument 1001 exfat_find_dir_entry(struct super_block *sb, struct exfat_inode_info *ei, struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname, struct exfat_hint *hint_opt) argument 1209 exfat_count_dir_entries(struct super_block *sb, struct exfat_chain *p_dir) argument [all...] |
/linux-master/fs/hfsplus/ |
H A D | attributes.c | 50 int hfsplus_attr_build_key(struct super_block *sb, hfsplus_btree_key *key, argument 58 int res = hfsplus_asc2uni(sb, 137 int hfsplus_find_attr(struct super_block *sb, u32 cnid, argument 144 if (!HFSPLUS_SB(sb)->attr_tree) { 150 err = hfsplus_attr_build_key(sb, fd->search_key, cnid, name); 157 err = hfsplus_attr_build_key(sb, fd->search_key, cnid, NULL); 172 struct super_block *sb = inode->i_sb; local 175 if (!HFSPLUS_SB(sb)->attr_tree) 178 err = hfs_find_init(HFSPLUS_SB(sb)->attr_tree, &fd); 182 err = hfsplus_find_attr(sb, inod 198 struct super_block *sb = inode->i_sb; local 310 struct super_block *sb = inode->i_sb; local [all...] |
/linux-master/fs/adfs/ |
H A D | inode.c | 92 adfs_atts2mode(struct super_block *sb, struct inode *inode) argument 96 struct adfs_sb_info *asb = ADFS_SB(sb); 135 static int adfs_mode2atts(struct super_block *sb, struct inode *inode, argument 138 struct adfs_sb_info *asb = ADFS_SB(sb); 245 adfs_iget(struct super_block *sb, struct object_info *obj) argument 250 inode = new_inode(sb); 254 inode->i_uid = ADFS_SB(sb)->s_uid; 255 inode->i_gid = ADFS_SB(sb)->s_gid; 259 inode->i_blocks = (inode->i_size + sb->s_blocksize - 1) >> 260 sb 306 struct super_block *sb = inode->i_sb; local 363 struct super_block *sb = inode->i_sb; local [all...] |
/linux-master/fs/afs/ |
H A D | dynroot.c | 45 struct inode *afs_iget_pseudo_dir(struct super_block *sb, bool root) argument 47 struct afs_super_info *as = AFS_FS_S(sb); 64 inode = iget5_locked(sb, fid.vnode, 273 struct super_block *sb = net->dynroot_sb; local 277 if (!sb || atomic_read(&sb->s_active) == 0) 281 root = sb->s_root; 303 struct super_block *sb = net->dynroot_sb; local 306 if (!sb || atomic_read(&sb 335 afs_dynroot_populate(struct super_block *sb) argument 364 afs_dynroot_depopulate(struct super_block *sb) argument [all...] |
/linux-master/fs/ocfs2/ |
H A D | ocfs2_fs.h | 58 #define OCFS2_HAS_COMPAT_FEATURE(sb,mask) \ 59 ( OCFS2_SB(sb)->s_feature_compat & (mask) ) 60 #define OCFS2_HAS_RO_COMPAT_FEATURE(sb,mask) \ 61 ( OCFS2_SB(sb)->s_feature_ro_compat & (mask) ) 62 #define OCFS2_HAS_INCOMPAT_FEATURE(sb,mask) \ 63 ( OCFS2_SB(sb)->s_feature_incompat & (mask) ) 64 #define OCFS2_SET_COMPAT_FEATURE(sb,mask) \ 65 OCFS2_SB(sb)->s_feature_compat |= (mask) 66 #define OCFS2_SET_RO_COMPAT_FEATURE(sb,mask) \ 67 OCFS2_SB(sb) 1239 ocfs2_fast_symlink_chars(struct super_block *sb) argument 1245 ocfs2_max_inline_data_with_xattr(struct super_block *sb, struct ocfs2_dinode *di) argument 1259 ocfs2_extent_recs_per_inode(struct super_block *sb) argument 1269 ocfs2_extent_recs_per_inode_with_xattr( struct super_block *sb, struct ocfs2_dinode *di) argument 1287 ocfs2_extent_recs_per_dx_root(struct super_block *sb) argument 1297 ocfs2_chain_recs_per_inode(struct super_block *sb) argument 1307 ocfs2_extent_recs_per_eb(struct super_block *sb) argument 1317 ocfs2_extent_recs_per_gd(struct super_block *sb) argument 1327 ocfs2_dx_entries_per_leaf(struct super_block *sb) argument 1337 ocfs2_dx_entries_per_root(struct super_block *sb) argument 1347 ocfs2_local_alloc_size(struct super_block *sb) argument 1357 ocfs2_group_bitmap_size(struct super_block *sb, int suballocator, u32 feature_incompat) argument 1377 ocfs2_truncate_recs_per_inode(struct super_block *sb) argument 1387 ocfs2_backup_super_blkno(struct super_block *sb, int index) argument 1401 ocfs2_xattr_recs_per_xb(struct super_block *sb) argument 1412 ocfs2_extent_recs_per_rb(struct super_block *sb) argument 1422 ocfs2_refcount_recs_per_rb(struct super_block *sb) argument [all...] |