Lines Matching refs:avb_ops
15 static struct AvbOps *avb_ops;
26 if (avb_ops)
27 avb_ops_free(avb_ops);
29 avb_ops = avb_ops_alloc(mmc_dev);
30 if (avb_ops)
49 if (!avb_ops) {
62 ret = avb_ops->read_from_partition(avb_ops, part, offset,
84 if (!avb_ops) {
103 ret = avb_ops->read_from_partition(avb_ops, part, offset,
133 if (!avb_ops) {
146 ret = avb_ops->write_to_partition(avb_ops, part, offset,
166 if (!avb_ops) {
176 ret = avb_ops->read_rollback_index(avb_ops, index, &rb_idx);
195 if (!avb_ops) {
206 ret = avb_ops->write_rollback_index(avb_ops, index, rb_idx);
223 if (!avb_ops) {
233 ret = avb_ops->get_unique_guid_for_partition(avb_ops, part,
262 if (!avb_ops) {
276 ret = avb_ops->read_is_device_unlocked(avb_ops, &unlocked);
284 avb_slot_verify(avb_ops,
307 extra_args = avb_set_state(avb_ops, boot_state);
333 if (!avb_ops) {
343 ret = avb_ops->read_is_device_unlocked(avb_ops, &unlock);
365 if (!avb_ops) {
382 ret = avb_ops->read_persistent_value(avb_ops, name, bytes,
405 if (!avb_ops) {
416 ret = avb_ops->write_persistent_value(avb_ops, name,