Lines Matching refs:retval
59 int retval = 0; in get_entry() local
75 retval = -ENOMEM; in get_entry()
91 return retval; in get_entry()
135 int retval; in bindesc_open_flash() local
137 retval = flash_read(flash_device, offset, handle->buffer, sizeof(BINDESC_MAGIC)); in bindesc_open_flash()
138 if (retval) { in bindesc_open_flash()
139 LOG_ERR("Flash read error: %d", retval); in bindesc_open_flash()
160 int retval; in bindesc_foreach() local
165 retval = get_entry(handle, address, &entry); in bindesc_foreach()
166 if (retval == -EIO) { in bindesc_foreach()
170 if (retval) { in bindesc_foreach()
174 retval = callback(entry, user_data); in bindesc_foreach()
175 if (retval) { in bindesc_foreach()
176 return retval; in bindesc_foreach()