Home
last modified time | relevance | path

Searched refs:__struct_size (Results 1 – 10 of 10) sorted by relevance

/linux/include/linux/
H A Dfortify-string.h513 __struct_size(p), __member_size(p))
691 __struct_size(p), __struct_size(q), \
695 __struct_size(p), __struct_size(q), \
702 const size_t p_size = __struct_size(p); in memscan()
714 const size_t p_size = __struct_size(p); in memcmp()
715 const size_t q_size = __struct_size(q); in memcmp()
733 const size_t p_size = __struct_size(p); in memchr()
745 const size_t p_size = __struct_size(p); in memchr_inv()
758 const size_t p_size = __struct_size(p); in kmemdup_noprof()
H A Dcompiler_types.h442 #define __struct_size(p) __builtin_dynamic_object_size(p, 0) macro
445 #define __struct_size(p) __builtin_object_size(p, 0) macro
/linux/lib/
H A Doverflow_kunit.c1200 KUNIT_EXPECT_EQ(test, __struct_size(two_but_zero), expected_raw_size); in DEFINE_FLEX_test()
1201 KUNIT_EXPECT_EQ(test, __struct_size(two), sizeof(struct bar) + 2 * sizeof(s16)); in DEFINE_FLEX_test()
1202 KUNIT_EXPECT_EQ(test, __struct_size(eight), 24); in DEFINE_FLEX_test()
1203 KUNIT_EXPECT_EQ(test, __struct_size(empty), sizeof(struct foo)); in DEFINE_FLEX_test()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_lag.c523 u16 buf_size = __struct_size(buf); in ice_lag_move_vf_node_tc()
880 u16 buf_size = __struct_size(buf); in ice_lag_reclaim_vf_tc()
1903 u16 buf_size = __struct_size(buf); in ice_lag_move_vf_nodes_tc_sync()
H A Dice_switch.c1890 u16 buf_len = __struct_size(sw_buf); in ice_aq_alloc_free_vsi_list()
2181 u16 buf_len = __struct_size(sw_buf); in ice_alloc_recipe()
4565 u16 buf_len = __struct_size(buf); in ice_alloc_res_cntr()
4593 u16 buf_len = __struct_size(buf); in ice_free_res_cntr()
4623 u16 buf_len = __struct_size(buf); in ice_share_res()
5266 u16 buf_len = __struct_size(sw_buf); in ice_subscribe_recipe()
H A Dice_ddp.c1994 u16 size = __struct_size(pkg_info); in ice_get_pkg_info()
2046 u16 size = __struct_size(pkg); in ice_chk_pkg_compat()
H A Dice_sched.c239 u16 buf_size = __struct_size(buf); in ice_sched_remove_elems()
2224 u16 buf_len = __struct_size(buf); in ice_sched_move_nodes()
H A Dice_common.c4908 u16 i, buf_size = __struct_size(qg_list); in ice_dis_vsi_txq()
5130 u16 qg_size = __struct_size(qg_list); in ice_dis_vsi_rdma_qset()
/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_dev.c552 __struct_size(cmd)); in fun_bind()
/linux/drivers/net/wireless/ath/wil6210/
H A Dwmi.c4033 __struct_size(cmd), WMI_SET_LINK_MONITOR_EVENTID, in wmi_set_cqm_rssi_config()