Home
last modified time | relevance | path

Searched refs:sizeof_field (Results 1 - 25 of 354) sorted by relevance

12345678910>>...15

/kernel/linux/linux-6.6/drivers/net/ipa/
H A Dipa_qmi_msg.c17 sizeof_field(struct ipa_indication_register_req,
27 sizeof_field(struct ipa_indication_register_req,
37 sizeof_field(struct ipa_indication_register_req,
47 sizeof_field(struct ipa_indication_register_req,
57 sizeof_field(struct ipa_indication_register_req,
67 sizeof_field(struct ipa_indication_register_req,
77 sizeof_field(struct ipa_indication_register_req,
87 sizeof_field(struct ipa_indication_register_req,
97 sizeof_field(struct ipa_indication_register_req,
107 sizeof_field(struc
[all...]
/kernel/linux/linux-5.10/drivers/net/ipa/
H A Dipa_qmi_msg.c17 sizeof_field(struct ipa_indication_register_req,
27 sizeof_field(struct ipa_indication_register_req,
37 sizeof_field(struct ipa_indication_register_req,
47 sizeof_field(struct ipa_indication_register_req,
57 sizeof_field(struct ipa_indication_register_req,
67 sizeof_field(struct ipa_indication_register_req,
84 sizeof_field(struct ipa_indication_register_rsp,
102 sizeof_field(struct ipa_driver_init_complete_req,
119 sizeof_field(struct ipa_driver_init_complete_rsp,
137 sizeof_field(struc
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dbpf_util.h34 #ifndef sizeof_field
35 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro
40 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dbpf_util.h53 #ifndef sizeof_field
54 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro
59 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dprocessor.h165 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist()
166 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
167 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist()
168 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist()
171 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vidtv/
H A Dvidtv_psi.c301 desc->length = sizeof_field(struct vidtv_psi_desc_service, service_type) in vidtv_psi_service_desc_init()
302 + sizeof_field(struct vidtv_psi_desc_service, provider_name_len) in vidtv_psi_service_desc_init()
304 + sizeof_field(struct vidtv_psi_desc_service, service_name_len) in vidtv_psi_service_desc_init()
350 desc->length = sizeof_field(struct vidtv_psi_desc_registration, format_id) in vidtv_psi_registration_desc_init()
458 sizeof_field(struct vidtv_psi_desc_short_event, event_name_len) + in vidtv_psi_short_event_desc_init()
460 sizeof_field(struct vidtv_psi_desc_short_event, text_len) + in vidtv_psi_short_event_desc_init()
625 length += sizeof_field(struct vidtv_psi_desc, type); in vidtv_psi_desc_comp_loop_len()
626 length += sizeof_field(struct vidtv_psi_desc, length); in vidtv_psi_desc_comp_loop_len()
683 .len = sizeof_field(struct vidtv_psi_desc, type) + in vidtv_psi_desc_write_into()
684 sizeof_field(struc in vidtv_psi_desc_write_into()
[all...]
/kernel/linux/linux-6.6/drivers/media/test-drivers/vidtv/
H A Dvidtv_psi.c294 desc->length = sizeof_field(struct vidtv_psi_desc_service, service_type) in vidtv_psi_service_desc_init()
295 + sizeof_field(struct vidtv_psi_desc_service, provider_name_len) in vidtv_psi_service_desc_init()
297 + sizeof_field(struct vidtv_psi_desc_service, service_name_len) in vidtv_psi_service_desc_init()
343 desc->length = sizeof_field(struct vidtv_psi_desc_registration, format_id) in vidtv_psi_registration_desc_init()
451 sizeof_field(struct vidtv_psi_desc_short_event, event_name_len) + in vidtv_psi_short_event_desc_init()
453 sizeof_field(struct vidtv_psi_desc_short_event, text_len) + in vidtv_psi_short_event_desc_init()
617 length += sizeof_field(struct vidtv_psi_desc, type); in vidtv_psi_desc_comp_loop_len()
618 length += sizeof_field(struct vidtv_psi_desc, length); in vidtv_psi_desc_comp_loop_len()
675 .len = sizeof_field(struct vidtv_psi_desc, type) + in vidtv_psi_desc_write_into()
676 sizeof_field(struc in vidtv_psi_desc_write_into()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dstddef.h19 * sizeof_field() - Report the size of a struct field in bytes
24 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro
33 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
/kernel/linux/linux-5.10/include/linux/
H A Dstddef.h23 * sizeof_field(TYPE, MEMBER)
28 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) macro
37 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dprocessor.h250 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) != in arch_thread_struct_whitelist()
251 sizeof_field(struct thread_struct, uw.tp_value) + in arch_thread_struct_whitelist()
252 sizeof_field(struct thread_struct, uw.tp2_value) + in arch_thread_struct_whitelist()
253 sizeof_field(struct thread_struct, uw.fpsimd_state)); in arch_thread_struct_whitelist()
256 *size = sizeof_field(struct thread_struct, uw); in arch_thread_struct_whitelist()
/kernel/linux/linux-5.10/arch/powerpc/net/
H A Dbpf_jit_comp.c324 BUILD_BUG_ON(sizeof_field(struct sk_buff, len) != 4); in bpf_jit_build_body()
336 BUILD_BUG_ON(sizeof_field(struct sk_buff, in bpf_jit_build_body()
343 BUILD_BUG_ON(sizeof_field(struct net_device, in bpf_jit_build_body()
345 BUILD_BUG_ON(sizeof_field(struct net_device, in bpf_jit_build_body()
368 BUILD_BUG_ON(sizeof_field(struct sk_buff, mark) != 4); in bpf_jit_build_body()
373 BUILD_BUG_ON(sizeof_field(struct sk_buff, hash) != 4); in bpf_jit_build_body()
378 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_tci) != 2); in bpf_jit_build_body()
391 BUILD_BUG_ON(sizeof_field(struct sk_buff, in bpf_jit_build_body()
H A Dbpf_jit32.h100 do { BUILD_BUG_ON(sizeof_field(struct paca_struct, paca_index) != 2); \
105 do { BUILD_BUG_ON(sizeof_field(struct task_struct, cpu) != 4); \
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
H A Docteon_console.c208 sizeof_field(struct cvmx_bootmem_desc, major_version)); in __cvmx_bootmem_check_version()
212 sizeof_field(struct cvmx_bootmem_desc, minor_version)); in __cvmx_bootmem_check_version()
240 sizeof_field( in __cvmx_bootmem_find_named_block_flags()
246 sizeof_field( in __cvmx_bootmem_find_named_block_flags()
271 sizeof_field(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
277 sizeof_field(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
284 sizeof_field(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
295 sizeof_field( in cvmx_bootmem_phy_named_block_find()
/kernel/linux/linux-5.10/drivers/mfd/
H A Dioc3.c163 sizeof_field(struct ioc3, sregs.uarta)),
169 sizeof_field(struct ioc3, sregs.uartb)),
218 sizeof_field(struct ioc3, serio)),
247 sizeof_field(struct ioc3, eth)),
249 sizeof_field(struct ioc3, ssram)),
255 sizeof_field(struct ioc3, mcr)),
364 sizeof_field(struct ioc3, gppr[0])),
366 sizeof_field(struct ioc3, gppr[1])),
/kernel/linux/linux-6.6/drivers/mfd/
H A Dioc3.c160 sizeof_field(struct ioc3, sregs.uarta)),
166 sizeof_field(struct ioc3, sregs.uartb)),
215 sizeof_field(struct ioc3, serio)),
244 sizeof_field(struct ioc3, eth)),
246 sizeof_field(struct ioc3, ssram)),
252 sizeof_field(struct ioc3, mcr)),
361 sizeof_field(struct ioc3, gppr[0])),
363 sizeof_field(struct ioc3, gppr[1])),
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/
H A Docteon_console.c208 sizeof_field(struct cvmx_bootmem_desc, major_version)); in __cvmx_bootmem_check_version()
212 sizeof_field(struct cvmx_bootmem_desc, minor_version)); in __cvmx_bootmem_check_version()
240 sizeof_field( in __cvmx_bootmem_find_named_block_flags()
246 sizeof_field( in __cvmx_bootmem_find_named_block_flags()
270 sizeof_field(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
276 sizeof_field(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
283 sizeof_field(struct cvmx_bootmem_desc, in cvmx_bootmem_phy_named_block_find()
294 sizeof_field( in cvmx_bootmem_phy_named_block_find()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A Dutil.h39 #define item_size(n) (sizeof_field(struct mwifiex_debug_info, n))
43 #define adapter_item_size(n) (sizeof_field(struct mwifiex_adapter, n))
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
H A Dutil.h27 #define item_size(n) (sizeof_field(struct mwifiex_debug_info, n))
31 #define adapter_item_size(n) (sizeof_field(struct mwifiex_adapter, n))
/kernel/linux/linux-6.6/drivers/nvmem/layouts/
H A Dsl28vpd.c46 .bytes = sizeof_field(struct sl28vpd_v1, serial_number),
51 .bytes = sizeof_field(struct sl28vpd_v1, base_mac_address),
/kernel/linux/linux-5.10/arch/m68k/kernel/
H A Dsignal.c64 #define FMT4SIZE sizeof_field(struct frame, un.fmt4)
68 [1] = -1, /* sizeof_field(struct frame, un.fmt1), */
69 [2] = sizeof_field(struct frame, un.fmt2),
70 [3] = sizeof_field(struct frame, un.fmt3),
72 [5] = -1, /* sizeof_field(struct frame, un.fmt5), */
73 [6] = -1, /* sizeof_field(struct frame, un.fmt6), */
74 [7] = sizeof_field(struct frame, un.fmt7),
75 [8] = -1, /* sizeof_field(struct frame, un.fmt8), */
76 [9] = sizeof_field(struct frame, un.fmt9),
77 [10] = sizeof_field(struc
[all...]
/kernel/linux/linux-6.6/arch/m68k/kernel/
H A Dsignal.c64 #define FMT4SIZE sizeof_field(struct frame, un.fmt4)
68 [1] = -1, /* sizeof_field(struct frame, un.fmt1), */
69 [2] = sizeof_field(struct frame, un.fmt2),
70 [3] = sizeof_field(struct frame, un.fmt3),
72 [5] = -1, /* sizeof_field(struct frame, un.fmt5), */
73 [6] = -1, /* sizeof_field(struct frame, un.fmt6), */
74 [7] = sizeof_field(struct frame, un.fmt7),
75 [8] = -1, /* sizeof_field(struct frame, un.fmt8), */
76 [9] = sizeof_field(struct frame, un.fmt9),
77 [10] = sizeof_field(struc
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dfilter.c302 BUILD_BUG_ON(sizeof_field(struct sk_buff, mark) != 4); in convert_skb_access()
317 BUILD_BUG_ON(sizeof_field(struct sk_buff, queue_mapping) != 2); in convert_skb_access()
324 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_tci) != 2); in convert_skb_access()
331 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_all) != 4); in convert_skb_access()
350 BUILD_BUG_ON(sizeof_field(struct sk_buff, protocol) != 2); in convert_bpf_extensions()
366 BUILD_BUG_ON(sizeof_field(struct net_device, ifindex) != 4); in convert_bpf_extensions()
367 BUILD_BUG_ON(sizeof_field(struct net_device, type) != 2); in convert_bpf_extensions()
389 BUILD_BUG_ON(sizeof_field(struct sk_buff, hash) != 4); in convert_bpf_extensions()
413 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions()
7047 BUILD_BUG_ON(sizeof_field(struc in bpf_tcp_sock_convert_ctx_access()
[all...]
/kernel/linux/linux-5.10/net/core/
H A Dfilter.c302 BUILD_BUG_ON(sizeof_field(struct sk_buff, mark) != 4); in convert_skb_access()
317 BUILD_BUG_ON(sizeof_field(struct sk_buff, queue_mapping) != 2); in convert_skb_access()
324 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_tci) != 2); in convert_skb_access()
350 BUILD_BUG_ON(sizeof_field(struct sk_buff, protocol) != 2); in convert_bpf_extensions()
366 BUILD_BUG_ON(sizeof_field(struct net_device, ifindex) != 4); in convert_bpf_extensions()
367 BUILD_BUG_ON(sizeof_field(struct net_device, type) != 2); in convert_bpf_extensions()
389 BUILD_BUG_ON(sizeof_field(struct sk_buff, hash) != 4); in convert_bpf_extensions()
413 BUILD_BUG_ON(sizeof_field(struct sk_buff, vlan_proto) != 2); in convert_bpf_extensions()
6374 BUILD_BUG_ON(sizeof_field(struct tcp_sock, FIELD) > \ in bpf_tcp_sock_convert_ctx_access()
6375 sizeof_field(struc in bpf_tcp_sock_convert_ctx_access()
[all...]
/kernel/linux/linux-5.10/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd.h432 u8 data[sizeof_field(struct canfd_frame, data)];
438 u8 data[sizeof_field(struct can_frame, data)];
444 u8 data[sizeof_field(struct canfd_frame, data)];
451 u8 data[sizeof_field(struct can_frame, data)];
458 u8 data[sizeof_field(struct canfd_frame, data)];
/kernel/linux/linux-5.10/arch/mips/net/
H A Dbpf_jit.c697 BUILD_BUG_ON(sizeof_field(struct sk_buff, len) != 4); in build_body()
1120 BUILD_BUG_ON(sizeof_field(struct sk_buff, in build_body()
1145 BUILD_BUG_ON(sizeof_field(struct thread_info, in build_body()
1166 BUILD_BUG_ON(sizeof_field(struct net_device, ifindex) != 4); in build_body()
1170 BUILD_BUG_ON(sizeof_field(struct net_device, type) != 2); in build_body()
1177 BUILD_BUG_ON(sizeof_field(struct sk_buff, mark) != 4); in build_body()
1183 BUILD_BUG_ON(sizeof_field(struct sk_buff, hash) != 4); in build_body()
1189 BUILD_BUG_ON(sizeof_field(struct sk_buff, in build_body()
1215 BUILD_BUG_ON(sizeof_field(struct sk_buff, in build_body()

Completed in 34 milliseconds

12345678910>>...15