| /linux/net/mac80211/tests/ |
| H A D | mfp.c | 18 u8 stype; member 25 .stype = IEEE80211_STYPE_ACTION, 33 .stype = IEEE80211_STYPE_ACTION, 41 .stype = IEEE80211_STYPE_ACTION, 50 .stype = IEEE80211_STYPE_ACTION, 59 .stype = IEEE80211_STYPE_ACTION, 69 .stype = IEEE80211_STYPE_ACTION, 80 .stype = IEEE80211_STYPE_ACTION, 88 .stype = IEEE80211_STYPE_ACTION, 96 .stype = IEEE80211_STYPE_ACTION, [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | sense.c | 65 enum mlx4_port_type *stype, in mlx4_do_sense_ports() argument 73 stype[i - 1] = 0; in mlx4_do_sense_ports() 76 err = mlx4_SENSE_PORT(dev, i, &stype[i - 1]); in mlx4_do_sense_ports() 78 stype[i - 1] = defaults[i - 1]; in mlx4_do_sense_ports() 80 stype[i - 1] = defaults[i - 1]; in mlx4_do_sense_ports() 87 stype[i] = stype[i] ? stype[i] : defaults[i]; in mlx4_do_sense_ports() 98 enum mlx4_port_type stype[MLX4_MAX_PORTS]; in mlx4_sense_port() local 101 mlx4_do_sense_ports(dev, stype, &dev->caps.port_type[1]); in mlx4_sense_port() 103 if (mlx4_check_port_params(dev, stype)) in mlx4_sense_port() 106 if (mlx4_change_port_types(dev, stype)) in mlx4_sense_port()
|
| /linux/kernel/bpf/ |
| H A D | local_storage.c | 426 enum bpf_cgroup_storage_type stype; in cgroup_storage_seq_show_elem() 438 stype = cgroup_storage_type(map); in cgroup_storage_seq_show_elem() 439 if (stype == BPF_CGROUP_STORAGE_SHARED) { in cgroup_storage_seq_show_elem() 481 enum bpf_cgroup_storage_type stype = cgroup_storage_type(_map); in bpf_cgroup_storage_assign() 483 if (aux->cgroup_storage[stype] && in bpf_cgroup_storage_assign() 484 aux->cgroup_storage[stype] != _map) in bpf_cgroup_storage_assign() 487 aux->cgroup_storage[stype] = _map; in bpf_cgroup_storage_calculate_size() 509 enum bpf_cgroup_storage_type stype) in bpf_cgroup_storage_alloc() 517 map = prog->aux->cgroup_storage[stype]; in bpf_cgroup_storage_alloc() 528 if (stype in bpf_cgroup_storage_alloc() 422 enum bpf_cgroup_storage_type stype; cgroup_storage_seq_show_elem() local 477 enum bpf_cgroup_storage_type stype = cgroup_storage_type(_map); bpf_cgroup_storage_assign() local 505 bpf_cgroup_storage_alloc(struct bpf_prog * prog,enum bpf_cgroup_storage_type stype) bpf_cgroup_storage_alloc() argument 565 enum bpf_cgroup_storage_type stype; bpf_cgroup_storage_free() local [all...] |
| H A D | cgroup.c | 318 enum bpf_cgroup_storage_type stype; in bpf_cgroup_link_auto_detach() 320 for_each_cgroup_storage_type(stype) 321 bpf_cgroup_storage_free(storages[stype]); 330 enum bpf_cgroup_storage_type stype; in cgroup_bpf_release() 337 for_each_cgroup_storage_type(stype) { in cgroup_bpf_release() 338 map = prog->aux->cgroup_storage[stype]; in cgroup_bpf_release() 342 storages[stype] = cgroup_storage_lookup((void *)map, &key, false); in cgroup_bpf_release() 343 if (storages[stype]) in cgroup_bpf_release() 346 storages[stype] = bpf_cgroup_storage_alloc(prog, stype); in cgroup_bpf_release() 250 enum bpf_cgroup_storage_type stype; bpf_cgroup_storages_free() local 262 enum bpf_cgroup_storage_type stype; bpf_cgroup_storages_alloc() local 293 enum bpf_cgroup_storage_type stype; bpf_cgroup_storages_assign() local 303 enum bpf_cgroup_storage_type stype; bpf_cgroup_storages_link() local 1032 enum bpf_cgroup_storage_type stype; cgroup_bpf_storages_compatible() local 1821 enum bpf_cgroup_storage_type stype = cgroup_storage_type(map); BPF_CALL_2() local [all...] |
| H A D | states.c | 447 u8 stype = bpf_stack_slot(st, i)->slot_type[7]; in __clean_func_state() 456 if (stype == STACK_DYNPTR || stype == STACK_ITER || in __clean_func_state() 457 stype == STACK_IRQ_FLAG) in __clean_func_state() 469 if (lo_live && stype == STACK_SPILL) { in __clean_func_state() 425 u8 stype = st->stack[i].slot_type[7]; __clean_func_state() local
|
| /linux/arch/sparc/kernel/ |
| H A D | viohs.c | 41 static void init_tag(struct vio_msg_tag *tag, u8 type, u8 stype, u16 stype_env) in init_tag() argument 44 tag->stype = stype; in init_tag() 166 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in process_unknown() 275 pkt->tag.stype = VIO_SUBTYPE_NACK; in process_ver_info() 281 pkt->tag.stype = VIO_SUBTYPE_NACK; in process_ver_info() 295 pkt->tag.stype = VIO_SUBTYPE_ACK; in process_ver_info() 320 pkt->tag.stype = VIO_SUBTYPE_NACK; in process_ver_ack() 366 switch (pkt->tag.stype) { in process_ver() 476 pkt->tag.stype = VIO_SUBTYPE_ACK; in process_dreg_info() 493 pkt->tag.stype = VIO_SUBTYPE_NACK; in process_dreg_info() [all …]
|
| H A D | ldc.c | 49 u8 stype; member 350 u8 stype, u8 ctrl, in handshake_compose_ctrl() argument 359 p->stype = stype; in handshake_compose_ctrl() 497 p->stype = LDC_NACK; in send_data_nack() 654 switch (p->stype) { in process_version() 673 p->stype, p->seqid, p->env); in process_rts() 675 if (p->stype != LDC_INFO || in process_rts() 693 p->stype, p->seqid, p->env); in process_rtr() 695 if (p->stype != LDC_INFO || in process_rtr() 716 p->stype, p->seqid, p->env, p->u.r.ackid); in process_rdx() [all …]
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_sched.c | 143 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; in sync_find_fence() local 147 if (stype != DRM_NOUVEAU_SYNC_SYNCOBJ && in sync_find_fence() 148 stype != DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ) in sync_find_fence() 151 if (stype == DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ) in sync_find_fence() 214 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; in nouveau_job_fence_attach_prepare() local 216 if (stype != DRM_NOUVEAU_SYNC_SYNCOBJ && in nouveau_job_fence_attach_prepare() 217 stype != DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ) { in nouveau_job_fence_attach_prepare() 231 if (stype == DRM_NOUVEAU_SYNC_TIMELINE_SYNCOBJ) { in nouveau_job_fence_attach_prepare() 257 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; in nouveau_job_fence_attach() local 259 if (stype in nouveau_job_fence_attach() [all...] |
| /linux/drivers/tty/ |
| H A D | vcc.c | 89 for (i = 0; i < pkt.tag.stype; i++) \ 335 pkt.tag.type, pkt.tag.stype, in vcc_ldc_read() 341 vcc_rx(tty, pkt.data, pkt.tag.stype); in vcc_ldc_read() 344 pkt.tag.type, pkt.tag.stype, in vcc_ldc_read() 403 pkt->tag.stype = tosend; in vcc_tx_timer() 500 pkt.tag.stype = 0; in vcc_send_ctl() 848 pkt->tag.stype = tosend; in vcc_write() 851 pkt->tag.stype, pkt->tag.stype_env, pkt->tag.sid); in vcc_write()
|
| /linux/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_rx.c | 165 u16 stype) in libipw_rx_frame_mgmt() argument 177 if (stype == WLAN_FC_STYPE_BEACON && in libipw_rx_frame_mgmt() 199 skb->dev->name, type, stype); in libipw_rx_frame_mgmt() 331 u16 fc, type, stype, sc; in libipw_rx() local 357 stype = WLAN_FC_GET_STYPE(fc); in libipw_rx() 462 if (type == WLAN_FC_TYPE_MGMT && stype == WLAN_FC_STYPE_AUTH && in libipw_rx() 472 if (libipw_rx_frame_mgmt(ieee, skb, rx_stats, type, stype)) in libipw_rx() 550 stype &= ~IEEE80211_STYPE_QOS_DATA; in libipw_rx() 552 if (stype != IEEE80211_STYPE_DATA && in libipw_rx() 553 stype != IEEE80211_STYPE_DATA_CFACK && in libipw_rx() [all …]
|
| H A D | libipw.h | 933 u16 stype = WLAN_FC_GET_STYPE(fc); in libipw_get_hdrlen() local 939 if (stype & IEEE80211_STYPE_QOS_DATA) in libipw_get_hdrlen()
|
| /linux/fs/affs/ |
| H A D | amigaffs.h | 74 __be32 stype; member 103 __be32 stype; member
|
| H A D | inode.c | 92 switch (be32_to_cpu(tail->stype)) { in affs_iget() 98 if (be32_to_cpu(tail->stype) == ST_USERDIR || in affs_iget() 185 if (tail->stype == cpu_to_be32(ST_ROOT)) { in affs_write_inode() 383 AFFS_TAIL(sb, bh)->stype = cpu_to_be32(type); in affs_add_entry()
|
| /linux/rust/kernel/ |
| H A D | opp.rs | 848 stype: SearchType, in opp_from_freq() 854 let ptr = from_err_ptr(match stype { in opp_from_freq() 888 pub fn opp_from_level(&self, mut level: u32, stype: SearchType) -> Result<ARef<OPP>> { in opp_from_level() 891 let ptr = from_err_ptr(match stype { in opp_from_level() 914 pub fn opp_from_bw(&self, mut bw: u32, index: i32, stype: SearchType) -> Result<ARef<OPP>> { in opp_from_bw() 917 let ptr = from_err_ptr(match stype { in opp_from_bw()
|
| /linux/tools/testing/selftests/net/lib/py/ |
| H A D | utils.py | 315 def rand_port(stype=socket.SOCK_STREAM): argument 319 return rand_ports(1, stype)[0] 322 def rand_ports(count, stype=socket.SOCK_STREAM): argument 331 s = socket.socket(socket.AF_INET6, stype)
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | sunvnet_common.c | 59 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in vnet_handle_unknown() 83 pkt.tag.stype = VIO_SUBTYPE_INFO; in sunvnet_send_attr_common() 204 pkt->tag.stype = VIO_SUBTYPE_NACK; in handle_attr_info() 220 pkt->tag.stype = VIO_SUBTYPE_ACK; in handle_attr_info() 245 switch (pkt->tag.stype) { in sunvnet_handle_attr_common() 476 .stype = VIO_SUBTYPE_ACK, in vnet_send_ack() 746 if (pkt->tag.stype != VIO_SUBTYPE_ACK) in handle_mcast() 750 pkt->tag.stype, in handle_mcast() 849 pkt->tag.stype = VIO_SUBTYPE_INFO; in vnet_event_napi() 866 msgbuf.tag.stype, in vnet_event_napi() [all …]
|
| /linux/sound/soc/au1x/ |
| H A D | dma.c | 220 int stype = substream->stream; in alchemy_pcm_close() local 222 ctx->stream[stype].substream = NULL; in alchemy_pcm_close() 223 free_au1000_dma(ctx->stream[stype].dma); in alchemy_pcm_close()
|
| /linux/drivers/block/ |
| H A D | sunvdc.c | 215 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in vdc_handle_unknown() 231 pkt.tag.stype = VIO_SUBTYPE_INFO; in vdc_send_attr() 252 pkt->tag.stype, pkt->operations, in vdc_handle_attr() 257 if (pkt->tag.stype == VIO_SUBTYPE_ACK) { in vdc_handle_attr() 396 msgbuf.tag.stype, in vdc_event() 404 if (msgbuf.tag.stype == VIO_SUBTYPE_ACK) in vdc_event() 406 else if (msgbuf.tag.stype == VIO_SUBTYPE_NACK) in vdc_event() 430 .stype = VIO_SUBTYPE_INFO, in __vdc_tx_trigger()
|
| /linux/net/bpf/ |
| H A D | test_run.c | 396 enum bpf_cgroup_storage_type stype; in bpf_test_run() local 399 for_each_cgroup_storage_type(stype) { in bpf_test_run() 400 item.cgroup_storage[stype] = bpf_cgroup_storage_alloc(prog, stype); in bpf_test_run() 401 if (IS_ERR(item.cgroup_storage[stype])) { in bpf_test_run() 402 item.cgroup_storage[stype] = NULL; in bpf_test_run() 403 for_each_cgroup_storage_type(stype) in bpf_test_run() 404 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run() 430 for_each_cgroup_storage_type(stype) in bpf_test_run() 431 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run() [all...] |
| /linux/drivers/scsi/elx/libefc_sli/ |
| H A D | sli4.h | 429 #define SLI4_DISEED_SGE_OP_RX_VALUE(stype) \ argument 430 (SLI4_DISEED_SGE_OP_##stype << SLI4_DISEED_SGE_OP_RX_SHIFT) 431 #define SLI4_DISEED_SGE_OP_TX_VALUE(stype) \ argument 432 (SLI4_DISEED_SGE_OP_##stype << SLI4_DISEED_SGE_OP_TX_SHIFT) 575 #define SLI4_RQST_CMDSZ(stype) sizeof(struct sli4_rqst_##stype) argument 577 #define SLI4_RQST_PYLD_LEN(stype) \ argument 578 cpu_to_le32(sizeof(struct sli4_rqst_##stype) - \ 581 #define SLI4_RQST_PYLD_LEN_VAR(stype, varpyld) \ argument 582 cpu_to_le32((sizeof(struct sli4_rqst_##stype) + \ 585 #define SLI4_CFG_PYLD_LENGTH(stype) \ argument [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | util.c | 312 u16 stype; in mwifiex_parse_mgmt_packet() local 316 stype = (le16_to_cpu(ieee_hdr->frame_control) & IEEE80211_FCTL_STYPE); in mwifiex_parse_mgmt_packet() 318 switch (stype) { in mwifiex_parse_mgmt_packet() 355 "unknown mgmt frame subtype %#x\n", stype); in mwifiex_parse_mgmt_packet()
|
| /linux/net/wireless/ |
| H A D | mlme.c | 901 u16 stype; in cfg80211_mlme_mgmt_tx() 918 stype = le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE; in cfg80211_mlme_mgmt_tx() 919 if (!(wdev->wiphy->mgmt_stypes[iftype].tx & BIT(stype >> 4))) in cfg80211_mlme_mgmt_tx() 1068 u16 stype; in cfg80211_sched_dfs_chan_update() 1071 stype = (le16_to_cpu(mgmt->frame_control) & IEEE80211_FCTL_STYPE) >> 4; in cfg80211_sched_dfs_chan_update() 1073 if (!(stypes->rx & BIT(stype))) { in cfg80211_dfs_channels_update_work() 900 u16 stype; cfg80211_mlme_mgmt_tx() local 1024 u16 stype; cfg80211_rx_mgmt_ext() local
|
| /linux/include/linux/ |
| H A D | hwmon.h | 455 #define HWMON_CHANNEL_INFO(stype, ...) \ 457 .type = hwmon_##stype, \ 443 HWMON_CHANNEL_INFO(stype,...) global() argument
|
| /linux/net/ipv4/ |
| H A D | ip_tunnel_core.c | 401 int stype = ipv6_addr_type(&ip6h->saddr); in iptunnel_pmtud_check_icmpv6() 409 if (stype == IPV6_ADDR_ANY || stype == IPV6_ADDR_MULTICAST || in iptunnel_pmtud_check_icmpv6() 410 stype == IPV6_ADDR_LOOPBACK) in iptunnel_pmtud_check_icmpv6() 393 int stype = ipv6_addr_type(&ip6h->saddr); iptunnel_pmtud_check_icmpv6() local
|
| /linux/drivers/net/wireless/nxp/nxpwifi/ |
| H A D | util.c | 406 u16 stype; in nxpwifi_parse_mgmt_packet() 410 stype = (le16_to_cpu(ieee_hdr->frame_control) & IEEE80211_FCTL_STYPE); in nxpwifi_parse_mgmt_packet() 412 switch (stype) { in nxpwifi_parse_mgmt_packet() 429 "unknown mgmt frame subtype %#x\n", stype); 399 u16 stype; nxpwifi_parse_mgmt_packet() local
|