Searched refs:sb (Results 326 - 350 of 935) sorted by relevance

<<11121314151617181920>>

/linux-master/fs/ceph/
H A Dsuper.c121 static int ceph_sync_fs(struct super_block *sb, int wait) argument
123 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb);
838 fsc->sb = NULL;
1019 void ceph_umount_begin(struct super_block *sb) argument
1021 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb);
1094 static int ceph_apply_test_dummy_encryption(struct super_block *sb, argument
1098 struct ceph_fs_client *fsc = sb->s_fs_info;
1129 static int ceph_apply_test_dummy_encryption(struct super_block *sb, argument
1151 if (!fsc->sb->s_root) {
1166 err = ceph_apply_test_dummy_encryption(fsc->sb, f
1230 ceph_compare_super(struct super_block *sb, struct fs_context *fc) argument
1272 ceph_setup_bdi(struct super_block *sb, struct ceph_fs_client *fsc) argument
1294 struct super_block *sb; local
1387 struct super_block *sb = fc->root->d_sb; local
1589 ceph_force_reconnect(struct super_block *sb) argument
[all...]
/linux-master/fs/ocfs2/
H A Dinode.c66 static int ocfs2_filecheck_validate_inode_block(struct super_block *sb,
68 static int ocfs2_filecheck_repair_inode_block(struct super_block *sb,
110 struct inode *ocfs2_ilookup(struct super_block *sb, u64 blkno) argument
116 args.fi_ino = ino_from_blkno(sb, blkno);
119 return ilookup5(sb, blkno, ocfs2_find_actor, &args);
126 struct super_block *sb = osb->sb; local
144 args.fi_ino = ino_from_blkno(sb, blkno);
147 inode = iget5_locked(sb, args.fi_ino, ocfs2_find_actor,
263 struct super_block *sb; local
404 struct super_block *sb; local
573 ocfs2_sync_blockdev(struct super_block *sb) argument
1361 ocfs2_validate_inode_block(struct super_block *sb, struct buffer_head *bh) argument
1425 ocfs2_filecheck_validate_inode_block(struct super_block *sb, struct buffer_head *bh) argument
1490 ocfs2_filecheck_repair_inode_block(struct super_block *sb, struct buffer_head *bh) argument
[all...]
H A Dinode.h127 struct inode *ocfs2_ilookup(struct super_block *sb, u64 feoff);
133 void ocfs2_sync_blockdev(struct super_block *sb);
151 int ocfs2_validate_inode_block(struct super_block *sb,
/linux-master/fs/ntfs3/
H A Dbitmap.c501 struct super_block *sb = wnd->sb; local
502 struct ntfs_sb_info *sbi = sb->s_fs_info;
504 u32 blocksize = sb->s_blocksize;
506 u32 wbits = 8 * sb->s_blocksize;
555 bh = ntfs_bread(sb, lbo >> sb->s_blocksize_bits);
644 int wnd_init(struct wnd_bitmap *wnd, struct super_block *sb, size_t nbits) argument
647 u32 blocksize = sb->s_blocksize;
652 wnd->sb
684 struct super_block *sb = wnd->sb; local
712 struct super_block *sb = wnd->sb; local
762 struct super_block *sb = wnd->sb; local
851 struct super_block *sb = wnd->sb; local
927 struct super_block *sb = wnd->sb; local
990 struct super_block *sb; local
1337 struct super_block *sb = wnd->sb; local
1433 struct super_block *sb = sbi->sb; local
[all...]
/linux-master/fs/bcachefs/
H A Dfs.c215 static struct inode *bch2_alloc_inode(struct super_block *sb) argument
1317 static struct inode *bch2_nfs_get_inode(struct super_block *sb,
1320 struct bch_fs *c = sb->s_fs_info;
1332 static struct dentry *bch2_fh_to_dentry(struct super_block *sb, struct fid *_fid,
1340 return d_obtain_alias(bch2_nfs_get_inode(sb, *fid));
1343 static struct dentry *bch2_fh_to_parent(struct super_block *sb, struct fid *_fid,
1352 return d_obtain_alias(bch2_nfs_get_inode(sb, fid->dir));
1655 struct super_block *sb = dentry->d_sb;
1656 struct bch_fs *c = sb->s_fs_info;
1658 unsigned shift = sb
1315 bch2_nfs_get_inode(struct super_block *sb, struct bcachefs_fid fid) argument
1330 bch2_fh_to_dentry(struct super_block *sb, struct fid *_fid, int fh_len, int fh_type) argument
1341 bch2_fh_to_parent(struct super_block *sb, struct fid *_fid, int fh_len, int fh_type) argument
1653 struct super_block *sb = dentry->d_sb; local
1678 bch2_sync_fs(struct super_block *sb, int wait) argument
1711 bch2_remount(struct super_block *sb, int *flags, char *data) argument
1798 bch2_put_super(struct super_block *sb) argument
1813 bch2_freeze(struct super_block *sb) argument
1823 bch2_unfreeze(struct super_block *sb) argument
1883 struct super_block *sb; local
2030 bch2_kill_sb(struct super_block *sb) argument
[all...]
H A Dsb-members.h18 struct bch_member *bch2_members_v2_get_mut(struct bch_sb *sb, int i);
19 struct bch_member bch2_sb_member_get(struct bch_sb *sb, int i);
76 ? find_next_bit(mask->d, c->sb.nr_devices, idx)
77 : idx) < c->sb.nr_devices &&
177 return dev < c->sb.nr_devices && c->devs[dev];
203 return c && dev < c->sb.nr_devices
301 static inline bool bch2_member_exists(struct bch_sb *sb, unsigned dev) argument
303 if (dev < sb->nr_devices) {
304 struct bch_member m = bch2_sb_member_get(sb, dev);
H A Dopts.c139 struct bch_sb *sb,
163 u64 BCH2_NO_SB_OPT(const struct bch_sb *sb) argument
168 void SET_BCH2_NO_SB_OPT(struct bch_sb *sb, u64 v) argument
393 struct bch_fs *c, struct bch_sb *sb,
423 opt->fn.to_text(out, c, sb, v);
541 u64 bch2_opt_from_sb(struct bch_sb *sb, enum bch_opt_id id) argument
546 v = opt->get_sb(sb);
561 int bch2_opts_from_sb(struct bch_opts *opts, struct bch_sb *sb) argument
571 bch2_opt_set_by_id(opts, id, bch2_opt_from_sb(sb, id));
577 void __bch2_opt_set_sb(struct bch_sb *sb, cons argument
137 bch2_opt_fix_errors_to_text(struct printbuf *out, struct bch_fs *c, struct bch_sb *sb, u64 v) argument
392 bch2_opt_to_text(struct printbuf *out, struct bch_fs *c, struct bch_sb *sb, const struct bch_option *opt, u64 v, unsigned flags) argument
[all...]
/linux-master/include/trace/events/
H A Dext4.h656 TP_PROTO(struct super_block *sb, unsigned long long blk,
659 TP_ARGS(sb, blk, count),
669 __entry->dev = sb->s_dev;
752 TP_PROTO(struct super_block *sb, struct ext4_prealloc_space *pa),
754 TP_ARGS(sb, pa),
764 __entry->dev = sb->s_dev;
798 TP_PROTO(struct super_block *sb, int needed),
800 TP_ARGS(sb, needed),
809 __entry->dev = sb->s_dev;
982 TP_PROTO(struct super_block *sb, in
[all...]
/linux-master/fs/debugfs/
H A Dinode.c70 static struct inode *debugfs_get_inode(struct super_block *sb) argument
72 struct inode *inode = new_inode(sb);
148 static void _debugfs_apply_options(struct super_block *sb, bool remount)
150 struct debugfs_fs_info *fsi = sb->s_fs_info;
151 struct inode *inode = d_inode(sb->s_root);
170 static void debugfs_apply_options(struct super_block *sb)
172 _debugfs_apply_options(sb, false);
175 static void debugfs_apply_options_remount(struct super_block *sb)
177 _debugfs_apply_options(sb, true);
182 struct super_block *sb
140 _debugfs_apply_options(struct super_block *sb, bool remount) argument
162 debugfs_apply_options(struct super_block *sb) argument
167 debugfs_apply_options_remount(struct super_block *sb) argument
174 struct super_block *sb = fc->root->d_sb; local
245 debugfs_fill_super(struct super_block *sb, struct fs_context *fc) argument
[all...]
/linux-master/fs/ext4/
H A Dsysfs.c67 struct super_block *sb = sbi->s_buddy_cache->i_sb; local
70 (part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) -
76 struct super_block *sb = sbi->s_buddy_cache->i_sb; local
80 ((part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) -
81 EXT4_SB(sb)->s_sectors_written_start) >> 1)));
561 int ext4_register_sysfs(struct super_block *sb) argument
563 struct ext4_sb_info *sbi = EXT4_SB(sb);
568 "%s", sb->s_id);
576 sbi->s_proc = proc_mkdir(sb->s_id, ext4_proc_root);
579 ext4_seq_options_show, sb);
595 ext4_unregister_sysfs(struct super_block *sb) argument
[all...]
/linux-master/fs/btrfs/
H A Dsuper.c68 static void btrfs_put_super(struct super_block *sb) argument
70 struct btrfs_fs_info *fs_info = btrfs_sb(sb);
920 static int btrfs_fill_super(struct super_block *sb, argument
925 struct btrfs_fs_info *fs_info = btrfs_sb(sb);
928 sb->s_maxbytes = MAX_LFS_FILESIZE;
929 sb->s_magic = BTRFS_SUPER_MAGIC;
930 sb->s_op = &btrfs_super_ops;
931 sb->s_d_op = &btrfs_dentry_operations;
932 sb->s_export_op = &btrfs_export_ops;
934 sb
973 btrfs_sync_fs(struct super_block *sb, int wait) argument
1456 struct super_block *sb = fc->root->d_sb; local
1790 btrfs_fc_test_super(struct super_block *sb, struct fs_context *fc) argument
1805 struct super_block *sb; local
2093 btrfs_kill_super(struct super_block *sb) argument
2258 btrfs_freeze(struct super_block *sb) argument
2284 struct btrfs_super_block *sb; local
2333 btrfs_unfreeze(struct super_block *sb) argument
2382 btrfs_nr_cached_objects(struct super_block *sb, struct shrink_control *sc) argument
2392 btrfs_free_cached_objects(struct super_block *sb, struct shrink_control *sc) argument
[all...]
H A Dexport.c64 * @sb: the filesystem super block
73 struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid, argument
76 struct btrfs_fs_info *fs_info = btrfs_sb(sb);
87 inode = btrfs_iget(sb, objectid, root);
100 static struct dentry *btrfs_fh_to_parent(struct super_block *sb, struct fid *fh, argument
121 return btrfs_get_dentry(sb, objectid, root_objectid, generation);
124 static struct dentry *btrfs_fh_to_dentry(struct super_block *sb, struct fid *fh, argument
143 return btrfs_get_dentry(sb, objectid, root_objectid, generation);
209 return btrfs_get_dentry(fs_info->sb, key.objectid,
213 return d_obtain_alias(btrfs_iget(fs_info->sb, ke
[all...]
/linux-master/fs/exfat/
H A Dmisc.c26 void __exfat_fs_error(struct super_block *sb, int report, const char *fmt, ...) argument
28 struct exfat_mount_options *opts = &EXFAT_SB(sb)->options;
36 exfat_err(sb, "error, %pV", &vaf);
42 sb->s_id);
43 } else if (opts->errors == EXFAT_ERRORS_RO && !sb_rdonly(sb)) {
44 sb->s_flags |= SB_RDONLY;
45 exfat_err(sb, "Filesystem has been set read-only");
/linux-master/fs/nfs/blocklayout/
H A Drpc_pipefs.c144 static struct dentry *nfs4blocklayout_register_sb(struct super_block *sb, argument
149 dir = rpc_d_lookup_sb(sb, NFS_PIPE_DIRNAME);
157 static void nfs4blocklayout_unregister_sb(struct super_block *sb, argument
167 struct super_block *sb = ptr; local
168 struct net *net = sb->s_fs_info;
183 dentry = nfs4blocklayout_register_sb(sb, nn->bl_device_pipe);
192 nfs4blocklayout_unregister_sb(sb, nn->bl_device_pipe);
/linux-master/drivers/gpu/drm/i915/
H A Dintel_wakeref.c204 char *buf, *sb, *se; local
215 for (sb = buf; *sb; sb = se + 1) {
216 se = strchrnul(sb, '\n');
217 drm_printf(p, "%.*s", (int)(se - sb + 1), sb);
/linux-master/drivers/md/bcache/
H A Dsysfs.c183 BDEV_CACHE_MODE(&dc->sb));
264 sysfs_print(state, states[BDEV_STATE(&dc->sb)]);
267 memcpy(buf, dc->sb.label, SB_LABEL_SIZE);
281 snprintf(buf, 36+1, "%pU", dc->sb.uuid);
382 if ((unsigned int) v != BDEV_CACHE_MODE(&dc->sb)) {
383 SET_BDEV_CACHE_MODE(&dc->sb, v);
408 memcpy(dc->sb.label, buf, size);
410 dc->sb.label[size] = '\0';
411 if (size && dc->sb.label[size - 1] == '\n')
412 dc->sb
[all...]
/linux-master/drivers/md/
H A Dmd.c1168 static unsigned int calc_sb_csum(mdp_super_t *sb) argument
1171 u32 *sb32 = (u32*)sb;
1175 disk_csum = sb->sb_csum;
1176 sb->sb_csum = 0;
1191 sb->sb_csum = md_csum_fold(disk_csum);
1193 sb->sb_csum = disk_csum;
1268 mdp_super_t *sb; local
1286 sb = page_address(rdev->sb_page);
1288 if (sb->md_magic != MD_SB_MAGIC) {
1294 if (sb
1372 mdp_super_t *sb = page_address(rdev->sb_page); local
1497 mdp_super_t *sb; local
1672 calc_sb_1_csum(struct mdp_superblock_1 *sb) argument
1696 struct mdp_superblock_1 *sb; local
1875 struct mdp_superblock_1 *sb = page_address(rdev->sb_page); local
2078 struct mdp_superblock_1 *sb; local
2265 struct mdp_superblock_1 *sb; local
2693 struct mdp_superblock_1 *sb; local
9930 struct mdp_superblock_1 *sb = page_address(rdev->sb_page); local
10032 struct mdp_superblock_1 *sb; local
[all...]
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_kms.c110 int r, sb; local
133 sb = 4;
134 qdev->surfaceram_base = pci_resource_start(pdev, sb);
135 qdev->surfaceram_size = pci_resource_len(pdev, sb);
142 sb = 1;
143 qdev->surfaceram_base = pci_resource_start(pdev, sb);
144 qdev->surfaceram_size = pci_resource_len(pdev, sb);
161 (unsigned long long)pci_resource_end(pdev, sb),
164 (sb == 4) ? "64bit" : "32bit");
/linux-master/fs/udf/
H A Dmisc.c188 struct buffer_head *udf_read_tagged(struct super_block *sb, uint32_t block, argument
199 bh = sb_bread(sb, block);
201 udf_err(sb, "read failed, block=%u, location=%u\n",
219 udf_err(sb, "tag checksum failed, block %u: 0x%02x != 0x%02x\n",
227 udf_err(sb, "tag version 0x%04x != 0x0002 || 0x0003, block %u\n",
233 if (le16_to_cpu(tag_p->descCRCLength) + sizeof(struct tag) > sb->s_blocksize ||
247 struct buffer_head *udf_read_ptagged(struct super_block *sb, argument
251 return udf_read_tagged(sb, udf_get_lb_pblock(sb, loc, offset),
/linux-master/fs/gfs2/
H A Dsuper.c274 int gfs2_statfs_sync(struct super_block *sb, int type) argument
276 struct gfs2_sbd *sdp = sb->s_fs_info;
583 * @sb: The VFS superblock
587 static void gfs2_put_super(struct super_block *sb) argument
589 struct gfs2_sbd *sdp = sb->s_fs_info;
609 if (!sb_rdonly(sb))
660 * @sb: the superblock
666 static int gfs2_sync_fs(struct super_block *sb, int wait) argument
668 struct gfs2_sbd *sdp = sb->s_fs_info;
670 gfs2_quota_sync(sb,
679 struct super_block *sb = sdp->sd_vfs; local
698 struct super_block *sb = sdp->sd_vfs; local
734 gfs2_freeze_super(struct super_block *sb, enum freeze_holder who) argument
783 gfs2_freeze_fs(struct super_block *sb) argument
802 gfs2_thaw_super(struct super_block *sb, enum freeze_holder who) argument
828 gfs2_thaw_freeze_initiator(struct super_block *sb) argument
980 struct super_block *sb = dentry->d_sb; local
1320 struct super_block *sb = inode->i_sb; local
1424 struct super_block *sb = inode->i_sb; local
1474 struct super_block *sb = inode->i_sb; local
1533 gfs2_alloc_inode(struct super_block *sb) argument
[all...]
/linux-master/fs/nfs/
H A Dcache_lib.c116 int nfs_cache_register_sb(struct super_block *sb, struct cache_detail *cd) argument
121 dir = rpc_d_lookup_sb(sb, "cache");
143 void nfs_cache_unregister_sb(struct super_block *sb, struct cache_detail *cd) argument
/linux-master/fs/nilfs2/
H A Dsegment.h237 int nilfs_attach_log_writer(struct super_block *sb, struct nilfs_root *root);
238 void nilfs_detach_log_writer(struct super_block *sb);
245 int nilfs_salvage_orphan_logs(struct the_nilfs *nilfs, struct super_block *sb,
/linux-master/fs/jfs/
H A Dioctl.c112 struct super_block *sb = inode->i_sb; local
119 if (!bdev_max_discard_sectors(sb->s_bdev)) {
129 bdev_discard_granularity(sb->s_bdev));
H A Dxattr.c204 struct super_block *sb = ip->i_sb; local
206 struct jfs_sb_info *sbi = JFS_SBI(sb);
225 nblocks = (size + (sb->s_blocksize - 1)) >> sb->s_blocksize_bits;
253 ((((nb + sb->s_blocksize - 1)) >> sb->s_blocksize_bits))
254 << sb->s_blocksize_bits;
353 struct super_block *sb = ip->i_sb; local
355 struct jfs_sb_info *sbi = JFS_SBI(sb);
370 jfs_error(sb, "nbyte
429 struct super_block *sb = inode->i_sb; local
[all...]
H A Djfs_inode.c43 struct super_block *sb = parent->i_sb; local
48 inode = new_inode(sb);
102 inode->i_generation = JFS_SBI(sb)->gengen++;

Completed in 422 milliseconds

<<11121314151617181920>>