X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fxfs%2Fxfs_itable.h;h=1fb04e7deb61298d13c4a55db385071b92c3b9a5;hb=48c72d1ab4ec86789a23aed0b0b5f31ac083c0c6;hp=a1f18fce9b7071083e9ed88bc48c6908a4e65f28;hpb=b91cba52e9b7b3f1c0037908a192d93a869ca9e5;p=karo-tx-linux.git diff --git a/fs/xfs/xfs_itable.h b/fs/xfs/xfs_itable.h index a1f18fce9b70..1fb04e7deb61 100644 --- a/fs/xfs/xfs_itable.h +++ b/fs/xfs/xfs_itable.h @@ -71,8 +71,22 @@ xfs_bulkstat_single( typedef int (*bulkstat_one_fmt_pf)( /* used size in bytes or negative error */ void __user *ubuffer, /* buffer to write to */ + int ubsize, /* remaining user buffer sz */ + int *ubused, /* bytes used by formatter */ const xfs_bstat_t *buffer); /* buffer to read from */ +int +xfs_bulkstat_one_int( + xfs_mount_t *mp, + xfs_ino_t ino, + void __user *buffer, + int ubsize, + bulkstat_one_fmt_pf formatter, + xfs_daddr_t bno, + int *ubused, + void *dibuff, + int *stat); + int xfs_bulkstat_one( xfs_mount_t *mp,