Searched refs:align (Results 1 – 14 of 14) sorted by relevance
/fs/xfs/ |
D | xfs_iomap.h | 29 xfs_extlen_t align; in xfs_aligned_fsb_count() local 31 div_u64_rem(offset_fsb, extsz, &align); in xfs_aligned_fsb_count() 32 if (align) in xfs_aligned_fsb_count() 33 count_fsb += align; in xfs_aligned_fsb_count() 34 div_u64_rem(count_fsb, extsz, &align); in xfs_aligned_fsb_count() 35 if (align) in xfs_aligned_fsb_count() 36 count_fsb += extsz - align; in xfs_aligned_fsb_count()
|
D | xfs_iomap.c | 112 xfs_extlen_t align = 0; in xfs_eof_alignment() local 124 align = mp->m_swidth; in xfs_eof_alignment() 126 align = mp->m_dalign; in xfs_eof_alignment() 128 if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align)) in xfs_eof_alignment() 129 align = 0; in xfs_eof_alignment() 137 if (align) in xfs_eof_alignment() 138 align = roundup_64(align, extsize); in xfs_eof_alignment() 140 align = extsize; in xfs_eof_alignment() 143 return align; in xfs_eof_alignment() 152 xfs_extlen_t align = xfs_eof_alignment(ip, extsize); in xfs_iomap_eof_align_last_fsb() local [all …]
|
D | xfs_bmap_util.c | 80 xfs_extlen_t align; /* minimum allocation alignment */ in xfs_bmap_rtalloc() local 84 align = xfs_get_extsz_hint(ap->ip); in xfs_bmap_rtalloc() 85 prod = align / mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc() 87 align, 1, ap->eof, 0, in xfs_bmap_rtalloc() 98 div_u64_rem(ap->offset, align, &mod); in xfs_bmap_rtalloc() 99 if (mod || ap->length % align) in xfs_bmap_rtalloc()
|
/fs/ |
D | coredump.c | 860 int dump_align(struct coredump_params *cprm, int align) in dump_align() argument 862 unsigned mod = cprm->pos & (align - 1); in dump_align() 863 if (align & (align - 1)) in dump_align() 865 return mod ? dump_skip(cprm, align - mod) : 1; in dump_align()
|
D | direct-io.c | 1185 unsigned long align = offset | iov_iter_alignment(iter); in do_blockdev_direct_IO() local 1192 if (align & blocksize_mask) { in do_blockdev_direct_IO() 1196 if (align & blocksize_mask) in do_blockdev_direct_IO()
|
/fs/freevxfs/ |
D | vxfs_inode.h | 127 __u64 align; member
|
/fs/xfs/libxfs/ |
D | xfs_sb.c | 255 uint32_t align; in xfs_validate_sb_common() local 257 align = XFS_INODES_PER_CHUNK * sbp->sb_inodesize in xfs_validate_sb_common() 259 if (sbp->sb_inoalignmt != align) { in xfs_validate_sb_common() 262 sbp->sb_inoalignmt, align); in xfs_validate_sb_common()
|
D | xfs_fs.h | 615 __s64 align; /* force alignment of ha_fid */ member
|
D | xfs_bmap.c | 3385 xfs_extlen_t align = 0; /* minimum allocation alignment */ in xfs_bmap_btalloc() local 3413 align = xfs_get_cowextsz_hint(ap->ip); in xfs_bmap_btalloc() 3415 align = xfs_get_extsz_hint(ap->ip); in xfs_bmap_btalloc() 3416 if (align) { in xfs_bmap_btalloc() 3418 align, 0, ap->eof, 0, ap->conv, in xfs_bmap_btalloc() 3488 if (align) { in xfs_bmap_btalloc() 3489 args.prod = align; in xfs_bmap_btalloc()
|
/fs/iomap/ |
D | direct-io.c | 207 unsigned int align = iov_iter_alignment(dio->submit.iter); in iomap_dio_bio_actor() local 215 if ((pos | length | align) & ((1 << blkbits) - 1)) in iomap_dio_bio_actor()
|
/fs/btrfs/ |
D | free-space-cache.c | 1809 unsigned long align, u64 *max_extent_size) in find_free_space() argument 1835 if (*bytes >= align) { in find_free_space() 1836 tmp = entry->offset - ctl->start + align - 1; in find_free_space() 1837 tmp = div64_u64(tmp, align); in find_free_space() 1838 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 | data.c | 2932 unsigned long align = offset | iov_iter_alignment(iter); in check_direct_IO() local 2935 if (align & blocksize_mask) { in check_direct_IO() 2939 if (align & blocksize_mask) in check_direct_IO()
|
D | f2fs.h | 3716 unsigned long align = offset | iov_iter_alignment(iter); in block_unaligned_IO() local 3718 return align & blocksize_mask; in block_unaligned_IO()
|