• Home
  • Raw
  • Download

Lines Matching refs:buffer

197 	const xfs_bstat_t	*buffer)  in xfs_bulkstat_one_fmt()  argument
199 if (ubsize < sizeof(*buffer)) in xfs_bulkstat_one_fmt()
201 if (copy_to_user(ubuffer, buffer, sizeof(*buffer))) in xfs_bulkstat_one_fmt()
204 *ubused = sizeof(*buffer); in xfs_bulkstat_one_fmt()
216 void __user *buffer, /* buffer to place output in */ in xfs_bulkstat_one_int() argument
231 if (!buffer || xfs_internal_inum(mp, ino)) in xfs_bulkstat_one_int()
247 error = formatter(buffer, ubsize, ubused, buf); in xfs_bulkstat_one_int()
262 void __user *buffer, /* buffer to place output in */ in xfs_bulkstat_one() argument
270 return xfs_bulkstat_one_int(mp, ino, buffer, ubsize, in xfs_bulkstat_one()
745 char __user *buffer, /* buffer with inode stats */ in xfs_bulkstat_single() argument
763 error = xfs_bulkstat_one(mp, ino, buffer, sizeof(xfs_bstat_t), in xfs_bulkstat_single()
773 NULL, sizeof(xfs_bstat_t), buffer, in xfs_bulkstat_single()
789 const xfs_inogrp_t *buffer, /* buffer to read from */ in xfs_inumbers_fmt() argument
793 if (copy_to_user(ubuffer, buffer, count * sizeof(*buffer))) in xfs_inumbers_fmt()
795 *written = count * sizeof(*buffer); in xfs_inumbers_fmt()
814 xfs_inogrp_t *buffer; in xfs_inumbers() local
831 bcount = MIN(left, (int)(PAGE_SIZE / sizeof(*buffer))); in xfs_inumbers()
832 buffer = kmem_alloc(bcount * sizeof(*buffer), KM_SLEEP); in xfs_inumbers()
880 buffer[bufidx].xi_startino = XFS_AGINO_TO_INO(mp, agno, gino); in xfs_inumbers()
881 buffer[bufidx].xi_alloccount = XFS_INODES_PER_CHUNK - gcnt; in xfs_inumbers()
882 buffer[bufidx].xi_allocmask = ~gfree; in xfs_inumbers()
887 if (formatter(ubuffer, buffer, bufidx, &written)) { in xfs_inumbers()
914 if (formatter(ubuffer, buffer, bufidx, &written)) in xfs_inumbers()
921 kmem_free(buffer); in xfs_inumbers()