Lines Matching refs:prev
1221 struct bt_gatt_service *tmp, *prev = NULL; in gatt_insert() local
1231 if (prev) { in gatt_insert()
1232 sys_slist_insert(&db, &prev->node, &svc->node); in gatt_insert()
1239 prev = tmp; in gatt_insert()
3536 sys_snode_t *prev, in gatt_sub_remove() argument
3541 sys_slist_remove(&sub->list, prev, ¶ms->node); in gatt_sub_remove()
3714 sys_snode_t *prev = NULL; in remove_subscriptions() local
3730 gatt_sub_remove(conn, sub, prev, params); in remove_subscriptions()
3733 prev = ¶ms->node; in remove_subscriptions()
5316 sys_snode_t *node, *tmp, *prev; in gatt_write_ccc_rsp() local
5323 prev = NULL; in gatt_write_ccc_rsp()
5327 gatt_sub_remove(conn, sub, prev, params); in gatt_write_ccc_rsp()
5330 prev = node; in gatt_write_ccc_rsp()
6438 sys_snode_t *prev = NULL; in bt_gatt_clear_subscriptions() local
6448 gatt_sub_remove(NULL, sub, prev, params); in bt_gatt_clear_subscriptions()