/linux-master/lib/ |
H A D | codetag.c | 131 DECLARE_SEQ_BUF(sb, KSYM_NAME_LEN); 135 seq_buf_printf(&sb, "%s%s", prefix, name); 136 if (seq_buf_has_overflowed(&sb)) 139 buf = seq_buf_str(&sb);
|
/linux-master/fs/hfs/ |
H A D | btree.c | 19 struct hfs_btree *hfs_btree_open(struct super_block *sb, u32 id, btree_keycmp keycmp) argument 34 tree->sb = sb; 38 tree->inode = iget_locked(sb, id); 43 struct hfs_mdb *mdb = HFS_SB(sb)->mdb; 239 HFS_SB(tree->sb)->alloc_blksz; 241 tree->sb->s_blocksize_bits;
|
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | sb1250-mac.c | 755 * SBDMA_ADD_RCVBUFFER(d,sb) 763 * sb - sk_buff to add, or NULL if we should allocate one 772 struct sk_buff *sb) 814 if (sb == NULL) { 824 sb_new = sb; 827 * and sb->data already points to a good place. 872 * SBDMA_ADD_TXBUFFER(d,sb) 879 * sb - sk_buff to add 887 static int sbdma_add_txbuffer(struct sbmacdma *d, struct sk_buff *sb) argument 916 length = sb 771 sbdma_add_rcvbuffer(struct sbmac_softc *sc, struct sbmacdma *d, struct sk_buff *sb) argument 979 struct sk_buff *sb; local 1059 struct sk_buff *sb; local 1224 struct sk_buff *sb; local [all...] |
/linux-master/fs/f2fs/ |
H A D | sysfs.c | 254 struct super_block *sb = sbi->sb; local 258 (sb->s_encoding->version >> 16) & 0xff, 259 (sb->s_encoding->version >> 8) & 0xff, 260 sb->s_encoding->version & 0xff); 792 if (!down_read_trylock(&sbi->sb->s_umount)) 797 up_read(&sbi->sb->s_umount); 1387 struct super_block *sb = seq->private; local 1388 struct f2fs_sb_info *sbi = F2FS_SB(sb); 1414 struct super_block *sb local 1438 struct super_block *sb = seq->private; local 1460 struct super_block *sb = seq->private; local 1498 struct super_block *sb = seq->private; local 1577 struct super_block *sb = sbi->sb; local [all...] |
/linux-master/drivers/infiniband/hw/qib/ |
H A D | qib_fs.c | 358 static int add_cntr_files(struct super_block *sb, struct qib_devdata *dd) argument 366 ret = create_file(unit, S_IFDIR|S_IRUGO|S_IXUGO, sb->s_root, &dir, 428 static int remove_device_files(struct super_block *sb, argument 435 dir = lookup_one_len_unlocked(unit, sb->s_root, strlen(unit)); 451 static int qibfs_fill_super(struct super_block *sb, struct fs_context *fc) argument 463 ret = simple_fill_super(sb, QIBFS_MAGIC, files); 470 ret = add_cntr_files(sb, dd);
|
/linux-master/fs/ecryptfs/ |
H A D | ecryptfs_kernel.h | 471 ecryptfs_superblock_to_private(struct super_block *sb) argument 473 return (struct ecryptfs_sb_info *)sb->s_fs_info; 477 ecryptfs_set_superblock_private(struct super_block *sb, argument 480 sb->s_fs_info = sb_info; 484 ecryptfs_superblock_to_lower(struct super_block *sb) argument 486 return ((struct ecryptfs_sb_info *)sb->s_fs_info)->wsi_sb; 490 ecryptfs_set_superblock_lower(struct super_block *sb, argument 493 ((struct ecryptfs_sb_info *)sb->s_fs_info)->wsi_sb = lower_sb; 546 struct super_block *sb); 552 struct super_block *sb, [all...] |
/linux-master/fs/notify/ |
H A D | mark.c | 218 struct super_block *sb = inode->i_sb; local 221 if (atomic_long_dec_and_test(&sb->s_fsnotify_connectors)) 222 wake_up_var(&sb->s_fsnotify_connectors); 227 struct super_block *sb = fsnotify_connector_sb(conn); local 229 if (sb) 230 atomic_long_inc(&sb->s_fsnotify_connectors); 235 struct super_block *sb = fsnotify_connector_sb(conn); local 237 if (sb && atomic_long_dec_and_test(&sb->s_fsnotify_connectors)) 238 wake_up_var(&sb [all...] |
/linux-master/fs/nilfs2/ |
H A D | namei.c | 132 struct super_block *sb = dir->i_sb; local 137 if (l > sb->s_blocksize) 455 static struct dentry *nilfs_get_dentry(struct super_block *sb, u64 cno, argument 461 if (ino < NILFS_FIRST_INO(sb) && ino != NILFS_ROOT_INO) 464 root = nilfs_lookup_root(sb->s_fs_info, cno); 468 inode = nilfs_iget(sb, root, ino); 480 static struct dentry *nilfs_fh_to_dentry(struct super_block *sb, struct fid *fh, argument 490 return nilfs_get_dentry(sb, fid->cno, fid->ino, fid->gen); 493 static struct dentry *nilfs_fh_to_parent(struct super_block *sb, struct fid *fh, argument 502 return nilfs_get_dentry(sb, fi [all...] |
H A D | mdt.c | 72 struct super_block *sb = inode->i_sb; local 77 nilfs_transaction_begin(sb, &ti, 0); 92 bh->b_bdev = sb->s_bdev; 106 err = nilfs_transaction_commit(sb); 108 nilfs_transaction_abort(sb); 404 struct super_block *sb; local 425 sb = inode->i_sb; 428 err = nilfs_construct_segment(sb); 430 nilfs_flush_segment(sb, inode->i_ino);
|
/linux-master/fs/hpfs/ |
H A D | super.c | 27 struct hpfs_spare_block *sb; local 28 if ((sb = hpfs_map_sector(s, 17, &bh, 0))) { 29 sb->dirty = 1; 30 sb->old_wrote = 0; 44 struct hpfs_spare_block *sb; local 47 if ((sb = hpfs_map_sector(s, 17, &bh, 0))) { 48 sb->dirty = hpfs_sb(s)->sb_chkdsk > 1 - hpfs_sb(s)->sb_was_error; 49 sb->old_wrote = hpfs_sb(s)->sb_chkdsk >= 2 && !hpfs_sb(s)->sb_was_error; 232 static struct inode *hpfs_alloc_inode(struct super_block *sb) argument 235 ei = alloc_inode_sb(sb, hpfs_inode_cache [all...] |
H A D | file.c | 123 struct super_block *sb = inode->i_sb; local 134 hpfs_lock(sb); 137 n_secs = hpfs_search_hotfix_map_for_range(sb, s, 140 s = hpfs_search_hotfix_map(sb, s); 153 hpfs_unlock(sb);
|
/linux-master/include/linux/ |
H A D | fscrypt.h | 154 const union fscrypt_policy *(*get_dummy_policy)(struct super_block *sb); 175 bool (*has_stable_inodes)(struct super_block *sb); 191 struct block_device **(*get_devices)(struct super_block *sb, 366 struct super_block *sb); 380 void fscrypt_destroy_keyring(struct super_block *sb); 445 static inline void fscrypt_set_ops(struct super_block *sb, argument 448 sb->s_cop = s_cop; 592 struct super_block *sb) 608 static inline void fscrypt_destroy_keyring(struct super_block *sb) argument 824 static inline void fscrypt_set_ops(struct super_block *sb, argument 590 fscrypt_show_test_dummy_encryption(struct seq_file *seq, char sep, struct super_block *sb) argument [all...] |
H A D | fsnotify.h | 20 /* Are there any inode/mount/sb objects that are being watched at all? */ 21 static inline bool fsnotify_sb_has_watchers(struct super_block *sb) argument 23 return atomic_long_read(&sb->s_fsnotify_connectors); 74 /* sb/mount marks are not interested in name of directory */ 120 * (e.g. by HSM filling a file on access), so sb freeze protection 428 static inline int fsnotify_sb_error(struct super_block *sb, struct inode *inode, argument 434 .sb = sb,
|
/linux-master/fs/proc/ |
H A D | inode.c | 53 static struct inode *proc_alloc_inode(struct super_block *sb) argument 57 ei = alloc_inode_sb(sb, proc_inode_cachep, GFP_KERNEL); 116 struct super_block *sb; local 124 sb = inode->i_sb; 125 if ((sb != old_sb) && !atomic_inc_not_zero(&sb->s_active)) 129 if (sb != old_sb) { 132 old_sb = sb; 644 struct inode *proc_get_inode(struct super_block *sb, struct proc_dir_entry *de) argument 646 struct inode *inode = new_inode(sb); [all...] |
/linux-master/fs/fuse/ |
H A D | control.c | 310 static int fuse_ctl_fill_super(struct super_block *sb, struct fs_context *fsc) argument 316 err = simple_fill_super(sb, FUSE_CTL_SUPER_MAGIC, &empty_descr); 322 fuse_control_sb = sb; 351 static void fuse_ctl_kill_sb(struct super_block *sb) argument 361 kill_litter_super(sb);
|
/linux-master/fs/nfs/ |
H A D | fscache.c | 88 int nfs_fscache_get_super_cookie(struct super_block *sb, const char *uniq, int ulen) argument 91 struct nfs_server *nfss = NFS_SB(sb); 109 !nfs_append_int(key, &len, sb->s_flags & NFS_SB_MASK) || 151 void nfs_fscache_release_super_cookie(struct super_block *sb) argument 153 struct nfs_server *nfss = NFS_SB(sb);
|
H A D | internal.h | 149 struct super_block *sb; member in struct:nfs_fs_context::nfs_clone_mount 434 extern struct inode *nfs_alloc_inode(struct super_block *sb); 454 extern bool nfs_sb_active(struct super_block *sb); 455 extern void nfs_sb_deactive(struct super_block *sb); 673 struct super_block *sb = inode->i_sb; local 675 if (sb && nfs_sb_active(sb)) { 678 nfs_sb_deactive(sb); 686 struct super_block *sb = inode->i_sb; local 689 nfs_sb_deactive(sb); 766 nfs_super_set_maxbytes(struct super_block *sb, __u64 maxfilesize) argument [all...] |
/linux-master/fs/smb/client/ |
H A D | misc.c | 1152 struct super_block *sb; member in struct:super_cb_data 1155 static void tcon_super_cb(struct super_block *sb, void *arg) argument 1161 if (sd->sb) 1164 cifs_sb = CIFS_SB(sb); 1172 sd->sb = sb; 1181 .sb = NULL, 1189 if (sd.sb) { 1195 cifs_sb_active(sd.sb); 1196 return sd.sb; 1203 __cifs_put_super(struct super_block *sb) argument 1220 cifs_put_tcp_super(struct super_block *sb) argument [all...] |
/linux-master/fs/bcachefs/ |
H A D | bcachefs_format.h | 514 #include "sb-counters_format.h" 693 x(sb, 1) \ 920 * @offset - sector where this sb was written 1051 static inline __u64 BCH_SB_COMPRESSION_TYPE(const struct bch_sb *sb) argument 1053 return BCH_SB_COMPRESSION_TYPE_LO(sb) | (BCH_SB_COMPRESSION_TYPE_HI(sb) << 4); 1056 static inline void SET_BCH_SB_COMPRESSION_TYPE(struct bch_sb *sb, __u64 v) argument 1058 SET_BCH_SB_COMPRESSION_TYPE_LO(sb, v); 1059 SET_BCH_SB_COMPRESSION_TYPE_HI(sb, v >> 4); 1062 static inline __u64 BCH_SB_BACKGROUND_COMPRESSION_TYPE(const struct bch_sb *sb) argument 1068 SET_BCH_SB_BACKGROUND_COMPRESSION_TYPE(struct bch_sb *sb, __u64 v) argument 1291 __bch2_sb_magic(struct bch_sb *sb) argument 1299 __jset_magic(struct bch_sb *sb) argument 1304 __bset_magic(struct bch_sb *sb) argument [all...] |
H A D | checksum.c | 472 static int bch2_sb_crypt_validate(struct bch_sb *sb, argument 492 static void bch2_sb_crypt_to_text(struct printbuf *out, struct bch_sb *sb, argument 570 int bch2_request_key(struct bch_sb *sb, struct bch_key *key) argument 576 pr_uuid(&key_description, sb->user_uuid.b); 586 bch2_passphrase_check(sb, passphrase, 598 int bch2_revoke_key(struct bch_sb *sb) argument 604 pr_uuid(&key_description, sb->user_uuid.b); 629 ret = bch2_request_key(c->disk_sb.sb, &user_key); 687 crypt = bch2_sb_field_get(c->disk_sb.sb, crypt); 703 SET_BCH_SB_ENCRYPTION_TYPE(c->disk_sb.sb, [all...] |
/linux-master/drivers/atm/ |
H A D | nicstar.c | 143 static void dequeue_sm_buf(ns_dev * card, struct sk_buff *sb); 206 struct sk_buff *sb; local 243 while ((sb = skb_dequeue(&card->sbpool.queue)) != NULL) 244 dev_kfree_skb_any(sb); 713 struct sk_buff *sb; local 714 sb = __dev_alloc_skb(NS_SMSKBSIZE, GFP_KERNEL); 715 if (sb == NULL) { 723 NS_PRV_BUFTYPE(sb) = BUF_SM; 724 skb_queue_tail(&card->sbpool.queue, sb); 725 skb_reserve(sb, NS_AAL0_HEADE 827 struct sk_buff *sb; local 1168 struct sk_buff *sb; local 2029 struct sk_buff *sb; local 2183 struct sk_buff *sb; local 2226 struct sk_buff *hb, *sb, *lb; local 2358 dequeue_sm_buf(ns_dev * card, struct sk_buff *sb) argument 2584 struct sk_buff *sb; local [all...] |
/linux-master/sound/isa/ |
H A D | cmi8330.c | 41 #include <sound/sb.h> 156 struct snd_sb *sb; member in struct:snd_cmi8330 162 void *private_data; /* sb or wss */ 311 err = cmi8330_add_sb_mixers(acard->sb); 448 chip->streams[CMI_SB_STREAM].private_data = chip->sb; 475 snd_sbmixer_suspend(acard->sb); 483 snd_sbdsp_reset(acard->sb); 484 snd_sbmixer_suspend(acard->sb); 547 SB_HW_AUTO, &acard->sb); 552 if (acard->sb [all...] |
/linux-master/fs/ext2/ |
H A D | dir.c | 102 struct super_block *sb = dir->i_sb; local 104 u32 max_inumber = le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count); 142 ext2_error(sb, __func__, 162 ext2_error(sb, __func__, "bad entry in directory #%lu: : %s - " 171 ext2_error(sb, "ext2_check_folio", 262 struct super_block *sb = inode->i_sb; local 274 EXT2_HAS_INCOMPAT_FEATURE(sb, EXT2_FEATURE_INCOMPAT_FILETYPE); 283 ext2_error(sb, __func__, 301 ext2_error(sb, __func__,
|
/linux-master/fs/bfs/ |
H A D | inode.c | 34 struct inode *bfs_iget(struct super_block *sb, unsigned long ino) argument 41 inode = iget_locked(sb, ino); 96 static struct bfs_inode *find_inode(struct super_block *sb, u16 ino, struct buffer_head **p) argument 98 if ((ino < BFS_ROOT_INO) || (ino > BFS_SB(sb)->si_lasti)) { 99 printf("Bad inode number %s:%08x\n", sb->s_id, ino); 105 *p = sb_bread(sb, 1 + ino / BFS_INODES_PER_BLOCK); 107 printf("Unable to read inode %s:%08x\n", sb->s_id, ino); 236 static struct inode *bfs_alloc_inode(struct super_block *sb) argument 239 bi = alloc_inode_sb(sb, bfs_inode_cachep, GFP_KERNEL);
|
/linux-master/security/landlock/ |
H A D | fs.c | 53 struct super_block *sb; variable in typeref:struct:super_block 69 sb = inode->i_sb; 70 atomic_long_inc(&landlock_superblock(sb)->inode_refs); 84 if (atomic_long_dec_and_test(&landlock_superblock(sb)->inode_refs)) 85 wake_up_var(&landlock_superblock(sb)->inode_refs); 1217 static void hook_sb_delete(struct super_block *const sb) argument 1224 spin_lock(&sb->s_inode_list_lock); 1225 list_for_each_entry(inode, &sb->s_inodes, i_sb_list) { 1300 spin_unlock(&sb->s_inode_list_lock); 1307 spin_lock(&sb 1367 hook_sb_remount(struct super_block *const sb, void *const mnt_opts) argument [all...] |