/openbmc/linux/arch/mips/sgi-ip27/ |
H A D | ip27-klconfig.c | 18 klinfo_t *find_component(lboard_t *brd, klinfo_t *kli, unsigned char struct_type) in find_component() argument 38 if (KLCF_COMP_TYPE(kli) == struct_type) in find_component() 46 klinfo_t *find_first_component(lboard_t *brd, unsigned char struct_type) in find_first_component() argument 48 return find_component(brd, (klinfo_t *)NULL, struct_type); in find_first_component()
|
/openbmc/linux/fs/erofs/ |
H A D | sysfs.c | 25 int struct_type, offset; member 40 .struct_type = struct_##_struct, \ 98 int struct_type, int offset) in __struct_ptr() argument 100 if (struct_type == struct_erofs_sb_info) in __struct_ptr() 102 if (struct_type == struct_erofs_mount_opts) in __struct_ptr() 113 unsigned char *ptr = __struct_ptr(sbi, a->struct_type, a->offset); in erofs_attr_show() 136 unsigned char *ptr = __struct_ptr(sbi, a->struct_type, a->offset); in erofs_attr_store()
|
/openbmc/linux/include/linux/can/ |
H A D | core.h | 41 #define CAN_REQUIRED_SIZE(struct_type, member) \ argument 42 (offsetof(typeof(struct_type), member) + \ 43 sizeof(((typeof(struct_type) *)(NULL))->member))
|
/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.h | 53 #define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \ argument 59 struct struct_type *stats = wl->stats.fw_stats; \ 73 #define DEBUGFS_FWSTATS_FILE_ARRAY(sub, name, len, struct_type) \ argument 79 struct struct_type *stats = wl->stats.fw_stats; \
|
/openbmc/linux/fs/f2fs/ |
H A D | sysfs.c | 59 int struct_type; member 67 static unsigned char *__struct_ptr(struct f2fs_sb_info *sbi, int struct_type) in __struct_ptr() argument 69 if (struct_type == GC_THREAD) in __struct_ptr() 71 else if (struct_type == SM_INFO) in __struct_ptr() 73 else if (struct_type == DCC_INFO) in __struct_ptr() 75 else if (struct_type == NM_INFO) in __struct_ptr() 77 else if (struct_type == F2FS_SBI || struct_type == RESERVED_BLOCKS) in __struct_ptr() 80 else if (struct_type == FAULT_INFO_RATE || in __struct_ptr() 81 struct_type == FAULT_INFO_TYPE) in __struct_ptr() 85 else if (struct_type == STAT_INFO) in __struct_ptr() [all …]
|
/openbmc/linux/include/linux/ |
H A D | btf.h | 224 #define for_each_member(i, struct_type, member) \ argument 225 for (i = 0, member = btf_type_member(struct_type); \ 226 i < btf_type_vlen(struct_type); \ 404 static inline u32 __btf_member_bit_offset(const struct btf_type *struct_type, in __btf_member_bit_offset() argument 407 return btf_type_kflag(struct_type) ? BTF_MEMBER_BIT_OFFSET(member->offset) in __btf_member_bit_offset() 411 static inline u32 __btf_member_bitfield_size(const struct btf_type *struct_type, in __btf_member_bitfield_size() argument 414 return btf_type_kflag(struct_type) ? BTF_MEMBER_BITFIELD_SIZE(member->offset) in __btf_member_bitfield_size()
|
/openbmc/linux/kernel/bpf/ |
H A D | btf.c | 193 #define for_each_member_from(i, from, struct_type, member) \ argument 194 for (i = from, member = btf_type_member(struct_type) + from; \ 195 i < btf_type_vlen(struct_type); \ 198 #define for_each_vsi_from(i, from, struct_type, member) \ argument 199 for (i = from, member = btf_type_var_secinfo(struct_type) + from; \ 200 i < btf_type_vlen(struct_type); \ 439 const struct btf_type *struct_type, 443 const struct btf_type *struct_type, 1459 const struct btf_type *struct_type, in btf_verifier_log_member() argument 1486 btf_verifier_log_type(env, struct_type, NULL); in btf_verifier_log_member() [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/qlogic/ |
H A D | qlge.rst | 23 def struct_size(struct_type): 24 struct_str = "struct {}".format(struct_type)
|
/openbmc/linux/include/net/ |
H A D | ieee802154_netdev.h | 18 #define IEEE802154_REQUIRED_SIZE(struct_type, member) \ argument 19 (offsetof(typeof(struct_type), member) + \ 20 sizeof(((typeof(struct_type) *)(NULL))->member))
|
/openbmc/linux/arch/mips/include/asm/sn/ |
H A D | klconfig.h | 423 unsigned char struct_type; /* type of structure, local or remote */ member 459 #define KLCF_REMOTE(_brd) (((_brd)->struct_type & LOCAL_BOARD) ? 0 : 1) 474 #define KLCF_COMP_TYPE(_comp) ((_comp)->struct_type) 485 unsigned char struct_type; /* type of this structure */ member
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_yaffs2.c | 257 cp.struct_type = sizeof(cp); in yaffs2_wr_checkpt_validity_marker() 273 ok = (cp.struct_type == sizeof(cp)) && in yaffs2_rd_checkpt_validity_marker() 318 cp.struct_type = sizeof(cp); in yaffs2_wr_checkpt_dev() 349 if (cp.struct_type != sizeof(cp)) in yaffs2_rd_checkpt_dev() 558 cp.struct_type = sizeof(cp); in yaffs2_wr_checkpt_objs() 578 cp.struct_type = sizeof(cp); in yaffs2_wr_checkpt_objs() 597 if (cp.struct_type != sizeof(cp)) { in yaffs2_rd_checkpt_objs() 600 cp.struct_type, (int)sizeof(cp), ok); in yaffs2_rd_checkpt_objs()
|
H A D | yaffs_guts.h | 487 int struct_type; member 789 int struct_type; member 806 int struct_type; member
|
/openbmc/linux/tools/net/ynl/ |
H A D | ynl-gen-c.py | 1925 struct_type = pol_to_struct[family.kernel_policy]
|