Searched refs:sb (Results 251 - 275 of 924) sorted by relevance

<<11121314151617181920>>

/linux-master/fs/reiserfs/
H A Dprints.c285 void __reiserfs_warning(struct super_block *sb, const char *id, argument
289 if (sb)
291 "%s\n", sb->s_id, id ? id : "", id ? " " : "",
299 void reiserfs_info(struct super_block *sb, const char *fmt, ...) argument
302 if (sb)
304 sb->s_id, error_buf);
375 void __reiserfs_panic(struct super_block *sb, const char *id, argument
383 if (sb)
385 sb->s_id, id ? id : "", id ? " " : "",
393 void __reiserfs_error(struct super_block *sb, cons argument
418 reiserfs_abort(struct super_block *sb, int errno, const char *fmt, ...) argument
[all...]
/linux-master/fs/pstore/
H A Dinode.c218 static struct inode *pstore_get_inode(struct super_block *sb) argument
220 struct inode *inode = new_inode(sb);
272 static int pstore_remount(struct super_block *sb, int *flags, char *data) argument
274 sync_filesystem(sb);
409 static int pstore_fill_super(struct super_block *sb, void *data, int silent) argument
413 sb->s_maxbytes = MAX_LFS_FILESIZE;
414 sb->s_blocksize = PAGE_SIZE;
415 sb->s_blocksize_bits = PAGE_SHIFT;
416 sb->s_magic = PSTOREFS_MAGIC;
417 sb
447 pstore_kill_sb(struct super_block *sb) argument
[all...]
/linux-master/fs/vboxsf/
H A Dsuper.c119 static int vboxsf_fill_super(struct super_block *sb, struct fs_context *fc) argument
164 err = super_setup_bdi_name(sb, "vboxsf-%d", sbi->bdi_id);
167 sb->s_bdi->ra_pages = 0;
168 sb->s_bdi->io_pages = 0;
196 sb->s_magic = VBOXSF_SUPER_MAGIC;
197 sb->s_blocksize = 1024;
198 sb->s_maxbytes = MAX_LFS_FILESIZE;
199 sb->s_op = &vboxsf_super_ops;
200 sb->s_d_op = &vboxsf_dentry_ops;
202 iroot = iget_locked(sb,
241 vboxsf_alloc_inode(struct super_block *sb) argument
266 vboxsf_put_super(struct super_block *sb) argument
287 struct super_block *sb = dentry->d_sb; local
[all...]
/linux-master/security/tomoyo/
H A Drealpath.c156 struct super_block *sb = dentry->d_sb; local
162 if (sb->s_magic == PROC_SUPER_MAGIC && *pos == '/') {
165 struct pid_namespace *proc_pidns = proc_pid_ns(sb);
177 if (!MAJOR(sb->s_dev))
180 struct inode *inode = d_backing_inode(sb->s_root);
193 const dev_t dev = sb->s_dev;
208 const char *name = sb->s_type->name;
243 struct super_block *sb = dentry->d_sb; local
261 inode = d_backing_inode(sb->s_root);
266 !(sb
[all...]
/linux-master/fs/ext4/
H A Dcrypto.c91 struct super_block *sb = file_inode(filp)->i_sb; local
92 struct ext4_sb_info *sbi = EXT4_SB(sb);
96 if (!ext4_has_feature_encrypt(sb))
103 handle = ext4_journal_start_sb(sb, EXT4_HT_MISC, 1);
108 err = ext4_journal_get_write_access(handle, sb, sbi->s_sbh,
114 ext4_superblock_csum_set(sb);
225 static const union fscrypt_policy *ext4_get_dummy_policy(struct super_block *sb) argument
227 return EXT4_SB(sb)->s_dummy_enc_policy.policy;
230 static bool ext4_has_stable_inodes(struct super_block *sb) argument
232 return ext4_has_feature_stable_inodes(sb);
[all...]
/linux-master/fs/erofs/
H A Ddecompressor_deflate.c78 int z_erofs_load_deflate_config(struct super_block *sb, argument
84 erofs_err(sb, "invalid deflate cfgs, size=%u", size);
89 erofs_err(sb, "unsupported windowbits %u", dfl->windowbits);
93 erofs_info(sb, "EXPERIMENTAL DEFLATE feature in use. Use at your own risk!");
104 struct super_block *sb = rq->sb; local
115 sb->s_blocksize - rq->pageofs_in));
151 erofs_err(sb, "insufficient space for decompressed data");
177 erofs_err(sb, "invalid compressed data");
231 erofs_err(sb, "faile
[all...]
/linux-master/fs/
H A Dinternal.h121 extern bool super_trylock_shared(struct super_block *sb);
123 void put_super(struct super_block *sb);
125 int sb_init_dio_done_wq(struct super_block *sb);
134 static inline void sb_start_ro_state_change(struct super_block *sb) argument
136 WRITE_ONCE(sb->s_readonly_remount, 1);
154 static inline void sb_end_ro_state_change(struct super_block *sb) argument
160 * 0 for sb->s_readonly_remount, it will also see all the
165 WRITE_ONCE(sb->s_readonly_remount, 0);
197 extern long prune_icache_sb(struct super_block *sb, struct shrink_control *sc);
206 void invalidate_inodes(struct super_block *sb);
[all...]
/linux-master/fs/btrfs/
H A Dmessages.c118 struct super_block *sb = fs_info->sb; local
133 if (error == -EROFS && sb_rdonly(sb))
148 sb->s_id, statestr, function, line, error, errstr, &vaf);
152 sb->s_id, statestr, function, line, error, errstr);
163 if (!(sb->s_flags & SB_BORN))
166 if (sb_rdonly(sb))
172 btrfs_set_sb_rdonly(sb);
247 fs_info->sb->s_id, statestr, &vaf);
297 s_id = fs_info->sb
[all...]
/linux-master/fs/squashfs/
H A Dcache.c52 struct squashfs_cache_entry *squashfs_cache_get(struct super_block *sb, argument
110 entry->length = squashfs_read_data(sb, block, length,
331 int squashfs_read_metadata(struct super_block *sb, void *buffer, argument
334 struct squashfs_sb_info *msblk = sb->s_fs_info;
344 entry = squashfs_cache_get(sb, msblk->block_cache, *block, 0);
379 struct squashfs_cache_entry *squashfs_get_fragment(struct super_block *sb, argument
382 struct squashfs_sb_info *msblk = sb->s_fs_info;
384 return squashfs_cache_get(sb, msblk->fragment_cache, start_block,
394 struct squashfs_cache_entry *squashfs_get_datablock(struct super_block *sb, argument
397 struct squashfs_sb_info *msblk = sb
406 squashfs_read_table(struct super_block *sb, u64 block, int length) argument
[all...]
/linux-master/fs/efs/
H A Dinode.c56 struct efs_sb_info *sb = SUPER_INFO(super); local
85 block = sb->fs_start + sb->first_block +
86 (sb->group_size * (inode_index / sb->inode_blocks)) +
87 (inode_index % sb->inode_blocks);
180 efs_extent_check(efs_extent *ptr, efs_block_t block, struct efs_sb_info *sb) { argument
194 return(sb->fs_start + start + block - offset);
201 struct efs_sb_info *sb = SUPER_INFO(inode->i_sb); local
214 if ((result = efs_extent_check(&in->extents[last], block, sb)))
[all...]
H A Defs.h120 static inline struct efs_sb_info *SUPER_INFO(struct super_block *sb) argument
122 return sb->s_fs_info;
137 extern struct dentry *efs_fh_to_dentry(struct super_block *sb, struct fid *fid,
139 extern struct dentry *efs_fh_to_parent(struct super_block *sb, struct fid *fid,
/linux-master/fs/hfsplus/
H A Dunicode.c122 int hfsplus_uni2asc(struct super_block *sb, argument
127 struct nls_table *nls = HFSPLUS_SB(sb)->nls;
138 compose = !test_bit(HFSPLUS_SB_NODECOMPOSE, &HFSPLUS_SB(sb)->flags);
256 static inline int asc2unichar(struct super_block *sb, const char *astr, int len, argument
259 int size = HFSPLUS_SB(sb)->nls->char2uni(astr, len, uc);
344 int hfsplus_asc2uni(struct super_block *sb, argument
353 decompose = !test_bit(HFSPLUS_SB_NODECOMPOSE, &HFSPLUS_SB(sb)->flags);
355 size = asc2unichar(sb, astr, len, &c);
386 struct super_block *sb = dentry->d_sb; local
395 casefold = test_bit(HFSPLUS_SB_CASEFOLD, &HFSPLUS_SB(sb)
439 struct super_block *sb = dentry->d_sb; local
[all...]
/linux-master/drivers/misc/ibmasm/
H A Dibmasmfs.c76 static struct inode *ibmasmfs_make_inode(struct super_block *sb, int mode);
77 static void ibmasmfs_create_files (struct super_block *sb);
78 static int ibmasmfs_fill_super(struct super_block *sb, struct fs_context *fc);
110 static int ibmasmfs_fill_super(struct super_block *sb, struct fs_context *fc) argument
114 sb->s_blocksize = PAGE_SIZE;
115 sb->s_blocksize_bits = PAGE_SHIFT;
116 sb->s_magic = IBMASMFS_MAGIC;
117 sb->s_op = &ibmasmfs_s_ops;
118 sb->s_time_gran = 1;
120 root = ibmasmfs_make_inode (sb, S_IFDI
135 ibmasmfs_make_inode(struct super_block *sb, int mode) argument
578 ibmasmfs_create_files(struct super_block *sb) argument
[all...]
/linux-master/drivers/md/
H A Ddm-clone-metadata.c169 struct superblock_disk *sb; local
172 sb = dm_block_data(b);
173 sb->blocknr = cpu_to_le64(dm_block_location(b));
175 csum = dm_bm_checksum(&sb->flags, sb_block_size - sizeof(__le32),
177 sb->csum = cpu_to_le32(csum);
183 struct superblock_disk *sb; local
186 sb = dm_block_data(b);
188 if (dm_block_location(b) != le64_to_cpu(sb->blocknr)) {
190 le64_to_cpu(sb->blocknr),
195 if (le64_to_cpu(sb
298 __prepare_superblock(struct dm_clone_metadata *cmd, struct superblock_disk *sb) argument
322 struct superblock_disk *sb; local
364 struct superblock_disk *sb; local
692 struct superblock_disk *sb; local
[all...]
/linux-master/fs/isofs/
H A Dexport.c20 isofs_export_iget(struct super_block *sb, argument
29 inode = isofs_iget(sb, block, offset);
162 static struct dentry *isofs_fh_to_dentry(struct super_block *sb, argument
170 return isofs_export_iget(sb, ifid->block, ifid->offset,
174 static struct dentry *isofs_fh_to_parent(struct super_block *sb, argument
182 return isofs_export_iget(sb,
/linux-master/include/trace/events/
H A Dnilfs2.h67 TP_PROTO(struct super_block *sb,
73 TP_ARGS(sb, ti, count, flags, state),
76 __field(void *, sb)
84 __entry->sb = sb;
91 TP_printk("sb = %p ti = %p count = %d flags = %x state = %s",
92 __entry->sb,
/linux-master/fs/ceph/
H A Dexport.c126 static struct inode *__lookup_inode(struct super_block *sb, u64 ino) argument
128 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(sb)->mdsc;
139 inode = ceph_find_inode(sb, vino);
150 if (ceph_security_xattr_wanted(d_inode(sb->s_root)))
172 struct inode *ceph_lookup_inode(struct super_block *sb, u64 ino) argument
174 struct inode *inode = __lookup_inode(sb, ino);
184 static struct dentry *__fh_to_dentry(struct super_block *sb, u64 ino) argument
186 struct inode *inode = __lookup_inode(sb, ino);
206 static struct dentry *__snapfh_to_dentry(struct super_block *sb, argument
210 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(sb)
296 ceph_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
318 __get_parent(struct super_block *sb, struct dentry *child, u64 ino) argument
415 ceph_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
[all...]
/linux-master/fs/sysfs/
H A Dmount.c82 static void sysfs_kill_sb(struct super_block *sb) argument
84 void *ns = (void *)kernfs_super_ns(sb);
86 kernfs_kill_sb(sb);
/linux-master/fs/udf/
H A Dunicode.c147 static int udf_name_from_CS0(struct super_block *sb, argument
176 if (UDF_SB(sb)->s_nls_map)
177 conv_f = UDF_SB(sb)->s_nls_map->uni2char;
271 static int udf_name_to_CS0(struct super_block *sb, argument
284 if (UDF_SB(sb)->s_nls_map)
285 conv_f = UDF_SB(sb)->s_nls_map->char2uni;
355 int udf_dstrCS0toChar(struct super_block *sb, uint8_t *utf_o, int o_len, argument
372 return udf_name_from_CS0(sb, utf_o, o_len, ocu_i, s_len, 0);
375 int udf_get_filename(struct super_block *sb, const uint8_t *sname, int slen, argument
386 ret = udf_name_from_CS0(sb, dnam
393 udf_put_filename(struct super_block *sb, const uint8_t *sname, int slen, uint8_t *dname, int dlen) argument
[all...]
/linux-master/fs/xfs/
H A Dxfs_pnfs.h6 int xfs_fs_get_uuid(struct super_block *sb, u8 *buf, u32 *len, u64 *offset);
/linux-master/arch/openrisc/lib/
H A Dmemset.S55 l.sb 0(r3), r13 // *src = c
63 l.sb 1(r3), r13 // *(src+1) = c
71 l.sb 2(r3), r13 // *(src+2) = c
88 l.sb 0(r19), r13 // *src = cccc
/linux-master/fs/ecryptfs/
H A Dsuper.c26 * @sb: Pointer to the ecryptfs super block
36 static struct inode *ecryptfs_alloc_inode(struct super_block *sb) argument
41 inode_info = alloc_inode_sb(sb, ecryptfs_inode_info_cache, GFP_KERNEL);
134 struct super_block *sb = root->d_sb; local
136 &ecryptfs_superblock_to_private(sb)->mount_crypt_stat;
/linux-master/fs/jfs/
H A Djfs_filsys.h141 #define LBLK2PBLK(sb,b) ((b) << (sb->s_blocksize_bits - L2PBSIZE))
142 #define PBLK2LBLK(sb,b) ((b) >> (sb->s_blocksize_bits - L2PBSIZE))
/linux-master/fs/bcachefs/
H A Dsb-counters.c4 #include "sb-counters.h"
23 static int bch2_sb_counters_validate(struct bch_sb *sb, argument
30 static void bch2_sb_counters_to_text(struct printbuf *out, struct bch_sb *sb, argument
51 struct bch_sb_field_counters *ctrs = bch2_sb_field_get(c->disk_sb.sb, counters);
69 struct bch_sb_field_counters *ctrs = bch2_sb_field_get(c->disk_sb.sb, counters);
/linux-master/fs/overlayfs/
H A Dovl_entry.h25 struct super_block *sb; member in struct:ovl_sb
41 /* One fsid per unique underlying sb (upper fsid == 0) */
91 /* r/o snapshot of upperdir sb's only taken on volatile mounts */
113 static inline struct ovl_fs *OVL_FS(struct super_block *sb) argument
116 WARN_ON_ONCE(sb->s_type != &ovl_fs_type);
118 return (struct ovl_fs *)sb->s_fs_info;

Completed in 221 milliseconds

<<11121314151617181920>>