Lines Matching refs:chopprefix
4415 const char *chopprefix; in zfs_receive_one() local
4531 chopprefix = strrchr(sendfs, '/'); in zfs_receive_one()
4533 if (chopprefix == NULL) { in zfs_receive_one()
4542 chopprefix = cp; in zfs_receive_one()
4544 chopprefix = drrb->drr_toname + (chopprefix - sendfs); in zfs_receive_one()
4559 chopprefix = strchr(drrb->drr_toname, '/'); in zfs_receive_one()
4560 if (chopprefix == NULL) in zfs_receive_one()
4561 chopprefix = strchr(drrb->drr_toname, '@'); in zfs_receive_one()
4567 chopprefix = drrb->drr_toname + strlen(sendfs); in zfs_receive_one()
4577 chopprefix = drrb->drr_toname + strlen(drrb->drr_toname); in zfs_receive_one()
4581 ASSERT(chopprefix > drrb->drr_toname || strchr(sendfs, '/') == NULL); in zfs_receive_one()
4582 ASSERT(chopprefix <= drrb->drr_toname + strlen(drrb->drr_toname) || in zfs_receive_one()
4584 ASSERT(chopprefix[0] == '/' || chopprefix[0] == '@' || in zfs_receive_one()
4585 chopprefix[0] == '\0'); in zfs_receive_one()
4591 (void) strlcat(destsnap, chopprefix, sizeof (destsnap)); in zfs_receive_one()
4690 if ((flags->isprefix || (*(chopprefix = drrb->drr_toname + in zfs_receive_one()
4691 strlen(sendfs)) != '\0' && *chopprefix != '@')) && in zfs_receive_one()