Lines Matching full:entry

72 static void schedule_rpl_store(struct bt_mesh_rpl *entry, bool force)  in schedule_rpl_store()  argument
74 atomic_set_bit(store, rpl_idx(entry)); in schedule_rpl_store()
138 /* Until rpl reset is finished, entry with old_iv == false and in bt_mesh_rpl_check()
140 * reused. If such entry is reused, "store" bit will be set and in bt_mesh_rpl_check()
141 * the entry won't be removed. in bt_mesh_rpl_check()
270 struct bt_mesh_rpl *entry; in rpl_set() local
281 entry = bt_mesh_rpl_find(src); in rpl_set()
285 if (entry) { in rpl_set()
286 (void)memset(entry, 0, sizeof(*entry)); in rpl_set()
288 LOG_WRN("Unable to find RPL entry for 0x%04x", src); in rpl_set()
294 if (!entry) { in rpl_set()
295 entry = bt_mesh_rpl_alloc(src); in rpl_set()
296 if (!entry) { in rpl_set()
297 LOG_ERR("Unable to allocate RPL entry for 0x%04x", src); in rpl_set()
308 entry->seq = rpl.seq; in rpl_set()
309 entry->old_iv = rpl.old_iv; in rpl_set()
311 LOG_DBG("RPL entry for 0x%04x: Seq 0x%06x old_iv %u", entry->src, entry->seq, in rpl_set()
312 entry->old_iv); in rpl_set()
319 static void store_rpl(struct bt_mesh_rpl *entry) in store_rpl() argument
325 if (!entry->src) { in store_rpl()
329 LOG_DBG("src 0x%04x seq 0x%06x old_iv %u", entry->src, entry->seq, entry->old_iv); in store_rpl()
331 rpl.seq = entry->seq; in store_rpl()
332 rpl.old_iv = entry->old_iv; in store_rpl()
334 snprintk(path, sizeof(path), "bt/mesh/RPL/%x", entry->src); in store_rpl()
383 /* Check if this entry was re-used during removal. If so, shift it as well. in bt_mesh_rpl_pending_store()