/linux-master/fs/afs/ |
H A D | super.c | 33 static void afs_kill_super(struct super_block *sb); 34 static struct inode *afs_alloc_inode(struct super_block *sb); 421 static int afs_test_super(struct super_block *sb, struct fs_context *fc) argument 424 struct afs_super_info *as = AFS_FS_S(sb); 433 static int afs_dynroot_test_super(struct super_block *sb, struct fs_context *fc) argument 435 struct afs_super_info *as = AFS_FS_S(sb); 441 static int afs_set_super(struct super_block *sb, struct fs_context *fc) argument 443 return set_anon_super(sb, NULL); 449 static int afs_fill_super(struct super_block *sb, struct afs_fs_context *ctx) argument 451 struct afs_super_info *as = AFS_FS_S(sb); 538 afs_kill_super(struct super_block *sb) argument 562 struct super_block *sb; local 681 afs_alloc_inode(struct super_block *sb) argument [all...] |
/linux-master/fs/romfs/ |
H A D | super.c | 97 static struct inode *romfs_iget(struct super_block *sb, unsigned long pos); 279 static struct inode *romfs_iget(struct super_block *sb, unsigned long pos) argument 292 ret = romfs_dev_read(sb, pos, &ri, sizeof(ri)); 306 nlen = romfs_dev_strnlen(sb, pos + ROMFH_SIZE, ROMFS_MAXFN); 311 i = iget_locked(sb, pos); 375 static struct inode *romfs_alloc_inode(struct super_block *sb) argument 379 inode = alloc_inode_sb(sb, romfs_inode_cachep, GFP_KERNEL); 396 struct super_block *sb = dentry->d_sb; local 400 * use sb->s_bdev->bd_dev when, 402 * use sb 460 romfs_fill_super(struct super_block *sb, struct fs_context *fc) argument 584 romfs_kill_sb(struct super_block *sb) argument [all...] |
/linux-master/fs/exfat/ |
H A D | namei.c | 86 struct super_block *sb = dentry->d_sb; local 87 struct nls_table *t = EXFAT_SB(sb)->nls_io; 90 EXFAT_SB(sb)->options.keep_last_dots); 99 hash = partial_name_hash(exfat_toupper(sb, c), hash); 109 struct super_block *sb = dentry->d_sb; local 110 struct nls_table *t = EXFAT_SB(sb)->nls_io; 112 EXFAT_SB(sb)->options.keep_last_dots); 114 EXFAT_SB(sb)->options.keep_last_dots); 128 if (exfat_toupper(sb, c1) != exfat_toupper(sb, c 143 struct super_block *sb = dentry->d_sb; local 170 struct super_block *sb = dentry->d_sb; local 208 exfat_search_empty_slot(struct super_block *sb, struct exfat_hint_femp *hint_femp, struct exfat_chain *p_dir, int num_entries, struct exfat_entry_set_cache *es) argument 302 struct super_block *sb = inode->i_sb; local 395 struct super_block *sb = inode->i_sb; local 466 struct super_block *sb = inode->i_sb; local 544 struct super_block *sb = dir->i_sb; local 591 struct super_block *sb = dir->i_sb; local 692 struct super_block *sb = dir->i_sb; local 769 struct super_block *sb = dir->i_sb; local 820 struct super_block *sb = dir->i_sb; local 861 exfat_check_dir_empty(struct super_block *sb, struct exfat_chain *p_dir) argument 912 struct super_block *sb = inode->i_sb; local 981 struct super_block *sb = inode->i_sb; local 1049 struct super_block *sb = inode->i_sb; local 1111 struct super_block *sb = old_parent_inode->i_sb; local 1238 struct super_block *sb = old_dir->i_sb; local [all...] |
/linux-master/fs/bfs/ |
H A D | file.c | 35 struct super_block *sb) 39 bh = sb_bread(sb, from); 42 new = sb_getblk(sb, to); 50 static int bfs_move_blocks(struct super_block *sb, unsigned long start, argument 57 if(bfs_move_block(i, where + i, sb)) { 70 struct super_block *sb = inode->i_sb; local 71 struct bfs_sb_info *info = BFS_SB(sb); 79 map_bh(bh_result, sb, phys); 91 map_bh(bh_result, sb, phys); 110 map_bh(bh_result, sb, phy 34 bfs_move_block(unsigned long from, unsigned long to, struct super_block *sb) argument [all...] |
/linux-master/fs/qnx6/ |
H A D | inode.c | 31 static void qnx6_put_super(struct super_block *sb); 32 static struct inode *qnx6_alloc_inode(struct super_block *sb); 48 struct super_block *sb = root->d_sb; local 49 struct qnx6_sb_info *sbi = QNX6_SB(sb); 58 struct super_block *sb = fc->root->d_sb; local 60 sync_filesystem(sb); 65 static unsigned qnx6_get_devblock(struct super_block *sb, __fs32 block) argument 67 struct qnx6_sb_info *sbi = QNX6_SB(sb); 158 struct super_block *sb = dentry->d_sb; local 159 struct qnx6_sb_info *sbi = QNX6_SB(sb); 204 qnx6_superblock_debug(struct qnx6_super_block *sb, struct super_block *s) argument 259 struct qnx6_super_block *sb; local 477 qnx6_put_super(struct super_block *sb) argument 514 qnx6_iget(struct super_block *sb, unsigned ino) argument 588 qnx6_alloc_inode(struct super_block *sb) argument [all...] |
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmutil/ |
H A D | d11.c | 13 static u16 d11n_sb(enum brcmu_chan_sb sb) argument 15 switch (sb) { 44 ch->sb = BRCMU_CHAN_SB_NONE; 50 0, d11n_sb(ch->sb)); 79 if (ch->bw == BRCMU_CHAN_BW_20 || ch->sb == BRCMU_CHAN_SB_NONE) 80 ch->sb = BRCMU_CHAN_SB_L; 85 BRCMU_CHSPEC_D11AC_SB_SHIFT, ch->sb); 106 ch->sb = BRCMU_CHAN_SB_NONE; 112 ch->sb = BRCMU_CHAN_SB_L; 115 ch->sb [all...] |
/linux-master/fs/ocfs2/ |
H A D | ocfs2.h | 295 struct super_block *sb; member in struct:ocfs2_super 472 #define OCFS2_SB(sb) ((struct ocfs2_super *)(sb)->s_fs_info) 709 static inline unsigned long ino_from_blkno(struct super_block *sb, argument 715 static inline u64 ocfs2_clusters_to_blocks(struct super_block *sb, argument 718 int c_to_b_bits = OCFS2_SB(sb)->s_clustersize_bits - 719 sb->s_blocksize_bits; 724 static inline u32 ocfs2_clusters_for_blocks(struct super_block *sb, argument 727 int b_to_c_bits = OCFS2_SB(sb)->s_clustersize_bits - 728 sb 734 ocfs2_blocks_to_clusters(struct super_block *sb, u64 blocks) argument 743 ocfs2_clusters_for_bytes(struct super_block *sb, u64 bytes) argument 756 ocfs2_bytes_to_clusters(struct super_block *sb, u64 bytes) argument 766 ocfs2_blocks_for_bytes(struct super_block *sb, u64 bytes) argument 773 ocfs2_clusters_to_bytes(struct super_block *sb, u32 clusters) argument 779 ocfs2_block_to_cluster_start(struct super_block *sb, u64 blocks) argument 789 ocfs2_align_bytes_to_clusters(struct super_block *sb, u64 bytes) argument 799 ocfs2_align_bytes_to_blocks(struct super_block *sb, u64 bytes) argument 813 ocfs2_page_index_to_clusters(struct super_block *sb, unsigned long pg_index) argument 830 ocfs2_align_clusters_to_page_index(struct super_block *sb, u32 clusters) argument 845 ocfs2_pages_per_cluster(struct super_block *sb) argument 856 ocfs2_megabytes_to_clusters(struct super_block *sb, unsigned int megs) argument 864 ocfs2_clusters_to_megabytes(struct super_block *sb, unsigned int clusters) argument [all...] |
H A D | blockcheck.h | 30 void ocfs2_compute_meta_ecc(struct super_block *sb, void *data, 32 int ocfs2_validate_meta_ecc(struct super_block *sb, void *data, 34 void ocfs2_compute_meta_ecc_bhs(struct super_block *sb, 37 int ocfs2_validate_meta_ecc_bhs(struct super_block *sb,
|
/linux-master/fs/bcachefs/ |
H A D | sb-members.c | 9 #include "sb-members.h" 36 struct bch_member *bch2_members_v2_get_mut(struct bch_sb *sb, int i) argument 38 return __bch2_members_v2_get_mut(bch2_sb_field_get(sb, members_v2), i); 62 struct bch_member bch2_sb_member_get(struct bch_sb *sb, int i) argument 64 struct bch_sb_field_members_v2 *mi2 = bch2_sb_field_get(sb, members_v2); 67 struct bch_sb_field_members_v1 *mi1 = bch2_sb_field_get(sb, members_v1); 73 struct bch_sb_field_members_v2 *mi = bch2_sb_field_get(c->disk_sb.sb, members_v2); 77 c->disk_sb.sb->nr_devices), 8); 83 for (int i = c->disk_sb.sb->nr_devices - 1; i >= 0; --i) { 99 if (!bch2_sb_field_get(c->disk_sb.sb, members_v 133 validate_member(struct printbuf *err, struct bch_member m, struct bch_sb *sb, int i) argument 168 member_to_text(struct printbuf *out, struct bch_member m, struct bch_sb_field_disk_groups *gi, struct bch_sb *sb, int i) argument 264 bch2_sb_members_v1_validate(struct bch_sb *sb, struct bch_sb_field *f, enum bch_validate_flags flags, struct printbuf *err) argument 286 bch2_sb_members_v1_to_text(struct printbuf *out, struct bch_sb *sb, struct bch_sb_field *f) argument 302 bch2_sb_members_v2_to_text(struct printbuf *out, struct bch_sb *sb, struct bch_sb_field *f) argument 313 bch2_sb_members_v2_validate(struct bch_sb *sb, struct bch_sb_field *f, enum bch_validate_flags flags, struct printbuf *err) argument [all...] |
H A D | super_types.h | 6 struct bch_sb *sb; member in struct:bch_sb_handle
|
/linux-master/fs/hfs/ |
H A D | catalog.c | 23 void hfs_cat_build_key(struct super_block *sb, btree_key *key, u32 parent, const struct qstr *name) argument 28 hfs_asc2mac(sb, &key->cat.CName, name); 65 static int hfs_cat_build_thread(struct super_block *sb, argument 72 hfs_asc2mac(sb, &rec->thread.CName, name); 85 struct super_block *sb; local 95 sb = dir->i_sb; 96 err = hfs_find_init(HFS_SB(sb)->cat_tree, &fd); 108 hfs_cat_build_key(sb, fd.search_key, cnid, NULL); 109 entry_size = hfs_cat_build_thread(sb, &entry, S_ISDIR(inode->i_mode) ? 122 hfs_cat_build_key(sb, f 187 hfs_cat_find_brec(struct super_block *sb, u32 cnid, struct hfs_find_data *fd) argument 223 struct super_block *sb; local 291 struct super_block *sb; local [all...] |
/linux-master/fs/reiserfs/ |
H A D | lock.c | 87 void reiserfs_check_lock_depth(struct super_block *sb, char *caller) argument 89 struct reiserfs_sb_info *sb_i = REISERFS_SB(sb); 95 void reiserfs_lock_check_recursive(struct super_block *sb) argument 97 struct reiserfs_sb_info *sb_i = REISERFS_SB(sb);
|
/linux-master/net/devlink/ |
H A D | Makefile | 3 obj-y := core.o netlink.o netlink_gen.o dev.o port.o sb.o dpipe.o \
|
/linux-master/fs/erofs/ |
H A D | xattr.h | 49 int erofs_xattr_prefixes_init(struct super_block *sb); 50 void erofs_xattr_prefixes_cleanup(struct super_block *sb); 54 static inline int erofs_xattr_prefixes_init(struct super_block *sb) { return 0; } argument 55 static inline void erofs_xattr_prefixes_cleanup(struct super_block *sb) {} argument
|
/linux-master/arch/riscv/kernel/ |
H A D | copy-unaligned.S | 57 sb a4, 0(a0) 58 sb a5, 1(a0) 59 sb a6, 2(a0) 60 sb a7, 3(a0) 61 sb t0, 4(a0) 62 sb t1, 5(a0) 63 sb t2, 6(a0) 64 sb t3, 7(a0)
|
/linux-master/fs/qnx4/ |
H A D | qnx4.h | 26 extern unsigned long qnx4_count_free_blocks(struct super_block *sb); 31 extern int qnx4_is_free(struct super_block *sb, long block); 33 static inline struct qnx4_sb_info *qnx4_sb(struct super_block *sb) argument 35 return sb->s_fs_info;
|
/linux-master/fs/ramfs/ |
H A D | inode.c | 57 struct inode *ramfs_get_inode(struct super_block *sb, argument 60 struct inode * inode = new_inode(sb); 262 static int ramfs_fill_super(struct super_block *sb, struct fs_context *fc) argument 264 struct ramfs_fs_info *fsi = sb->s_fs_info; 267 sb->s_maxbytes = MAX_LFS_FILESIZE; 268 sb->s_blocksize = PAGE_SIZE; 269 sb->s_blocksize_bits = PAGE_SHIFT; 270 sb->s_magic = RAMFS_MAGIC; 271 sb->s_op = &ramfs_ops; 272 sb 312 ramfs_kill_sb(struct super_block *sb) argument [all...] |
/linux-master/fs/notify/ |
H A D | fsnotify.h | 57 static inline fsnotify_connp_t *fsnotify_sb_marks(struct super_block *sb) argument 59 struct fsnotify_sb_info *sbinfo = fsnotify_sb_info(sb); 86 /* run the list of all marks associated with sb and destroy them */ 87 static inline void fsnotify_clear_marks_by_sb(struct super_block *sb) argument 89 fsnotify_destroy_marks(fsnotify_sb_marks(sb));
|
/linux-master/fs/xfs/ |
H A D | xfs_export.h | 60 struct inode *xfs_nfs_get_inode(struct super_block *sb, u64 ino, u32 gen);
|
/linux-master/fs/isofs/ |
H A D | isofs.h | 65 static inline struct isofs_sb_info *ISOFS_SB(struct super_block *sb) argument 67 return sb->s_fs_info; 124 struct inode *__isofs_iget(struct super_block *sb, 129 static inline struct inode *isofs_iget(struct super_block *sb, argument 133 return __isofs_iget(sb, block, offset, 0); 136 static inline struct inode *isofs_iget_reloc(struct super_block *sb, argument 140 return __isofs_iget(sb, block, offset, 1);
|
/linux-master/fs/squashfs/ |
H A D | xattr_id.c | 28 int squashfs_xattr_lookup(struct super_block *sb, unsigned int index, argument 31 struct squashfs_sb_info *msblk = sb->s_fs_info; 43 err = squashfs_read_metadata(sb, &id, &start_block, &offset, 58 __le64 *squashfs_read_xattr_id_table(struct super_block *sb, u64 table_start, argument 61 struct squashfs_sb_info *msblk = sb->s_fs_info; 68 id_table = squashfs_read_table(sb, table_start, sizeof(*id_table)); 95 table = squashfs_read_table(sb, start, len);
|
/linux-master/arch/s390/hypfs/ |
H A D | inode.c | 50 static void hypfs_update_update(struct super_block *sb) argument 52 struct hypfs_sb_info *sb_info = sb->s_fs_info; 94 static struct inode *hypfs_make_inode(struct super_block *sb, umode_t mode) argument 96 struct inode *ret = new_inode(sb); 99 struct hypfs_sb_info *hypfs_info = sb->s_fs_info; 167 struct super_block *sb = file_inode(iocb->ki_filp)->i_sb; local 168 struct hypfs_sb_info *fs_info = sb->s_fs_info; 186 hypfs_delete_tree(sb->s_root); 188 rc = hypfs_vm_create_files(sb->s_root); 190 rc = hypfs_diag_create_files(sb 256 hypfs_fill_super(struct super_block *sb, struct fs_context *fc) argument 324 hypfs_kill_super(struct super_block *sb) argument [all...] |
/linux-master/fs/udf/ |
H A D | ialloc.c | 32 struct super_block *sb = dir->i_sb; local 33 struct udf_sb_info *sbi = UDF_SB(sb); 41 inode = new_inode(sb); 76 iinfo->i_unique = lvid_get_unique_id(sb); 80 if (UDF_QUERY_FLAG(sb, UDF_FLAG_UID_SET)) 82 if (UDF_QUERY_FLAG(sb, UDF_FLAG_GID_SET)) 88 inode->i_ino = udf_get_lb_pblock(sb, &iinfo->i_location, 0);
|
/linux-master/fs/devpts/ |
H A D | inode.c | 103 struct super_block *sb; member in struct:pts_fs_info 107 static inline struct pts_fs_info *DEVPTS_SB(struct super_block *sb) argument 109 return sb->s_fs_info; 114 struct super_block *sb; local 123 sb = path->mnt->mnt_sb; 124 if ((sb->s_magic != DEVPTS_SUPER_MAGIC) || 125 (path->mnt->mnt_root != sb->s_root)) 184 struct super_block *sb; local 203 sb = path.mnt->mnt_sb; 204 atomic_inc(&sb 303 mknod_ptmx(struct super_block *sb) argument 365 devpts_remount(struct super_block *sb, int *flags, char *data) argument 409 new_pts_fs_info(struct super_block *sb) argument 489 devpts_kill_sb(struct super_block *sb) argument 546 struct super_block *sb = fsi->sb; local [all...] |
/linux-master/sound/isa/sb/ |
H A D | sb_mixer.c | 11 #include <sound/sb.h> 58 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); local 65 spin_lock_irqsave(&sb->mixer_lock, flags); 66 val = (snd_sbmixer_read(sb, reg) >> shift) & mask; 67 spin_unlock_irqrestore(&sb->mixer_lock, flags); 74 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); local 83 spin_lock_irqsave(&sb->mixer_lock, flags); 84 oval = snd_sbmixer_read(sb, reg); 88 snd_sbmixer_write(sb, reg, val); 89 spin_unlock_irqrestore(&sb 110 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); local 130 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); local 179 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); local 215 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); local 267 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); local 285 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); local 320 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); local 343 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); local 386 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); local 407 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); local [all...] |