/linux-master/fs/xfs/ |
H A D | xfs_pnfs.h | 6 int xfs_fs_get_uuid(struct super_block *sb, u8 *buf, u32 *len, u64 *offset);
|
/linux-master/arch/openrisc/lib/ |
H A D | memset.S | 55 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 D | super.c | 26 * @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 D | jfs_filsys.h | 141 #define LBLK2PBLK(sb,b) ((b) << (sb->s_blocksize_bits - L2PBSIZE)) 142 #define PBLK2LBLK(sb,b) ((b) >> (sb->s_blocksize_bits - L2PBSIZE))
|
/linux-master/fs/efs/ |
H A D | efs.h | 120 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/ocfs2/ |
H A D | buffer_head_io.c | 109 bhs[i] = sb_getblk(osb->sb, block++); 195 int (*validate)(struct super_block *sb, 201 struct super_block *sb = ocfs2_metadata_cache_get_super(ci); local 236 bhs[i] = sb_getblk(sb, block++); 383 status = validate(sb, bh); 405 static void ocfs2_check_super_or_backup(struct super_block *sb, argument 415 backup_blkno = ocfs2_backup_super_blkno(sb, i); 435 ocfs2_check_super_or_backup(osb->sb, bh->b_blocknr); 451 ocfs2_compute_meta_ecc(osb->sb, bh->b_data, &di->i_check); 193 ocfs2_read_blocks(struct ocfs2_caching_info *ci, u64 block, int nr, struct buffer_head *bhs[], int flags, int (*validate)(struct super_block *sb, struct buffer_head *bh)) argument
|
/linux-master/fs/overlayfs/ |
H A D | xattrs.c | 7 static bool ovl_is_escaped_xattr(struct super_block *sb, const char *name) argument 9 struct ovl_fs *ofs = sb->s_fs_info; 19 static bool ovl_is_own_xattr(struct super_block *sb, const char *name) argument 21 struct ovl_fs *ofs = OVL_FS(sb); 31 bool ovl_is_private_xattr(struct super_block *sb, const char *name) argument 33 return ovl_is_own_xattr(sb, name) && !ovl_is_escaped_xattr(sb, name); 98 static bool ovl_can_list(struct super_block *sb, const char *s) argument 101 if (ovl_is_private_xattr(sb, s))
|
H A D | ovl_entry.h | 25 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;
|
/linux-master/fs/hfs/ |
H A D | inode.c | 70 struct super_block *sb = inode->i_sb; local 79 tree = HFS_SB(sb)->ext_tree; 82 tree = HFS_SB(sb)->cat_tree; 185 struct super_block *sb = dir->i_sb; local 186 struct inode *inode = new_inode(sb); 193 hfs_cat_build_key(sb, (btree_key *)&HFS_I(inode)->cat_key, dir->i_ino, name); 194 inode->i_ino = HFS_SB(sb)->next_id++; 205 HFS_SB(sb)->folder_count++; 207 HFS_SB(sb)->root_dirs++; 213 HFS_I(inode)->clump_blocks = HFS_SB(sb) 242 struct super_block *sb = inode->i_sb; local 269 struct super_block *sb = inode->i_sb; local 385 hfs_iget(struct super_block *sb, struct hfs_cat_key *key, hfs_cat_rec *rec) argument 665 struct super_block * sb; local [all...] |
/linux-master/fs/nilfs2/ |
H A D | ifile.h | 40 int nilfs_ifile_read(struct super_block *sb, struct nilfs_root *root,
|
/linux-master/fs/erofs/ |
H A D | decompressor_zstd.c | 75 int z_erofs_load_zstd_config(struct super_block *sb, argument 85 erofs_err(sb, "unsupported zstd format, size=%u", size); 90 erofs_err(sb, "unsupported zstd window log %u", zstd->windowlog); 146 struct super_block *sb = rq->sb; local 159 sb->s_blocksize - rq->pageofs_in)); 184 erofs_err(sb, "insufficient space for decompressed data"); 211 erofs_err(sb, "invalid compressed data"); 260 erofs_err(sb, "failed to decompress in[%u] out[%u]: %s",
|
/linux-master/fs/bcachefs/ |
H A D | quota.c | 22 static int bch2_sb_quota_validate(struct bch_sb *sb, struct bch_sb_field *f, argument 36 static void bch2_sb_quota_to_text(struct printbuf *out, struct bch_sb *sb, argument 210 struct super_block *sb, 217 sb->s_dev, msgs->m[i].msg); 440 static struct bch_sb_field_quota *bch2_sb_get_or_create_quota(struct bch_sb_handle *sb) argument 442 struct bch_sb_field_quota *sb_quota = bch2_sb_field_get(sb->sb, quota); 447 sb_quota = bch2_sb_field_resize(sb, quota, sizeof(*sb_quota) / sizeof(u64)); 465 sb_quota = bch2_sb_field_get(c->disk_sb.sb, quota); 549 static int bch2_quota_enable(struct super_block *sb, unsigne argument 209 flush_warnings(struct bch_qid qid, struct super_block *sb, struct quota_msgs *msgs) argument 595 bch2_quota_disable(struct super_block *sb, unsigned uflags) argument 618 bch2_quota_remove(struct super_block *sb, unsigned uflags) argument 669 bch2_quota_get_state(struct super_block *sb, struct qc_state *state) argument 698 bch2_quota_set_info(struct super_block *sb, int type, struct qc_info *info) argument 775 bch2_get_quota(struct super_block *sb, struct kqid kqid, struct qc_dqblk *qdq) argument 794 bch2_get_next_quota(struct super_block *sb, struct kqid *kqid, struct qc_dqblk *qdq) argument 851 bch2_set_quota(struct super_block *sb, struct kqid qid, struct qc_dqblk *qdq) argument [all...] |
H A D | sb-counters.c | 4 #include "sb-counters.h" 23 static int bch2_sb_counters_validate(struct bch_sb *sb, struct bch_sb_field *f, argument 29 static void bch2_sb_counters_to_text(struct printbuf *out, struct bch_sb *sb, argument 43 struct bch_sb_field_counters *ctrs = bch2_sb_field_get(c->disk_sb.sb, counters); 61 struct bch_sb_field_counters *ctrs = bch2_sb_field_get(c->disk_sb.sb, counters);
|
H A D | sb-clean.c | 9 #include "sb-clean.h" 41 le16_to_cpu(c->disk_sb.sb->version), 42 BCH_SB_BIG_ENDIAN(c->disk_sb.sb), 133 "sb: l=%u %s\n" 150 sb_clean = bch2_sb_field_get(c->disk_sb.sb, clean); 155 SET_BCH_SB_CLEAN(c->disk_sb.sb, false); 156 c->sb.clean = false; 269 static int bch2_sb_clean_validate(struct bch_sb *sb, struct bch_sb_field *f, argument 294 static void bch2_sb_clean_to_text(struct printbuf *out, struct bch_sb *sb, argument 333 SET_BCH_SB_CLEAN(c->disk_sb.sb, fals [all...] |
H A D | sb-downgrade.c | 11 #include "sb-downgrade.h" 12 #include "sb-errors.h" 89 struct bch_sb_field_ext *ext = bch2_sb_field_get(c->disk_sb.sb, ext); 107 __set_bit(*e, c->sb.errors_silent); 141 static int bch2_sb_downgrade_validate(struct bch_sb *sb, struct bch_sb_field *f, argument 164 BCH_VERSION_MAJOR(le16_to_cpu(sb->version))) { 167 BCH_VERSION_MAJOR(le16_to_cpu(sb->version))); 175 static void bch2_sb_downgrade_to_text(struct printbuf *out, struct bch_sb *sb, argument 219 if (BCH_VERSION_MAJOR(src->version) != BCH_VERSION_MAJOR(le16_to_cpu(c->disk_sb.sb->version))) 240 struct bch_sb_field_downgrade *d = bch2_sb_field_get(c->disk_sb.sb, downgrad [all...] |
/linux-master/fs/ext4/ |
H A D | dir.c | 47 struct super_block *sb = inode->i_sb; local 51 ((inode->i_size >> sb->s_blocksize_bits) == 1) || 133 struct super_block *sb = inode->i_sb; local 147 if (!ext4_has_metadata_csum(sb)) { 178 offset = ctx->pos & (sb->s_blocksize - 1); 179 map.m_lblk = ctx->pos >> EXT4_BLOCK_SIZE_BITS(sb); 187 ctx->pos += map.m_len * sb->s_blocksize; 195 sb->s_bdev->bd_mapping, 211 ctx->pos += sb->s_blocksize - offset; 221 ctx->pos += sb 526 struct super_block *sb = inode->i_sb; local [all...] |
/linux-master/fs/ntfs3/ |
H A D | fsntfs.c | 212 struct super_block *sb = sbi->sb; local 217 ntfs_notice(sb, "Skip $Extend 'cause NTFS version"); 224 inode = ntfs_iget5(sb, &ref, &NAME_EXTEND); 227 ntfs_err(sb, "Failed to load $Extend (%d).", err); 279 struct super_block *sb = sbi->sb; local 286 ntfs_err(sb, "\x24LogFile is large than 4G."); 297 inode = ntfs_iget5(sb, &ref, NULL); 307 inode = ntfs_iget5(sb, 358 struct super_block *sb = sbi->sb; local 563 struct super_block *sb = sbi->sb; local 849 struct super_block *sb = sbi->sb; local 1013 ntfs_bread(struct super_block *sb, sector_t block) argument 1034 ntfs_sb_read(struct super_block *sb, u64 lbo, size_t bytes, void *buffer) argument 1062 ntfs_sb_write(struct super_block *sb, u64 lbo, size_t bytes, const void *buf, int wait) argument 1130 struct super_block *sb = sbi->sb; local 1178 struct super_block *sb = sbi->sb; local 1195 struct super_block *sb = sbi->sb; local 1324 struct super_block *sb = sbi->sb; local 1419 struct super_block *sb = sbi->sb; local 1503 struct super_block *sb = sbi->sb; local 1599 struct super_block *sb = sbi->sb; local 1687 struct super_block *sb = sbi->sb; local 1862 struct super_block *sb = sbi->sb; local [all...] |
/linux-master/fs/hfsplus/ |
H A D | hfsplus_fs.h | 74 struct super_block *sb; member in struct:hfs_btree 205 static inline struct hfsplus_sb_info *HFSPLUS_SB(struct super_block *sb) argument 207 return sb->s_fs_info; 306 * Find minimum acceptible I/O size for an hfsplus sb. 308 static inline unsigned short hfsplus_min_io_size(struct super_block *sb) argument 310 return max_t(unsigned short, bdev_logical_block_size(sb->s_bdev), 368 int hfsplus_attr_build_key(struct super_block *sb, hfsplus_btree_key *key, 372 int hfsplus_find_attr(struct super_block *sb, u32 cnid, const char *name, 381 int hfsplus_block_allocate(struct super_block *sb, u32 size, u32 offset, 383 int hfsplus_block_free(struct super_block *sb, u3 [all...] |
/linux-master/fs/fat/ |
H A D | namei_vfat.c | 704 struct super_block *sb = dir->i_sb; local 710 mutex_lock(&MSDOS_SB(sb)->s_lock); 721 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); 744 mutex_unlock(&MSDOS_SB(sb)->s_lock); 750 mutex_unlock(&MSDOS_SB(sb)->s_lock); 755 mutex_unlock(&MSDOS_SB(sb)->s_lock); 762 struct super_block *sb = dir->i_sb; local 768 mutex_lock(&MSDOS_SB(sb)->s_lock); 776 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); 786 mutex_unlock(&MSDOS_SB(sb) 793 struct super_block *sb = dir->i_sb; local 824 struct super_block *sb = dir->i_sb; local 850 struct super_block *sb = dir->i_sb; local 941 struct super_block *sb = old_dir->i_sb; local 1069 struct super_block *sb = old_dir->i_sb; local 1189 setup(struct super_block *sb) argument 1198 vfat_fill_super(struct super_block *sb, void *data, int silent) argument [all...] |
/linux-master/fs/exfat/ |
H A D | inode.c | 25 struct super_block *sb = inode->i_sb; local 26 struct exfat_sb_info *sbi = EXFAT_SB(sb); 43 exfat_set_volume_dirty(sb); 46 if (exfat_get_dentry_set(&es, sb, &(ei->dir), ei->entry, ES_ALL_ENTRIES)) 129 struct super_block *sb = inode->i_sb; local 130 struct exfat_sb_info *sbi = EXFAT_SB(sb); 178 if (exfat_get_next_cluster(sb, clu)) 185 exfat_set_volume_dirty(sb); 195 exfat_fs_error(sb, "broken FAT chain."); 206 exfat_fs_error(sb, 282 struct super_block *sb = inode->i_sb; local 606 exfat_iget(struct super_block *sb, loff_t i_pos) argument 691 exfat_build_inode(struct super_block *sb, struct exfat_dir_entry *info, loff_t i_pos) argument [all...] |
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 306 struct ip_vs_sync_buff *sb; local 310 sb = NULL; 313 sb = list_entry(ms->sync_queue.next, struct ip_vs_sync_buff, 315 list_del(&sb->list); 322 return sb; 331 struct ip_vs_sync_buff *sb; local 333 if (!(sb=kmalloc(sizeof(struct ip_vs_sync_buff), GFP_ATOMIC))) 338 sb->mesg = kmalloc(len, GFP_ATOMIC); 339 if (!sb->mesg) { 340 kfree(sb); 356 ip_vs_sync_buff_release(struct ip_vs_sync_buff *sb) argument 365 struct ip_vs_sync_buff *sb = ms->sync_buff; local 393 struct ip_vs_sync_buff *sb; local 418 struct ip_vs_sync_buff *sb; local 1641 struct ip_vs_sync_buff *sb; local 1656 struct ip_vs_sync_buff *sb; local [all...] |
/linux-master/fs/ocfs2/dlmfs/ |
H A D | dlmfs.c | 278 static struct inode *dlmfs_alloc_inode(struct super_block *sb) argument 282 ip = alloc_inode_sb(sb, dlmfs_inode_cache, GFP_NOFS); 331 static struct inode *dlmfs_get_root_inode(struct super_block *sb) argument 333 struct inode *inode = new_inode(sb); 353 struct super_block *sb = parent->i_sb; local 354 struct inode * inode = new_inode(sb); 509 static int dlmfs_fill_super(struct super_block * sb, argument 513 sb->s_maxbytes = MAX_LFS_FILESIZE; 514 sb->s_blocksize = PAGE_SIZE; 515 sb [all...] |
/linux-master/fs/adfs/ |
H A D | dir_fplus.c | 103 static int adfs_fplus_read(struct super_block *sb, u32 indaddr, argument 112 ret = adfs_dir_read_buffers(sb, indaddr, sb->s_blocksize, dir); 119 adfs_error(sb, "dir %06x has malformed header", indaddr); 125 adfs_msg(sb, KERN_WARNING, 131 ret = adfs_dir_read_buffers(sb, indaddr, dirsize, dir); 136 (dir->bhs[dir->nr_buffers - 1]->b_data + (sb->s_blocksize - 8)); 140 adfs_error(sb, "dir %06x has malformed tail", indaddr); 145 adfs_error(sb, "dir %06x checkbyte mismatch\n", indaddr); 242 adfs_error(dir->sb, "unabl [all...] |
/linux-master/fs/crypto/ |
H A D | fscrypt_private.h | 300 int fscrypt_initialize(struct super_block *sb); 338 fscrypt_max_file_dun_bits(const struct super_block *sb, int du_bits) argument 340 return fls64(sb->s_maxbytes - 1) - du_bits; 391 void fscrypt_destroy_inline_crypt_key(struct super_block *sb, 438 fscrypt_destroy_inline_crypt_key(struct super_block *sb, argument 620 void fscrypt_put_master_key_activeref(struct super_block *sb, 624 fscrypt_find_master_key(struct super_block *sb, 630 int fscrypt_add_test_dummy_key(struct super_block *sb, 633 int fscrypt_verify_key_added(struct super_block *sb, 657 void fscrypt_destroy_prepared_key(struct super_block *sb, [all...] |
/linux-master/mm/ |
H A D | shmem_quota.c | 57 static int shmem_check_quota_file(struct super_block *sb, int type) argument 67 static int shmem_read_file_info(struct super_block *sb, int type) argument 69 struct quota_info *dqopt = sb_dqopt(sb); 86 static int shmem_write_file_info(struct super_block *sb, int type) argument 95 static int shmem_free_file_info(struct super_block *sb, int type) argument 97 struct mem_dqinfo *info = &sb_dqopt(sb)->info[type]; 116 static int shmem_get_next_id(struct super_block *sb, struct kqid *qid) argument 118 struct mem_dqinfo *info = sb_dqinfo(sb, qid->type); 121 struct quota_info *dqopt = sb_dqopt(sb); 125 if (!sb_has_quota_active(sb, qi 327 shmem_dquot_write_info(struct super_block *sb, int type) argument [all...] |