/linux-master/fs/quota/ |
H A D | dquot.c | 103 * Note that some things (eg. sb pointer, type, id) doesn't change during 137 void __quota_error(struct super_block *sb, const char *func, argument 150 sb->s_id, func, &vaf); 276 hashfn(const struct super_block *sb, struct kqid qid) argument 282 tmp = (((unsigned long)sb>>L1_CACHE_SHIFT) ^ id) * (MAXQUOTAS - type); 301 static struct dquot *find_dquot(unsigned int hashent, struct super_block *sb, argument 307 if (dquot->dq_sb == sb && qid_eq(dquot->dq_id, qid)) 442 void mark_info_dirty(struct super_block *sb, int type) argument 445 sb_dqopt(sb)->info[type].dqi_flags |= DQF_INFO_DIRTY; 573 static void invalidate_dquots(struct super_block *sb, in argument 628 dquot_scan_active(struct super_block *sb, int (*fn)(struct dquot *dquot, unsigned long priv), unsigned long priv) argument 683 dquot_writeback_dquots(struct super_block *sb, int type) argument 739 dquot_quota_sync(struct super_block *sb, int type) argument 888 dquot_alloc(struct super_block *sb, int type) argument 894 get_empty_dquot(struct super_block *sb, int type) argument 923 dqget(struct super_block *sb, struct kqid qid) argument 1022 add_dquot_ref(struct super_block *sb, int type) argument 1079 remove_dquot_ref(struct super_block *sb, int type) argument 1122 drop_dquot_ref(struct super_block *sb, int type) argument 1341 struct super_block *sb = dquot->dq_sb; local 1442 struct super_block *sb = inode->i_sb; local 1460 struct super_block *sb = inode->i_sb; local 2132 struct super_block *sb = inode->i_sb; local 2176 dquot_commit_info(struct super_block *sb, int type) argument 2184 dquot_get_next_id(struct super_block *sb, struct kqid *qid) argument 2225 vfs_cleanup_quota_inode(struct super_block *sb, int type) argument 2244 dquot_disable(struct super_block *sb, int type, unsigned int flags) argument 2350 dquot_quota_off(struct super_block *sb, int type) argument 2363 struct super_block *sb = inode->i_sb; local 2408 dquot_load_quota_sb(struct super_block *sb, int type, int format_id, unsigned int flags) argument 2507 dquot_resume(struct super_block *sb, int type) argument 2541 dquot_quota_on(struct super_block *sb, int type, int format_id, const struct path *path) argument 2562 dquot_quota_on_mount(struct super_block *sb, char *qf_name, int format_id, int type) argument 2582 dquot_quota_enable(struct super_block *sb, unsigned int flags) argument 2623 dquot_quota_disable(struct super_block *sb, unsigned int flags) argument 2686 dquot_get_dqblk(struct super_block *sb, struct kqid qid, struct qc_dqblk *di) argument 2701 dquot_get_next_dqblk(struct super_block *sb, struct kqid *qid, struct qc_dqblk *di) argument 2821 dquot_set_dqblk(struct super_block *sb, struct kqid qid, struct qc_dqblk *di) argument 2840 dquot_get_state(struct super_block *sb, struct qc_state *state) argument 2875 dquot_set_dqinfo(struct super_block *sb, int type, struct qc_info *ii) argument [all...] |
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/nfs/ |
H A D | export.c | 64 nfs_fh_to_dentry(struct super_block *sb, struct fid *fid, argument 81 fattr = nfs_alloc_fattr_with_label(NFS_SB(sb)); 93 inode = nfs_ilookup(sb, fattr, server_fh); 97 rpc_ops = NFS_SB(sb)->nfs_client->rpc_ops; 98 ret = rpc_ops->getattr(NFS_SB(sb), server_fh, fattr, NULL); 101 trace_nfs_fh_to_dentry(sb, server_fh, fattr->fileid, ret); 106 inode = nfs_fhget(sb, server_fh, fattr); 121 struct super_block *sb = inode->i_sb; local 122 struct nfs_server *server = NFS_SB(sb); 141 pinode = nfs_fhget(sb, [all...] |
/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...] |
/linux-master/fs/f2fs/ |
H A D | super.c | 290 KERN_SOH_ASCII, level, sbi->sb->s_id, &vaf); 293 KERN_SOH_ASCII, level, sbi->sb->s_id, &vaf); 308 f2fs_sb_read_encoding(const struct f2fs_super_block *sb) argument 310 __u16 magic = le16_to_cpu(sb->s_encoding); 387 static int f2fs_set_qf_name(struct super_block *sb, int qtype, argument 390 struct f2fs_sb_info *sbi = F2FS_SB(sb); 394 if (sb_any_quota_loaded(sb) && !F2FS_OPTION(sbi).s_qf_names[qtype]) { 428 static int f2fs_clear_qf_name(struct super_block *sb, int qtype) argument 430 struct f2fs_sb_info *sbi = F2FS_SB(sb); 432 if (sb_any_quota_loaded(sb) 487 f2fs_set_test_dummy_encryption(struct super_block *sb, const char *opt, const substring_t *arg, bool is_remount) argument 675 parse_options(struct super_block *sb, char *options, bool is_remount) argument 1408 f2fs_alloc_inode(struct super_block *sb) argument 1582 f2fs_put_super(struct super_block *sb) argument 1701 f2fs_sync_fs(struct super_block *sb, int sync) argument 1724 f2fs_freeze(struct super_block *sb) argument 1745 f2fs_unfreeze(struct super_block *sb) argument 1752 f2fs_statfs_project(struct super_block *sb, kprojid_t projid, struct kstatfs *buf) argument 1798 struct super_block *sb = dentry->d_sb; local 1853 f2fs_show_quota_options(struct seq_file *seq, struct super_block *sb) argument 1891 f2fs_show_compress_options(struct seq_file *seq, struct super_block *sb) argument 2278 f2fs_remount(struct super_block *sb, int *flags, char *data) argument 2572 f2fs_shutdown(struct super_block *sb) argument 2627 f2fs_quota_read(struct super_block *sb, int type, char *data, size_t len, loff_t off) argument 2682 f2fs_quota_write(struct super_block *sb, int type, const char *data, size_t len, loff_t off) argument 2785 f2fs_quota_enable(struct super_block *sb, int type, int format_id, unsigned int flags) argument 2820 f2fs_enable_quotas(struct super_block *sb) argument 2885 f2fs_quota_sync(struct super_block *sb, int type) argument 2933 f2fs_quota_on(struct super_block *sb, int type, int format_id, const struct path *path) argument 2975 __f2fs_quota_off(struct super_block *sb, int type) argument 3001 f2fs_quota_off(struct super_block *sb, int type) argument 3018 f2fs_quota_off_umount(struct super_block *sb) argument 3041 f2fs_truncate_quota_inode_pages(struct super_block *sb) argument 3091 struct super_block *sb = dquot->dq_sb; local 3102 f2fs_dquot_commit_info(struct super_block *sb, int type) argument 3147 f2fs_quota_sync(struct super_block *sb, int type) argument 3152 f2fs_quota_off_umount(struct super_block *sb) argument 3207 f2fs_get_dummy_policy(struct super_block *sb) argument 3212 f2fs_has_stable_inodes(struct super_block *sb) argument 3217 f2fs_get_devices(struct super_block *sb, unsigned int *num_devs) argument 3251 f2fs_nfs_get_inode(struct super_block *sb, u64 ino, u32 generation) argument 3276 f2fs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument 3283 f2fs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument 3354 struct super_block *sb = sbi->sb; local 3949 struct super_block *sb = sbi->sb; local 4145 struct super_block *sb = sbi->sb; local 4359 f2fs_fill_super(struct super_block *sb, void *data, int silent) argument 4877 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/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/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 686 init_nilfs(struct the_nilfs *nilfs, struct super_block *sb) 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 | 66 * responsible for validating all the geometry information in sb 0, so 68 * sb 0 is ok and we can use its information to check everything else. 76 struct xfs_dsb *sb; local 118 sb = bp->b_addr; 126 if (sb->sb_blocksize != cpu_to_be32(mp->m_sb.sb_blocksize)) 129 if (sb->sb_dblocks != cpu_to_be64(mp->m_sb.sb_dblocks)) 132 if (sb->sb_rblocks != cpu_to_be64(mp->m_sb.sb_rblocks)) 135 if (sb->sb_rextents != cpu_to_be64(mp->m_sb.sb_rextents)) 138 if (!uuid_equal(&sb->sb_uuid, &mp->m_sb.sb_uuid)) 141 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/erofs/ |
H A D | fscache.c | 260 struct super_block *sb = inode->i_sb; local 279 src = erofs_read_metabuf(&buf, sb, map.m_pa, EROFS_KMAP); 311 ret = erofs_map_dev(sb, &mdev); 403 static int erofs_fscache_register_volume(struct super_block *sb) argument 405 struct erofs_sb_info *sbi = EROFS_SB(sb); 418 erofs_err(sb, "failed to register volume for %s", name); 428 static int erofs_fscache_init_domain(struct super_block *sb) argument 432 struct erofs_sb_info *sbi = EROFS_SB(sb); 444 err = erofs_fscache_register_volume(sb); 468 static int erofs_fscache_register_domain(struct super_block *sb) argument 489 erofs_fscache_acquire_cookie(struct super_block *sb, char *name, unsigned int flags) argument 553 erofs_domain_init_cookie(struct super_block *sb, char *name, unsigned int flags) argument 575 erofs_domain_register_cookie(struct super_block *sb, char *name, unsigned int flags) argument 601 erofs_fscache_register_cookie(struct super_block *sb, char *name, unsigned int flags) argument 630 erofs_fscache_register_fs(struct super_block *sb) argument 664 erofs_fscache_unregister_fs(struct super_block *sb) 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 456 struct super_block *sb = es->sb; local 486 struct super_block *sb = inode->i_sb; local 580 exfat_walk_fat_chain(struct super_block *sb, struct exfat_chain *p_dir, unsigned int byte_offset, unsigned int *clu) argument 612 exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir, int entry, sector_t *sector, int *offset) argument 638 exfat_dir_readahead(struct super_block *sb, sector_t sec) argument 672 exfat_get_dentry(struct super_block *sb, struct exfat_chain *p_dir, int entry, struct buffer_head **bh) argument 770 __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 851 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 938 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 1003 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 1211 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...] |