Lines Matching refs:buf2
323 static void udf_copy_to_bufs(void *buf1, int len1, void *buf2, int len2, in udf_copy_to_bufs() argument
338 if (WARN_ON_ONCE(off + len > len2 || !buf2)) in udf_copy_to_bufs()
340 memcpy(buf2 + off, src, len); in udf_copy_to_bufs()
344 static uint16_t udf_crc_fi_bufs(void *buf1, int len1, void *buf2, int len2, in udf_crc_fi_bufs() argument
359 if (WARN_ON_ONCE(off + len > len2 || !buf2)) in udf_crc_fi_bufs()
361 crc = crc_itu_t(crc, buf2 + off, len); in udf_crc_fi_bufs()
366 static void udf_copy_fi_to_bufs(char *buf1, int len1, char *buf2, int len2, in udf_copy_fi_to_bufs() argument
377 udf_copy_to_bufs(buf1, len1, buf2, len2, off, fi, in udf_copy_fi_to_bufs()
381 udf_copy_to_bufs(buf1, len1, buf2, len2, off, impuse, in udf_copy_fi_to_bufs()
385 udf_copy_to_bufs(buf1, len1, buf2, len2, off, name, in udf_copy_fi_to_bufs()
388 udf_copy_to_bufs(buf1, len1, buf2, len2, off, zeros, in udf_copy_fi_to_bufs()
392 crc = udf_crc_fi_bufs(buf1, len1, buf2, len2, crcoff, crclen); in udf_copy_fi_to_bufs()
397 udf_copy_to_bufs(buf1, len1, buf2, len2, fioff, fi, sizeof(struct tag)); in udf_copy_fi_to_bufs()
403 void *buf1, *buf2 = NULL; in udf_fiiter_write_fi() local
415 buf2 = iter->bh[1]->b_data; in udf_fiiter_write_fi()
420 udf_copy_fi_to_bufs(buf1, len1, buf2, len2, off, &iter->fi, impuse, in udf_fiiter_write_fi()