Home
last modified time | relevance | path

Searched refs:byte_cnt (Results 1 – 3 of 3) sorted by relevance

/fs/xfs/libxfs/
A Dxfs_symlink_remote.c250 int byte_cnt; in xfs_symlink_remote_read() local
274 byte_cnt = XFS_SYMLINK_BUF_SPACE(mp, byte_cnt); in xfs_symlink_remote_read()
276 byte_cnt = pathlen; in xfs_symlink_remote_read()
281 byte_cnt, bp)) { in xfs_symlink_remote_read()
297 pathlen -= byte_cnt; in xfs_symlink_remote_read()
298 offset += byte_cnt; in xfs_symlink_remote_read()
327 int byte_cnt; in xfs_symlink_write_target() local
367 byte_cnt = XFS_SYMLINK_BUF_SPACE(mp, byte_cnt); in xfs_symlink_write_target()
368 byte_cnt = min(byte_cnt, pathlen); in xfs_symlink_write_target()
376 pathlen -= byte_cnt; in xfs_symlink_write_target()
[all …]
A Dxfs_attr_remote.c311 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyout()
315 byte_cnt, bno)) { in xfs_attr_rmtval_copyout()
318 bno, *offset, byte_cnt, owner); in xfs_attr_rmtval_copyout()
333 *valuelen -= byte_cnt; in xfs_attr_rmtval_copyout()
334 *dst += byte_cnt; in xfs_attr_rmtval_copyout()
335 *offset += byte_cnt; in xfs_attr_rmtval_copyout()
360 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyin()
362 byte_cnt, bno); in xfs_attr_rmtval_copyin()
383 *valuelen -= byte_cnt; in xfs_attr_rmtval_copyin()
384 *src += byte_cnt; in xfs_attr_rmtval_copyin()
[all …]
/fs/xfs/scrub/
A Dsymlink_repair.c106 unsigned int byte_cnt; in xrep_symlink_salvage_remote() local
134 byte_cnt = XFS_FSB_TO_B(sc->mp, mval[n].br_blockcount); in xrep_symlink_salvage_remote()
135 byte_cnt = XFS_SYMLINK_BUF_SPACE(sc->mp, byte_cnt); in xrep_symlink_salvage_remote()
136 byte_cnt = min_t(unsigned int, byte_cnt, len); in xrep_symlink_salvage_remote()
147 hdr_ok = xfs_symlink_hdr_ok(ip->i_ino, offset, byte_cnt, bp); in xrep_symlink_salvage_remote()
151 memcpy(target_buf + offset, dsl + 1, byte_cnt); in xrep_symlink_salvage_remote()
153 len -= byte_cnt; in xrep_symlink_salvage_remote()
154 offset += byte_cnt; in xrep_symlink_salvage_remote()

Completed in 8 milliseconds