Lines Matching refs:shift
240 int shift = 0; in bt_mesh_rpl_reset() local
250 shift++; in bt_mesh_rpl_reset()
254 if (shift > 0) { 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()
346 int shift = 0; in bt_mesh_rpl_pending_store() local
373 shift++; in bt_mesh_rpl_pending_store()
375 if (shift > 0) { 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()
388 atomic_set_bit(store, i - shift); in bt_mesh_rpl_pending_store()
390 shift++; 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()