Searched refs:FLEX_ARRAY_SIZE (Results 1 – 3 of 3) sorted by relevance
69 #define FLEX_ARRAY_SIZE(_ptr, _mem, cnt) ((cnt) * sizeof(_ptr->_mem[0])) macro
1970 FLEX_ARRAY_SIZE(buf, section_entry, count); in ice_pkg_buf_reserve_section()2102 FLEX_ARRAY_SIZE(buf, section_entry, count); in ice_pkg_buf_unreserve_section()
2065 if (buf_size < FLEX_ARRAY_SIZE(buf, elem, num_entries)) in ice_aq_alloc_free_res()