Searched refs:obj_index (Results 1 – 2 of 2) sorted by relevance
165 uint32_t obj_index = OTS_OBJ_ID_TO_OBJ_IDX(id); in ots_obj_created() local167 if (obj_index >= OBJ_POOL_SIZE) { in ots_obj_created()171 obj = &objects[obj_index]; in ots_obj_created()196 uint32_t obj_index = OTS_OBJ_ID_TO_OBJ_IDX(id); in ots_obj_deleted() local201 if (obj_index >= OBJ_POOL_SIZE) { in ots_obj_deleted()205 obj = &objects[obj_index]; in ots_obj_deleted()221 uint32_t obj_index = OTS_OBJ_ID_TO_OBJ_IDX(id); in ots_obj_read() local229 if (obj_index >= OBJ_POOL_SIZE) { in ots_obj_read()233 *data = &objects[obj_index].data[offset]; in ots_obj_read()242 uint32_t obj_index = OTS_OBJ_ID_TO_OBJ_IDX(id); in ots_obj_write() local[all …]
143 uint32_t obj_index = OTS_OBJ_ID_TO_OBJ_IDX(id); in ots_obj_read() local154 *data = &objects[obj_index].data[offset]; in ots_obj_read()159 if ((obj_index % 2) == 0) { in ots_obj_read()175 uint32_t obj_index = OTS_OBJ_ID_TO_OBJ_IDX(id); in ots_obj_write() local183 (void)memcpy(&objects[obj_index].data[offset], data, len); in ots_obj_write()202 uint32_t obj_index = OTS_OBJ_ID_TO_OBJ_IDX(id); in ots_obj_cal_checksum() local204 if (obj_index >= OBJ_POOL_SIZE) { in ots_obj_cal_checksum()208 *data = &objects[obj_index].data[offset]; in ots_obj_cal_checksum()