Lines Matching refs:partname
1056 static int get_dev_path_from_partition_name(const char *partname, in get_dev_path_from_partition_name() argument
1062 if (!partname || !buf || buflen < ((PATH_TRUNCATE_LOC) + 1)) { in get_dev_path_from_partition_name()
1071 partname); in get_dev_path_from_partition_name()
1183 static uint8_t* gpt_get_header(const char *partname, enum gpt_instance instance) in gpt_get_header() argument
1190 if (!partname) { in gpt_get_header()
1194 if (get_dev_path_from_partition_name(partname, devpath, sizeof(devpath)) in gpt_get_header()
1198 partname); in gpt_get_header()
1214 partname); in gpt_get_header()
1449 const char *partname, in gpt_disk_get_pentry() argument
1453 if (!disk || !partname || disk->is_initialized != GPT_DISK_INIT_MAGIC) { in gpt_disk_get_pentry()
1459 return (gpt_pentry_seek(partname, ptn_arr, in gpt_disk_get_pentry()