Home
last modified time | relevance | path

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

/Linux-v5.15/arch/mips/sgi-ip27/
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-v5.15/include/linux/
Dbtf.h116 #define for_each_member(i, struct_type, member) \ argument
117 for (i = 0, member = btf_type_member(struct_type); \
118 i < btf_type_vlen(struct_type); \
196 static inline u32 btf_member_bit_offset(const struct btf_type *struct_type, in btf_member_bit_offset() argument
199 return btf_type_kflag(struct_type) ? BTF_MEMBER_BIT_OFFSET(member->offset) in btf_member_bit_offset()
203 static inline u32 btf_member_bitfield_size(const struct btf_type *struct_type, in btf_member_bitfield_size() argument
206 return btf_type_kflag(struct_type) ? BTF_MEMBER_BITFIELD_SIZE(member->offset) in btf_member_bitfield_size()
/Linux-v5.15/include/linux/can/
Dcore.h41 #define CAN_REQUIRED_SIZE(struct_type, member) \ argument
42 (offsetof(typeof(struct_type), member) + \
43 sizeof(((typeof(struct_type) *)(NULL))->member))
/Linux-v5.15/drivers/net/wireless/ti/wlcore/
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-v5.15/fs/f2fs/
Dsysfs.c49 int struct_type; member
57 static unsigned char *__struct_ptr(struct f2fs_sb_info *sbi, int struct_type) in __struct_ptr() argument
59 if (struct_type == GC_THREAD) in __struct_ptr()
61 else if (struct_type == SM_INFO) in __struct_ptr()
63 else if (struct_type == DCC_INFO) in __struct_ptr()
65 else if (struct_type == NM_INFO) in __struct_ptr()
67 else if (struct_type == F2FS_SBI || struct_type == RESERVED_BLOCKS) in __struct_ptr()
70 else if (struct_type == FAULT_INFO_RATE || in __struct_ptr()
71 struct_type == FAULT_INFO_TYPE) in __struct_ptr()
75 else if (struct_type == STAT_INFO) in __struct_ptr()
[all …]
/Linux-v5.15/kernel/bpf/
Dbtf.c187 #define for_each_member_from(i, from, struct_type, member) \ argument
188 for (i = from, member = btf_type_member(struct_type) + from; \
189 i < btf_type_vlen(struct_type); \
192 #define for_each_vsi_from(i, from, struct_type, member) \ argument
193 for (i = from, member = btf_type_var_secinfo(struct_type) + from; \
194 i < btf_type_vlen(struct_type); \
383 const struct btf_type *struct_type,
387 const struct btf_type *struct_type,
1335 const struct btf_type *struct_type, in btf_verifier_log_member() argument
1355 btf_verifier_log_type(env, struct_type, NULL); in btf_verifier_log_member()
[all …]
/Linux-v5.15/Documentation/networking/device_drivers/qlogic/
Dqlge.rst23 def struct_size(struct_type):
24 struct_str = "struct {}".format(struct_type)
/Linux-v5.15/arch/mips/include/asm/sn/
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