Lines Matching refs:objects
38 } objects[OBJ_POOL_SIZE]; variable
47 #define OTS_OBJ_ID_TO_OBJ_IDX(id) (((id) - BT_OTS_OBJ_ID_MIN) % ARRAY_SIZE(objects))
80 if (obj_cnt >= ARRAY_SIZE(objects)) { in ots_obj_created()
98 objects[index].name[0] = '\0'; in ots_obj_created()
100 created_desc->name = objects[index].name; in ots_obj_created()
154 *data = &objects[obj_index].data[offset]; in ots_obj_read()
183 (void)memcpy(&objects[obj_index].data[offset], data, len); in ots_obj_write()
208 *data = &objects[obj_index].data[offset]; in ots_obj_cal_checksum()
258 cur_size = sizeof(objects[0].data) / 2; in ots_init()
259 alloc_size = sizeof(objects[0].data); in ots_init()
261 objects[0].data[i] = i + 1; in ots_init()
268 (void)strcpy(objects[0].name, first_object_name); in ots_init()
269 obj_data.name = objects[0].name; in ots_init()
288 cur_size = sizeof(objects[0].data); in ots_init()
289 alloc_size = sizeof(objects[0].data); in ots_init()
291 objects[1].data[i] = i * 2; in ots_init()
298 (void)strcpy(objects[1].name, second_object_name); in ots_init()
299 obj_data.name = objects[1].name; in ots_init()