Lines Matching refs:chopprefix
2955 const char *chopprefix; in zfs_receive_one() local
3023 chopprefix = strrchr(sendfs, '/'); in zfs_receive_one()
3025 if (chopprefix == NULL) { in zfs_receive_one()
3034 chopprefix = cp; in zfs_receive_one()
3036 chopprefix = drrb->drr_toname + (chopprefix - sendfs); in zfs_receive_one()
3050 chopprefix = strchr(drrb->drr_toname, '/'); in zfs_receive_one()
3051 if (chopprefix == NULL) in zfs_receive_one()
3052 chopprefix = strchr(drrb->drr_toname, '@'); in zfs_receive_one()
3058 chopprefix = drrb->drr_toname + strlen(sendfs); in zfs_receive_one()
3067 chopprefix = drrb->drr_toname + strlen(drrb->drr_toname); in zfs_receive_one()
3071 ASSERT(chopprefix > drrb->drr_toname); in zfs_receive_one()
3072 ASSERT(chopprefix <= drrb->drr_toname + strlen(drrb->drr_toname)); in zfs_receive_one()
3073 ASSERT(chopprefix[0] == '/' || chopprefix[0] == '@' || in zfs_receive_one()
3074 chopprefix[0] == '\0'); in zfs_receive_one()
3080 (void) strncat(zc.zc_value, chopprefix, sizeof (zc.zc_value)); in zfs_receive_one()
3151 if ((flags->isprefix || (*(chopprefix = drrb->drr_toname + in zfs_receive_one()
3152 strlen(sendfs)) != '\0' && *chopprefix != '@')) && in zfs_receive_one()