/fs/ext3/ |
D | xattr.c | 636 struct ext3_xattr_block_find *bs) in ext3_xattr_block_find() argument 646 bs->bh = sb_bread(sb, EXT3_I(inode)->i_file_acl); in ext3_xattr_block_find() 648 if (!bs->bh) in ext3_xattr_block_find() 650 ea_bdebug(bs->bh, "b_count=%d, refcount=%d", in ext3_xattr_block_find() 651 atomic_read(&(bs->bh->b_count)), in ext3_xattr_block_find() 652 le32_to_cpu(BHDR(bs->bh)->h_refcount)); in ext3_xattr_block_find() 653 if (ext3_xattr_check_block(bs->bh)) { in ext3_xattr_block_find() 661 bs->s.base = BHDR(bs->bh); in ext3_xattr_block_find() 662 bs->s.first = BFIRST(bs->bh); in ext3_xattr_block_find() 663 bs->s.end = bs->bh->b_data + bs->bh->b_size; in ext3_xattr_block_find() [all …]
|
/fs/ext4/ |
D | xattr.c | 646 struct ext4_xattr_block_find *bs) in ext4_xattr_block_find() argument 656 bs->bh = sb_bread(sb, EXT4_I(inode)->i_file_acl); in ext4_xattr_block_find() 658 if (!bs->bh) in ext4_xattr_block_find() 660 ea_bdebug(bs->bh, "b_count=%d, refcount=%d", in ext4_xattr_block_find() 661 atomic_read(&(bs->bh->b_count)), in ext4_xattr_block_find() 662 le32_to_cpu(BHDR(bs->bh)->h_refcount)); in ext4_xattr_block_find() 663 if (ext4_xattr_check_block(bs->bh)) { in ext4_xattr_block_find() 671 bs->s.base = BHDR(bs->bh); in ext4_xattr_block_find() 672 bs->s.first = BFIRST(bs->bh); in ext4_xattr_block_find() 673 bs->s.end = bs->bh->b_data + bs->bh->b_size; in ext4_xattr_block_find() [all …]
|
/fs/ |
D | bio.c | 125 static void bio_put_slab(struct bio_set *bs) in bio_put_slab() argument 133 if (bs->bio_slab == bio_slabs[i].slab) { in bio_put_slab() 159 void bvec_free_bs(struct bio_set *bs, struct bio_vec *bv, unsigned int idx) in bvec_free_bs() argument 164 mempool_free(bv, bs->bvec_pool); in bvec_free_bs() 173 struct bio_set *bs) in bvec_alloc_bs() argument 182 if (!bs) in bvec_alloc_bs() 217 bvl = mempool_alloc(bs->bvec_pool, gfp_mask); in bvec_alloc_bs() 243 void bio_free(struct bio *bio, struct bio_set *bs) in bio_free() argument 248 bvec_free_bs(bs, bio->bi_io_vec, BIO_POOL_IDX(bio)); in bio_free() 251 bio_integrity_free(bio, bs); in bio_free() [all …]
|
D | bio-integrity.c | 45 struct bio_set *bs) in bio_integrity_alloc_bioset() argument 53 bip = mempool_alloc(bs->bio_integrity_pool, gfp_mask); in bio_integrity_alloc_bioset() 61 iv = bvec_alloc_bs(gfp_mask, nr_vecs, &idx, bs); in bio_integrity_alloc_bioset() 64 mempool_free(bip, bs->bio_integrity_pool); in bio_integrity_alloc_bioset() 103 void bio_integrity_free(struct bio *bio, struct bio_set *bs) in bio_integrity_free() argument 114 bvec_free_bs(bs, bip->bip_vec, bip->bip_pool); in bio_integrity_free() 115 mempool_free(bip, bs->bio_integrity_pool); in bio_integrity_free() 694 gfp_t gfp_mask, struct bio_set *bs) in bio_integrity_clone() argument 701 bip = bio_integrity_alloc_bioset(bio, gfp_mask, bip_src->bip_vcnt, bs); in bio_integrity_clone() 717 int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create() argument [all …]
|
/fs/hpfs/ |
D | alloc.c | 68 unsigned bs = near & ~0x3fff; in alloc_in_bmp() local 79 if (bs != ~0x3fff) { in alloc_in_bmp() 85 ret = bs + nr; in alloc_in_bmp() 104 ret = bs + q; in alloc_in_bmp() 127 ret = bs + q; in alloc_in_bmp() 135 …if (hpfs_sb(s)->sb_chk && ((ret >> 14) != (bs >> 14) || (bmp[(ret & 0x3fff) >> 5] | ~(((1 << n) - … in alloc_in_bmp()
|
/fs/xfs/ |
D | xfs_dir2_trace.h | 50 struct xfs_dabuf *bs, int ss, 64 #define xfs_dir2_trace_args_bibii(where, args, bs, ss, bd, sd, c) argument
|
D | xfs_dir2_trace.c | 130 xfs_dabuf_t *bs, in xfs_dir2_trace_args_bibii() argument 136 xfs_buf_t *bpbs = bs ? bs->bps[0] : NULL; in xfs_dir2_trace_args_bibii()
|
/fs/btrfs/ |
D | ioctl.c | 739 u64 bs = root->fs_info->sb->s_blocksize; in btrfs_ioctl_clone() local 807 len = ((src->i_size + bs-1) & ~(bs-1)) in btrfs_ioctl_clone() 811 if ((off & (bs-1)) || in btrfs_ioctl_clone() 812 ((off + len) & (bs-1))) in btrfs_ioctl_clone()
|
D | ctree.h | 283 #define __BTRFS_LEAF_DATA_SIZE(bs) ((bs) - sizeof(struct btrfs_header)) argument
|
/fs/nfsd/ |
D | nfs3xdr.c | 1040 u64 bs = s->f_bsize; in nfs3svc_encode_fsstatres() local 1045 p = xdr_encode_hyper(p, bs * s->f_blocks); /* total bytes */ in nfs3svc_encode_fsstatres() 1046 p = xdr_encode_hyper(p, bs * s->f_bfree); /* free bytes */ in nfs3svc_encode_fsstatres() 1047 p = xdr_encode_hyper(p, bs * s->f_bavail); /* user available bytes */ in nfs3svc_encode_fsstatres()
|