Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 25 of 983) sorted by relevance

12345678910>>...40

/linux/rust/syn/
H A Dprecedence.rs95 fn prefix_attrs(attrs: &[Attribute]) -> Precedence { in of()
96 for attr in attrs { in of()
108 ReturnType::Type(..) => prefix_attrs(&e.attrs), in of()
127 Expr::Array(ExprArray { attrs, .. }) in of()
128 | Expr::Async(ExprAsync { attrs, .. }) in of()
129 | Expr::Await(ExprAwait { attrs, .. }) in of()
130 | Expr::Block(ExprBlock { attrs, .. }) in of()
131 | Expr::Call(ExprCall { attrs, .. }) in of()
132 | Expr::Const(ExprConst { attrs, .. }) in of()
133 | Expr::Continue(ExprContinue { attrs, .. }) in of()
[all …]
H A Dexpr.rs275 pub attrs: Vec<Attribute>,
285 pub attrs: Vec<Attribute>,
296 pub attrs: Vec<Attribute>,
307 pub attrs: Vec<Attribute>,
318 pub attrs: Vec<Attribute>,
329 pub attrs: Vec<Attribute>,
340 pub attrs: Vec<Attribute>,
351 pub attrs: Vec<Attribute>,
362 pub attrs: Vec<Attribute>,
373 pub attrs: Vec<Attribute>,
[all …]
H A Ditem.rs107 pub attrs: Vec<Attribute>,
124 pub attrs: Vec<Attribute>,
138 pub attrs: Vec<Attribute>,
152 pub attrs: Vec<Attribute>,
163 pub attrs: Vec<Attribute>,
176 pub attrs: Vec<Attribute>,
194 pub attrs: Vec<Attribute>,
206 pub attrs: Vec<Attribute>,
220 pub attrs: Vec<Attribute>,
237 pub attrs: Vec<Attribute>,
[all …]
/linux/include/trace/events/
H A Ddma.h25 #define decode_dma_attrs(attrs) \ argument
26 __print_flags(attrs, "|", \
42 size_t size, enum dma_data_direction dir, unsigned long attrs),
43 TP_ARGS(dev, phys_addr, dma_addr, size, dir, attrs),
51 __field(unsigned long, attrs)
60 __entry->attrs = attrs;
69 decode_dma_attrs(__entry->attrs))
75 size_t size, enum dma_data_direction dir, unsigned long attrs), \
76 TP_ARGS(dev, phys_addr, dma_addr, size, dir, attrs))
82 enum dma_data_direction dir, unsigned long attrs),
[all …]
/linux/drivers/soc/aspeed/
H A Daspeed-socinfo.c83 struct soc_device_attribute *attrs; in aspeed_socinfo_init() local
116 attrs = kzalloc_obj(*attrs); in aspeed_socinfo_init()
117 if (!attrs) in aspeed_socinfo_init()
131 attrs->machine = kstrdup(machine, GFP_KERNEL); in aspeed_socinfo_init()
134 attrs->family = siliconid_to_name(siliconid); in aspeed_socinfo_init()
135 attrs->revision = siliconid_to_rev(siliconid); in aspeed_socinfo_init()
136 attrs->soc_id = kasprintf(GFP_KERNEL, "%08x", siliconid); in aspeed_socinfo_init()
139 attrs->serial_number = kasprintf(GFP_KERNEL, "%08x%08x", in aspeed_socinfo_init()
142 soc_dev = soc_device_register(attrs); in aspeed_socinfo_init()
144 kfree(attrs->machine); in aspeed_socinfo_init()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c66 if (sa_entry->attrs.drop) in mlx5e_ipsec_handle_sw_limits()
71 sa_entry->attrs.drop = true; in mlx5e_ipsec_handle_sw_limits()
146 struct mlx5_accel_esp_xfrm_attrs *attrs) in mlx5e_ipsec_init_limits() argument
151 attrs->lft.hard_packet_limit = x->lft.hard_packet_limit; in mlx5e_ipsec_init_limits()
152 attrs->lft.soft_packet_limit = x->lft.soft_packet_limit; in mlx5e_ipsec_init_limits()
186 n = attrs->lft.hard_packet_limit / BIT_ULL(31); in mlx5e_ipsec_init_limits()
187 start_value = attrs->lft.hard_packet_limit - n * BIT_ULL(31); in mlx5e_ipsec_init_limits()
194 start_value = attrs->lft.hard_packet_limit - n * BIT_ULL(31); in mlx5e_ipsec_init_limits()
199 attrs->lft.hard_packet_limit = lower_32_bits(start_value); in mlx5e_ipsec_init_limits()
200 attrs->lft.numb_rounds_hard = (u64)n; in mlx5e_ipsec_init_limits()
[all …]
H A Dipsec_offload.c97 struct mlx5_accel_esp_xfrm_attrs *attrs = &sa_entry->attrs; in mlx5e_ipsec_packet_setup() local
101 if (attrs->replay_esn.trigger) { in mlx5e_ipsec_packet_setup()
104 if (attrs->dir == XFRM_DEV_OFFLOAD_IN) { in mlx5e_ipsec_packet_setup()
106 attrs->replay_esn.replay_window); in mlx5e_ipsec_packet_setup()
111 attrs->replay_esn.esn); in mlx5e_ipsec_packet_setup()
125 if (attrs->dir == XFRM_DEV_OFFLOAD_OUT) { in mlx5e_ipsec_packet_setup()
127 if (!attrs->replay_esn.trigger) in mlx5e_ipsec_packet_setup()
132 if (attrs->lft.hard_packet_limit != XFRM_INF) { in mlx5e_ipsec_packet_setup()
134 attrs->lft.hard_packet_limit); in mlx5e_ipsec_packet_setup()
139 if (attrs->lft.soft_packet_limit != XFRM_INF) { in mlx5e_ipsec_packet_setup()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_custom_syncookie.c65 struct bpf_tcp_req_attrs attrs; member
249 ctx->attrs.mss = get_unaligned_be16(mss); in tcp_parse_option()
254 ctx->attrs.wscale_ok = 1; in tcp_parse_option()
255 ctx->attrs.snd_wscale = *wscale; in tcp_parse_option()
262 ctx->attrs.rcv_tsval = get_unaligned_be32(tsval); in tcp_parse_option()
263 ctx->attrs.rcv_tsecr = get_unaligned_be32(tsecr); in tcp_parse_option()
265 if (ctx->tcp->syn && ctx->attrs.rcv_tsecr) in tcp_parse_option()
266 ctx->attrs.tstamp_ok = 0; in tcp_parse_option()
268 ctx->attrs.tstamp_ok = 1; in tcp_parse_option()
273 ctx->attrs in tcp_parse_option()
[all...]
/linux/kernel/dma/
H A Dmapping.c37 unsigned long attrs; member
45 this->attrs); in dmam_release()
94 gfp_t gfp, unsigned long attrs) in dmam_alloc_attrs() argument
103 vaddr = dma_alloc_attrs(dev, size, dma_handle, gfp, attrs); in dmam_alloc_attrs()
112 dr->attrs = attrs; in dmam_alloc_attrs()
156 enum dma_data_direction dir, unsigned long attrs) in dma_map_phys() argument
159 bool is_mmio = attrs & DMA_ATTR_MMIO; in dma_map_phys()
160 bool is_cc_shared = attrs & DMA_ATTR_CC_SHARED; in dma_map_phys()
168 if (!dev_is_dma_coherent(dev) && (attrs & DMA_ATTR_REQUIRE_COHERENT)) in dma_map_phys()
174 addr = dma_direct_map_phys(dev, phys, size, dir, attrs, true); in dma_map_phys()
[all …]
H A Ddirect.h15 unsigned long attrs);
19 unsigned long attrs);
22 enum dma_data_direction dir, unsigned long attrs);
41 int nents, enum dma_data_direction dir, unsigned long attrs);
47 unsigned long attrs) in dma_direct_unmap_sg() argument
87 unsigned long attrs, bool flush) in dma_direct_map_phys() argument
92 if (!(attrs & DMA_ATTR_CC_SHARED)) { in dma_direct_map_phys()
93 if (attrs & (DMA_ATTR_MMIO | DMA_ATTR_REQUIRE_COHERENT)) in dma_direct_map_phys()
96 return swiotlb_map(dev, phys, size, dir, attrs); in dma_direct_map_phys()
98 } else if (attrs & DMA_ATTR_CC_SHARED) { in dma_direct_map_phys()
[all …]
/linux/drivers/infiniband/core/
H A Duverbs_std_types_wq.c12 struct uverbs_attr_bundle *attrs) in uverbs_free_wq() argument
19 ret = ib_destroy_wq_user(wq, &attrs->driver_udata); in uverbs_free_wq()
28 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
31 uverbs_attr_get_uobject(attrs, UVERBS_ATTR_CREATE_WQ_HANDLE), in UVERBS_HANDLER()
34 uverbs_attr_get_obj(attrs, UVERBS_ATTR_CREATE_WQ_PD_HANDLE); in UVERBS_HANDLER()
36 uverbs_attr_get_obj(attrs, UVERBS_ATTR_CREATE_WQ_CQ_HANDLE); in UVERBS_HANDLER()
42 ret = uverbs_get_flags32(&wq_init_attr.create_flags, attrs, in UVERBS_HANDLER()
49 ret = uverbs_copy_from(&wq_init_attr.max_sge, attrs, in UVERBS_HANDLER()
52 ret = uverbs_copy_from(&wq_init_attr.max_wr, attrs, in UVERBS_HANDLER()
55 ret = uverbs_copy_from(&user_handle, attrs, in UVERBS_HANDLER()
[all …]
H A Duverbs_std_types_srq.c12 struct uverbs_attr_bundle *attrs) in uverbs_free_srq() argument
20 ret = ib_destroy_srq_user(srq, &attrs->driver_udata); in uverbs_free_srq()
37 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER()
40 uverbs_attr_get_uobject(attrs, UVERBS_ATTR_CREATE_SRQ_HANDLE), in UVERBS_HANDLER()
43 uverbs_attr_get_obj(attrs, UVERBS_ATTR_CREATE_SRQ_PD_HANDLE); in UVERBS_HANDLER()
50 ret = uverbs_copy_from(&attr.attr.max_sge, attrs, in UVERBS_HANDLER()
53 ret = uverbs_copy_from(&attr.attr.max_wr, attrs, in UVERBS_HANDLER()
56 ret = uverbs_copy_from(&attr.attr.srq_limit, attrs, in UVERBS_HANDLER()
59 ret = uverbs_copy_from(&user_handle, attrs, in UVERBS_HANDLER()
62 ret = uverbs_get_const(&attr.srq_type, attrs, in UVERBS_HANDLER()
[all …]
/linux/drivers/gpu/drm/msm/registers/
H A Dgen_header.py302 def __init__(self, attrs, domain, variant, parent, index_type): argument
303 if "name" in attrs:
304 self.local_name = attrs["name"]
315 if "offsets" in attrs:
316 self.offsets = map(lambda i: "0x%08x" % int(i, 0), attrs["offsets"].split(","))
318 elif "doffsets" in attrs:
319 self.offsets = map(lambda s: "(%s)" % s , attrs["doffsets"].split(","))
322 self.offset = int(attrs["offset"], 0)
323 self.stride = int(attrs["stride"], 0)
325 if "index" in attrs:
[all …]
/linux/net/l2tp/
H A Dl2tp_netlink.c55 if (info->attrs[L2TP_ATTR_IFNAME]) { in l2tp_nl_session_get()
56 ifname = nla_data(info->attrs[L2TP_ATTR_IFNAME]); in l2tp_nl_session_get()
58 } else if ((info->attrs[L2TP_ATTR_SESSION_ID]) && in l2tp_nl_session_get()
59 (info->attrs[L2TP_ATTR_CONN_ID])) { in l2tp_nl_session_get()
60 tunnel_id = nla_get_u32(info->attrs[L2TP_ATTR_CONN_ID]); in l2tp_nl_session_get()
61 session_id = nla_get_u32(info->attrs[L2TP_ATTR_SESSION_ID]); in l2tp_nl_session_get()
159 static int l2tp_nl_cmd_tunnel_create_get_addr(struct nlattr **attrs, struct l2tp_tunnel_cfg *cfg) in l2tp_nl_cmd_tunnel_create_get_addr() argument
161 if (attrs[L2TP_ATTR_UDP_SPORT]) in l2tp_nl_cmd_tunnel_create_get_addr()
162 cfg->local_udp_port = nla_get_u16(attrs[L2TP_ATTR_UDP_SPORT]); in l2tp_nl_cmd_tunnel_create_get_addr()
163 if (attrs[L2TP_ATTR_UDP_DPORT]) in l2tp_nl_cmd_tunnel_create_get_addr()
[all …]
/linux/net/ieee802154/
H A Dnl802154.c39 __cfg802154_wpan_dev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg802154_wpan_dev_from_attrs() argument
43 bool have_ifidx = attrs[NL802154_ATTR_IFINDEX]; in __cfg802154_wpan_dev_from_attrs()
44 bool have_wpan_dev_id = attrs[NL802154_ATTR_WPAN_DEV]; in __cfg802154_wpan_dev_from_attrs()
55 ifidx = nla_get_u32(attrs[NL802154_ATTR_IFINDEX]); in __cfg802154_wpan_dev_from_attrs()
57 wpan_dev_id = nla_get_u64(attrs[NL802154_ATTR_WPAN_DEV]); in __cfg802154_wpan_dev_from_attrs()
94 __cfg802154_rdev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg802154_rdev_from_attrs() argument
101 if (!attrs[NL802154_ATTR_WPAN_PHY] && in __cfg802154_rdev_from_attrs()
102 !attrs[NL802154_ATTR_IFINDEX] && in __cfg802154_rdev_from_attrs()
103 !attrs[NL802154_ATTR_WPAN_DEV]) in __cfg802154_rdev_from_attrs()
106 if (attrs[NL802154_ATTR_WPAN_PHY]) in __cfg802154_rdev_from_attrs()
[all …]
/linux/rust/syn/gen/
H A Dclone.rs34 attrs: self.attrs.clone(), in clone()
94 attrs: self.attrs.clone(), in clone()
105 attrs: self.attrs.clone(), in clone()
161 attrs: self.attrs.clone(), in clone()
231 attrs: self.attrs.clone(), in clone()
318 attrs: self.attrs.clone(), in clone()
329 attrs: self.attrs.clone(), in clone()
341 attrs: self.attrs.clone(), in clone()
353 attrs: self.attrs.clone(), in clone()
365 attrs: self.attrs.clone(), in clone()
[all …]
/linux/net/tipc/
H A Dnet.c171 struct nlattr *attrs; in __tipc_nl_add_net() local
179 attrs = nla_nest_start_noflag(msg->skb, TIPC_NLA_NET); in __tipc_nl_add_net()
180 if (!attrs) in __tipc_nl_add_net()
189 nla_nest_end(msg->skb, attrs); in __tipc_nl_add_net()
195 nla_nest_cancel(msg->skb, attrs); in __tipc_nl_add_net()
229 struct nlattr *attrs[TIPC_NLA_NET_MAX + 1]; in __tipc_nl_net_set() local
234 if (!info->attrs[TIPC_NLA_NET]) in __tipc_nl_net_set()
237 err = nla_parse_nested_deprecated(attrs, TIPC_NLA_NET_MAX, in __tipc_nl_net_set()
238 info->attrs[TIPC_NLA_NET], in __tipc_nl_net_set()
248 if (attrs[TIPC_NLA_NET_ID]) { in __tipc_nl_net_set()
[all …]
/linux/drivers/soc/vt8500/
H A Dwmt-socinfo.c50 struct soc_device_attribute *attrs; in wmt_socinfo_probe() local
62 attrs = devm_kzalloc(&pdev->dev, sizeof(*attrs), GFP_KERNEL); in wmt_socinfo_probe()
63 if (!attrs) in wmt_socinfo_probe()
73 attrs->family = sccid_to_name(sccid); in wmt_socinfo_probe()
79 attrs->revision = devm_kasprintf(&pdev->dev, GFP_KERNEL, in wmt_socinfo_probe()
82 attrs->soc_id = devm_kasprintf(&pdev->dev, GFP_KERNEL, "%08x", sccid); in wmt_socinfo_probe()
84 if (!attrs->revision || !attrs->soc_id) in wmt_socinfo_probe()
87 soc_dev = soc_device_register(attrs); in wmt_socinfo_probe()
93 attrs->family, in wmt_socinfo_probe()
94 attrs->revision, in wmt_socinfo_probe()
[all …]
/linux/net/netlabel/
H A Dnetlabel_mgmt.c91 entry->def.type = nla_get_u32(info->attrs[NLBL_MGMT_A_PROTOCOL]); in netlbl_mgmt_add_common()
92 if (info->attrs[NLBL_MGMT_A_DOMAIN]) { in netlbl_mgmt_add_common()
93 size_t tmp_size = nla_len(info->attrs[NLBL_MGMT_A_DOMAIN]); in netlbl_mgmt_add_common()
100 info->attrs[NLBL_MGMT_A_DOMAIN], tmp_size); in netlbl_mgmt_add_common()
111 nla_get_u16_default(info->attrs[NLBL_MGMT_A_FAMILY], in netlbl_mgmt_add_common()
115 if (!info->attrs[NLBL_MGMT_A_CV4DOI]) in netlbl_mgmt_add_common()
118 tmp_val = nla_get_u32(info->attrs[NLBL_MGMT_A_CV4DOI]); in netlbl_mgmt_add_common()
127 if (!info->attrs[NLBL_MGMT_A_CLPDOI]) in netlbl_mgmt_add_common()
130 tmp_val = nla_get_u32(info->attrs[NLBL_MGMT_A_CLPDOI]); in netlbl_mgmt_add_common()
142 if ((entry->family == AF_INET && info->attrs[NLBL_MGMT_A_IPV6ADDR]) || in netlbl_mgmt_add_common()
[all …]
/linux/drivers/infiniband/sw/siw/
H A Dsiw_qp.c111 if (likely(qp->attrs.state == SIW_QP_STATE_RTS)) in siw_qp_llp_data_ready()
132 siw_qp_state_to_string[qp->attrs.state]); in siw_qp_llp_close()
138 qp->attrs.sk = NULL; in siw_qp_llp_close()
140 switch (qp->attrs.state) { in siw_qp_llp_close()
145 qp->attrs.state = SIW_QP_STATE_ERROR; in siw_qp_llp_close()
155 qp->attrs.state = SIW_QP_STATE_ERROR; in siw_qp_llp_close()
157 qp->attrs.state = SIW_QP_STATE_IDLE; in siw_qp_llp_close()
162 siw_qp_state_to_string[qp->attrs.state]); in siw_qp_llp_close()
179 siw_qp_state_to_string[qp->attrs.state]); in siw_qp_llp_close()
209 qp->attrs.irq_size = 0; in siw_qp_readq_init()
[all …]
/linux/net/wireless/
H A Dnl80211.c69 struct net *netns, struct nlattr **attrs) in __cfg80211_wdev_from_attrs()
72 bool have_ifidx = attrs[NL80211_ATTR_IFINDEX]; in __cfg80211_wdev_from_attrs()
73 bool have_wdev_id = attrs[NL80211_ATTR_WDEV]; in __cfg80211_wdev_from_attrs()
82 ifidx = nla_get_u32(attrs[NL80211_ATTR_IFINDEX]); in __cfg80211_wdev_from_attrs()
84 wdev_id = nla_get_u64(attrs[NL80211_ATTR_WDEV]); in __cfg80211_wdev_from_attrs()
141 __cfg80211_rdev_from_attrs(struct net *netns, struct nlattr **attrs) in __cfg80211_rdev_from_attrs()
148 if (!attrs[NL80211_ATTR_WIPHY] && in __cfg80211_rdev_from_attrs()
149 !attrs[NL80211_ATTR_IFINDEX] && in __cfg80211_rdev_from_attrs()
150 !attrs[NL80211_ATTR_WDEV]) in __cfg80211_rdev_from_attrs()
153 if (attrs[NL80211_ATTR_WIPH in __cfg80211_rdev_from_attrs()
68 __cfg80211_wdev_from_attrs(struct cfg80211_registered_device * rdev,struct net * netns,struct nlattr ** attrs) __cfg80211_wdev_from_attrs() argument
140 __cfg80211_rdev_from_attrs(struct net * netns,struct nlattr ** attrs) __cfg80211_rdev_from_attrs() argument
1404 nl80211_link_id(struct nlattr ** attrs) nl80211_link_id() argument
1411 nl80211_link_id_or_invalid(struct nlattr ** attrs) nl80211_link_id_or_invalid() argument
3574 struct nlattr **attrs = info->attrs; _nl80211_parse_chandef() local
5740 nl80211_parse_tx_bitrate_mask(struct genl_info * info,struct nlattr * attrs[],enum nl80211_attrs attr,struct cfg80211_bitrate_mask * mask,struct net_device * dev,bool default_all_enabled,unsigned int link_id) nl80211_parse_tx_bitrate_mask() argument
6018 nl80211_parse_mbssid_config(struct wiphy * wiphy,struct net_device * dev,unsigned int link_id,struct nlattr * attrs,struct cfg80211_mbssid_config * config,u8 num_elems) nl80211_parse_mbssid_config() argument
6099 nl80211_parse_mbssid_elems(struct wiphy * wiphy,struct nlattr * attrs) nl80211_parse_mbssid_elems() argument
6129 nl80211_parse_rnr_elems(struct wiphy * wiphy,struct nlattr * attrs,struct netlink_ext_ack * extack) nl80211_parse_rnr_elems() argument
6160 nl80211_parse_he_bss_color(struct nlattr * attrs,struct cfg80211_he_bss_color * he_bss_color) nl80211_parse_he_bss_color() argument
6185 nl80211_parse_beacon(struct cfg80211_registered_device * rdev,struct nlattr * attrs[],struct cfg80211_beacon_data * bcn,struct netlink_ext_ack * extack) nl80211_parse_beacon() argument
6304 nl80211_parse_he_obss_pd(struct nlattr * attrs,struct ieee80211_he_obss_pd * he_obss_pd) nl80211_parse_he_obss_pd() argument
6349 nl80211_parse_fils_discovery(struct cfg80211_registered_device * rdev,struct nlattr * attrs,struct cfg80211_fils_discovery * fd) nl80211_parse_fils_discovery() argument
6386 nl80211_parse_unsol_bcast_probe_resp(struct cfg80211_registered_device * rdev,struct nlattr * attrs,struct cfg80211_unsol_bcast_probe_resp * presp) nl80211_parse_unsol_bcast_probe_resp() argument
6638 nl80211_parse_s1g_short_beacon(struct cfg80211_registered_device * rdev,struct nlattr * attrs,struct cfg80211_s1g_short_beacon * sb) nl80211_parse_s1g_short_beacon() argument
10303 nl80211_parse_random_mac(struct nlattr ** attrs,u8 * mac_addr,u8 * mac_addr_mask) nl80211_parse_random_mac() argument
10409 nl80211_check_scan_flags(struct wiphy * wiphy,struct wireless_dev * wdev,struct nlattr ** attrs,u8 * mac_addr,u8 * mac_addr_mask,u32 * flags,enum nl80211_feature_flags randomness_flag) nl80211_check_scan_flags() argument
10465 nl80211_check_scan_flags_sched(struct wiphy * wiphy,struct wireless_dev * wdev,struct nlattr ** attrs,struct cfg80211_sched_scan_request * req) nl80211_check_scan_flags_sched() argument
10477 nl80211_check_scan_flags_reg(struct wiphy * wiphy,struct wireless_dev * wdev,struct nlattr ** attrs,struct cfg80211_scan_request_int * req) nl80211_check_scan_flags_reg() argument
10757 nl80211_parse_sched_scan_plans(struct wiphy * wiphy,int n_plans,struct cfg80211_sched_scan_request * request,struct nlattr ** attrs) nl80211_parse_sched_scan_plans() argument
10841 nl80211_parse_sched_scan(struct wiphy * wiphy,struct wireless_dev * wdev,struct nlattr ** attrs,int max_match_sets) nl80211_parse_sched_scan() argument
12265 nl80211_assoc_bss(struct cfg80211_registered_device * rdev,const u8 * ssid,int ssid_len,struct nlattr ** attrs,int assoc_link_id,int link_id) nl80211_assoc_bss() argument
14352 struct nlattr *attrs[NL80211_ATTR_CQM_MAX + 1]; nl80211_set_cqm() local
15683 struct nlattr *attrs[NL80211_NAN_CONF_ATTR_MAX + 1]; nl80211_parse_nan_conf() local
17339 parse_tid_conf(struct cfg80211_registered_device * rdev,struct nlattr * attrs[],struct net_device * dev,struct cfg80211_tid_cfg * tid_conf,struct genl_info * info,const u8 * peer,unsigned int link_id) parse_tid_conf() argument
17443 struct nlattr *attrs[NL80211_TID_CONFIG_ATTR_MAX + 1]; nl80211_set_tid_config() local
[all...]
/linux/net/ncsi/
H A Dncsi-netlink.c163 if (!info || !info->attrs) in ncsi_pkg_info_nl()
166 if (!info->attrs[NCSI_ATTR_IFINDEX]) in ncsi_pkg_info_nl()
169 if (!info->attrs[NCSI_ATTR_PACKAGE_ID]) in ncsi_pkg_info_nl()
173 nla_get_u32(info->attrs[NCSI_ATTR_IFINDEX])); in ncsi_pkg_info_nl()
188 package_id = nla_get_u32(info->attrs[NCSI_ATTR_PACKAGE_ID]); in ncsi_pkg_info_nl()
215 struct nlattr *attrs[NCSI_ATTR_MAX + 1]; in ncsi_pkg_info_all_nl() local
223 rc = genlmsg_parse_deprecated(cb->nlh, &ncsi_genl_family, attrs, NCSI_ATTR_MAX, in ncsi_pkg_info_all_nl()
228 if (!attrs[NCSI_ATTR_IFINDEX]) in ncsi_pkg_info_all_nl()
232 nla_get_u32(attrs[NCSI_ATTR_IFINDEX])); in ncsi_pkg_info_all_nl()
283 if (!info || !info->attrs) in ncsi_set_interface_nl()
[all …]
/linux/include/linux/
H A Ddma-mapping.h163 unsigned long attrs);
165 enum dma_data_direction dir, unsigned long attrs);
167 enum dma_data_direction dir, unsigned long attrs);
169 enum dma_data_direction dir, unsigned long attrs);
171 int nents, enum dma_data_direction dir, unsigned long attrs);
174 unsigned long attrs);
176 enum dma_data_direction dir, unsigned long attrs);
178 size_t size, enum dma_data_direction dir, unsigned long attrs);
180 enum dma_data_direction dir, unsigned long attrs);
182 gfp_t flag, unsigned long attrs);
[all …]
/linux/fs/orangefs/
H A Dorangefs-utils.c84 static int orangefs_inode_flags(struct ORANGEFS_sys_attr_s *attrs) in orangefs_inode_flags() argument
87 if (attrs->flags & ORANGEFS_IMMUTABLE_FL) in orangefs_inode_flags()
91 if (attrs->flags & ORANGEFS_APPEND_FL) in orangefs_inode_flags()
95 if (attrs->flags & ORANGEFS_NOATIME_FL) in orangefs_inode_flags()
102 static int orangefs_inode_perms(struct ORANGEFS_sys_attr_s *attrs) in orangefs_inode_perms() argument
106 if (attrs->perms & ORANGEFS_O_EXECUTE) in orangefs_inode_perms()
108 if (attrs->perms & ORANGEFS_O_WRITE) in orangefs_inode_perms()
110 if (attrs->perms & ORANGEFS_O_READ) in orangefs_inode_perms()
113 if (attrs->perms & ORANGEFS_G_EXECUTE) in orangefs_inode_perms()
115 if (attrs->perms & ORANGEFS_G_WRITE) in orangefs_inode_perms()
[all …]
/linux/net/nfc/
H A Dnetlink.c118 if (!info->info.attrs[NFC_ATTR_DEVICE_INDEX]) in __get_device_from_cb()
121 idx = nla_get_u32(info->info.attrs[NFC_ATTR_DEVICE_INDEX]); in __get_device_from_cb()
729 if (!info->attrs[NFC_ATTR_DEVICE_INDEX]) in nfc_genl_get_device()
732 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_get_device()
766 if (!info->attrs[NFC_ATTR_DEVICE_INDEX]) in nfc_genl_dev_up()
769 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_dev_up()
787 if (!info->attrs[NFC_ATTR_DEVICE_INDEX]) in nfc_genl_dev_down()
790 idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_dev_down()
811 if (!info->attrs[NFC_ATTR_DEVICE_INDEX] || in nfc_genl_start_poll()
812 ((!info->attrs[NFC_ATTR_IM_PROTOCOLS] && in nfc_genl_start_poll()
[all …]

12345678910>>...40