| /linux/drivers/net/ovpn/ |
| H A D | netlink.c | 46 ifindex = nla_get_u32(info->attrs[OVPN_A_IFINDEX]); in ovpn_get_dev_from_attrs() 61 NL_SET_BAD_ATTR(info->extack, info->attrs[OVPN_A_IFINDEX]); in ovpn_get_dev_from_attrs() 97 static bool ovpn_nl_attr_sockaddr_remote(struct nlattr **attrs, in ovpn_nl_attr_sockaddr_remote() argument 108 if (attrs[OVPN_A_PEER_REMOTE_PORT]) in ovpn_nl_attr_sockaddr_remote() 109 port = nla_get_be16(attrs[OVPN_A_PEER_REMOTE_PORT]); in ovpn_nl_attr_sockaddr_remote() 111 if (attrs[OVPN_A_PEER_REMOTE_IPV4]) { in ovpn_nl_attr_sockaddr_remote() 113 in = nla_data(attrs[OVPN_A_PEER_REMOTE_IPV4]); in ovpn_nl_attr_sockaddr_remote() 114 } else if (attrs[OVPN_A_PEER_REMOTE_IPV6]) { in ovpn_nl_attr_sockaddr_remote() 116 in6 = nla_data(attrs[OVPN_A_PEER_REMOTE_IPV6]); in ovpn_nl_attr_sockaddr_remote() 147 static u8 *ovpn_nl_attr_local_ip(struct nlattr **attrs) in ovpn_nl_attr_local_ip() argument [all …]
|
| /linux/rust/syn/ |
| H A D | precedence.rs | 95 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 D | expr.rs | 275 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 D | item.rs | 107 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/drivers/soc/aspeed/ |
| H A D | aspeed-socinfo.c | 83 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/include/trace/events/ |
| H A D | dma.h | 25 #define decode_dma_attrs(attrs) \ argument 26 __print_flags(attrs, "|", \ 43 size_t size, enum dma_data_direction dir, unsigned long attrs), 44 TP_ARGS(dev, phys_addr, dma_addr, size, dir, attrs), 52 __field(unsigned long, attrs) 61 __entry->attrs = attrs; 70 decode_dma_attrs(__entry->attrs)) 76 size_t size, enum dma_data_direction dir, unsigned long attrs), \ 77 TP_ARGS(dev, phys_addr, dma_addr, size, dir, attrs)) 83 enum dma_data_direction dir, unsigned long attrs), [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | ipsec.c | 66 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 D | ipsec_offload.c | 97 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/kernel/dma/ |
| H A D | mapping.c | 37 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() 154 enum dma_data_direction dir, unsigned long attrs) in dma_map_phys() argument 157 bool is_mmio = attrs & DMA_ATTR_MMIO; in dma_map_phys() 158 bool is_cc_shared = attrs & DMA_ATTR_CC_SHARED; in dma_map_phys() 166 if (!dev_is_dma_coherent(dev) && (attrs & DMA_ATTR_REQUIRE_COHERENT)) in dma_map_phys() 172 addr = dma_direct_map_phys(dev, phys, size, dir, attrs, true); in dma_map_phys() [all …]
|
| H A D | direct.c | 105 unsigned long attrs) in dma_direct_alloc_swiotlb() argument 107 struct page *page = swiotlb_alloc(dev, size, attrs); in dma_direct_alloc_swiotlb() 164 unsigned long attrs) in dma_direct_alloc_from_pool() argument 173 page = dma_alloc_from_pool(dev, size, cpu_addr, gfp, attrs, in dma_direct_alloc_from_pool() 178 attrs & __DMA_ATTR_ALLOC_CC_SHARED); in dma_direct_alloc_from_pool() 203 dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs) in dma_direct_alloc() argument 212 attrs |= __DMA_ATTR_ALLOC_CC_SHARED; in dma_direct_alloc() 214 if (attrs & __DMA_ATTR_ALLOC_CC_SHARED) { in dma_direct_alloc() 226 if (attrs & DMA_ATTR_NO_WARN) in dma_direct_alloc() 229 if (((attrs & (DMA_ATTR_NO_KERNEL_MAPPING | __DMA_ATTR_ALLOC_CC_SHARED)) == in dma_direct_alloc() [all …]
|
| /linux/net/devlink/ |
| H A D | port.c | 34 struct nlattr **attrs) in devlink_port_get_from_attrs() argument 36 if (attrs[DEVLINK_ATTR_PORT_INDEX]) { in devlink_port_get_from_attrs() 37 u32 port_index = nla_get_u32(attrs[DEVLINK_ATTR_PORT_INDEX]); in devlink_port_get_from_attrs() 51 return devlink_port_get_from_attrs(devlink, info->attrs); in devlink_port_get_from_info() 92 devlink_port->attrs.flavour != DEVLINK_PORT_FLAVOUR_PCI_VF) in devlink_port_fn_migratable_fill() 115 devlink_port->attrs.flavour != DEVLINK_PORT_FLAVOUR_PCI_VF) in devlink_port_fn_ipsec_crypto_fill() 137 devlink_port->attrs.flavour != DEVLINK_PORT_FLAVOUR_PCI_VF) in devlink_port_fn_ipsec_packet_fill() 232 struct devlink_port_attrs *attrs = &devlink_port->attrs; in devlink_nl_port_attrs_put() local 236 if (attrs->lanes) { in devlink_nl_port_attrs_put() 237 if (nla_put_u32(msg, DEVLINK_ATTR_PORT_LANES, attrs->lanes)) in devlink_nl_port_attrs_put() [all …]
|
| H A D | netlink.c | 46 struct nlattr **attrs = info->attrs; in devlink_nl_notify_filter_set_doit() local 52 if (attrs[DEVLINK_ATTR_BUS_NAME]) in devlink_nl_notify_filter_set_doit() 54 nla_len(attrs[DEVLINK_ATTR_BUS_NAME]) + 1); in devlink_nl_notify_filter_set_doit() 55 if (attrs[DEVLINK_ATTR_DEV_NAME]) in devlink_nl_notify_filter_set_doit() 57 nla_len(attrs[DEVLINK_ATTR_DEV_NAME]) + 1); in devlink_nl_notify_filter_set_doit() 64 if (attrs[DEVLINK_ATTR_BUS_NAME]) { in devlink_nl_notify_filter_set_doit() 66 attrs[DEVLINK_ATTR_BUS_NAME], in devlink_nl_notify_filter_set_doit() 71 if (attrs[DEVLINK_ATTR_DEV_NAME]) { in devlink_nl_notify_filter_set_doit() 72 nla_strscpy(pos, attrs[DEVLINK_ATTR_DEV_NAME], in devlink_nl_notify_filter_set_doit() 77 if (attrs[DEVLINK_ATTR_INDEX]) { in devlink_nl_notify_filter_set_doit() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tcp_custom_syncookie.c | 65 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/drivers/infiniband/core/ |
| H A D | uverbs_std_types_wq.c | 12 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 D | uverbs_std_types_counters.c | 40 struct uverbs_attr_bundle *attrs) in uverbs_free_counters() argument 56 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER() 59 attrs, UVERBS_ATTR_CREATE_COUNTERS_HANDLE); in UVERBS_HANDLER() 60 struct ib_device *ib_dev = attrs->context->device; in UVERBS_HANDLER() 81 ret = ib_dev->ops.create_counters(counters, attrs); in UVERBS_HANDLER() 89 struct uverbs_attr_bundle *attrs) in UVERBS_HANDLER() 94 uverbs_attr_get_obj(attrs, UVERBS_ATTR_READ_COUNTERS_HANDLE); in UVERBS_HANDLER() 103 ret = uverbs_get_flags32(&read_attr.flags, attrs, in UVERBS_HANDLER() 109 uattr = uverbs_attr_get(attrs, UVERBS_ATTR_READ_COUNTERS_BUFF); in UVERBS_HANDLER() 114 attrs, array_size(read_attr.ncounters, sizeof(u64))); in UVERBS_HANDLER() [all …]
|
| /linux/net/l2tp/ |
| H A D | l2tp_netlink.c | 55 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() 162 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 164 if (attrs[L2TP_ATTR_UDP_SPORT]) in l2tp_nl_cmd_tunnel_create_get_addr() 165 cfg->local_udp_port = nla_get_u16(attrs[L2TP_ATTR_UDP_SPORT]); in l2tp_nl_cmd_tunnel_create_get_addr() 166 if (attrs[L2TP_ATTR_UDP_DPORT]) in l2tp_nl_cmd_tunnel_create_get_addr() [all …]
|
| /linux/drivers/soc/vt8500/ |
| H A D | wmt-socinfo.c | 50 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/ieee802154/ |
| H A D | nl802154.c | 39 __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/net/tipc/ |
| H A D | net.c | 171 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/rust/syn/gen/ |
| H A D | clone.rs | 34 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/netlabel/ |
| H A D | netlabel_mgmt.c | 91 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 D | siw_qp.c | 111 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/ncsi/ |
| H A D | ncsi-netlink.c | 163 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 D | dma-mapping.h | 171 unsigned long attrs); 173 enum dma_data_direction dir, unsigned long attrs); 175 enum dma_data_direction dir, unsigned long attrs); 177 enum dma_data_direction dir, unsigned long attrs); 179 int nents, enum dma_data_direction dir, unsigned long attrs); 182 unsigned long attrs); 184 enum dma_data_direction dir, unsigned long attrs); 186 size_t size, enum dma_data_direction dir, unsigned long attrs); 188 enum dma_data_direction dir, unsigned long attrs); 190 gfp_t flag, unsigned long attrs); [all …]
|
| /linux/net/wireless/ |
| H A D | nl80211.c | 69 struct net *netns, struct nlattr **attrs) in __cfg80211_wdev_from_attrs() argument 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() argument 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_WIPHY]) in __cfg80211_rdev_from_attrs() [all …]
|