/linux-master/drivers/dma/idxd/ |
H A D | irq.c | 148 * wq is kernel type, the driver will kill the percpu_ref to pause all 179 if (wq->state != IDXD_WQ_ENABLED || wq->type != IDXD_WQT_KERNEL) { 419 if (wq->type == IDXD_WQT_USER) 427 if (wq->type == IDXD_WQT_USER)
|
H A D | perfmon.c | 206 if (event->attr.type != event->pmu->type) 566 if (idxd->data->type == IDXD_TYPE_DSA) { 570 } else if (idxd->data->type == IDXD_TYPE_IAX) {
|
H A D | idxd.h | 42 enum idxd_dev_type type; member in struct:idxd_dev 71 enum idxd_dev_type *type; member in struct:idxd_device_driver 209 enum idxd_wq_type type; member in struct:idxd_wq 284 enum idxd_type type; member in struct:idxd_driver_data 484 static inline void idxd_dev_set_type(struct idxd_dev *idev, int type) argument 486 if (type >= IDXD_DEV_MAX_TYPE) { 487 idev->type = IDXD_DEV_NONE; 491 idev->type = type; 530 return idxd_dev->type [all...] |
H A D | init.c | 45 .type = IDXD_TYPE_DSA, 55 .type = IDXD_TYPE_IAX, 179 conf_dev->type = &idxd_wq_device_type; 191 idxd_wq_set_max_batch_size(idxd->data->type, wq, WQ_DEFAULT_MAX_BATCH); 251 conf_dev->type = &idxd_engine_device_type; 298 conf_dev->type = &idxd_group_device_type; 475 idxd_set_max_batch_size(idxd->data->type, idxd, 1U << idxd->hw.gen_cap.max_batch_shift); 516 if (idxd->data->type == IDXD_TYPE_IAX && idxd->hw.version >= DEVICE_VERSION_2) 534 idxd_dev_set_type(&idxd->idxd_dev, idxd->data->type); 548 conf_dev->type [all...] |
H A D | device.c | 114 if (wq->type != IDXD_WQT_KERNEL) 144 if (idxd->data->type == IDXD_TYPE_DSA) 146 else if (idxd->data->type == IDXD_TYPE_IAX) 170 if (wq->type != IDXD_WQT_KERNEL) 370 wq->type = IDXD_WQT_NONE; 377 idxd_wq_set_max_batch_size(idxd->data->type, wq, WQ_DEFAULT_MAX_BATCH); 930 if (wq->size == 0 && wq->type != IDXD_WQT_NONE) 944 * The WQ priv bit is set depending on the WQ type. priv = 1 if the 945 * WQ type is kernel to indicate privileged access. This setting only 956 wq->type [all...] |
H A D | cdev.c | 167 cdev_ctx = &ictx[wq->idxd->data->type]; 294 ctx->idxd_dev.type = IDXD_DEV_CDEV_FILE; 299 fdev->type = &idxd_cdev_file_type; 444 return MAJOR(ictx[idxd->data->type].devt); 460 idxd_cdev->idxd_dev.type = IDXD_DEV_CDEV; 464 cdev_ctx = &ictx[wq->idxd->data->type]; 475 dev->type = &idxd_cdev_device_type; 520 * User type WQ is enabled only when SVA is enabled for two reasons: 532 "User type WQ cannot be enabled without SVA.\n"); 551 wq->type [all...] |
/linux-master/arch/x86/kernel/ |
H A D | sev-shared.c | 1035 if (hdr->type == SETUP_CC_BLOB) {
|
/linux-master/arch/riscv/include/asm/ |
H A D | pgtable.h | 812 * bits 7 to 11: swap type 825 #define __swp_entry(type, offset) ((swp_entry_t) \ 826 { (((type) & __SWP_TYPE_MASK) << __SWP_TYPE_SHIFT) | \
|
/linux-master/tools/net/ynl/lib/ |
H A D | ynl.py | 107 self.type = self._type & ~Netlink.NLA_TYPE_MASK 138 def as_c_array(self, type): 139 format = self.get_format(type) 143 return f"[type:{self.type} len:{self._len}] {self.raw}" 194 if extack.type == Netlink.NLMSGERR_ATTR_MSG: 196 elif extack.type == Netlink.NLMSGERR_ATTR_MISS_TYPE: 197 self.extack['miss-type'] = extack.as_scalar('u32') 198 elif extack.type == Netlink.NLMSGERR_ATTR_MISS_NEST: 200 elif extack.type [all...] |
/linux-master/net/wireless/ |
H A D | trace.h | 366 TP_PROTO(struct wiphy *wiphy, char *name, enum nl80211_iftype type), 367 TP_ARGS(wiphy, name, type), 371 __field(enum nl80211_iftype, type) 376 __entry->type = type; 378 TP_printk(WIPHY_PR_FMT ", virtual intf name: %s, type: %d", 379 WIPHY_PR_ARG, __get_str(vir_intf_name), __entry->type) 426 enum nl80211_iftype type), 427 TP_ARGS(wiphy, netdev, type), 431 __field(enum nl80211_iftype, type) [all...] |
H A D | nl80211.c | 302 [NL80211_FTM_RESP_ATTR_ENABLED] = { .type = NLA_FLAG, }, 303 [NL80211_FTM_RESP_ATTR_LCI] = { .type = NLA_BINARY, 305 [NL80211_FTM_RESP_ATTR_CIVICLOC] = { .type = NLA_BINARY, 311 [NL80211_PMSR_FTM_REQ_ATTR_ASAP] = { .type = NLA_FLAG }, 312 [NL80211_PMSR_FTM_REQ_ATTR_PREAMBLE] = { .type = NLA_U32 }, 315 [NL80211_PMSR_FTM_REQ_ATTR_BURST_PERIOD] = { .type = NLA_U16 }, 320 [NL80211_PMSR_FTM_REQ_ATTR_NUM_FTMR_RETRIES] = { .type = NLA_U8 }, 321 [NL80211_PMSR_FTM_REQ_ATTR_REQUEST_LCI] = { .type = NLA_FLAG }, 322 [NL80211_PMSR_FTM_REQ_ATTR_REQUEST_CIVICLOC] = { .type = NLA_FLAG }, 323 [NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED] = { .type 1298 int type; member in struct:key_parse 3584 enum nl80211_tx_power_setting type; local 4092 nl80211_parse_mon_options(struct cfg80211_registered_device *rdev, enum nl80211_iftype type, struct genl_info *info, struct vif_params *params) argument 4257 enum nl80211_iftype type = NL80211_IFTYPE_UNSPECIFIED; local 16569 enum nl80211_sar_type type; local [all...] |
/linux-master/net/openvswitch/ |
H A D | conntrack.c | 101 [OVS_CT_LIMIT_ATTR_ZONE_LIMIT] = { .type = NLA_NESTED, }, 111 switch (ntohs(key->eth.type)) { 185 key->ct.orig_tp.src = htons(orig->dst.u.icmp.type); 211 if (key->eth.type == htons(ETH_P_IP) && 217 } else if (key->eth.type == htons(ETH_P_IPV6) && 305 if (swkey->eth.type == htons(ETH_P_IP)) { 318 } else if (swkey->eth.type == htons(ETH_P_IPV6)) { 618 if (key->eth.type == htons(ETH_P_IP)) 620 else if (key->eth.type == htons(ETH_P_IPV6)) 640 if (key->eth.type 1083 int type = nla_type(a); local 1213 int type = nla_type(a); local [all...] |
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_proto_sctp.c | 32 if (sch->type == SCTP_CID_ABORT || 34 sch->type == SCTP_CID_INIT)) 399 chunk_type = sch->type; 411 if ((sch->type == SCTP_CID_COOKIE_ECHO) || 412 (sch->type == SCTP_CID_COOKIE_ACK)) { 418 if (sch && sch->type == SCTP_CID_ABORT) 419 chunk_type = sch->type;
|
/linux-master/net/netfilter/ |
H A D | nft_chain_filter.c | 28 .type = NFT_CHAIN_T_DEFAULT, 72 .type = NFT_CHAIN_T_DEFAULT, 112 .type = NFT_CHAIN_T_DEFAULT, 197 .type = NFT_CHAIN_T_DEFAULT, 256 .type = NFT_CHAIN_T_DEFAULT, 311 .type = NFT_CHAIN_T_DEFAULT,
|
/linux-master/net/mac80211/ |
H A D | tx.c | 230 if (tx->sdata->vif.type != NL80211_IFTYPE_STATION) 304 if (tx->sdata->vif.type == NL80211_IFTYPE_OCB) 350 if (sdata->vif.type == NL80211_IFTYPE_AP) 403 if (tx->sdata->vif.type == NL80211_IFTYPE_AP || 404 tx->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { 712 txrc.bss = (tx->sdata->vif.type == NL80211_IFTYPE_AP || 713 tx->sdata->vif.type == NL80211_IFTYPE_MESH_POINT || 714 tx->sdata->vif.type == NL80211_IFTYPE_ADHOC || 715 tx->sdata->vif.type == NL80211_IFTYPE_OCB); 830 if (unlikely(info->control.vif->type [all...] |
H A D | rx.c | 1451 sdata->vif.type != NL80211_IFTYPE_STATION) 1493 rx->sdata->vif.type != NL80211_IFTYPE_ADHOC && 1494 rx->sdata->vif.type != NL80211_IFTYPE_OCB && 1501 if (rx->sta && rx->sdata->vif.type == NL80211_IFTYPE_STATION && 1516 if (rx->sdata->vif.type == NL80211_IFTYPE_AP && 1569 if (sta->sdata->vif.type == NL80211_IFTYPE_AP || 1570 sta->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) 1696 if (sdata->vif.type != NL80211_IFTYPE_AP && 1697 sdata->vif.type != NL80211_IFTYPE_AP_VLAN) 1758 if (rx->sdata->vif.type [all...] |
H A D | scan.c | 194 if (scan_sdata && scan_sdata->vif.type == NL80211_IFTYPE_STATION && 603 if (sdata->vif.type == NL80211_IFTYPE_STATION && 913 if (sdata->vif.type == NL80211_IFTYPE_STATION) { 984 /* If scanning on oper channel, use whatever channel-type
|
H A D | mlme.c | 1837 if (WARN_ON(sdata->vif.type != NL80211_IFTYPE_STATION)) 2455 if (sdata->vif.type == NL80211_IFTYPE_AP) { 2463 if (sdata->vif.type != NL80211_IFTYPE_STATION) 3511 if (WARN_ON(sdata->vif.type != NL80211_IFTYPE_STATION || 3548 .type = MLME_EVENT, 3690 if (WARN_ON(sdata->vif.type != NL80211_IFTYPE_STATION)) 3850 .type = MLME_EVENT, 3952 #define case_WLAN(type) \ 3953 case WLAN_REASON_##type: return #type [all...] |
H A D | mesh_pathtbl.c | 493 build.key.type = MESH_FAST_TX_TYPE_LOCAL; 501 build.key.type = MESH_FAST_TX_TYPE_PROXIED; 509 build.key.type = MESH_FAST_TX_TYPE_FORWARDED; 590 * replacing it with a different type (e.g. mpath -> mpp) 663 key.type = i;
|
H A D | mesh.h | 138 * enum ieee80211_mesh_fast_tx_type - cached mesh fast tx entry type 159 * @type: cache entry type 163 u16 type; member in struct:ieee80211_mesh_fast_tx_key
|
H A D | mesh.c | 751 .type = MESH_FAST_TX_TYPE_LOCAL 790 key.type = MESH_FAST_TX_TYPE_PROXIED;
|
H A D | chan.c | 311 switch (link->sdata->vif.type) { 735 if (link->sdata->vif.type == NL80211_IFTYPE_AP_VLAN) 803 if (WARN_ON(sdata->vif.type == NL80211_IFTYPE_NAN)) 862 if (sdata->vif.type != NL80211_IFTYPE_P2P_DEVICE && 863 sdata->vif.type != NL80211_IFTYPE_MONITOR) 887 switch (link->sdata->vif.type) { 953 if (WARN_ON(sdata->vif.type != NL80211_IFTYPE_AP)) 1131 switch (sdata->vif.type) { 1167 if (sdata->vif.type != NL80211_IFTYPE_AP) 1246 if (sdata->vif.type [all...] |
/linux-master/net/ipv6/ |
H A D | udp.c | 463 u8 type, u8 code, int offset, __be32 info) 469 u8 type, u8 code, int offset, __be32 info); 476 if (handler && !handler(skb, opt, type, code, offset, info)) 507 u8 type, u8 code, __be32 info) 545 sk = ERR_PTR(__udp6_lib_err_encap_no_sk(skb, opt, type, code, 556 u8 type, u8 code, int offset, __be32 info, 578 opt, type, code, info); 593 harderr = icmpv6_err_convert(type, code, &err); 596 if (type == ICMPV6_PKT_TOOBIG) { 603 if (type 460 __udp6_lib_err_encap_no_sk(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument 499 __udp6_lib_err_encap(struct net *net, const struct ipv6hdr *hdr, int offset, struct udphdr *uh, struct udp_table *udptable, struct sock *sk, struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, __be32 info) argument 554 __udp6_lib_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info, struct udp_table *udptable) argument 669 udpv6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument [all...] |
/linux-master/net/ipv4/ |
H A D | udp.c | 72 * James Chapman : Add L2TP encapsulation type. 699 * it's just the icmp type << 8 | icmp code. 711 const int type = icmp_hdr(skb)->type; 745 switch (type) { 2738 /* when enabling GRO, accept the related GSO packet type */ 710 const int type = icmp_hdr(skb)->type; local
|
H A D | tcp_ao.c | 50 bool tcp_ao_ignore_icmp(const struct sock *sk, int family, int type, int code) argument 68 if (type != ICMP_DEST_UNREACH) 73 if (type != ICMPV6_DEST_UNREACH)
|