Lines Matching refs:record
671 8 + dev_comp2->record[i].elem_offset_cnt + dev_comp2->record[i].data_len; in bt_mesh_comp_data_get_page_2()
691 data_buf_add_le16_offset(buf, dev_comp2->record[i].id, &offset); in bt_mesh_comp_data_get_page_2()
692 data_buf_add_u8_offset(buf, dev_comp2->record[i].version.x, &offset); in bt_mesh_comp_data_get_page_2()
693 data_buf_add_u8_offset(buf, dev_comp2->record[i].version.y, &offset); in bt_mesh_comp_data_get_page_2()
694 data_buf_add_u8_offset(buf, dev_comp2->record[i].version.z, &offset); in bt_mesh_comp_data_get_page_2()
695 data_buf_add_u8_offset(buf, dev_comp2->record[i].elem_offset_cnt, &offset); in bt_mesh_comp_data_get_page_2()
696 if (dev_comp2->record[i].elem_offset_cnt) { in bt_mesh_comp_data_get_page_2()
697 data_buf_add_mem_offset(buf, dev_comp2->record[i].elem_offset, in bt_mesh_comp_data_get_page_2()
698 dev_comp2->record[i].elem_offset_cnt, &offset); in bt_mesh_comp_data_get_page_2()
701 data_buf_add_le16_offset(buf, dev_comp2->record[i].data_len, &offset); in bt_mesh_comp_data_get_page_2()
702 if (dev_comp2->record[i].data_len) { in bt_mesh_comp_data_get_page_2()
703 data_buf_add_mem_offset(buf, dev_comp2->record[i].data, in bt_mesh_comp_data_get_page_2()
704 dev_comp2->record[i].data_len, &offset); in bt_mesh_comp_data_get_page_2()
2351 size += 8 + dev_comp2->record[i].elem_offset_cnt + dev_comp2->record[i].data_len; in comp_page_2_size()