Home | History | Annotate | Download | only in tools

Lines Matching defs:pv_name

348 static int _set_up_pvmove(struct cmd_context *cmd, const char *pv_name,
369 if (!(pv = find_pv_by_name(cmd, pv_name))) {
400 log_print("Detected pvmove in progress for %s", pv_name);
572 int pvmove_poll(struct cmd_context *cmd, const char *pv_name,
575 return poll_daemon(cmd, pv_name, NULL, background, PVMOVE, &_pvmove_fns,
581 char *pv_name = NULL;
593 pv_name = argv[0];
596 if ((colon = strchr(pv_name, ':'))) {
597 if (!(pv_name = dm_pool_strndup(cmd->mem, pv_name,
599 pv_name)))) {
606 (ret = _set_up_pvmove(cmd, pv_name, argc, argv)) !=
613 return pvmove_poll(cmd, pv_name, arg_is_set(cmd, background_ARG));