Lines Matching refs:params
161 CgptAddParams params; in IsSlotBootable() local
162 memset(¶ms, '\0', sizeof(params)); in IsSlotBootable()
163 params.drive_name = const_cast<char*>(boot_disk_name_.c_str()); in IsSlotBootable()
164 params.partition = partition_num; in IsSlotBootable()
166 int retval = CgptGetPartitionDetails(¶ms); in IsSlotBootable()
170 return params.successful || params.tries > 0; in IsSlotBootable()
185 CgptAddParams params; in MarkSlotUnbootable() local
186 memset(¶ms, 0, sizeof(params)); in MarkSlotUnbootable()
188 params.drive_name = const_cast<char*>(boot_disk_name_.c_str()); in MarkSlotUnbootable()
189 params.partition = partition_num; in MarkSlotUnbootable()
191 params.successful = false; in MarkSlotUnbootable()
192 params.set_successful = true; in MarkSlotUnbootable()
194 params.tries = 0; in MarkSlotUnbootable()
195 params.set_tries = true; in MarkSlotUnbootable()
197 int retval = CgptSetAttributes(¶ms); in MarkSlotUnbootable()