Lines Matching refs:lab
218 struct bt_mesh_va *lab; in va_set() local
245 lab = va_get_by_idx(index); in va_set()
246 if (lab == NULL) { in va_set()
251 memcpy(lab->uuid, va.uuid, 16); in va_set()
252 lab->addr = va.addr; in va_set()
253 lab->ref = va.ref; in va_set()
255 LOG_DBG("Restored Virtual Address, addr 0x%04x ref 0x%04x", lab->addr, lab->ref); in va_set()
265 struct bt_mesh_va *lab; in bt_mesh_va_pending_store() local
271 for (i = 0; (lab = va_get_by_idx(i)) != NULL; i++) { in bt_mesh_va_pending_store()
272 if (!lab->changed) { in bt_mesh_va_pending_store()
276 lab->changed = 0U; in bt_mesh_va_pending_store()
280 if (IS_VA_DEL(lab)) { in bt_mesh_va_pending_store()
283 va.ref = lab->ref; in bt_mesh_va_pending_store()
284 va.addr = lab->addr; in bt_mesh_va_pending_store()
285 memcpy(va.uuid, lab->uuid, 16); in bt_mesh_va_pending_store()
292 IS_VA_DEL(lab) ? "delete" : "store", path, err); in bt_mesh_va_pending_store()
294 LOG_DBG("%s %s value", IS_VA_DEL(lab) ? "Deleted" : "Stored", path); in bt_mesh_va_pending_store()