Lines Matching defs:offset
43 unsigned long blkoff; /* File offset of the data block (per block) */
87 * @offset: offset bytes in the first block
94 unsigned long offset, u64 check_bytes,
101 BUG_ON(offset >= blocksize);
102 check_bytes -= offset;
103 size = min_t(u64, check_bytes, blocksize - offset);
105 (unsigned char *)bhs->b_data + offset, size);
239 * @offset: the current byte offset on summary blocks [in, out]
244 unsigned int *offset, unsigned int bytes)
249 BUG_ON((*pbh)->b_size < *offset);
250 if (bytes > (*pbh)->b_size - *offset) {
257 *offset = 0;
259 ptr = (*pbh)->b_data + *offset;
260 *offset += bytes;
268 * @offset: the current byte offset on summary blocks [in, out]
274 unsigned int *offset, unsigned int bytes,
278 = ((*pbh)->b_size - *offset) / bytes;
281 *offset += bytes * count;
289 *offset = bytes * (count - (bcnt - 1) * nitem_per_block);
309 unsigned int offset;
325 offset = le16_to_cpu(sum->ss_bytes);
330 finfo = nilfs_read_summary_info(nilfs, &bh, &offset,
344 binfo = nilfs_read_summary_info(nilfs, &bh, &offset,
364 nilfs_skip_summary_info(nilfs, &bh, &offset, sizeof(__le64),
548 "error %d recovering data block (ino=%lu, block-offset=%llu)",