Lines Matching refs:objects
26 } objects[OBJ_POOL_SIZE]; variable
34 #define OTS_OBJ_ID_TO_OBJ_IDX(id) (((id) - BT_OTS_OBJ_ID_MIN) % ARRAY_SIZE(objects))
55 for (size_t i = 0; i < ARRAY_SIZE(objects); i++) { in get_object()
56 if (!objects[i].in_use) { in get_object()
57 objects[i].in_use = true; in get_object()
58 return &objects[i]; in get_object()
171 obj = &objects[obj_index]; in ots_obj_created()
205 obj = &objects[obj_index]; in ots_obj_deleted()
233 *data = &objects[obj_index].data[offset]; in ots_obj_read()
250 (void)memcpy(&objects[obj_index].data[offset], data, len); in ots_obj_write()
270 *data = &objects[obj_index].data[offset]; in ots_obj_cal_checksum()
336 memset(objects, 0, sizeof(objects)); in tester_unregister_ots()