bmv 398 fs/xfs/xfs_bmap_util.c struct getbmapx *bmv, bmv 403 fs/xfs/xfs_bmap_util.c struct kgetbmap *p = out + bmv->bmv_entries; bmv 422 fs/xfs/xfs_bmap_util.c ASSERT((bmv->bmv_iflags & BMV_IF_DELALLOC) != 0); bmv 431 fs/xfs/xfs_bmap_util.c (bmv->bmv_iflags & BMV_IF_PREALLOC)) bmv 440 fs/xfs/xfs_bmap_util.c bmv->bmv_offset = p->bmv_offset + p->bmv_length; bmv 441 fs/xfs/xfs_bmap_util.c bmv->bmv_length = max(0LL, bmv_end - bmv->bmv_offset); bmv 442 fs/xfs/xfs_bmap_util.c bmv->bmv_entries++; bmv 449 fs/xfs/xfs_bmap_util.c struct getbmapx *bmv, bmv 455 fs/xfs/xfs_bmap_util.c struct kgetbmap *p = out + bmv->bmv_entries; bmv 457 fs/xfs/xfs_bmap_util.c if (bmv->bmv_iflags & BMV_IF_NO_HOLES) bmv 464 fs/xfs/xfs_bmap_util.c bmv->bmv_offset = p->bmv_offset + p->bmv_length; bmv 465 fs/xfs/xfs_bmap_util.c bmv->bmv_length = max(0LL, bmv_end - bmv->bmv_offset); bmv 466 fs/xfs/xfs_bmap_util.c bmv->bmv_entries++; bmv 471 fs/xfs/xfs_bmap_util.c struct getbmapx *bmv) bmv 473 fs/xfs/xfs_bmap_util.c return bmv->bmv_length == 0 || bmv->bmv_entries >= bmv->bmv_count - 1; bmv 504 fs/xfs/xfs_bmap_util.c struct getbmapx *bmv, /* user bmap structure */ bmv 508 fs/xfs/xfs_bmap_util.c int iflags = bmv->bmv_iflags; bmv 517 fs/xfs/xfs_bmap_util.c if (bmv->bmv_iflags & ~BMV_IF_VALID) bmv 527 fs/xfs/xfs_bmap_util.c if (bmv->bmv_length < -1) bmv 529 fs/xfs/xfs_bmap_util.c bmv->bmv_entries = 0; bmv 530 fs/xfs/xfs_bmap_util.c if (bmv->bmv_length == 0) bmv 603 fs/xfs/xfs_bmap_util.c if (bmv->bmv_length == -1) { bmv 605 fs/xfs/xfs_bmap_util.c bmv->bmv_length = max(0LL, max_len - bmv->bmv_offset); bmv 608 fs/xfs/xfs_bmap_util.c bmv_end = bmv->bmv_offset + bmv->bmv_length; bmv 610 fs/xfs/xfs_bmap_util.c first_bno = bno = XFS_BB_TO_FSBT(mp, bmv->bmv_offset); bmv 611 fs/xfs/xfs_bmap_util.c len = XFS_BB_TO_FSB(mp, bmv->bmv_length); bmv 625 fs/xfs/xfs_bmap_util.c xfs_getbmap_report_hole(ip, bmv, out, bmv_end, bno, bmv 630 fs/xfs/xfs_bmap_util.c while (!xfs_getbmap_full(bmv)) { bmv 638 fs/xfs/xfs_bmap_util.c xfs_getbmap_report_hole(ip, bmv, out, bmv_end, bno, bmv 640 fs/xfs/xfs_bmap_util.c if (xfs_getbmap_full(bmv)) bmv 652 fs/xfs/xfs_bmap_util.c error = xfs_getbmap_report_one(ip, bmv, out, bmv_end, bmv 654 fs/xfs/xfs_bmap_util.c if (error || xfs_getbmap_full(bmv)) bmv 661 fs/xfs/xfs_bmap_util.c out[bmv->bmv_entries - 1].bmv_oflags |= BMV_OF_LAST; bmv 664 fs/xfs/xfs_bmap_util.c !xfs_getbmap_full(bmv)) { bmv 665 fs/xfs/xfs_bmap_util.c xfs_getbmap_report_hole(ip, bmv, out, bmv_end, bmv 44 fs/xfs/xfs_bmap_util.h int xfs_getbmap(struct xfs_inode *ip, struct getbmapx *bmv,