Home
last modified time | relevance | path

Searched refs:struct_type (Results 1 – 8 of 8) sorted by relevance

/linux/arch/mips/sgi-ip27/
H A Dip27-klconfig.c18 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()
/linux/fs/erofs/
H A Dsysfs.c26 int struct_type, offset; member
41 .struct_type = struct_##_struct, \
101 int struct_type, int offset) in __struct_ptr() argument
103 if (struct_type == struct_erofs_sb_info) in __struct_ptr()
105 if (struct_type == struct_erofs_mount_opts) in __struct_ptr()
116 unsigned char *ptr = __struct_ptr(sbi, a->struct_type, a->offset); in erofs_attr_show()
139 unsigned char *ptr = __struct_ptr(sbi, a->struct_type, a->offset); in erofs_attr_store()
/linux/include/linux/can/
H A Dcore.h41 #define CAN_REQUIRED_SIZE(struct_type, member) \ argument
42 (offsetof(typeof(struct_type), member) + \
43 sizeof(((typeof(struct_type) *)(NULL))->member))
/linux/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.h53 #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; \
/linux/include/linux/
H A Dbtf.h241 #define for_each_member(i, struct_type, member) \ argument
242 for (i = 0, member = btf_type_member(struct_type); \
243 i < btf_type_vlen(struct_type); \
431 static inline u32 __btf_member_bit_offset(const struct btf_type *struct_type, in __btf_member_bit_offset() argument
434 return btf_type_kflag(struct_type) ? BTF_MEMBER_BIT_OFFSET(member->offset) in __btf_member_bit_offset()
438 static inline u32 __btf_member_bitfield_size(const struct btf_type *struct_type, in __btf_member_bitfield_size() argument
441 return btf_type_kflag(struct_type) ? BTF_MEMBER_BITFIELD_SIZE(member->offset) in __btf_member_bitfield_size()
/linux/kernel/bpf/
H A Dbtf.c194 #define for_each_member_from(i, from, struct_type, member) \ argument
195 for (i = from, member = btf_type_member(struct_type) + from; \
196 i < btf_type_vlen(struct_type); \
199 #define for_each_vsi_from(i, from, struct_type, member) \ argument
200 for (i = from, member = btf_type_var_secinfo(struct_type) + from; \
201 i < btf_type_vlen(struct_type); \
449 const struct btf_type *struct_type,
453 const struct btf_type *struct_type,
1480 const struct btf_type *struct_type, in btf_verifier_log_member() argument
1507 btf_verifier_log_type(env, struct_type, NULL); in btf_verifier_log_member()
[all …]
/linux/arch/mips/include/asm/sn/
H A Dklconfig.h423 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
/linux/include/net/
H A Dieee802154_netdev.h18 #define IEEE802154_REQUIRED_SIZE(struct_type, member) \ argument
19 (offsetof(typeof(struct_type), member) + \
20 sizeof(((typeof(struct_type) *)(NULL))->member))