Lines Matching refs:replay_list

37 static struct bt_mesh_rpl replay_list[CONFIG_BT_MESH_CRPL];  variable
49 return rpl - &replay_list[0]; in rpl_idx()
125 for (i = 0; i < ARRAY_SIZE(replay_list); i++) { in bt_mesh_rpl_check()
126 rpl = &replay_list[i]; in bt_mesh_rpl_check()
177 (void)memset(replay_list, 0, sizeof(replay_list)); in bt_mesh_rpl_clear()
190 for (i = 0; i < ARRAY_SIZE(replay_list); i++) { in bt_mesh_rpl_find()
191 if (replay_list[i].src == src) { in bt_mesh_rpl_find()
192 return &replay_list[i]; in bt_mesh_rpl_find()
203 for (i = 0; i < ARRAY_SIZE(replay_list); i++) { in bt_mesh_rpl_alloc()
204 if (!replay_list[i].src) { in bt_mesh_rpl_alloc()
205 replay_list[i].src = src; in bt_mesh_rpl_alloc()
206 return &replay_list[i]; in bt_mesh_rpl_alloc()
221 for (i = 0; i < ARRAY_SIZE(replay_list); i++) { in bt_mesh_rpl_reset()
222 struct bt_mesh_rpl *rpl = &replay_list[i]; in bt_mesh_rpl_reset()
243 for (int i = 0; i < ARRAY_SIZE(replay_list); i++) { in bt_mesh_rpl_reset()
244 struct bt_mesh_rpl *rpl = &replay_list[i]; in bt_mesh_rpl_reset()
255 replay_list[i - shift] = *rpl; in bt_mesh_rpl_reset()
263 (void)memset(&replay_list[last - shift + 1], 0, sizeof(struct bt_mesh_rpl) * shift); in bt_mesh_rpl_reset()
364 for (int i = 0; i < ARRAY_SIZE(replay_list); i++) { in bt_mesh_rpl_pending_store()
365 struct bt_mesh_rpl *rpl = &replay_list[i]; in bt_mesh_rpl_pending_store()
376 replay_list[i - shift] = *rpl; in bt_mesh_rpl_pending_store()
379 store_rpl(&replay_list[i - shift]); in bt_mesh_rpl_pending_store()
387 replay_list[i - shift] = *rpl; in bt_mesh_rpl_pending_store()
404 (void)memset(&replay_list[last - shift + 1], 0, sizeof(struct bt_mesh_rpl) * shift); in bt_mesh_rpl_pending_store()