Lines Matching defs:bytes
87 * @offset: offset bytes in the first block
88 * @check_bytes: number of bytes to be checked
147 unsigned int bytes = le16_to_cpu(sr->sr_bytes);
149 if (bytes == 0 || bytes > nilfs->ns_blocksize) {
154 nilfs, bh_sr, &crc, sizeof(sr->sr_sum), bytes,
240 * @bytes: byte size of the item to be read
244 unsigned int *offset, unsigned int bytes)
250 if (bytes > (*pbh)->b_size - *offset) {
260 *offset += bytes;
269 * @bytes: byte size of the item to be skipped
274 unsigned int *offset, unsigned int bytes,
278 = ((*pbh)->b_size - *offset) / bytes;
281 *offset += bytes * count;
284 unsigned int nitem_per_block = (*pbh)->b_size / bytes;
289 *offset = bytes * (count - (bcnt - 1) * nitem_per_block);