Searched refs:bs (Results 1 – 9 of 9) sorted by relevance
/fs/ext4/ |
D | xattr.c | 1814 struct ext4_xattr_block_find *bs) in ext4_xattr_block_find() argument 1824 bs->bh = ext4_sb_bread(sb, EXT4_I(inode)->i_file_acl, REQ_PRIO); in ext4_xattr_block_find() 1825 if (IS_ERR(bs->bh)) in ext4_xattr_block_find() 1826 return PTR_ERR(bs->bh); in ext4_xattr_block_find() 1827 ea_bdebug(bs->bh, "b_count=%d, refcount=%d", in ext4_xattr_block_find() 1828 atomic_read(&(bs->bh->b_count)), in ext4_xattr_block_find() 1829 le32_to_cpu(BHDR(bs->bh)->h_refcount)); in ext4_xattr_block_find() 1830 error = ext4_xattr_check_block(inode, bs->bh); in ext4_xattr_block_find() 1834 bs->s.base = BHDR(bs->bh); in ext4_xattr_block_find() 1835 bs->s.first = BFIRST(bs->bh); in ext4_xattr_block_find() [all …]
|
/fs/nfs/ |
D | nfs4file.c | 184 unsigned int bs = server->clone_blksize; in nfs42_clone_file_range() local 190 if (bs) { in nfs42_clone_file_range() 191 if (!IS_ALIGNED(src_off, bs) || !IS_ALIGNED(dst_off, bs)) in nfs42_clone_file_range() 193 if (!IS_ALIGNED(count, bs) && i_size_read(src_inode) != (src_off + count)) in nfs42_clone_file_range()
|
/fs/hpfs/ |
D | alloc.c | 119 unsigned bs = near & ~0x3fff; in alloc_in_bmp() local 129 if (bs != ~0x3fff) { in alloc_in_bmp() 135 ret = bs + nr; in alloc_in_bmp() 150 ret = bs + q; in alloc_in_bmp() 173 ret = bs + q; in alloc_in_bmp() 181 …if (hpfs_sb(s)->sb_chk && ((ret >> 14) != (bs >> 14) || (le32_to_cpu(bmp[(ret & 0x3fff) >> 5]) | ~… in alloc_in_bmp()
|
/fs/xfs/libxfs/ |
D | xfs_fs.h | 306 bstat_get_projid(struct xfs_bstat *bs) in bstat_get_projid() argument 308 return (uint32_t)bs->bs_projid_hi << 16 | bs->bs_projid_lo; in bstat_get_projid()
|
/fs/udf/ |
D | inode.c | 1303 int bs = inode->i_sb->s_blocksize; in udf_read_inode() local 1402 ret = udf_alloc_i_data(inode, bs - in udf_read_inode() 1408 bs - sizeof(struct extendedFileEntry)); in udf_read_inode() 1412 ret = udf_alloc_i_data(inode, bs - sizeof(struct fileEntry)); in udf_read_inode() 1417 bs - sizeof(struct fileEntry)); in udf_read_inode() 1424 ret = udf_alloc_i_data(inode, bs - in udf_read_inode() 1430 bs - sizeof(struct unallocSpaceEntry)); in udf_read_inode() 1518 if (iinfo->i_lenEAttr > bs || iinfo->i_lenAlloc > bs) in udf_read_inode() 1521 if (udf_file_entry_alloc_offset(inode) + iinfo->i_lenAlloc > bs) in udf_read_inode() 1532 if (inode->i_size > bs - udf_file_entry_alloc_offset(inode)) in udf_read_inode()
|
/fs/nfsd/ |
D | nfs3xdr.c | 1052 u64 bs = s->f_bsize; in nfs3svc_encode_fsstatres() local 1057 p = xdr_encode_hyper(p, bs * s->f_blocks); /* total bytes */ in nfs3svc_encode_fsstatres() 1058 p = xdr_encode_hyper(p, bs * s->f_bfree); /* free bytes */ in nfs3svc_encode_fsstatres() 1059 p = xdr_encode_hyper(p, bs * s->f_bavail); /* user available bytes */ in nfs3svc_encode_fsstatres()
|
/fs/ |
D | read_write.c | 1757 loff_t bs = inode_out->i_sb->s_blocksize; in vfs_clone_file_prep_inodes() local 1806 blen = ALIGN(isize, bs) - pos_in; in vfs_clone_file_prep_inodes() 1811 if (!IS_ALIGNED(pos_in, bs) || !IS_ALIGNED(pos_in + blen, bs) || in vfs_clone_file_prep_inodes() 1812 !IS_ALIGNED(pos_out, bs) || !IS_ALIGNED(pos_out + blen, bs)) in vfs_clone_file_prep_inodes()
|
/fs/btrfs/ |
D | ioctl.c | 3110 u64 bs = BTRFS_I(inode)->root->fs_info->sb->s_blocksize; in extent_same_check_offsets() local 3117 *plen = len = ALIGN(inode->i_size, bs) - off; in extent_same_check_offsets() 3120 if (!IS_ALIGNED(off, bs) || !IS_ALIGNED(off + len, bs)) in extent_same_check_offsets() 3279 u64 bs = BTRFS_I(src)->root->fs_info->sb->s_blocksize; in btrfs_dedupe_file_range() local 3285 if (WARN_ON_ONCE(bs < PAGE_SIZE)) { in btrfs_dedupe_file_range() 3885 u64 bs = fs_info->sb->s_blocksize; in btrfs_clone_files() local 3935 if (!IS_ALIGNED(len, bs) && destoff + len < inode->i_size) in btrfs_clone_files() 3937 len = ALIGN(src->i_size, bs) - off; in btrfs_clone_files() 3946 if (!IS_ALIGNED(off, bs) || !IS_ALIGNED(off + len, bs) || in btrfs_clone_files() 3947 !IS_ALIGNED(destoff, bs)) in btrfs_clone_files()
|
D | send.c | 5268 u64 bs = sctx->send_root->fs_info->sb->s_blocksize; in send_write_or_clone() local 5292 if (clone_root && IS_ALIGNED(offset + len, bs)) { in send_write_or_clone()
|