Searched refs:align (Results 1 – 15 of 15) sorted by relevance
/fs/xfs/ |
D | xfs_iomap.h | 43 xfs_extlen_t align; in xfs_aligned_fsb_count() local 45 align = do_mod(offset_fsb, extsz); in xfs_aligned_fsb_count() 46 if (align) in xfs_aligned_fsb_count() 47 count_fsb += align; in xfs_aligned_fsb_count() 48 align = do_mod(count_fsb, extsz); in xfs_aligned_fsb_count() 49 if (align) in xfs_aligned_fsb_count() 50 count_fsb += extsz - align; in xfs_aligned_fsb_count()
|
D | xfs_iomap.c | 81 xfs_extlen_t align = 0; in xfs_eof_alignment() local 93 align = mp->m_swidth; in xfs_eof_alignment() 95 align = mp->m_dalign; in xfs_eof_alignment() 97 if (align && XFS_ISIZE(ip) < XFS_FSB_TO_B(mp, align)) in xfs_eof_alignment() 98 align = 0; in xfs_eof_alignment() 106 if (align) in xfs_eof_alignment() 107 align = roundup_64(align, extsize); in xfs_eof_alignment() 109 align = extsize; in xfs_eof_alignment() 112 return align; in xfs_eof_alignment() 121 xfs_extlen_t align = xfs_eof_alignment(ip, extsize); in xfs_iomap_eof_align_last_fsb() local [all …]
|
D | xfs_bmap_util.c | 96 xfs_extlen_t align; /* minimum allocation alignment */ in xfs_bmap_rtalloc() local 100 align = xfs_get_extsz_hint(ap->ip); in xfs_bmap_rtalloc() 101 prod = align / mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc() 103 align, 1, ap->eof, 0, in xfs_bmap_rtalloc() 114 if (do_mod(ap->offset, align) || ap->length % align) in xfs_bmap_rtalloc()
|
/fs/ |
D | coredump.c | 831 int dump_align(struct coredump_params *cprm, int align) in dump_align() argument 833 unsigned mod = cprm->pos & (align - 1); in dump_align() 834 if (align & (align - 1)) in dump_align() 836 return mod ? dump_skip(cprm, align - mod) : 1; in dump_align()
|
D | direct-io.c | 1189 unsigned long align = offset | iov_iter_alignment(iter); in do_blockdev_direct_IO() local 1196 if (align & blocksize_mask) { in do_blockdev_direct_IO() 1200 if (align & blocksize_mask) in do_blockdev_direct_IO()
|
D | iomap.c | 854 unsigned int align = iov_iter_alignment(dio->submit.iter); in iomap_dio_actor() local 860 if ((pos | length | align) & ((1 << blkbits) - 1)) in iomap_dio_actor()
|
/fs/xfs/libxfs/ |
D | xfs_sb.c | 201 uint32_t align; in xfs_mount_validate_sb() local 203 align = XFS_INODES_PER_CHUNK * sbp->sb_inodesize in xfs_mount_validate_sb() 205 if (sbp->sb_inoalignmt != align) { in xfs_mount_validate_sb() 208 sbp->sb_inoalignmt, align); in xfs_mount_validate_sb()
|
D | xfs_fs.h | 442 __s64 align; /* force alignment of ha_fid */ member
|
D | xfs_bmap.c | 3560 xfs_extlen_t align = 0; /* minimum allocation alignment */ in xfs_bmap_btalloc() local 3584 align = xfs_get_cowextsz_hint(ap->ip); in xfs_bmap_btalloc() 3586 align = xfs_get_extsz_hint(ap->ip); in xfs_bmap_btalloc() 3587 if (align) { in xfs_bmap_btalloc() 3589 align, 0, ap->eof, 0, ap->conv, in xfs_bmap_btalloc() 3659 if (align) { in xfs_bmap_btalloc() 3660 args.prod = align; in xfs_bmap_btalloc()
|
/fs/freevxfs/ |
D | vxfs_inode.h | 127 __u64 align; member
|
/fs/ceph/ |
D | file.c | 103 size_t align; in dio_get_pages_alloc() local 107 align = (unsigned long)(it->iov->iov_base + it->iov_offset) & in dio_get_pages_alloc() 109 npages = calc_pages_for(align, nbytes); in dio_get_pages_alloc() 128 *page_align = align; in dio_get_pages_alloc() 129 dout("dio_get_pages_alloc: got %d pages align %zu\n", npages, align); in dio_get_pages_alloc()
|
/fs/btrfs/ |
D | free-space-cache.c | 1814 unsigned long align, u64 *max_extent_size) in find_free_space() argument 1840 if (*bytes >= align) { in find_free_space() 1841 tmp = entry->offset - ctl->start + align - 1; in find_free_space() 1842 tmp = div64_u64(tmp, align); in find_free_space() 1843 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 | 2608 unsigned long align = offset | iov_iter_alignment(iter); in check_direct_IO() local 2611 if (align & blocksize_mask) { in check_direct_IO() 2615 if (align & blocksize_mask) in check_direct_IO()
|
D | f2fs.h | 3621 unsigned long align = offset | iov_iter_alignment(iter); in block_unaligned_IO() local 3623 return align & blocksize_mask; in block_unaligned_IO()
|