Searched refs:sb (Results 276 - 300 of 924) sorted by relevance

<<11121314151617181920>>

/linux-master/fs/nilfs2/
H A Difile.h40 int nilfs_ifile_read(struct super_block *sb, struct nilfs_root *root,
/linux-master/fs/ocfs2/
H A Dbuffer_head_io.c109 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 Dxattrs.c7 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))
/linux-master/fs/hfs/
H A Dinode.c70 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/bcachefs/
H A Dquota.c22 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
285 struct super_block *sb,
292 sb->s_dev, msgs->m[i].msg);
515 static struct bch_sb_field_quota *bch2_sb_get_or_create_quota(struct bch_sb_handle *sb) argument
517 struct bch_sb_field_quota *sb_quota = bch2_sb_field_get(sb->sb, quota);
522 sb_quota = bch2_sb_field_resize(sb, quota, sizeof(*sb_quota) / sizeof(u64));
540 sb_quota = bch2_sb_field_get(c->disk_sb.sb, quota);
626 static int bch2_quota_enable(struct super_block *sb, unsigne argument
284 flush_warnings(struct bch_qid qid, struct super_block *sb, struct quota_msgs *msgs) argument
672 bch2_quota_disable(struct super_block *sb, unsigned uflags) argument
695 bch2_quota_remove(struct super_block *sb, unsigned uflags) argument
746 bch2_quota_get_state(struct super_block *sb, struct qc_state *state) argument
775 bch2_quota_set_info(struct super_block *sb, int type, struct qc_info *info) argument
852 bch2_get_quota(struct super_block *sb, struct kqid kqid, struct qc_dqblk *qdq) argument
871 bch2_get_next_quota(struct super_block *sb, struct kqid *kqid, struct qc_dqblk *qdq) argument
928 bch2_set_quota(struct super_block *sb, struct kqid qid, struct qc_dqblk *qdq) 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);
89 ? find_next_bit(mask->d, c->sb.nr_devices, idx)
90 : idx) < c->sb.nr_devices &&
167 EBUG_ON(idx >= c->sb.nr_devices || !c->devs[idx]);
174 EBUG_ON(idx >= c->sb.nr_devices || !c->devs[idx]);
200 static inline bool bch2_dev_exists(struct bch_sb *sb, unsigned dev) argument
202 if (dev < sb->nr_devices) {
203 struct bch_member m = bch2_sb_member_get(sb, dev);
H A Dsb-clean.c9 #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, argument
284 static void bch2_sb_clean_to_text(struct printbuf *out, struct bch_sb *sb, argument
322 SET_BCH_SB_CLEAN(c->disk_sb.sb, fals
[all...]
H A Dsb-downgrade.c11 #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);
140 static int bch2_sb_downgrade_validate(struct bch_sb *sb, struct bch_sb_field *f, argument
147 BCH_VERSION_MAJOR(le16_to_cpu(sb->version))) {
150 BCH_VERSION_MAJOR(le16_to_cpu(sb->version)));
158 static void bch2_sb_downgrade_to_text(struct printbuf *out, struct bch_sb *sb, argument
205 if (BCH_VERSION_MAJOR(src->version) != BCH_VERSION_MAJOR(le16_to_cpu(c->disk_sb.sb->version)))
226 struct bch_sb_field_downgrade *d = bch2_sb_field_get(c->disk_sb.sb, downgrad
[all...]
/linux-master/fs/ext4/
H A Ddir.c47 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_inode->i_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 Dfsntfs.c212 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 Dhfsplus_fs.h74 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 Dnamei_vfat.c704 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 Dinode.c25 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/include/linux/
H A Dfs.h1125 * sb->s_flags. Note that these mirror the equivalent MS_* flags where
1144 /* These sb flags are internal to the kernel */
1157 #define sb_has_strict_encoding(sb) \
1158 (sb->s_encoding_flags & SB_ENC_STRICT_MODE_FL)
1170 /* sb->s_iflags */
1176 /* sb->s_iflags to limit user namespace mounts */
1183 #define SB_I_PERSB_BDI 0x00000200 /* has a per-sb bdi */
1201 unsigned short frozen; /* Is sb frozen? */
1302 struct shrinker *s_shrink; /* per-sb shrinker handle */
1308 * Number of inode/mount/sb object
1528 fsuidgid_has_mapping(struct super_block *sb, struct mnt_idmap *idmap) argument
1657 __sb_end_write(struct super_block *sb, int level) argument
1662 __sb_start_write(struct super_block *sb, int level) argument
1667 __sb_start_write_trylock(struct super_block *sb, int level) argument
1686 __sb_write_started(const struct super_block *sb, int level) argument
1697 sb_write_started(const struct super_block *sb) argument
1708 sb_write_not_started(const struct super_block *sb) argument
1750 sb_end_write(struct super_block *sb) argument
1762 sb_end_pagefault(struct super_block *sb) argument
1774 sb_end_intwrite(struct super_block *sb) argument
1798 sb_start_write(struct super_block *sb) argument
1803 sb_start_write_trylock(struct super_block *sb) argument
1827 sb_start_pagefault(struct super_block *sb) argument
1845 sb_start_intwrite(struct super_block *sb) argument
1850 sb_start_intwrite_trylock(struct super_block *sb) argument
2234 sb_rdonly(const struct super_block *sb) argument
2557 super_set_uuid(struct super_block *sb, const u8 *uuid, unsigned len) argument
2566 super_set_sysfs_name_bdev(struct super_block *sb) argument
2572 super_set_sysfs_name_uuid(struct super_block *sb) argument
2579 super_set_sysfs_name_id(struct super_block *sb) argument
2586 super_set_sysfs_name_generic(struct super_block *sb, const char *fmt, ...) argument
2718 sb_is_blkdev_sb(struct super_block *sb) argument
3089 alloc_inode_sb(struct super_block *sb, struct kmem_cache *cache, gfp_t gfp) argument
3358 sb_has_encoding(const struct super_block *sb) argument
[all...]
/linux-master/net/netfilter/ipvs/
H A Dip_vs_sync.c306 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 Ddlmfs.c278 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/notify/
H A Dfsnotify.c32 * 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
491 struct super_block *sb = fsnotify_data_sb(data, data_type); local
[all...]
/linux-master/fs/adfs/
H A Ddir_fplus.c103 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 Dfscrypt_private.h300 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 Dshmem_quota.c57 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...]
/linux-master/fs/smb/client/
H A Dcifsfs.c169 cifs_sb_active(struct super_block *sb) argument
171 struct cifs_sb_info *server = CIFS_SB(sb);
174 atomic_inc(&sb->s_active);
178 cifs_sb_deactive(struct super_block *sb) argument
180 struct cifs_sb_info *server = CIFS_SB(sb);
183 deactivate_super(sb);
187 cifs_read_super(struct super_block *sb) argument
195 cifs_sb = CIFS_SB(sb);
199 sb->s_flags |= SB_POSIXACL;
202 sb
287 cifs_kill_sb(struct super_block *sb) argument
310 struct super_block *sb = dentry->d_sb; local
379 cifs_alloc_inode(struct super_block *sb) argument
731 cifs_umount_begin(struct super_block *sb) argument
776 cifs_freeze(struct super_block *sb) argument
838 cifs_get_root(struct smb3_fs_context *ctx, struct super_block *sb) argument
888 cifs_set_super(struct super_block *sb, void *data) argument
901 struct super_block *sb; local
[all...]
/linux-master/fs/
H A Dfs-writeback.c44 struct super_block *sb; member in struct:wb_writeback_work
1267 * Caller need not hold sb s_umount semaphore.
1299 * mark an inode as under writeback on the sb
1303 struct super_block *sb = inode->i_sb; local
1307 spin_lock_irqsave(&sb->s_inode_wblist_lock, flags);
1309 list_add_tail(&inode->i_wb_list, &sb->s_inodes_wb);
1312 spin_unlock_irqrestore(&sb->s_inode_wblist_lock, flags);
1317 * clear an inode as under writeback on the sb
1321 struct super_block *sb = inode->i_sb; local
1325 spin_lock_irqsave(&sb
1418 struct super_block *sb = NULL; local
1848 writeback_sb_inodes(struct super_block *sb, struct bdi_writeback *wb, struct wb_writeback_work *work) argument
2001 struct super_block *sb = inode->i_sb; local
2447 struct super_block *sb = inode->i_sb; local
2593 wait_sb_inodes(struct super_block *sb) argument
2678 __writeback_inodes_sb_nr(struct super_block *sb, unsigned long nr, enum wb_reason reason, bool skip_if_busy) argument
2710 writeback_inodes_sb_nr(struct super_block *sb, unsigned long nr, enum wb_reason reason) argument
2727 writeback_inodes_sb(struct super_block *sb, enum wb_reason reason) argument
2740 try_to_writeback_inodes_sb(struct super_block *sb, enum wb_reason reason) argument
2757 sync_inodes_sb(struct super_block *sb) argument
[all...]
/linux-master/include/uapi/linux/
H A Dbfs_fs.h78 #define BFS_UNCLEAN(bfs_sb, sb) \
79 ((le32_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & SB_RDONLY))
/linux-master/sound/isa/sb/
H A DMakefile7 snd-sb-common-objs := sb_common.o sb_mixer.o
18 obj-$(CONFIG_SND_SB_COMMON) += snd-sb-common.o
/linux-master/fs/minix/
H A Ditree_v1.c64 unsigned V1_minix_blocks(loff_t size, struct super_block *sb) argument
66 return nblocks(size, sb);

Completed in 288 milliseconds

<<11121314151617181920>>