Lines Matching refs:length
214 ptr += be16_to_cpu(dup->length); in xfs_dir2_block_getdents()
283 int length; in xfs_dir2_leaf_readbuf() local
366 length = mip->map_valid + mip->nmap - i; in xfs_dir2_leaf_readbuf()
367 if (length) in xfs_dir2_leaf_readbuf()
369 sizeof(map[i]) * length); in xfs_dir2_leaf_readbuf()
442 for (j = 0; j < geo->fsbcount; j += length ) { in xfs_dir2_leaf_readbuf()
447 length = min_t(int, geo->fsbcount, in xfs_dir2_leaf_readbuf()
450 mip->ra_offset += length; in xfs_dir2_leaf_readbuf()
484 int length; /* temporary length value */ in xfs_dir2_leaf_getdents() local
504 length = howmany(bufsize + geo->blksize, (1 << geo->fsblog)); in xfs_dir2_leaf_getdents()
506 (length * sizeof(struct xfs_bmbt_irec)), in xfs_dir2_leaf_getdents()
508 map_info->map_size = length; in xfs_dir2_leaf_getdents()
582 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
583 ptr += length; in xfs_dir2_leaf_getdents()
587 length = in xfs_dir2_leaf_getdents()
589 ptr += length; in xfs_dir2_leaf_getdents()
612 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
613 ptr += length; in xfs_dir2_leaf_getdents()
614 curoff += length; in xfs_dir2_leaf_getdents()
619 length = dp->d_ops->data_entsize(dep->namelen); in xfs_dir2_leaf_getdents()
631 ptr += length; in xfs_dir2_leaf_getdents()
632 curoff += length; in xfs_dir2_leaf_getdents()
634 bufsize = bufsize > length ? bufsize - length : 0; in xfs_dir2_leaf_getdents()