Searched refs:dup_str (Results 1 – 1 of 1) sorted by relevance
368 char *dup_str = NULL; in blk_get_device_by_str() local374 dup_str = strdup(dev_hwpart_str); in blk_get_device_by_str()375 dup_str[hwpart_str - dev_hwpart_str] = 0; in blk_get_device_by_str()376 dev_str = dup_str; in blk_get_device_by_str()419 free(dup_str); in blk_get_device_by_str()431 char *dup_str = NULL; in blk_get_device_part_str() local499 dup_str = strdup(dev_part_str); in blk_get_device_part_str()500 dup_str[part_str - dev_part_str] = 0; in blk_get_device_part_str()501 dev_str = dup_str; in blk_get_device_part_str()637 free(dup_str); in blk_get_device_part_str()