/linux-master/fs/erofs/ |
H A D | decompressor.c | 26 static int z_erofs_load_lz4_config(struct super_block *sb, argument 29 struct erofs_sb_info *sbi = EROFS_SB(sb); 35 erofs_err(sb, "invalid lz4 cfgs, size=%u", size); 44 erofs_blknr(sb, Z_EROFS_PCLUSTER_MAX_SIZE)) { 45 erofs_err(sb, "too large lz4 pclusterblks %u", 72 EROFS_SB(rq->sb)->lz4.max_distance_pages; 220 if (erofs_sb_has_zero_padding(EROFS_SB(rq->sb))) { 224 rq->sb->s_blocksize - rq->pageofs_in)); 230 (rq->sb->s_blocksize - 1)); 249 erofs_err(rq->sb, "faile 411 z_erofs_parse_cfgs(struct super_block *sb, struct erofs_super_block *dsb) argument [all...] |
H A D | decompressor_deflate.c | 52 int z_erofs_load_deflate_config(struct super_block *sb, argument 60 erofs_err(sb, "invalid deflate cfgs, size=%u", size); 65 erofs_err(sb, "unsupported windowbits %u", dfl->windowbits); 92 erofs_info(sb, "EXPERIMENTAL DEFLATE feature in use. Use at your own risk!"); 107 struct super_block *sb = rq->sb; local 118 sb->s_blocksize - rq->pageofs_in)); 154 erofs_err(sb, "insufficient space for decompressed data"); 180 erofs_err(sb, "invalid compressed data"); 234 erofs_err(sb, "faile [all...] |
/linux-master/fs/notify/ |
H A D | fsnotify.c | 32 * fsnotify_unmount_inodes - an sb is unmounting. handle any watched inodes. 33 * @sb: superblock being unmounted. 36 * concurrent modifiers. We temporarily drop sb->s_inode_list_lock and CAN block. 38 static void fsnotify_unmount_inodes(struct super_block *sb) argument 42 spin_lock(&sb->s_inode_list_lock); 43 list_for_each_entry(inode, &sb->s_inodes, i_sb_list) { 71 spin_unlock(&sb->s_inode_list_lock); 83 spin_lock(&sb->s_inode_list_lock); 85 spin_unlock(&sb->s_inode_list_lock); 90 void fsnotify_sb_delete(struct super_block *sb) argument 108 fsnotify_sb_free(struct super_block *sb) argument 505 struct super_block *sb = fsnotify_data_sb(data, data_type); local [all...] |
/linux-master/fs/hfsplus/ |
H A D | extents.c | 228 struct super_block *sb = inode->i_sb; local 229 struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb); 284 map_bh(bh_result, sb, sector); 288 hip->phys_size += sb->s_blocksize; 290 inode_add_bytes(inode, sb->s_blocksize); 337 static int hfsplus_free_extents(struct super_block *sb, argument 346 WARN_ON(mutex_is_locked(&HFSPLUS_SB(sb)->ext_tree->tree_lock)); 363 err = hfsplus_block_free(sb, start, count); 374 err = hfsplus_block_free(sb, start + count, block_nr); 396 int hfsplus_free_fork(struct super_block *sb, u3 argument 442 struct super_block *sb = inode->i_sb; local 545 struct super_block *sb = inode->i_sb; local [all...] |
H A D | unicode.c | 122 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/fs/reiserfs/ |
H A D | stree.c | 216 const struct super_block *sb) 256 b_blocknr == SB_ROOT_BLOCK(sb)) 263 const struct super_block *sb) 307 b_blocknr == SB_ROOT_BLOCK(sb)) 326 struct super_block *sb 337 if (comp_keys(get_lkey(chk_path, sb), key) == 1) 340 /* if ( comp_keys(key, get_rkey(chk_path, sb)) != -1 ) */ 341 if (comp_keys(get_rkey(chk_path, sb), key) != 1) 359 void pathrelse_and_restore(struct super_block *sb, argument 370 reiserfs_restore_prepared_buffer(sb, b 215 get_lkey(const struct treepath *chk_path, const struct super_block *sb) argument 262 get_rkey(const struct treepath *chk_path, const struct super_block *sb) argument 615 search_by_key(struct super_block *sb, const struct cpu_key *key, struct treepath *search_path, int stop_level) argument 854 search_for_position_by_key(struct super_block *sb, const struct cpu_key *p_cpu_key, struct treepath *search_path) argument 1049 struct super_block *sb = inode->i_sb; local 1190 init_tb_struct(struct reiserfs_transaction_handle *th, struct tree_balance *tb, struct super_block *sb, struct treepath *path, int size) argument 1255 struct super_block *sb = inode->i_sb; local 1405 struct super_block *sb = th->t_super; local 1562 struct super_block *sb = inode->i_sb; local 1643 struct super_block *sb = inode->i_sb; local 2093 struct super_block *sb = inode->i_sb; local [all...] |
H A D | prints.c | 285 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/drivers/gpu/drm/ |
H A D | drm_panic.c | 378 static void draw_txt_rectangle(struct drm_scanout_buffer *sb, argument 391 unsigned int px_width = sb->format->cpp[0]; 401 dst = sb->map[0]; 402 iosys_map_incr(&dst, (clip->y1 + i * font->height) * sb->pitch[0] + 406 drm_panic_blit(&dst, sb->pitch[0], src, font_pitch, 417 static void draw_panic_static(struct drm_scanout_buffer *sb) argument 423 const struct font_desc *font = get_default_font(sb->width, sb->height, NULL, NULL); 429 fg_color = convert_from_xrgb8888(fg_color, sb->format->format); 430 bg_color = convert_from_xrgb8888(bg_color, sb 469 struct drm_scanout_buffer sb; local [all...] |
H A D | drm_fb_dma_helper.c | 156 * @sb: scanout buffer for the panic handler 165 struct drm_scanout_buffer *sb) 188 iosys_map_set_vaddr(&sb->map[0], dma_obj->vaddr); 189 sb->format = fb->format; 190 sb->height = fb->height; 191 sb->width = fb->width; 192 sb->pitch[0] = fb->pitches[0]; 164 drm_fb_dma_get_scanout_buffer(struct drm_plane *plane, struct drm_scanout_buffer *sb) argument
|
/linux-master/fs/nfs/ |
H A D | super.c | 192 bool nfs_sb_active(struct super_block *sb) argument 194 struct nfs_server *server = NFS_SB(sb); 196 if (!atomic_inc_not_zero(&sb->s_active)) 199 atomic_dec(&sb->s_active); 204 void nfs_sb_deactive(struct super_block *sb) argument 206 struct nfs_server *server = NFS_SB(sb); 209 deactivate_super(sb); 744 void nfs_umount_begin(struct super_block *sb) argument 749 server = NFS_SB(sb); 1030 struct super_block *sb local 1068 nfs_fill_super(struct super_block *sb, struct nfs_fs_context *ctx) argument 1222 nfs_compare_super(struct super_block *sb, struct fs_context *fc) argument 1242 nfs_get_cache_cookie(struct super_block *sb, struct nfs_fs_context *ctx) argument 1274 nfs_get_cache_cookie(struct super_block *sb, struct nfs_fs_context *ctx) argument [all...] |
/linux-master/fs/pstore/ |
H A D | inode.c | 218 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 D | super.c | 119 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 D | realpath.c | 156 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 D | crypto.c | 91 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/btrfs/ |
H A D | messages.c | 118 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/ |
H A D | internal.h | 124 extern bool super_trylock_shared(struct super_block *sb); 126 void put_super(struct super_block *sb); 128 int sb_init_dio_done_wq(struct super_block *sb); 137 static inline void sb_start_ro_state_change(struct super_block *sb) argument 139 WRITE_ONCE(sb->s_readonly_remount, 1); 157 static inline void sb_end_ro_state_change(struct super_block *sb) argument 163 * 0 for sb->s_readonly_remount, it will also see all the 168 WRITE_ONCE(sb->s_readonly_remount, 0); 200 extern long prune_icache_sb(struct super_block *sb, struct shrink_control *sc); 209 void invalidate_inodes(struct super_block *sb); [all...] |
/linux-master/fs/squashfs/ |
H A D | cache.c | 52 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 D | inode.c | 56 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...] |
/linux-master/drivers/misc/ibmasm/ |
H A D | ibmasmfs.c | 76 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 D | dm-clone-metadata.c | 169 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 687 struct superblock_disk *sb; local [all...] |
/linux-master/fs/isofs/ |
H A D | export.c | 20 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/fs/ceph/ |
H A D | export.c | 126 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/include/trace/events/ |
H A D | nilfs2.h | 67 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/sysfs/ |
H A D | mount.c | 82 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 D | unicode.c | 147 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...] |