Lines Matching defs:cur
999 u32 cur = 0;
1034 while (cur < total) {
1038 iref = (struct btrfs_inode_ref *)(ptr + cur);
1044 extref = (struct btrfs_inode_extref *)(ptr + cur);
1083 cur += elem_size + name_len;
1119 u32 cur;
1141 cur = 0;
1146 while (cur < total) {
1198 cur += len;
3071 struct recorded_ref *cur;
3074 cur = list_entry(head->next, struct recorded_ref, list);
3075 recorded_ref_free(cur);
3398 struct recorded_ref *cur;
3425 list_for_each_entry(cur, deleted_refs, list) {
3426 ret = dup_ref(cur, &pm->update_refs);
3430 list_for_each_entry(cur, new_refs, list) {
3431 ret = dup_ref(cur, &pm->update_refs);
3521 struct recorded_ref *cur;
3631 list_for_each_entry(cur, &pm->update_refs, list) {
3635 ret = get_inode_info(sctx->send_root, cur->dir, NULL);
3643 ret = cache_dir_utimes(sctx, cur->dir, cur->dir_gen);
4165 struct recorded_ref *cur;
4263 list_for_each_entry(cur, &sctx->new_refs, list) {
4264 ret = get_cur_inode_state(sctx, cur->dir, cur->dir_gen, NULL, NULL);
4276 ret = will_overwrite_ref(sctx, cur->dir, cur->dir_gen,
4277 cur->name, cur->name_len,
4283 ow_inode, cur->dir, cur->name,
4284 cur->name_len);
4292 ret = refresh_ref_path(sctx, cur);
4298 cur->full_path);
4356 ret = refresh_ref_path(sctx, cur);
4360 ret = send_unlink(sctx, cur->full_path);
4368 list_for_each_entry(cur, &sctx->new_refs, list) {
4376 ret = get_cur_inode_state(sctx, cur->dir, cur->dir_gen, NULL, NULL);
4386 if (cur == cur2)
4388 if (cur2->dir == cur->dir) {
4399 ret = did_create_dir(sctx, cur->dir);
4403 ret = send_create_inode(sctx, cur->dir);
4406 cache_dir_created(sctx, cur->dir);
4411 ret = wait_for_dest_dir_move(sctx, cur, is_orphan);
4422 ret = wait_for_parent_move(sctx, cur, is_orphan);
4437 ret = send_rename(sctx, valid_path, cur->full_path);
4441 ret = fs_path_copy(valid_path, cur->full_path);
4452 cur->full_path);
4455 cur->full_path);
4467 ret = update_ref_path(sctx, cur);
4471 ret = send_link(sctx, cur->full_path,
4477 ret = dup_ref(cur, &check_dirs);
4504 list_for_each_entry(cur, &sctx->deleted_refs, list) {
4505 ret = dup_ref(cur, &check_dirs);
4514 cur = list_entry(sctx->deleted_refs.next, struct recorded_ref,
4516 ret = dup_ref(cur, &check_dirs);
4525 list_for_each_entry(cur, &sctx->deleted_refs, list) {
4526 ret = did_overwrite_ref(sctx, cur->dir, cur->dir_gen,
4528 cur->name, cur->name_len);
4540 ret = update_ref_path(sctx, cur);
4544 ret = send_unlink(sctx, cur->full_path);
4548 ret = dup_ref(cur, &check_dirs);
4573 list_for_each_entry(cur, &check_dirs, list) {
4579 if (cur->dir > sctx->cur_ino)
4582 ret = get_cur_inode_state(sctx, cur->dir, cur->dir_gen, NULL, NULL);
4588 ret = cache_dir_utimes(sctx, cur->dir, cur->dir_gen);
4592 cur->dir != last_dir_ino_rm) {
4593 ret = can_rmdir(sctx, cur->dir, cur->dir_gen);
4597 ret = get_cur_path(sctx, cur->dir,
4598 cur->dir_gen, valid_path);
4604 last_dir_ino_rm = cur->dir;