Lines Matching refs:pinfo
652 struct disk_partition pinfo; in gpt_enumerate() local
657 ret = part_drv->get_info(desc, i, &pinfo); in gpt_enumerate()
664 tmp_len = strlen((const char *)pinfo.name); in gpt_enumerate()
672 strcpy(ptr, (const char *)pinfo.name); in gpt_enumerate()
695 static int gpt_setenv_part_variables(struct disk_partition *pinfo, int i) in gpt_setenv_part_variables() argument
699 ret = env_set_hex("gpt_partition_addr", pinfo->start); in gpt_setenv_part_variables()
703 ret = env_set_hex("gpt_partition_size", pinfo->size); in gpt_setenv_part_variables()
711 ret = env_set("gpt_partition_name", (const char *)pinfo->name); in gpt_setenv_part_variables()
746 struct disk_partition pinfo; in gpt_setenv() local
750 ret = part_drv->get_info(desc, i, &pinfo); in gpt_setenv()
756 if (!strcmp(name, (const char *)pinfo.name)) { in gpt_setenv()
758 ret = gpt_setenv_part_variables(&pinfo, i); in gpt_setenv()