Lines Matching refs:tmp_buf
485 char *tmp_buf; in fs_path_ensure_buf() local
509 tmp_buf = kmalloc(len, GFP_KERNEL); in fs_path_ensure_buf()
510 if (tmp_buf) in fs_path_ensure_buf()
511 memcpy(tmp_buf, p->buf, old_buf_len); in fs_path_ensure_buf()
513 tmp_buf = krealloc(p->buf, len, GFP_KERNEL); in fs_path_ensure_buf()
515 if (!tmp_buf) in fs_path_ensure_buf()
517 p->buf = tmp_buf; in fs_path_ensure_buf()
521 tmp_buf = p->buf + old_buf_len - path_len - 1; in fs_path_ensure_buf()
524 memmove(p->start, tmp_buf, path_len + 1); in fs_path_ensure_buf()
7514 char *tmp_buf) in tree_compare_item() argument
7529 read_extent_buffer(left_path->nodes[0], tmp_buf, off1, len1); in tree_compare_item()
7531 cmp = memcmp_extent_buffer(right_path->nodes[0], tmp_buf, off2, len1); in tree_compare_item()
7651 char *tmp_buf = NULL; in btrfs_compare_trees() local
7677 tmp_buf = kvmalloc(fs_info->nodesize, GFP_KERNEL); in btrfs_compare_trees()
7678 if (!tmp_buf) { in btrfs_compare_trees()
7865 tmp_buf); in btrfs_compare_trees()
7923 kvfree(tmp_buf); in btrfs_compare_trees()