Lines Matching refs:elem_size
375 const size_t elem_size = bt_mesh_comp_elem_size(elem); in comp_add_elem() local
378 if (*offset >= elem_size) { in comp_add_elem()
379 *offset -= elem_size; in comp_add_elem()
383 if (net_buf_simple_tailroom(buf) < ((elem_size - *offset) + BT_MESH_MIC_SHORT)) { in comp_add_elem()
612 size_t elem_size = page1_elem_size(&comp->elem[i]); in bt_mesh_comp_data_get_page_1() local
614 if (offset >= elem_size) { in bt_mesh_comp_data_get_page_1()
615 offset -= elem_size; in bt_mesh_comp_data_get_page_1()
619 if (net_buf_simple_tailroom(buf) < ((elem_size - offset) + BT_MESH_MIC_SHORT)) { in bt_mesh_comp_data_get_page_1()
667 size_t elem_size; in bt_mesh_comp_data_get_page_2() local
670 elem_size = in bt_mesh_comp_data_get_page_2()
672 if (offset >= elem_size) { in bt_mesh_comp_data_get_page_2()
673 offset -= elem_size; in bt_mesh_comp_data_get_page_2()
677 if (net_buf_simple_tailroom(buf) < ((elem_size - offset) + BT_MESH_MIC_SHORT)) { in bt_mesh_comp_data_get_page_2()