Home
last modified time | relevance | path

Searched refs:struct_sz (Results 1 – 8 of 8) 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.c3217 size_t struct_sz; in qgroup_auto_inherit() local
3232 struct_sz = struct_size(res, qgroups, num_qgroups); in qgroup_auto_inherit()
3233 if (struct_sz == SIZE_MAX) in qgroup_auto_inherit()
3236 res = kzalloc(struct_sz, GFP_NOFS); in qgroup_auto_inherit()
/linux/fs/smb/server/
H A Dsmb2pdu.c3919 int struct_sz, rc = 0; in smb2_populate_readdir_entry() local
3933 struct_sz = readdir_info_level_struct_sz(info_level) + conv_len; in smb2_populate_readdir_entry()
3934 next_entry_offset = ALIGN(struct_sz, KSMBD_DIR_INFO_ALIGNMENT); in smb2_populate_readdir_entry()
3935 d_info->last_entry_off_align = next_entry_offset - struct_sz; in smb2_populate_readdir_entry()
4192 int struct_sz; in reserve_populate_dentry() local
4196 struct_sz = readdir_info_level_struct_sz(info_level); in reserve_populate_dentry()
4197 if (struct_sz == -EOPNOTSUPP) in reserve_populate_dentry()
4201 next_entry_offset = ALIGN(struct_sz + conv_len, in reserve_populate_dentry()
/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});")