Lines Matching refs:length
211 ptr += be16_to_cpu(dup->length); in xfs_dir2_block_getdents()
280 int length; in xfs_dir2_leaf_readbuf() local
363 length = mip->map_valid + mip->nmap - i; in xfs_dir2_leaf_readbuf()
364 if (length) in xfs_dir2_leaf_readbuf()
366 sizeof(map[i]) * length); in xfs_dir2_leaf_readbuf()
439 for (j = 0; j < geo->fsbcount; j += length ) { in xfs_dir2_leaf_readbuf()
444 length = min_t(int, geo->fsbcount, in xfs_dir2_leaf_readbuf()
447 mip->ra_offset += length; in xfs_dir2_leaf_readbuf()
481 int length; /* temporary length value */ in xfs_dir2_leaf_getdents() local
501 length = howmany(bufsize + geo->blksize, (1 << geo->fsblog)); in xfs_dir2_leaf_getdents()
503 (length * sizeof(struct xfs_bmbt_irec)), in xfs_dir2_leaf_getdents()
505 map_info->map_size = length; in xfs_dir2_leaf_getdents()
576 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
577 ptr += length; in xfs_dir2_leaf_getdents()
581 length = in xfs_dir2_leaf_getdents()
583 ptr += length; in xfs_dir2_leaf_getdents()
606 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
607 ptr += length; in xfs_dir2_leaf_getdents()
608 curoff += length; in xfs_dir2_leaf_getdents()
613 length = dp->d_ops->data_entsize(dep->namelen); in xfs_dir2_leaf_getdents()
625 ptr += length; in xfs_dir2_leaf_getdents()
626 curoff += length; in xfs_dir2_leaf_getdents()
628 bufsize = bufsize > length ? bufsize - length : 0; in xfs_dir2_leaf_getdents()