Home
last modified time | relevance | path

Searched full:member (Results 1 – 25 of 1112) sorted by relevance

12345678910>>...45

/Linux-v6.1/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wqe.h24 #define HINIC_CMDQ_CTRL_SET(val, member) \ argument
25 (((u32)(val) & HINIC_CMDQ_CTRL_##member##_MASK) \
26 << HINIC_CMDQ_CTRL_##member##_SHIFT)
28 #define HINIC_CMDQ_CTRL_GET(val, member) \ argument
29 (((val) >> HINIC_CMDQ_CTRL_##member##_SHIFT) \
30 & HINIC_CMDQ_CTRL_##member##_MASK)
48 #define HINIC_CMDQ_WQE_HEADER_SET(val, member) \ argument
49 (((u32)(val) & HINIC_CMDQ_WQE_HEADER_##member##_MASK) \
50 << HINIC_CMDQ_WQE_HEADER_##member##_SHIFT)
52 #define HINIC_CMDQ_WQE_HEADER_GET(val, member) \ argument
[all …]
Dhinic_hw_api_cmd.h19 #define HINIC_API_CMD_PI_SET(val, member) \ argument
20 (((u32)(val) & HINIC_API_CMD_PI_##member##_MASK) << \
21 HINIC_API_CMD_PI_##member##_SHIFT)
23 #define HINIC_API_CMD_PI_CLEAR(val, member) \ argument
24 ((val) & (~(HINIC_API_CMD_PI_##member##_MASK \
25 << HINIC_API_CMD_PI_##member##_SHIFT)))
31 #define HINIC_API_CMD_CHAIN_REQ_SET(val, member) \ argument
32 (((u32)(val) & HINIC_API_CMD_CHAIN_REQ_##member##_MASK) << \
33 HINIC_API_CMD_CHAIN_REQ_##member##_SHIFT)
35 #define HINIC_API_CMD_CHAIN_REQ_GET(val, member) \ argument
[all …]
Dhinic_hw_if.h29 #define HINIC_DMA_ATTR_SET(val, member) \ argument
30 (((u32)(val) & HINIC_DMA_ATTR_##member##_MASK) << \
31 HINIC_DMA_ATTR_##member##_SHIFT)
33 #define HINIC_DMA_ATTR_CLEAR(val, member) \ argument
34 ((val) & (~(HINIC_DMA_ATTR_##member##_MASK \
35 << HINIC_DMA_ATTR_##member##_SHIFT)))
50 #define HINIC_FA0_GET(val, member) \ argument
51 (((val) >> HINIC_FA0_##member##_SHIFT) & HINIC_FA0_##member##_MASK)
70 #define HINIC_FA1_GET(val, member) \ argument
71 (((val) >> HINIC_FA1_##member##_SHIFT) & HINIC_FA1_##member##_MASK)
[all …]
Dhinic_hw_cmdq.h30 #define HINIC_CMDQ_CTXT_PAGE_INFO_SET(val, member) \ argument
31 (((u64)(val) & HINIC_CMDQ_CTXT_##member##_MASK) \
32 << HINIC_CMDQ_CTXT_##member##_SHIFT)
34 #define HINIC_CMDQ_CTXT_PAGE_INFO_GET(val, member) \ argument
35 (((u64)(val) >> HINIC_CMDQ_CTXT_##member##_SHIFT) \
36 & HINIC_CMDQ_CTXT_##member##_MASK)
38 #define HINIC_CMDQ_CTXT_PAGE_INFO_CLEAR(val, member) \ argument
39 ((val) & (~((u64)HINIC_CMDQ_CTXT_##member##_MASK \
40 << HINIC_CMDQ_CTXT_##member##_SHIFT)))
48 #define HINIC_CMDQ_CTXT_BLOCK_INFO_SET(val, member) \ argument
[all …]
Dhinic_hw_eqs.h29 #define HINIC_AEQ_CTRL_0_SET(val, member) \ argument
30 (((u32)(val) & HINIC_AEQ_CTRL_0_##member##_MASK) << \
31 HINIC_AEQ_CTRL_0_##member##_SHIFT)
33 #define HINIC_AEQ_CTRL_0_CLEAR(val, member) \ argument
34 ((val) & (~(HINIC_AEQ_CTRL_0_##member##_MASK \
35 << HINIC_AEQ_CTRL_0_##member##_SHIFT)))
45 #define HINIC_AEQ_CTRL_1_SET(val, member) \ argument
46 (((u32)(val) & HINIC_AEQ_CTRL_1_##member##_MASK) << \
47 HINIC_AEQ_CTRL_1_##member##_SHIFT)
49 #define HINIC_AEQ_CTRL_1_CLEAR(val, member) \ argument
[all …]
Dhinic_hw_qp_ctxt.h20 #define HINIC_SQ_CTXT_CEQ_ATTR_SET(val, member) \ argument
21 (((u32)(val) & HINIC_SQ_CTXT_CEQ_ATTR_##member##_MASK) \
22 << HINIC_SQ_CTXT_CEQ_ATTR_##member##_SHIFT)
30 #define HINIC_SQ_CTXT_CI_SET(val, member) \ argument
31 (((u32)(val) & HINIC_SQ_CTXT_CI_##member##_MASK) \
32 << HINIC_SQ_CTXT_CI_##member##_SHIFT)
40 #define HINIC_SQ_CTXT_WQ_PAGE_SET(val, member) \ argument
41 (((u32)(val) & HINIC_SQ_CTXT_WQ_PAGE_##member##_MASK) \
42 << HINIC_SQ_CTXT_WQ_PAGE_##member##_SHIFT)
58 #define HINIC_SQ_CTXT_PREF_SET(val, member) \ argument
[all …]
/Linux-v6.1/tools/include/linux/
Dlist.h198 * in the process of modifying either member (next or prev)
349 * @member: the name of the list_head within the struct.
351 #define list_entry(ptr, type, member) \ argument
352 container_of(ptr, type, member)
358 * @member: the name of the list_head within the struct.
362 #define list_first_entry(ptr, type, member) \ argument
363 list_entry((ptr)->next, type, member)
369 * @member: the name of the list_head within the struct.
373 #define list_last_entry(ptr, type, member) \ argument
374 list_entry((ptr)->prev, type, member)
[all …]
/Linux-v6.1/scripts/kconfig/
Dlist.h10 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
13 * container_of - cast a member of a structure out to the containing structure
14 * @ptr: the pointer to the member.
16 * @member: the name of the member within the struct.
19 #define container_of(ptr, type, member) ({ \ argument
20 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
21 (type *)( (char *)__mptr - offsetof(type,member) );})
38 * @member: the name of the list_head within the struct.
40 #define list_entry(ptr, type, member) \ argument
41 container_of(ptr, type, member)
[all …]
/Linux-v6.1/drivers/infiniband/core/
Dmulticast.c200 static void deref_member(struct mcast_member *member) in deref_member() argument
202 if (refcount_dec_and_test(&member->refcount)) in deref_member()
203 complete(&member->comp); in deref_member()
206 static void queue_join(struct mcast_member *member) in queue_join() argument
208 struct mcast_group *group = member->group; in queue_join()
212 list_add_tail(&member->list, &group->pending_list); in queue_join()
222 * A multicast group has four types of members: full member, non member,
223 * sendonly non member and sendonly full member.
239 * the group is still a member with the SA, we need to leave that join state.
330 static int send_join(struct mcast_group *group, struct mcast_member *member) in send_join() argument
[all …]
/Linux-v6.1/include/linux/
Dlist.h319 * in the process of modifying either member (next or prev)
517 * @member: the name of the list_head within the struct.
519 #define list_entry(ptr, type, member) \ argument
520 container_of(ptr, type, member)
526 * @member: the name of the list_head within the struct.
530 #define list_first_entry(ptr, type, member) \ argument
531 list_entry((ptr)->next, type, member)
537 * @member: the name of the list_head within the struct.
541 #define list_last_entry(ptr, type, member) \ argument
542 list_entry((ptr)->prev, type, member)
[all …]
Drculist.h301 * @member: the name of the list_head within the struct.
306 #define list_entry_rcu(ptr, type, member) \ argument
307 container_of(READ_ONCE(ptr), type, member)
343 * @member: the name of the list_head within the struct.
350 #define list_first_or_null_rcu(ptr, type, member) \ argument
354 likely(__ptr != __next) ? list_entry_rcu(__next, type, member) : NULL; \
362 * @member: the name of the list_head within the struct.
369 #define list_next_or_null_rcu(head, ptr, type, member) \ argument
375 member) : NULL; \
382 * @member: the name of the list_head within the struct.
[all …]
Dcontainer_of.h11 * container_of - cast a member of a structure out to the containing structure
12 * @ptr: the pointer to the member.
14 * @member: the name of the member within the struct.
17 #define container_of(ptr, type, member) ({ \ argument
19 static_assert(__same_type(*(ptr), ((type *)0)->member) || \
22 ((type *)(__mptr - offsetof(type, member))); })
25 * container_of_safe - cast a member of a structure out to the containing structure
26 * @ptr: the pointer to the member.
28 * @member: the name of the member within the struct.
32 #define container_of_safe(ptr, type, member) ({ \ argument
[all …]
Dstddef.h16 #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) argument
22 * @MEMBER: The field to return the size of
24 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) argument
30 * @MEMBER: The member within the structure to get the end offset of
32 #define offsetofend(TYPE, MEMBER) \ argument
33 (offsetof(TYPE, MEMBER) + sizeof_field(TYPE, MEMBER))
39 * @MEMBERS: The member declarations for the mirrored structs
55 * @MEMBERS: The member declarations for the mirrored structs
71 * @MEMBERS: The member declarations for the mirrored structs
87 * @NAME: The name of the flexible array member
[all …]
Dhashtable.h124 * @member: the name of the hlist_node within the struct
126 #define hash_for_each(name, bkt, obj, member) \ argument
129 hlist_for_each_entry(obj, &name[bkt], member)
136 * @member: the name of the hlist_node within the struct
138 #define hash_for_each_rcu(name, bkt, obj, member) \ argument
141 hlist_for_each_entry_rcu(obj, &name[bkt], member)
150 * @member: the name of the hlist_node within the struct
152 #define hash_for_each_safe(name, bkt, tmp, obj, member) \ argument
155 hlist_for_each_entry_safe(obj, tmp, &name[bkt], member)
162 * @member: the name of the hlist_node within the struct
[all …]
Dllist.h80 * @member: the name of the llist_node within the struct.
82 #define llist_entry(ptr, type, member) \ argument
83 container_of(ptr, type, member)
86 * member_address_is_nonnull - check whether the member address is not NULL
88 * @member: the name of the llist_node within the struct.
91 * &ptr->member != NULL
92 * but it works around the fact that compilers can decide that taking a member
95 * Real objects that start at a high address and have a member at NULL are
99 #define member_address_is_nonnull(ptr, member) \ argument
100 ((uintptr_t)(ptr) + offsetof(typeof(*(ptr)), member) != 0)
[all …]
/Linux-v6.1/scripts/mod/
Dlist.h12 * container_of - cast a member of a structure out to the containing structure
13 * @ptr: the pointer to the member.
15 * @member: the name of the member within the struct.
18 #define container_of(ptr, type, member) ({ \ argument
20 _Static_assert(__same_type(*(ptr), ((type *)0)->member) || \
23 ((type *)(__mptr - offsetof(type, member))); })
156 * @member: the name of the list_head within the struct.
158 #define list_entry(ptr, type, member) \ argument
159 container_of(ptr, type, member)
165 * @member: the name of the list_head within the struct.
[all …]
/Linux-v6.1/drivers/isdn/mISDN/
Ddsp_cmx.c32 * There are 3 types of interaction: One member is alone, in this case only
54 * individual member. This is only the case if data needs to be dejittered
87 * If a member joins a conference:
89 * - If a member joins, its rx_buff is set to silence and change read pointer
109 * If tones are generated by hardware, this conference member is removed for
162 struct dsp_conf_member *member; in dsp_cmx_debug() local
179 list_for_each_entry(member, &conf->mlist, list) { in dsp_cmx_debug()
181 " - member = %s (slot_tx %d, bank_tx %d, " in dsp_cmx_debug()
184 member->dsp->name, member->dsp->pcm_slot_tx, in dsp_cmx_debug()
185 member->dsp->pcm_bank_tx, member->dsp->pcm_slot_rx, in dsp_cmx_debug()
[all …]
/Linux-v6.1/tools/firewire/
Dlist.h47 #define list_entry(link, type, member) \ argument
48 ((type *)((char *)(link)-(unsigned long)(&((type *)0)->member)))
50 #define list_head(list, type, member) \ argument
51 list_entry((list)->next, type, member)
53 #define list_tail(list, type, member) \ argument
54 list_entry((list)->prev, type, member)
56 #define list_next(elm, member) \ argument
57 list_entry((elm)->member.next, typeof(*elm), member)
59 #define list_for_each_entry(pos, list, member) \ argument
60 for (pos = list_head(list, typeof(*pos), member); \
[all …]
/Linux-v6.1/drivers/scsi/isci/
Disci.h125 * This member indicates successful completion.
147 * This member indicates that the object for which a state change is
153 * This member indicates interrupt coalescence timer may cause SAS
166 * This member indicates that there was a general failure.
171 * This member indicates that the SCI implementation is unable to complete
178 * This member indicates the calling function failed, because the state
184 * This member indicates the calling function failed, because there is
190 * This member indicates the calling function failed, because the
196 * This member indicates the calling function failed, because the
202 * This member indicates the calling function failed, because the
[all …]
/Linux-v6.1/Documentation/driver-api/pm/
Dcpuidle.rst53 containing four callback pointers, :c:member:`enable`, :c:member:`disable`,
54 :c:member:`select`, :c:member:`reflect`, a :c:member:`rating` field described
62 :c:member:`rating` field is greater than the value of that field for the
75 :c:member:`enable`
94 :c:member:`disable`
107 :c:member:`select`
118 :c:member:`states` array of struct cpuidle_state objects held by the
133 This callback is mandatory (i.e. the :c:member:`select` callback pointer
137 :c:member:`reflect`
154 :c:member:`exit_latency` value is greater than the number returned by that
[all …]
/Linux-v6.1/security/tomoyo/
Dgroup.c125 * Returns matched member's pathname if @pathname matches pathnames in @group,
134 struct tomoyo_path_group *member; in tomoyo_path_matches_group() local
136 list_for_each_entry_rcu(member, &group->member_list, head.list, in tomoyo_path_matches_group()
138 if (member->head.is_deleted) in tomoyo_path_matches_group()
140 if (!tomoyo_path_matches_pattern(pathname, member->member_name)) in tomoyo_path_matches_group()
142 return member->member_name; in tomoyo_path_matches_group()
162 struct tomoyo_number_group *member; in tomoyo_number_matches_group() local
165 list_for_each_entry_rcu(member, &group->member_list, head.list, in tomoyo_number_matches_group()
167 if (member->head.is_deleted) in tomoyo_number_matches_group()
169 if (min > member->number.values[1] || in tomoyo_number_matches_group()
[all …]
/Linux-v6.1/drivers/net/dsa/realtek/
Drtl8366-core.c40 * rtl8366_obtain_mc() - retrieve or allocate a VLAN member configuration
43 * @vlanmc: the pointer will be assigned to a pointer to a valid member config
45 * @return: index of a new member config or negative error number
54 /* Try to find an existing member config entry for this VID */ in rtl8366_obtain_mc()
76 if (vlanmc->vid == 0 && vlanmc->member == 0) { in rtl8366_obtain_mc()
86 vlanmc->member = vlan4k.member; in rtl8366_obtain_mc()
117 vlanmc->member = vlan4k.member; in rtl8366_obtain_mc()
132 dev_err(priv->dev, "all VLAN member configurations are in use\n"); in rtl8366_obtain_mc()
136 int rtl8366_set_vlan(struct realtek_priv *priv, int vid, u32 member, in rtl8366_set_vlan() argument
149 vid, member, untag); in rtl8366_set_vlan()
[all …]
/Linux-v6.1/arch/powerpc/include/asm/
Dfs_pd.h24 #define cpm2_map(member) (&cpm2_immr->member) argument
25 #define cpm2_map_size(member, size) (&cpm2_immr->member) argument
34 #define immr_map(member) (&mpc8xx_immr->member) argument
35 #define immr_map_size(member, size) (&mpc8xx_immr->member) argument
/Linux-v6.1/drivers/gpu/drm/radeon/
Dmkregtable.c20 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
22 * container_of - cast a member of a structure out to the containing structure
23 * @ptr: the pointer to the member.
25 * @member: the name of the member within the struct.
28 #define container_of(ptr, type, member) ({ \ argument
29 const typeof(((type *)0)->member)*__mptr = (ptr); \
30 (type *)((char *)__mptr - offsetof(type, member)); })
90 * @member: the name of the list_head within the struct.
92 #define list_entry(ptr, type, member) \ argument
93 container_of(ptr, type, member)
[all …]
/Linux-v6.1/tools/usb/usbip/libsrc/
Dlist.h102 * @member: the name of the list_head within the struct.
104 #define list_entry(ptr, type, member) \ argument
105 container_of(ptr, type, member)
124 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) argument
127 * container_of - cast a member of a structure out to the containing structure
128 * @ptr: the pointer to the member.
130 * @member: the name of the member within the struct.
133 #define container_of(ptr, type, member) ({ \ argument
134 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
135 (type *)( (char *)__mptr - offsetof(type,member) );})

12345678910>>...45