Searched refs:free_slot (Results 1 – 3 of 3) sorted by relevance
2146 struct key_update **free_slot) in key_update_find() argument2151 *free_slot = NULL; in key_update_find()2157 *free_slot = update; in key_update_find()2175 struct key_update *free_slot = NULL; in bt_mesh_store_subnet() local2180 update = key_update_find(false, sub->net_idx, &free_slot); in bt_mesh_store_subnet()2187 if (!free_slot) { in bt_mesh_store_subnet()2192 free_slot->valid = 1U; in bt_mesh_store_subnet()2193 free_slot->key_idx = sub->net_idx; in bt_mesh_store_subnet()2194 free_slot->app_key = 0U; in bt_mesh_store_subnet()2195 free_slot->clear = 0U; in bt_mesh_store_subnet()[all …]
604 uint16_t *free_slot = NULL; in lpn_group_add() local613 if (!free_slot && lpn->groups[i] == BLE_MESH_ADDR_UNASSIGNED) { in lpn_group_add()614 free_slot = &lpn->groups[i]; in lpn_group_add()618 if (!free_slot) { in lpn_group_add()623 *free_slot = group; in lpn_group_add()
1133 struct label **free_slot) in va_find() argument1138 if (free_slot != NULL) { in va_find()1139 *free_slot = NULL; in va_find()1144 if (free_slot != NULL) { in va_find()1145 *free_slot = &labels[i]; in va_find()1160 struct label *update = NULL, *free_slot = NULL; in va_add() local1162 update = va_find(label_uuid, &free_slot); in va_add()1169 if (!free_slot) { in va_add()1177 free_slot->ref = 1U; in va_add()1178 free_slot->addr = *addr; in va_add()[all …]