/linux-master/fs/ |
H A D | proc_namespace.c | 45 static int show_sb_opts(struct seq_file *m, struct super_block *sb) argument 57 if (sb->s_flags & fs_infop->flag) 61 return security_sb_show_options(m, sb); 92 static void show_type(struct seq_file *m, struct super_block *sb) argument 94 mangle(m, sb->s_type->name); 95 if (sb->s_subtype) { 97 mangle(m, sb->s_subtype); 106 struct super_block *sb = mnt_path.dentry->d_sb; local 109 if (sb->s_op->show_devname) { 110 err = sb 139 struct super_block *sb = mnt->mnt_sb; local 198 struct super_block *sb = mnt_path.dentry->d_sb; local [all...] |
/linux-master/fs/jfs/ |
H A D | jfs_mount.c | 55 static int logMOUNT(struct super_block *sb); 58 * NAME: jfs_mount(sb) 62 * PARAMETER: sb - super block 70 int jfs_mount(struct super_block *sb) argument 73 struct jfs_sb_info *sbi = JFS_SBI(sb); 83 if ((rc = chkSuper(sb))) { 87 ipaimap = diReadSpecial(sb, AGGREGATE_I, 0); 108 ipbmap = diReadSpecial(sb, BMAP_I, 0); 138 ipaimap2 = diReadSpecial(sb, AGGREGATE_I, 1); 166 ipimap = diReadSpecial(sb, FILESYSTEM_ 221 jfs_mount_rw(struct super_block *sb, int remount) argument 287 chkSuper(struct super_block *sb) argument 402 updateSuper(struct super_block *sb, uint state) argument 458 readSuper(struct super_block *sb, struct buffer_head **bpp) argument 488 logMOUNT(struct super_block *sb) argument [all...] |
/linux-master/fs/udf/ |
H A D | balloc.c | 30 static int read_block_bitmap(struct super_block *sb, argument 40 loc.partitionReferenceNum = UDF_SB(sb)->s_partition; 42 bh = sb_bread(sb, udf_get_lb_pblock(sb, &loc, block)); 48 max_bits = sb->s_blocksize * 8; 58 (bitmap->s_nr_groups >> (sb->s_blocksize_bits + 3)) + 2) 72 static int __load_block_bitmap(struct super_block *sb, argument 87 retval = read_block_bitmap(sb, bitmap, block_group, block_group); 94 static inline int load_block_bitmap(struct super_block *sb, argument 100 slot = __load_block_bitmap(sb, bitma 111 udf_add_free_space(struct super_block *sb, u16 partition, u32 cnt) argument 124 udf_bitmap_free_blocks(struct super_block *sb, struct udf_bitmap *bitmap, struct kernel_lb_addr *bloc, uint32_t offset, uint32_t count) argument 190 udf_bitmap_prealloc_blocks(struct super_block *sb, struct udf_bitmap *bitmap, uint16_t partition, uint32_t first_block, uint32_t block_count) argument 238 udf_bitmap_new_block(struct super_block *sb, struct udf_bitmap *bitmap, uint16_t partition, uint32_t goal, int *err) argument 376 udf_table_free_blocks(struct super_block *sb, struct inode *table, struct kernel_lb_addr *bloc, uint32_t offset, uint32_t count) argument 517 udf_table_prealloc_blocks(struct super_block *sb, struct inode *table, uint16_t partition, uint32_t first_block, uint32_t block_count) argument 577 udf_table_new_block(struct super_block *sb, struct inode *table, uint16_t partition, uint32_t goal, int *err) argument 670 udf_free_blocks(struct super_block *sb, struct inode *inode, struct kernel_lb_addr *bloc, uint32_t offset, uint32_t count) argument 691 udf_prealloc_blocks(struct super_block *sb, struct inode *inode, uint16_t partition, uint32_t first_block, uint32_t block_count) argument 717 udf_new_block(struct super_block *sb, struct inode *inode, uint16_t partition, uint32_t goal, int *err) argument [all...] |
H A D | udf_sb.h | 161 static inline struct udf_sb_info *UDF_SB(struct super_block *sb) argument 163 return sb->s_fs_info; 166 struct logicalVolIntegrityDescImpUse *udf_sb_lvidiu(struct super_block *sb); 168 int udf_compute_nr_groups(struct super_block *sb, u32 partition); 170 static inline int UDF_QUERY_FLAG(struct super_block *sb, int flag) argument 172 return test_bit(flag, &UDF_SB(sb)->s_flags); 175 static inline void UDF_SET_FLAG(struct super_block *sb, int flag) argument 177 set_bit(flag, &UDF_SB(sb)->s_flags); 180 static inline void UDF_CLEAR_FLAG(struct super_block *sb, int flag) argument 182 clear_bit(flag, &UDF_SB(sb) [all...] |
/linux-master/fs/fat/ |
H A D | fatent.c | 23 static void fat12_ent_blocknr(struct super_block *sb, int entry, argument 26 struct msdos_sb_info *sbi = MSDOS_SB(sb); 29 *offset = bytes & (sb->s_blocksize - 1); 30 *blocknr = sbi->fat_start + (bytes >> sb->s_blocksize_bits); 33 static void fat_ent_blocknr(struct super_block *sb, int entry, argument 36 struct msdos_sb_info *sbi = MSDOS_SB(sb); 39 *offset = bytes & (sb->s_blocksize - 1); 40 *blocknr = sbi->fat_start + (bytes >> sb->s_blocksize_bits); 69 static int fat12_ent_bread(struct super_block *sb, struct fat_entry *fatent, argument 74 WARN_ON(blocknr < MSDOS_SB(sb) 102 fat_ent_bread(struct super_block *sb, struct fat_entry *fatent, int offset, sector_t blocknr) argument 289 fat_ent_access_init(struct super_block *sb) argument 309 mark_fsinfo_dirty(struct super_block *sb) argument 319 fat_ent_update_ptr(struct super_block *sb, struct fat_entry *fatent, int offset, sector_t blocknr) argument 351 struct super_block *sb = inode->i_sb; local 376 fat_mirror_bhs(struct super_block *sb, struct buffer_head **bhs, int nr_bhs) argument 413 struct super_block *sb = inode->i_sb; local 436 fat_ent_read_block(struct super_block *sb, struct fat_entry *fatent) argument 468 struct super_block *sb = inode->i_sb; local 556 struct super_block *sb = inode->i_sb; local 647 fat_ra_init(struct super_block *sb, struct fatent_ra *ra, struct fat_entry *fatent, int ent_limit) argument 683 fat_ent_reada(struct super_block *sb, struct fatent_ra *ra, struct fat_entry *fatent) argument 716 fat_count_free_clusters(struct super_block *sb) argument 755 fat_trim_clusters(struct super_block *sb, u32 clus, u32 nr_clus) argument 764 struct super_block *sb = inode->i_sb; local [all...] |
H A D | inode.c | 123 struct super_block *sb = inode->i_sb; local 124 struct msdos_sb_info *sbi = MSDOS_SB(sb); 133 map_bh(bh_result, sb, phys); 140 if (iblock != MSDOS_I(inode)->mmu_private >> sb->s_blocksize_bits) { 141 fat_fs_error(sb, "corrupted file size (i_pos %lld, %lld)", 146 last_block = inode->i_blocks >> (sb->s_blocksize_bits - 9); 163 MSDOS_I(inode)->mmu_private += *max_blocks << sb->s_blocksize_bits; 169 fat_fs_error(sb, 178 map_bh(bh_result, sb, phys); 186 struct super_block *sb local 293 struct super_block *sb = inode->i_sb; local 376 fat_hash_init(struct super_block *sb) argument 391 dir_hash_init(struct super_block *sb) argument 446 fat_iget(struct super_block *sb, loff_t i_pos) argument 495 struct super_block *sb = dir->i_sb; local 593 fat_build_inode(struct super_block *sb, struct msdos_dir_entry *de, loff_t i_pos) argument 668 fat_set_state(struct super_block *sb, unsigned int set, unsigned int force) argument 733 fat_put_super(struct super_block *sb) argument 747 fat_alloc_inode(struct super_block *sb) argument 807 fat_remount(struct super_block *sb, int *flags, char *data) argument 828 struct super_block *sb = dentry->d_sb; local 853 struct super_block *sb = inode->i_sb; local 916 struct super_block *sb = inode->i_sb; local 1134 parse_options(struct super_block *sb, char *options, int is_vfat, int silent, int *debug, struct fat_mount_options *opts) argument 1425 calc_fat_clusters(struct super_block *sb) argument 1463 fat_read_bpb(struct super_block *sb, struct fat_boot_sector *b, int silent, struct fat_bios_param_block *bpb) argument 1541 fat_read_static_bpb(struct super_block *sb, struct fat_boot_sector *b, int silent, struct fat_bios_param_block *bpb) argument 1607 fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat, void (*setup)(struct super_block *)) argument 1938 fat_flush_inodes(struct super_block *sb, struct inode *i1, struct inode *i2) argument [all...] |
/linux-master/fs/ext4/ |
H A D | ext4_jbd2.c | 64 static int ext4_journal_check_start(struct super_block *sb) argument 70 if (unlikely(ext4_forced_shutdown(sb))) 73 if (WARN_ON_ONCE(sb_rdonly(sb))) 76 WARN_ON(sb->s_writers.frozen == SB_FREEZE_COMPLETE); 77 journal = EXT4_SB(sb)->s_journal; 84 ext4_abort(sb, -journal->j_errno, "Detected aborted journal"); 91 struct super_block *sb, unsigned int line, 102 trace_ext4_journal_start_sb(sb, blocks, rsv_blocks, 105 err = ext4_journal_check_start(sb); 109 journal = EXT4_SB(sb) 90 __ext4_journal_start_sb(struct inode *inode, struct super_block *sb, unsigned int line, int type, int blocks, int rsv_blocks, int revoke_creds) argument 118 struct super_block *sb; local 146 struct super_block *sb; local 207 ext4_check_bdev_write_error(struct super_block *sb) argument 229 __ext4_journal_get_write_access(const char *where, unsigned int line, handle_t *handle, struct super_block *sb, struct buffer_head *bh, enum ext4_journal_trigger_type trigger_type) argument 318 __ext4_journal_get_create_access(const char *where, unsigned int line, handle_t *handle, struct super_block *sb, struct buffer_head *bh, enum ext4_journal_trigger_type trigger_type) argument [all...] |
H A D | ioctl.c | 55 int ext4_update_primary_sb(struct super_block *sb, handle_t *handle, argument 60 struct ext4_sb_info *sbi = EXT4_SB(sb); 64 trace_ext4_update_sb(sb, bh->b_blocknr, 1); 67 err = ext4_journal_get_write_access(handle, sb, 75 ext4_superblock_csum_set(sb); 90 ext4_std_error(sb, err); 103 static int ext4_update_backup_sb(struct super_block *sb, argument 113 if (!ext4_bg_has_super(sb, grp)) 122 offset = do_div(sb_block, sb->s_blocksize); 124 sb_block = ext4_group_first_block_no(sb, gr 184 ext4_update_superblocks_fn(struct super_block *sb, ext4_update_sb_callback func, const void *arg) argument 371 swap_inode_boot_loader(struct super_block *sb, struct mnt_idmap *idmap, struct inode *inode) argument 594 struct super_block *sb = inode->i_sb; local 714 struct super_block *sb = inode->i_sb; local 806 ext4_force_shutdown(struct super_block *sb, u32 flags) argument 847 ext4_ioctl_shutdown(struct super_block *sb, unsigned long arg) argument 883 ext4_ioc_getfsmap(struct super_block *sb, struct fsmap_head __user *arg) argument 946 struct super_block *sb = file_inode(file)->i_sb; local 1065 struct super_block *sb = file_inode(filp)->i_sb; local 1110 struct super_block *sb = file_inode(filp)->i_sb; local 1197 struct super_block *sb = file_inode(filp)->i_sb; local 1235 struct super_block *sb = inode->i_sb; local 1711 ext4_update_overhead(struct super_block *sb, bool force) argument [all...] |
/linux-master/fs/hfs/ |
H A D | part_tbl.c | 58 int hfs_part_find(struct super_block *sb, argument 66 bh = sb_bread512(sb, *part_start + HFS_PMAP_BLK, data); 82 (HFS_SB(sb)->part < 0 || HFS_SB(sb)->part == i)) { 98 (HFS_SB(sb)->part < 0 || HFS_SB(sb)->part == i)) { 105 bh = sb_bread512(sb, *part_start + HFS_PMAP_BLK + ++i, pm);
|
/linux-master/fs/erofs/ |
H A D | internal.h | 27 __printf(3, 4) void _erofs_err(struct super_block *sb, 29 #define erofs_err(sb, fmt, ...) \ 30 _erofs_err(sb, __func__, fmt "\n", ##__VA_ARGS__) 31 __printf(3, 4) void _erofs_info(struct super_block *sb, 33 #define erofs_info(sb, fmt, ...) \ 34 _erofs_info(sb, __func__, fmt "\n", ##__VA_ARGS__) 180 #define EROFS_SB(sb) ((struct erofs_sb_info *)(sb)->s_fs_info) 193 static inline bool erofs_is_fscache_mode(struct super_block *sb) argument 195 return IS_ENABLED(CONFIG_EROFS_FS_ONDEMAND) && !sb 475 erofs_shrinker_register(struct super_block *sb) argument 476 erofs_shrinker_unregister(struct super_block *sb) argument 483 erofs_init_managed_cache(struct super_block *sb) argument 520 erofs_fscache_register_fs(struct super_block *sb) argument 524 erofs_fscache_unregister_fs(struct super_block *sb) argument 527 erofs_fscache_register_cookie(struct super_block *sb, char *name, unsigned int flags) argument [all...] |
H A D | dir.c | 53 struct super_block *sb = dir->i_sb; local 54 unsigned long bsz = sb->s_blocksize; 56 unsigned int i = erofs_blknr(sb, ctx->pos); 57 unsigned int ofs = erofs_blkoff(sb, ctx->pos); 66 de = erofs_bread(&buf, erofs_pos(sb, i), EROFS_KMAP); 68 erofs_err(sb, "fail to readdir of logical block %u of nid %llu", 76 erofs_err(sb, "invalid de[0].nameoff %u @ nid %llu", 89 ctx->pos = erofs_pos(sb, i) + ofs; 99 ctx->pos = erofs_pos(sb, i) + maxsize;
|
H A D | compress.h | 12 struct super_block *sb; member in struct:z_erofs_decompress_req 23 int (*config)(struct super_block *sb, struct erofs_super_block *dsb, 89 int z_erofs_load_lzma_config(struct super_block *sb, 91 int z_erofs_load_deflate_config(struct super_block *sb, 93 int z_erofs_load_zstd_config(struct super_block *sb,
|
/linux-master/fs/hfsplus/ |
H A D | super.c | 21 static struct inode *hfsplus_alloc_inode(struct super_block *sb); 58 struct inode *hfsplus_iget(struct super_block *sb, unsigned long ino) argument 64 inode = iget_locked(sb, ino); 176 static int hfsplus_sync_fs(struct super_block *sb, int wait) argument 178 struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb); 222 error2 = hfsplus_submit_bio(sb, 231 error2 = hfsplus_submit_bio(sb, 242 blkdev_issue_flush(sb->s_bdev); 263 void hfsplus_mark_mdb_dirty(struct super_block *sb) argument 265 struct hfsplus_sb_info *sbi = HFSPLUS_SB(sb); 288 hfsplus_put_super(struct super_block *sb) argument 318 struct super_block *sb = dentry->d_sb; local 335 hfsplus_remount(struct super_block *sb, int *flags, char *data) argument 380 hfsplus_fill_super(struct super_block *sb, void *data, int silent) argument 629 hfsplus_alloc_inode(struct super_block *sb) argument [all...] |
H A D | wrapper.c | 29 * @sb: super block of volume for I/O 35 * The unit of I/O is hfsplus_min_io_size(sb), which may be bigger than 48 int hfsplus_submit_bio(struct super_block *sb, sector_t sector, argument 63 io_size = hfsplus_min_io_size(sb); 68 bio = bio_alloc(sb->s_bdev, 1, opf, GFP_NOIO); 126 static int hfsplus_get_last_session(struct super_block *sb, argument 129 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); 133 *size = bdev_nr_sectors(sb->s_bdev); 135 if (HFSPLUS_SB(sb)->session >= 0) { 141 te.cdte_track = HFSPLUS_SB(sb) 162 hfsplus_read_wrapper(struct super_block *sb) argument [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_quotaops.c | 56 struct super_block *sb, 59 struct xfs_mount *mp = XFS_M(sb); 108 struct super_block *sb, 112 struct xfs_mount *mp = XFS_M(sb); 115 if (sb_rdonly(sb)) 158 struct super_block *sb, 161 struct xfs_mount *mp = XFS_M(sb); 163 if (sb_rdonly(sb)) 173 struct super_block *sb, 176 struct xfs_mount *mp = XFS_M(sb); 55 xfs_fs_get_quota_state( struct super_block *sb, struct qc_state *state) argument 107 xfs_fs_set_info( struct super_block *sb, int type, struct qc_info *info) argument 157 xfs_quota_enable( struct super_block *sb, unsigned int uflags) argument 172 xfs_quota_disable( struct super_block *sb, unsigned int uflags) argument 187 xfs_fs_rm_xquota( struct super_block *sb, unsigned int uflags) argument 214 xfs_fs_get_dqblk( struct super_block *sb, struct kqid qid, struct qc_dqblk *qdq) argument 231 xfs_fs_get_nextdqblk( struct super_block *sb, struct kqid *qid, struct qc_dqblk *qdq) argument 255 xfs_fs_set_dqblk( struct super_block *sb, struct kqid qid, struct qc_dqblk *qdq) argument [all...] |
H A D | xfs_super.h | 23 # define set_posix_acl_flag(sb) ((sb)->s_flags |= SB_POSIXACL) 26 # define set_posix_acl_flag(sb) do { } while (0) 101 #define XFS_M(sb) ((struct xfs_mount *)((sb)->s_fs_info))
|
/linux-master/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_sp.c | 96 struct creq_query_func_resp_sb *sb; local 107 sbuf.size = ALIGN(sizeof(*sb), BNXT_QPLIB_CMDQE_UNITS); 108 sbuf.sb = dma_alloc_coherent(&rcfw->pdev->dev, sbuf.size, 110 if (!sbuf.sb) 112 sb = sbuf.sb; 121 attr->max_qp = le32_to_cpu(sb->max_qp); 125 sb->max_qp_rd_atom > BNXT_QPLIB_MAX_OUT_RD_ATOM ? 126 BNXT_QPLIB_MAX_OUT_RD_ATOM : sb->max_qp_rd_atom; 128 sb 717 struct creq_query_roce_stats_resp_sb *sb; local 800 struct creq_query_roce_stats_ext_resp_sb *sb; local [all...] |
/linux-master/fs/adfs/ |
H A D | dir.c | 20 struct super_block *sb = dir->sb; local 23 index = offset >> sb->s_blocksize_bits; 24 offset &= sb->s_blocksize - 1; 25 remain = sb->s_blocksize - offset; 45 struct super_block *sb = dir->sb; local 48 index = offset >> sb->s_blocksize_bits; 49 offset &= sb->s_blocksize - 1; 50 remain = sb 97 adfs_dir_read_buffers(struct super_block *sb, u32 indaddr, unsigned int size, struct adfs_dir *dir) argument 146 adfs_dir_read(struct super_block *sb, u32 indaddr, unsigned int size, struct adfs_dir *dir) argument 156 adfs_dir_read_inode(struct super_block *sb, struct inode *inode, struct adfs_dir *dir) argument 241 struct super_block *sb = inode->i_sb; local 275 adfs_dir_update(struct super_block *sb, struct object_info *obj, int wait) argument 350 struct super_block *sb = inode->i_sb; local [all...] |
/linux-master/fs/affs/ |
H A D | inode.c | 18 struct inode *affs_iget(struct super_block *sb, unsigned long ino) argument 20 struct affs_sb_info *sbi = AFFS_SB(sb); 29 inode = iget_locked(sb, ino); 38 bh = affs_bread(sb, block); 40 affs_warning(sb, "read_inode", "Cannot read block %d", block); 43 if (affs_checksum_block(sb, bh) || be32_to_cpu(AFFS_HEAD(bh)->ptype) != T_SHORT) { 44 affs_warning(sb,"read_inode", 50 tail = AFFS_TAIL(sb, bh); 116 affs_warning(sb, "read_inode", "inode is LINKDIR"); 124 affs_warning(sb, "read_inod 168 struct super_block *sb = inode->i_sb; local 293 struct super_block *sb = dir->i_sb; local 350 struct super_block *sb = dir->i_sb; local [all...] |
/linux-master/fs/ntfs3/ |
H A D | super.c | 77 void ntfs_printk(const struct super_block *sb, const char *fmt, ...) argument 82 struct ntfs_sb_info *sbi = sb->s_fs_info; 93 printk("%c%cntfs3: %s: %pV\n", KERN_SOH_ASCII, level, sb->s_id, &vaf); 108 struct super_block *sb = inode->i_sb; local 109 struct ntfs_sb_info *sbi = sb->s_fs_info; 144 sb->s_id, inode->i_ino, name ? name : "", &vaf); 406 struct super_block *sb = fc->root->d_sb; local 407 struct ntfs_sb_info *sbi = sb->s_fs_info; 412 if (is_legacy_ntfs(sb)) { 417 ro_rw = sb_rdonly(sb) 468 struct super_block *sb = m->private; local 490 struct super_block *sb = m->private; local 503 struct super_block *sb = pde_data(file_inode(file)); local 561 ntfs_alloc_inode(struct super_block *sb) argument 642 ntfs_put_super(struct super_block *sb) argument 663 struct super_block *sb = dentry->d_sb; local 681 struct super_block *sb = root->d_sb; local 725 ntfs_shutdown(struct super_block *sb) argument 733 ntfs_sync_fs(struct super_block *sb, int wait) argument 787 ntfs_export_get_inode(struct super_block *sb, u64 ino, u32 generation) argument 810 ntfs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument 817 ntfs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument 873 ntfs_init_from_boot(struct super_block *sb, u32 sector_size, u64 dev_size, struct NTFS_BOOT **boot2) argument 1154 ntfs_fill_super(struct super_block *sb, struct fs_context *fc) argument 1635 ntfs_unmap_meta(struct super_block *sb, CLST lcn, CLST len) argument 1668 struct super_block *sb; local 1794 ntfs3_kill_sb(struct super_block *sb) argument 1847 is_legacy_ntfs(struct super_block *sb) argument 1854 is_legacy_ntfs(struct super_block *sb) argument [all...] |
/linux-master/fs/squashfs/ |
H A D | fragment.c | 35 int squashfs_frag_lookup(struct super_block *sb, unsigned int fragment, argument 38 struct squashfs_sb_info *msblk = sb->s_fs_info; 50 size = squashfs_read_metadata(sb, &fragment_entry, &start_block, 63 __le64 *squashfs_read_fragment_index_table(struct super_block *sb, argument 77 table = squashfs_read_table(sb, fragment_table_start, length);
|
H A D | id.c | 32 int squashfs_get_id(struct super_block *sb, unsigned int index, argument 35 struct squashfs_sb_info *msblk = sb->s_fs_info; 47 err = squashfs_read_metadata(sb, &disk_id, &start_block, &offset, 60 __le64 *squashfs_read_id_index_table(struct super_block *sb, argument 84 table = squashfs_read_table(sb, id_table_start, length);
|
/linux-master/fs/sysv/ |
H A D | inode.c | 35 static int sysv_sync_fs(struct super_block *sb, int wait) argument 37 struct sysv_sb_info *sbi = SYSV_SB(sb); 60 static int sysv_remount(struct super_block *sb, int *flags, char *data) argument 62 struct sysv_sb_info *sbi = SYSV_SB(sb); 64 sync_filesystem(sb); 70 static void sysv_put_super(struct super_block *sb) argument 72 struct sysv_sb_info *sbi = SYSV_SB(sb); 74 if (!sb_rdonly(sb)) { 90 struct super_block *sb = dentry->d_sb; local 91 struct sysv_sb_info *sbi = SYSV_SB(sb); 170 sysv_iget(struct super_block *sb, unsigned int ino) argument 229 struct super_block * sb = inode->i_sb; local 302 sysv_alloc_inode(struct super_block *sb) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ste.c | 755 struct mlx5dr_ste_build *sb; local 763 sb = nic_matcher->ste_builder; 766 sb->lu_type, 770 mlx5dr_ste_set_bit_mask(ste_arr, sb->bit_mask); 772 ret = sb->ste_build_tag_func(value, sb, dr_ste_get_tag(ste_arr)); 781 sb++; 782 ste_ctx->set_next_lu_type(ste_arr, sb->lu_type); 783 ste_ctx->set_byte_mask(ste_arr, sb->byte_mask); 1128 struct mlx5dr_ste_build *sb, 1127 mlx5dr_ste_build_eth_l2_src_dst(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1137 mlx5dr_ste_build_eth_l3_ipv6_dst(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1147 mlx5dr_ste_build_eth_l3_ipv6_src(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1157 mlx5dr_ste_build_eth_l3_ipv4_5_tuple(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1167 mlx5dr_ste_build_eth_l2_src(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1177 mlx5dr_ste_build_eth_l2_dst(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1187 mlx5dr_ste_build_eth_l2_tnl(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1196 mlx5dr_ste_build_eth_l3_ipv4_misc(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1206 mlx5dr_ste_build_eth_ipv6_l3_l4(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1216 dr_ste_build_empty_always_hit_tag(struct mlx5dr_match_param *value, struct mlx5dr_ste_build *sb, u8 *tag) argument 1223 mlx5dr_ste_build_empty_always_hit(struct mlx5dr_ste_build *sb, bool rx) argument 1231 mlx5dr_ste_build_mpls(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1241 mlx5dr_ste_build_tnl_gre(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1251 mlx5dr_ste_build_tnl_mpls_over_gre(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, struct mlx5dr_cmd_caps *caps, bool inner, bool rx) argument 1263 mlx5dr_ste_build_tnl_mpls_over_udp(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, struct mlx5dr_cmd_caps *caps, bool inner, bool rx) argument 1275 mlx5dr_ste_build_icmp(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, struct mlx5dr_cmd_caps *caps, bool inner, bool rx) argument 1287 mlx5dr_ste_build_general_purpose(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1297 mlx5dr_ste_build_eth_l4_misc(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1307 mlx5dr_ste_build_tnl_vxlan_gpe(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1317 mlx5dr_ste_build_tnl_geneve(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1327 mlx5dr_ste_build_tnl_geneve_tlv_opt(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, struct mlx5dr_cmd_caps *caps, bool inner, bool rx) argument 1339 mlx5dr_ste_build_tnl_geneve_tlv_opt_exist(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, struct mlx5dr_cmd_caps *caps, bool inner, bool rx) argument 1354 mlx5dr_ste_build_tnl_gtpu(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1364 mlx5dr_ste_build_tnl_gtpu_flex_parser_0(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, struct mlx5dr_cmd_caps *caps, bool inner, bool rx) argument 1376 mlx5dr_ste_build_tnl_gtpu_flex_parser_1(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, struct mlx5dr_cmd_caps *caps, bool inner, bool rx) argument 1388 mlx5dr_ste_build_register_0(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1398 mlx5dr_ste_build_register_1(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1408 mlx5dr_ste_build_src_gvmi_qpn(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, struct mlx5dr_domain *dmn, bool inner, bool rx) argument 1423 mlx5dr_ste_build_flex_parser_0(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1433 mlx5dr_ste_build_flex_parser_1(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument 1443 mlx5dr_ste_build_tnl_header_0_1(struct mlx5dr_ste_ctx *ste_ctx, struct mlx5dr_ste_build *sb, struct mlx5dr_match_param *mask, bool inner, bool rx) argument [all...] |
/linux-master/fs/ocfs2/ |
H A D | quota_global.c | 134 int ocfs2_validate_quota_block(struct super_block *sb, struct buffer_head *bh) argument 137 ocfs2_block_dqtrailer(sb->s_blocksize, bh->b_data); 148 return ocfs2_validate_meta_ecc(sb, bh->b_data, &dqt->dq_check); 167 ssize_t ocfs2_quota_read(struct super_block *sb, int type, char *data, argument 170 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; 173 int offset = off & (sb->s_blocksize - 1); 174 sector_t blk = off >> sb->s_blocksize_bits; 186 tocopy = min_t(size_t, (sb->s_blocksize - offset), toread); 216 ssize_t ocfs2_quota_write(struct super_block *sb, int type, argument 219 struct mem_dqinfo *info = sb_dqinfo(sb, typ 338 ocfs2_global_read_info(struct super_block *sb, int type) argument 417 __ocfs2_global_write_info(struct super_block *sb, int type) argument 445 ocfs2_global_write_info(struct super_block *sb, int type) argument 465 ocfs2_global_qinit_alloc(struct super_block *sb, int type) argument 476 ocfs2_calc_global_qinit_credits(struct super_block *sb, int type) argument 490 struct super_block *sb = dquot->dq_sb; local 603 struct super_block *sb = dquot->dq_sb; local 647 struct super_block *sb = oinfo->dqi_gqinode->i_sb; local 692 ocfs2_calc_qdel_credits(struct super_block *sb, int type) argument 805 struct super_block *sb = dquot->dq_sb; local 886 ocfs2_get_next_id(struct super_block *sb, struct kqid *qid) argument 927 struct super_block *sb = dquot->dq_sb; local 980 ocfs2_write_info(struct super_block *sb, int type) argument 1005 ocfs2_alloc_dquot(struct super_block *sb, int type) argument [all...] |