/fs/xfs/ |
D | xfs_iomap.h | 30 xfs_extlen_t align; in xfs_aligned_fsb_count() local 32 div_u64_rem(offset_fsb, extsz, &align); in xfs_aligned_fsb_count() 33 if (align) in xfs_aligned_fsb_count() 34 count_fsb += align; in xfs_aligned_fsb_count() 35 div_u64_rem(count_fsb, extsz, &align); in xfs_aligned_fsb_count() 36 if (align) in xfs_aligned_fsb_count() 37 count_fsb += extsz - align; in xfs_aligned_fsb_count()
|
D | xfs_iomap.c | 124 xfs_extlen_t align = 0; in xfs_eof_alignment() local 136 align = mp->m_swidth; in xfs_eof_alignment() 138 align = mp->m_dalign; in xfs_eof_alignment() 140 if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align)) in xfs_eof_alignment() 141 align = 0; in xfs_eof_alignment() 144 return align; in xfs_eof_alignment() 158 xfs_extlen_t align = xfs_eof_alignment(ip); in xfs_iomap_eof_align_last_fsb() local 168 if (align) in xfs_iomap_eof_align_last_fsb() 169 align = roundup_64(align, extsz); in xfs_iomap_eof_align_last_fsb() 171 align = extsz; in xfs_iomap_eof_align_last_fsb() [all …]
|
D | xfs_bmap_util.c | 82 xfs_extlen_t align; /* minimum allocation alignment */ in xfs_bmap_rtalloc() local 90 align = xfs_get_extsz_hint(ap->ip); in xfs_bmap_rtalloc() 92 prod = align / mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc() 94 align, 1, ap->eof, 0, in xfs_bmap_rtalloc() 114 div_u64_rem(ap->offset, align, &mod); in xfs_bmap_rtalloc() 115 if (mod || ap->length % align) in xfs_bmap_rtalloc() 191 if (align > mp->m_sb.sb_rextsize) { in xfs_bmap_rtalloc() 200 minlen = align = mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc()
|
D | xfs_mount.h | 320 __XFS_HAS_FEAT(align, ALIGN)
|
/fs/ |
D | coredump.c | 962 int dump_align(struct coredump_params *cprm, int align) in dump_align() argument 964 unsigned mod = (cprm->pos + cprm->to_skip) & (align - 1); in dump_align() 965 if (align & (align - 1)) in dump_align() 968 cprm->to_skip += align - mod; in dump_align()
|
D | direct-io.c | 1145 unsigned long align = offset | iov_iter_alignment(iter); in do_blockdev_direct_IO() local 1179 if (align & blocksize_mask) { in do_blockdev_direct_IO() 1183 if (align & blocksize_mask) in do_blockdev_direct_IO()
|
/fs/ntfs3/ |
D | attrib.c | 245 u32 used, asize, rsize, aoff, align; in attr_make_nonresident() local 266 align = sbi->cluster_size; in attr_make_nonresident() 268 align <<= COMPRESSION_UNIT; in attr_make_nonresident() 269 len = (rsize + align - 1) >> sbi->cluster_bits; in attr_make_nonresident() 427 u32 align; in attr_set_size() local 452 align = sbi->cluster_size; in attr_set_size() 455 align <<= attr_b->nres.c_unit; in attr_set_size() 462 new_alloc = (new_size + align - 1) & ~(u64)(align - 1); in attr_set_size()
|
D | fslog.c | 46 u8 align[6]; // 0x16: member 67 __le32 align[5]; // 0x2C: member 252 u8 align[6]; // 0x2A: member 261 u8 align[6]; // 0x02: member
|
/fs/erofs/ |
D | data.c | 307 loff_t align = iocb->ki_pos | iov_iter_count(to) | in erofs_prepare_dio() local 317 if (align & blksize_mask) in erofs_prepare_dio()
|
/fs/freevxfs/ |
D | vxfs_inode.h | 127 __u64 align; member
|
/fs/xfs/libxfs/ |
D | xfs_sb.c | 349 uint32_t align; in xfs_validate_sb_common() local 351 align = XFS_INODES_PER_CHUNK * sbp->sb_inodesize in xfs_validate_sb_common() 353 if (sbp->sb_inoalignmt != align) { in xfs_validate_sb_common() 356 sbp->sb_inoalignmt, align); in xfs_validate_sb_common()
|
D | xfs_fs.h | 647 __s64 align; /* force alignment of ha_fid */ member
|
D | xfs_bmap.c | 3421 xfs_extlen_t align = 0; /* minimum allocation alignment */ in xfs_bmap_compute_alignments() local 3431 align = xfs_get_cowextsz_hint(ap->ip); in xfs_bmap_compute_alignments() 3433 align = xfs_get_extsz_hint(ap->ip); in xfs_bmap_compute_alignments() 3434 if (align) { in xfs_bmap_compute_alignments() 3435 if (xfs_bmap_extsize_align(mp, &ap->got, &ap->prev, align, 0, in xfs_bmap_compute_alignments() 3443 if (align) { in xfs_bmap_compute_alignments() 3444 args->prod = align; in xfs_bmap_compute_alignments()
|
/fs/iomap/ |
D | direct-io.c | 244 unsigned int align = iov_iter_alignment(dio->submit.iter); in iomap_dio_bio_iter() local 255 if ((pos | length | align) & ((1 << blkbits) - 1)) in iomap_dio_bio_iter()
|
/fs/btrfs/ |
D | free-space-cache.c | 1886 unsigned long align, u64 *max_extent_size) in find_free_space() argument 1912 if (*bytes >= align) { in find_free_space() 1913 tmp = entry->offset - ctl->start + align - 1; in find_free_space() 1914 tmp = div64_u64(tmp, align); in find_free_space() 1915 tmp = tmp * align + ctl->start; in find_free_space()
|
/fs/reiserfs/ |
D | README | 102 align files), and he invented and implemented indirect items and
|
/fs/f2fs/ |
D | file.c | 4275 unsigned int align; in f2fs_should_use_dio() local 4294 align = iocb->ki_pos | iov_iter_alignment(iter); in f2fs_should_use_dio() 4295 if (!IS_ALIGNED(align, i_blocksize(inode)) && in f2fs_should_use_dio() 4296 IS_ALIGNED(align, bdev_logical_block_size(inode->i_sb->s_bdev))) in f2fs_should_use_dio()
|