Home
last modified time | relevance | path

Searched refs:struct_sz (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_size.c19 int struct_sz; member
54 out->struct_sz = bpf_core_field_size(in->struct_field); in test_core_size()
H A Dtest_core_reloc_type_based.c89 int struct_sz; member
142 out->struct_sz = bpf_core_type_size(struct a_struct); in test_core_type_based()
H A Dcore_reloc_types.h800 int struct_sz;
905 int struct_sz;
790 int struct_sz; global() member
895 int struct_sz; global() member
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcore_reloc.c286 .struct_sz = sizeof(((type *)0)->struct_field), \
788 .struct_sz = sizeof(struct a_struct),
830 .struct_sz = sizeof(struct a_struct___diff),
867 .struct_sz = sizeof(struct a_struct___diff_sz),
887 .struct_sz = sizeof(struct a_struct),
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf.h42 #define IDPF_NUM_CHUNKS_PER_MSG(struct_sz, chunk_sz) \ argument
43 ((IDPF_CTLQ_MAX_BUF_LEN - (struct_sz)) / (chunk_sz))
/linux/fs/btrfs/
H A Dqgroup.c3215 size_t struct_sz; in qgroup_auto_inherit() local
3230 struct_sz = struct_size(res, qgroups, num_qgroups); in qgroup_auto_inherit()
3231 if (struct_sz == SIZE_MAX) in qgroup_auto_inherit()
3234 res = kzalloc(struct_sz, GFP_NOFS); in qgroup_auto_inherit()
/linux/tools/net/ynl/pyynl/
H A Dynl_gen_c.py602 struct_sz = 'sizeof(struct ' + c_lower(self.get("struct")) + ')'
605 f"if (len < {struct_sz})",
606 f"{var}->{self.c_name} = calloc(1, {struct_sz});",
2111 struct_sz = f'sizeof({struct.fixed_header})'
2112 init_lines.append(f"hdr = ynl_nlmsg_put_extra_header(nlh, {struct_sz});")
2113 init_lines.append(f"memcpy(hdr, &obj->_hdr, {struct_sz});")