Searched refs:struct_sz (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_core_reloc_size.c | 19 int struct_sz; member 54 out->struct_sz = bpf_core_field_size(in->struct_field); in test_core_size()
|
| H A D | test_core_reloc_type_based.c | 89 int struct_sz; member 142 out->struct_sz = bpf_core_type_size(struct a_struct); in test_core_type_based()
|
| H A D | core_reloc_types.h | 800 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 D | core_reloc.c | 286 .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 D | idpf.h | 42 #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 D | qgroup.c | 3215 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 D | ynl_gen_c.py | 602 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});")
|