Home
last modified time | relevance | path

Searched refs:getbmapx (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/fs/xfs/
Dxfs_bmap_util.h40 typedef int (*xfs_bmap_format_t)(void **, struct getbmapx *, int *);
41 int xfs_getbmap(struct xfs_inode *ip, struct getbmapx *bmv,
Dxfs_ioctl.c1352 xfs_getbmap_format(void **ap, struct getbmapx *bmv, int *full) in xfs_getbmap_format()
1371 struct getbmapx bmx; in xfs_ioc_getbmap()
1374 if (copy_from_user(&bmx, arg, sizeof(struct getbmapx))) in xfs_ioc_getbmap()
1396 xfs_getbmapx_format(void **ap, struct getbmapx *bmv, int *full) in xfs_getbmapx_format()
1398 struct getbmapx __user *base = (struct getbmapx __user *)*ap; in xfs_getbmapx_format()
1400 if (copy_to_user(base, bmv, sizeof(struct getbmapx))) in xfs_getbmapx_format()
1403 *ap += sizeof(struct getbmapx); in xfs_getbmapx_format()
1412 struct getbmapx bmx; in xfs_ioc_getbmapx()
1425 (__force struct getbmapx *)arg+1); in xfs_ioc_getbmapx()
1430 if (copy_to_user(arg, &bmx, sizeof(struct getbmapx))) in xfs_ioc_getbmapx()
Dxfs_bmap_util.c444 struct getbmapx *out, /* output structure */ in xfs_getbmapx_fix_eof_hole()
492 struct getbmapx *bmv, /* user bmap structure */ in xfs_getbmap()
507 struct getbmapx *out; /* output structure */ in xfs_getbmap()
568 if (bmv->bmv_count > ULONG_MAX / sizeof(struct getbmapx)) in xfs_getbmap()
570 out = kmem_zalloc_large(bmv->bmv_count * sizeof(struct getbmapx), 0); in xfs_getbmap()
Dxfs_iops.c1021 struct getbmapx *bmv, in xfs_fiemap_format()
1065 struct getbmapx bm; in xfs_vn_fiemap()
1084 (PAGE_SIZE * 16 / sizeof(struct getbmapx))); in xfs_vn_fiemap()
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_fs.h99 struct getbmapx { struct