Lines Matching refs:byte_cnt
247 int byte_cnt;
263 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount);
265 error = xfs_buf_read(mp->m_ddev_targp, d, BTOBB(byte_cnt), 0,
271 byte_cnt = XFS_SYMLINK_BUF_SPACE(mp, byte_cnt);
272 if (pathlen < byte_cnt)
273 byte_cnt = pathlen;
278 byte_cnt, bp)) {
283 offset, byte_cnt, ip->i_ino);
292 memcpy(link + offset, cur_chunk, byte_cnt);
294 pathlen -= byte_cnt;
295 offset += byte_cnt;
323 int byte_cnt;
356 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount);
358 BTOBB(byte_cnt), 0, &bp);
363 byte_cnt = XFS_SYMLINK_BUF_SPACE(mp, byte_cnt);
364 byte_cnt = min(byte_cnt, pathlen);
367 buf += xfs_symlink_hdr_set(mp, ip->i_ino, offset, byte_cnt,
370 memcpy(buf, cur_chunk, byte_cnt);
372 cur_chunk += byte_cnt;
373 pathlen -= byte_cnt;
374 offset += byte_cnt;
377 xfs_trans_log_buf(tp, bp, 0, (buf + byte_cnt - 1) -