elems 1688 drivers/iommu/intel-iommu.c int elems = ALIGN(cap_ndoms(iommu->cap), 256) >> 8; elems 1691 drivers/iommu/intel-iommu.c for (i = 0; i < elems; i++) elems 1909 drivers/media/pci/intel/ipu3/ipu3-cio2.c static void arrange(void *ptr, size_t elem_size, size_t elems, size_t start) elems 1915 drivers/media/pci/intel/ipu3/ipu3-cio2.c { start, elems - 1 }, elems 563 drivers/media/pci/ivtv/ivtv-fileops.c int elems = count / sizeof(struct v4l2_sliced_vbi_data); elems 567 drivers/media/pci/ivtv/ivtv-fileops.c (const struct v4l2_sliced_vbi_data __user *)user_buf, elems); elems 224 drivers/media/platform/vivid/vivid-vbi-out.c unsigned elems = elems 230 drivers/media/platform/vivid/vivid-vbi-out.c while (elems--) { elems 1402 drivers/media/usb/uvc/uvc_ctrl.c static int uvc_ctrl_add_event(struct v4l2_subscribed_event *sev, unsigned elems) elems 1432 drivers/media/usb/uvc/uvc_ctrl.c sev->elems = elems; elems 943 drivers/media/usb/uvc/uvc_v4l2.c qec->elems = 1; elems 1891 drivers/media/v4l2-core/v4l2-ctrls.c for (idx = 0; idx < ctrl->elems; idx++) elems 1912 drivers/media/v4l2-core/v4l2-ctrls.c for (idx = c->size / ctrl->elem_size; idx < ctrl->elems; idx++) elems 1958 drivers/media/v4l2-core/v4l2-ctrls.c memcpy(to.p, from.p, ctrl->elems * ctrl->elem_size); elems 2052 drivers/media/v4l2-core/v4l2-ctrls.c for (idx = 0; !ctrl_changed && idx < ctrl->elems; idx++) elems 2106 drivers/media/v4l2-core/v4l2-ctrls.c for (idx = 0; !err && idx < ctrl->elems; idx++) elems 2293 drivers/media/v4l2-core/v4l2-ctrls.c size_extra_req = ctrl->elems * ctrl->elem_size; elems 2362 drivers/media/v4l2-core/v4l2-ctrls.c unsigned elems = 1; elems 2373 drivers/media/v4l2-core/v4l2-ctrls.c elems *= dims[nr_of_dims]; elems 2429 drivers/media/v4l2-core/v4l2-ctrls.c tot_ctrl_size = elem_size * elems; elems 2486 drivers/media/v4l2-core/v4l2-ctrls.c ctrl->elems = elems; elems 2506 drivers/media/v4l2-core/v4l2-ctrls.c for (idx = 0; idx < elems; idx++) { elems 3011 drivers/media/v4l2-core/v4l2-ctrls.c qc->elems = ctrl->elems; elems 3347 drivers/media/v4l2-core/v4l2-ctrls.c unsigned tot_size = ctrl->elems * ctrl->elem_size; elems 4322 drivers/media/v4l2-core/v4l2-ctrls.c static int v4l2_ctrl_add_event(struct v4l2_subscribed_event *sev, unsigned elems) elems 4341 drivers/media/v4l2-core/v4l2-ctrls.c sev->elems = elems; elems 24 drivers/media/v4l2-core/v4l2-event.c return idx >= sev->elems ? idx - sev->elems : idx; elems 115 drivers/media/v4l2-core/v4l2-event.c if (sev->in_use == sev->elems) { elems 122 drivers/media/v4l2-core/v4l2-event.c if (sev->elems == 1) { elems 204 drivers/media/v4l2-core/v4l2-event.c const struct v4l2_event_subscription *sub, unsigned elems, elems 215 drivers/media/v4l2-core/v4l2-event.c if (elems < 1) elems 216 drivers/media/v4l2-core/v4l2-event.c elems = 1; elems 218 drivers/media/v4l2-core/v4l2-event.c sev = kvzalloc(struct_size(sev, events, elems), GFP_KERNEL); elems 221 drivers/media/v4l2-core/v4l2-event.c for (i = 0; i < elems; i++) elems 228 drivers/media/v4l2-core/v4l2-event.c sev->elems = elems; elems 242 drivers/media/v4l2-core/v4l2-event.c ret = sev->ops->add(sev, elems); elems 570 drivers/media/v4l2-core/v4l2-ioctl.c p->elem_size, p->elems, p->nr_of_dims, elems 2047 drivers/mtd/nand/raw/nand_base.c if (instr->type != pat->elems[i].type) { elems 2048 drivers/mtd/nand/raw/nand_base.c if (!pat->elems[i].optional) elems 2062 drivers/mtd/nand/raw/nand_base.c if (nand_op_parser_must_split_instr(&pat->elems[i], instr, elems 2089 drivers/mtd/nand/raw/nand_base.c if (!pat->elems[i].optional) elems 747 drivers/net/ethernet/pensando/ionic/ionic_if.h } elems[IONIC_TX_MAX_SG_ELEMS]; elems 801 drivers/net/ethernet/pensando/ionic/ionic_if.h } elems[IONIC_RX_MAX_SG_ELEMS]; elems 373 drivers/net/ethernet/pensando/ionic/ionic_txrx.c struct ionic_txq_sg_elem *elem = sg_desc->elems; elems 541 drivers/net/ethernet/pensando/ionic/ionic_txrx.c *elem = sg_desc->elems; elems 787 drivers/net/ethernet/pensando/ionic/ionic_txrx.c struct ionic_txq_sg_elem *elem = sg_desc->elems; elems 933 drivers/net/ethernet/tehuti/tehuti.c db->elems = (void *)(db->stack + nelem); elems 953 drivers/net/ethernet/tehuti/tehuti.c return db->elems + n; elems 178 drivers/net/ethernet/tehuti/tehuti.h struct rx_map *elems; elems 1791 drivers/s390/cio/qdio_main.c int i, size, elems; elems 1811 drivers/s390/cio/qdio_main.c elems = (rr->response.length - elems 1824 drivers/s390/cio/qdio_main.c for (i = 0; i < elems; i++) elems 1077 drivers/staging/media/ipu3/ipu3-abi.h u32 elems[IMGU_ABI_BDS_SAMPLE_PATTERN_ARRAY_SIZE]; elems 1856 drivers/staging/media/ipu3/ipu3-abi.h u8 crop, elems; elems 801 drivers/staging/media/ipu3/ipu3-css.c cfg_ref->port_b.elems = IMGU_ABI_ISP_DDR_WORD_BYTES / BYPC; elems 807 drivers/staging/media/ipu3/ipu3-css.c IPU3_UAPI_ISP_VEC_ELEMS / cfg_ref->port_b.elems; elems 848 drivers/staging/media/ipu3/ipu3-css.c cfg_tnr->port_b.elems = IMGU_ABI_ISP_DDR_WORD_BYTES; elems 854 drivers/staging/media/ipu3/ipu3-css.c IPU3_UAPI_ISP_VEC_ELEMS / cfg_tnr->port_b.elems; elems 686 drivers/staging/rtl8188eu/core/rtw_ieee80211.c struct rtw_ieee802_11_elems *elems, elems 711 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->wpa_ie = pos; elems 712 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->wpa_ie_len = elen; elems 723 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->wme = pos; elems 724 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->wme_len = elen; elems 727 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->wme_tspec = pos; elems 728 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->wme_tspec_len = elen; elems 738 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->wps_ie = pos; elems 739 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->wps_ie_len = elen; elems 751 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->vendor_ht_cap = pos; elems 752 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->vendor_ht_cap_len = elen; elems 777 drivers/staging/rtl8188eu/core/rtw_ieee80211.c struct rtw_ieee802_11_elems *elems, elems 784 drivers/staging/rtl8188eu/core/rtw_ieee80211.c memset(elems, 0, sizeof(*elems)); elems 803 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ssid = pos; elems 804 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ssid_len = elen; elems 807 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->supp_rates = pos; elems 808 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->supp_rates_len = elen; elems 811 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->fh_params = pos; elems 812 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->fh_params_len = elen; elems 815 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ds_params = pos; elems 816 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ds_params_len = elen; elems 819 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->cf_params = pos; elems 820 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->cf_params_len = elen; elems 823 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->tim = pos; elems 824 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->tim_len = elen; elems 827 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ibss_params = pos; elems 828 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ibss_params_len = elen; elems 831 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->challenge = pos; elems 832 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->challenge_len = elen; elems 835 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->erp_info = pos; elems 836 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->erp_info_len = elen; elems 839 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ext_supp_rates = pos; elems 840 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ext_supp_rates_len = elen; elems 843 drivers/staging/rtl8188eu/core/rtw_ieee80211.c if (rtw_ieee802_11_parse_vendor_specific(pos, elen, elems, show_errors)) elems 847 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->rsn_ie = pos; elems 848 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->rsn_ie_len = elen; elems 851 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->power_cap = pos; elems 852 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->power_cap_len = elen; elems 855 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->supp_channels = pos; elems 856 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->supp_channels_len = elen; elems 859 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->mdie = pos; elems 860 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->mdie_len = elen; elems 863 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ftie = pos; elems 864 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ftie_len = elen; elems 867 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->timeout_int = pos; elems 868 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->timeout_int_len = elen; elems 871 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ht_capabilities = pos; elems 872 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ht_capabilities_len = elen; elems 875 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ht_operation = pos; elems 876 drivers/staging/rtl8188eu/core/rtw_ieee80211.c elems->ht_operation_len = elen; elems 2895 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct rtw_ieee802_11_elems elems; elems 2959 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (rtw_ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed || elems 2960 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c !elems.ssid) { elems 3028 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if ((psecuritypriv->wpa_psk & BIT(1)) && elems.rsn_ie) { elems 3031 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c wpa_ie = elems.rsn_ie; elems 3032 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c wpa_ie_len = elems.rsn_ie_len; elems 3049 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c } else if ((psecuritypriv->wpa_psk & BIT(0)) && elems.wpa_ie) { elems 3052 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c wpa_ie = elems.wpa_ie; elems 3053 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c wpa_ie_len = elems.wpa_ie_len; elems 3080 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (elems.wps_ie) { elems 3124 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (elems.wps_ie) { elems 3195 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (elems.ht_capabilities && elems 3196 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c elems.ht_capabilities_len >= sizeof(struct ieee80211_ht_cap)) { elems 3202 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c elems.ht_capabilities, sizeof(struct ieee80211_ht_cap)); elems 719 drivers/staging/rtl8188eu/include/ieee80211.h struct rtw_ieee802_11_elems *elems, elems 860 drivers/staging/rtl8723bs/core/rtw_ieee80211.c struct rtw_ieee802_11_elems *elems, elems 886 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->wpa_ie = pos; elems 887 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->wpa_ie_len = elen; elems 900 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->wme = pos; elems 901 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->wme_len = elen; elems 904 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->wme_tspec = pos; elems 905 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->wme_tspec_len = elen; elems 917 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->wps_ie = pos; elems 918 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->wps_ie_len = elen; elems 932 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->vendor_ht_cap = pos; elems 933 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->vendor_ht_cap_len = elen; elems 964 drivers/staging/rtl8723bs/core/rtw_ieee80211.c struct rtw_ieee802_11_elems *elems, elems 971 drivers/staging/rtl8723bs/core/rtw_ieee80211.c memset(elems, 0, sizeof(*elems)); elems 992 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ssid = pos; elems 993 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ssid_len = elen; elems 996 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->supp_rates = pos; elems 997 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->supp_rates_len = elen; elems 1000 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->fh_params = pos; elems 1001 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->fh_params_len = elen; elems 1004 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ds_params = pos; elems 1005 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ds_params_len = elen; elems 1008 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->cf_params = pos; elems 1009 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->cf_params_len = elen; elems 1012 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->tim = pos; elems 1013 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->tim_len = elen; elems 1016 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ibss_params = pos; elems 1017 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ibss_params_len = elen; elems 1020 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->challenge = pos; elems 1021 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->challenge_len = elen; elems 1024 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->erp_info = pos; elems 1025 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->erp_info_len = elen; elems 1028 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ext_supp_rates = pos; elems 1029 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ext_supp_rates_len = elen; elems 1033 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems, elems 1038 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->rsn_ie = pos; elems 1039 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->rsn_ie_len = elen; elems 1042 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->power_cap = pos; elems 1043 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->power_cap_len = elen; elems 1046 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->supp_channels = pos; elems 1047 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->supp_channels_len = elen; elems 1050 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->mdie = pos; elems 1051 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->mdie_len = elen; elems 1054 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ftie = pos; elems 1055 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ftie_len = elen; elems 1058 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->timeout_int = pos; elems 1059 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->timeout_int_len = elen; elems 1062 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ht_capabilities = pos; elems 1063 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ht_capabilities_len = elen; elems 1066 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ht_operation = pos; elems 1067 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->ht_operation_len = elen; elems 1070 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->vht_capabilities = pos; elems 1071 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->vht_capabilities_len = elen; elems 1074 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->vht_operation = pos; elems 1075 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->vht_operation_len = elen; elems 1078 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->vht_op_mode_notify = pos; elems 1079 drivers/staging/rtl8723bs/core/rtw_ieee80211.c elems->vht_op_mode_notify_len = elen; elems 1174 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct rtw_ieee802_11_elems elems; elems 1246 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (rtw_ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed || elems 1247 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c !elems.ssid) { elems 1316 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if ((psecuritypriv->wpa_psk & BIT(1)) && elems.rsn_ie) { elems 1320 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c wpa_ie = elems.rsn_ie; elems 1321 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c wpa_ie_len = elems.rsn_ie_len; elems 1339 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c } else if ((psecuritypriv->wpa_psk & BIT(0)) && elems.wpa_ie) { elems 1343 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c wpa_ie = elems.wpa_ie; elems 1344 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c wpa_ie_len = elems.wpa_ie_len; elems 1373 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (elems.wps_ie) { elems 1421 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (elems.wps_ie) { elems 1500 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (elems.ht_capabilities && elems.ht_capabilities_len >= sizeof(struct rtw_ieee80211_ht_cap)) { elems 1505 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(&pstat->htpriv.ht_cap, elems.ht_capabilities, sizeof(struct rtw_ieee80211_ht_cap)); elems 1115 drivers/staging/rtl8723bs/include/ieee80211.h struct rtw_ieee802_11_elems *elems, elems 3389 fs/btrfs/ctree.h atomic_t elems; elems 67 fs/btrfs/reada.c u64 elems; elems 186 fs/btrfs/reada.c if (atomic_dec_and_test(&rc->elems)) { elems 271 fs/btrfs/reada.c zone->elems = 0; elems 367 fs/btrfs/reada.c if (!zone->elems) elems 369 fs/btrfs/reada.c ++zone->elems; elems 464 fs/btrfs/reada.c --zone->elems; elems 465 fs/btrfs/reada.c if (zone->elems == 0) { elems 509 fs/btrfs/reada.c --zone->elems; elems 510 fs/btrfs/reada.c if (zone->elems == 0) { elems 563 fs/btrfs/reada.c atomic_inc(&rc->elems); elems 617 fs/btrfs/reada.c if (zone->elems > top_locked_elems) { elems 618 fs/btrfs/reada.c top_locked_elems = zone->elems; elems 622 fs/btrfs/reada.c if (zone->elems > top_elems) { elems 623 fs/btrfs/reada.c top_elems = zone->elems; elems 852 fs/btrfs/reada.c zone->start, zone->end, zone->elems, elems 949 fs/btrfs/reada.c atomic_set(&rc->elems, 0); elems 976 fs/btrfs/reada.c while (atomic_read(&rc->elems)) { elems 979 fs/btrfs/reada.c wait_event_timeout(rc->wait, atomic_read(&rc->elems) == 0, elems 981 fs/btrfs/reada.c dump_devs(fs_info, atomic_read(&rc->elems) < 10 ? 1 : 0); elems 984 fs/btrfs/reada.c dump_devs(fs_info, atomic_read(&rc->elems) < 10 ? 1 : 0); elems 996 fs/btrfs/reada.c while (atomic_read(&rc->elems)) { elems 999 fs/btrfs/reada.c wait_event_timeout(rc->wait, atomic_read(&rc->elems) == 0, elems 813 include/linux/mtd/rawnand.h const struct nand_op_parser_pattern_elem *elems; elems 821 include/linux/mtd/rawnand.h .elems = (const struct nand_op_parser_pattern_elem[]) { __VA_ARGS__ }, \ elems 280 include/linux/netfilter/x_tables.h int xt_check_entry_offsets(const void *base, const char *elems, elems 528 include/linux/netfilter/x_tables.h int xt_compat_check_entry_offsets(const void *base, const char *elems, elems 70 include/linux/netfilter_arp/arp_tables.h unsigned char elems[0]; elems 79 include/linux/netfilter_ipv4/ip_tables.h unsigned char elems[0]; elems 46 include/linux/netfilter_ipv6/ip6_tables.h unsigned char elems[0]; elems 238 include/media/v4l2-ctrls.h u32 elems; elems 47 include/media/v4l2-event.h int (*add)(struct v4l2_subscribed_event *sev, unsigned int elems); elems 78 include/media/v4l2-event.h unsigned int elems; elems 147 include/media/v4l2-event.h unsigned int elems, elems 688 include/net/netfilter/nf_tables.h void *elems[NFT_SET_GC_BATCH_SIZE]; elems 706 include/net/netfilter/nf_tables.h if (gcb->head.cnt + 1 < ARRAY_SIZE(gcb->elems)) elems 716 include/net/netfilter/nf_tables.h gcb->elems[gcb->head.cnt++] = elem; elems 39 include/sound/sof/pm.h struct sof_ipc_pm_ctx_elem elems[]; elems 181 include/uapi/linux/netfilter/x_tables.h for ((pos) = (struct xt_entry_match *)entry->elems; \ elems 112 include/uapi/linux/netfilter_arp/arp_tables.h unsigned char elems[0]; elems 191 include/uapi/linux/netfilter_bridge/ebtables.h unsigned char elems[0] __attribute__ ((aligned (__alignof__(struct ebt_replace)))); elems 124 include/uapi/linux/netfilter_ipv4/ip_tables.h unsigned char elems[0]; elems 128 include/uapi/linux/netfilter_ipv6/ip6_tables.h unsigned char elems[0]; elems 1749 include/uapi/linux/videodev2.h __u32 elems; elems 28 kernel/bpf/hashtab.c void *elems; elems 97 kernel/bpf/hashtab.c return (struct htab_elem *) (htab->elems + i * htab->elem_size); elems 116 kernel/bpf/hashtab.c bpf_map_area_free(htab->elems); elems 142 kernel/bpf/hashtab.c htab->elems = bpf_map_area_alloc(htab->elem_size * num_entries, elems 144 kernel/bpf/hashtab.c if (!htab->elems) elems 177 kernel/bpf/hashtab.c bpf_lru_populate(&htab->lru, htab->elems, elems 182 kernel/bpf/hashtab.c htab->elems + offsetof(struct htab_elem, fnode), elems 27 kernel/bpf/stackmap.c void *elems; elems 66 kernel/bpf/stackmap.c smap->elems = bpf_map_area_alloc(elem_size * smap->map.max_entries, elems 68 kernel/bpf/stackmap.c if (!smap->elems) elems 75 kernel/bpf/stackmap.c pcpu_freelist_populate(&smap->freelist, smap->elems, elem_size, elems 80 kernel/bpf/stackmap.c bpf_map_area_free(smap->elems); elems 605 kernel/bpf/stackmap.c bpf_map_area_free(smap->elems); elems 119 lib/zlib_deflate/deftree.c int elems; /* max number of elements in the tree */ elems 545 lib/zlib_deflate/deftree.c int elems = desc->stat_desc->elems; elems 556 lib/zlib_deflate/deftree.c for (n = 0; n < elems; n++) { elems 587 lib/zlib_deflate/deftree.c node = elems; /* next internal node of the tree */ elems 474 net/ipv4/netfilter/arp_tables.c err = xt_check_entry_offsets(e, e->elems, e->target_offset, elems 1095 net/ipv4/netfilter/arp_tables.c ret = xt_compat_check_entry_offsets(e, e->elems, e->target_offset, elems 611 net/ipv4/netfilter/ip_tables.c err = xt_check_entry_offsets(e, e->elems, e->target_offset, elems 1311 net/ipv4/netfilter/ip_tables.c ret = xt_compat_check_entry_offsets(e, e->elems, elems 629 net/ipv6/netfilter/ip6_tables.c err = xt_check_entry_offsets(e, e->elems, e->target_offset, elems 1327 net/ipv6/netfilter/ip6_tables.c ret = xt_compat_check_entry_offsets(e, e->elems, elems 479 net/mac80211/agg-rx.c struct ieee802_11_elems elems = { 0 }; elems 498 net/mac80211/agg-rx.c ies_len, true, &elems, mgmt->bssid, NULL); elems 499 net/mac80211/agg-rx.c if (elems.parse_error) elems 506 net/mac80211/agg-rx.c elems.addba_ext_ie); elems 782 net/mac80211/ibss.c struct ieee802_11_elems *elems, elems 809 net/mac80211/ibss.c err = ieee80211_parse_ch_switch_ie(sdata, elems, elems 918 net/mac80211/ibss.c struct ieee802_11_elems *elems) elems 936 net/mac80211/ibss.c ieee80211_ibss_process_chanswitch(sdata, elems, false); elems 987 net/mac80211/ibss.c struct ieee802_11_elems *elems, elems 1011 net/mac80211/ibss.c if (elems->supp_rates) { elems 1012 net/mac80211/ibss.c supp_rates = ieee80211_sta_get_rates(sdata, elems, elems 1042 net/mac80211/ibss.c elems->wmm_info && local->hw.queues >= IEEE80211_NUM_ACS) { elems 1047 net/mac80211/ibss.c if (sta && elems->ht_operation && elems->ht_cap_elem && elems 1057 net/mac80211/ibss.c ieee80211_chandef_ht_oper(elems->ht_operation, &chandef); elems 1059 net/mac80211/ibss.c memcpy(&htcap_ie, elems->ht_cap_elem, sizeof(htcap_ie)); elems 1064 net/mac80211/ibss.c if (elems->vht_operation && elems->vht_cap_elem && elems 1072 net/mac80211/ibss.c elems->vht_operation, elems 1073 net/mac80211/ibss.c elems->ht_operation, elems 1075 net/mac80211/ibss.c memcpy(&cap_ie, elems->vht_cap_elem, sizeof(cap_ie)); elems 1109 net/mac80211/ibss.c struct ieee802_11_elems *elems) elems 1123 net/mac80211/ibss.c ieee80211_update_sta_info(sdata, mgmt, len, rx_status, elems, channel); elems 1146 net/mac80211/ibss.c if (elems->ssid_len != sdata->u.ibss.ssid_len || elems 1147 net/mac80211/ibss.c memcmp(elems->ssid, sdata->u.ibss.ssid, elems 1153 net/mac80211/ibss.c ieee80211_ibss_process_chanswitch(sdata, elems, true)) elems 1190 net/mac80211/ibss.c supp_rates = ieee80211_sta_get_rates(sdata, elems, band, NULL); elems 1598 net/mac80211/ibss.c struct ieee802_11_elems elems; elems 1612 net/mac80211/ibss.c false, &elems, mgmt->bssid, NULL); elems 1614 net/mac80211/ibss.c ieee80211_rx_bss_info(sdata, mgmt, len, rx_status, &elems); elems 1623 net/mac80211/ibss.c struct ieee802_11_elems elems; elems 1662 net/mac80211/ibss.c ies_len, true, &elems, mgmt->bssid, NULL); elems 1664 net/mac80211/ibss.c if (elems.parse_error) elems 1668 net/mac80211/ibss.c rx_status, &elems); elems 632 net/mac80211/ieee80211_i.h struct ieee802_11_elems *elems, elems 1905 net/mac80211/ieee80211_i.h struct ieee802_11_elems *elems, elems 1983 net/mac80211/ieee80211_i.h struct ieee802_11_elems *elems, elems 1988 net/mac80211/ieee80211_i.h struct ieee802_11_elems *elems, elems 1992 net/mac80211/ieee80211_i.h ieee802_11_parse_elems_crc(start, len, action, elems, 0, 0, elems 2127 net/mac80211/ieee80211_i.h struct ieee802_11_elems *elems, elems 1040 net/mac80211/mesh.c struct ieee802_11_elems *elems, bool beacon) elems 1071 net/mac80211/mesh.c err = ieee80211_parse_ch_switch_ie(sdata, elems, sband->band, elems 1160 net/mac80211/mesh.c struct ieee802_11_elems elems; elems 1169 net/mac80211/mesh.c ieee802_11_parse_elems(pos, len - baselen, false, &elems, mgmt->bssid, elems 1172 net/mac80211/mesh.c if (!elems.mesh_id) elems 1178 net/mac80211/mesh.c elems.ssid_len != 0) elems 1181 net/mac80211/mesh.c if (elems.mesh_id_len != 0 && elems 1182 net/mac80211/mesh.c (elems.mesh_id_len != ifmsh->mesh_id_len || elems 1183 net/mac80211/mesh.c memcmp(elems.mesh_id, ifmsh->mesh_id, ifmsh->mesh_id_len))) elems 1218 net/mac80211/mesh.c struct ieee802_11_elems elems; elems 1234 net/mac80211/mesh.c false, &elems, mgmt->bssid, NULL); elems 1237 net/mac80211/mesh.c if ((!elems.mesh_id || !elems.mesh_config) || elems 1238 net/mac80211/mesh.c (elems.rsn && sdata->u.mesh.security == IEEE80211_MESH_SEC_NONE) || elems 1239 net/mac80211/mesh.c (!elems.rsn && sdata->u.mesh.security != IEEE80211_MESH_SEC_NONE)) elems 1242 net/mac80211/mesh.c if (elems.ds_params) elems 1243 net/mac80211/mesh.c freq = ieee80211_channel_to_frequency(elems.ds_params[0], band); elems 1252 net/mac80211/mesh.c if (mesh_matches_local(sdata, &elems)) { elems 1258 net/mac80211/mesh.c mesh_neighbour_update(sdata, mgmt->sa, &elems, elems 1263 net/mac80211/mesh.c ieee80211_mesh_process_chnswitch(sdata, &elems, true); elems 1268 net/mac80211/mesh.c stype, mgmt, &elems, rx_status); elems 1331 net/mac80211/mesh.c struct ieee802_11_elems *elems) elems 1343 net/mac80211/mesh.c elems->mesh_chansw_params_ie->mesh_ttl--; elems 1344 net/mac80211/mesh.c elems->mesh_chansw_params_ie->mesh_flags &= elems 1360 net/mac80211/mesh.c struct ieee802_11_elems elems; elems 1373 net/mac80211/mesh.c ieee802_11_parse_elems(pos, len - baselen, true, &elems, elems 1376 net/mac80211/mesh.c if (!mesh_matches_local(sdata, &elems)) elems 1379 net/mac80211/mesh.c ifmsh->chsw_ttl = elems.mesh_chansw_params_ie->mesh_ttl; elems 1383 net/mac80211/mesh.c pre_value = le16_to_cpu(elems.mesh_chansw_params_ie->mesh_pre_value); elems 1390 net/mac80211/mesh.c !ieee80211_mesh_process_chnswitch(sdata, &elems, false)) { elems 1397 net/mac80211/mesh.c if (mesh_fwd_csa_frame(sdata, mgmt, len, &elems) < 0) elems 254 net/mac80211/mesh.h struct ieee802_11_elems *elems); elems 911 net/mac80211/mesh_hwmp.c struct ieee802_11_elems elems; elems 930 net/mac80211/mesh_hwmp.c len - baselen, false, &elems, mgmt->bssid, NULL); elems 932 net/mac80211/mesh_hwmp.c if (elems.preq) { elems 933 net/mac80211/mesh_hwmp.c if (elems.preq_len != 37) elems 936 net/mac80211/mesh_hwmp.c path_metric = hwmp_route_info_get(sdata, mgmt, elems.preq, elems 939 net/mac80211/mesh_hwmp.c hwmp_preq_frame_process(sdata, mgmt, elems.preq, elems 942 net/mac80211/mesh_hwmp.c if (elems.prep) { elems 943 net/mac80211/mesh_hwmp.c if (elems.prep_len != 31) elems 946 net/mac80211/mesh_hwmp.c path_metric = hwmp_route_info_get(sdata, mgmt, elems.prep, elems 949 net/mac80211/mesh_hwmp.c hwmp_prep_frame_process(sdata, mgmt, elems.prep, elems 952 net/mac80211/mesh_hwmp.c if (elems.perr) { elems 953 net/mac80211/mesh_hwmp.c if (elems.perr_len != 15) elems 956 net/mac80211/mesh_hwmp.c hwmp_perr_frame_process(sdata, mgmt, elems.perr); elems 958 net/mac80211/mesh_hwmp.c if (elems.rann) elems 959 net/mac80211/mesh_hwmp.c hwmp_rann_frame_process(sdata, mgmt, elems.rann); elems 409 net/mac80211/mesh_plink.c struct ieee802_11_elems *elems) elems 420 net/mac80211/mesh_plink.c rates = ieee80211_sta_get_rates(sdata, elems, sband->band, elems 437 net/mac80211/mesh_plink.c elems->ht_cap_elem, sta)) elems 441 net/mac80211/mesh_plink.c elems->vht_cap_elem, sta); elems 443 net/mac80211/mesh_plink.c ieee80211_he_cap_ie_to_sta_he_cap(sdata, sband, elems->he_cap, elems 444 net/mac80211/mesh_plink.c elems->he_cap_len, sta); elems 450 net/mac80211/mesh_plink.c if (elems->ht_operation && elems 451 net/mac80211/mesh_plink.c !(elems->ht_operation->ht_param & elems 524 net/mac80211/mesh_plink.c struct ieee802_11_elems *elems, elems 532 net/mac80211/mesh_plink.c if (mesh_peer_accepts_plinks(elems) && elems 540 net/mac80211/mesh_plink.c elems->ie_start, elems 541 net/mac80211/mesh_plink.c elems->total_len, elems 563 net/mac80211/mesh_plink.c u8 *addr, struct ieee802_11_elems *elems, elems 571 net/mac80211/mesh_plink.c mesh_sta_info_init(sdata, sta, elems); elems 575 net/mac80211/mesh_plink.c sta = mesh_sta_info_alloc(sdata, addr, elems, rx_status); elems 581 net/mac80211/mesh_plink.c mesh_sta_info_init(sdata, sta, elems); elems 602 net/mac80211/mesh_plink.c struct ieee802_11_elems *elems, elems 608 net/mac80211/mesh_plink.c sta = mesh_sta_info_get(sdata, hw_addr, elems, rx_status); elems 612 net/mac80211/mesh_plink.c sta->mesh->connected_to_gate = elems->mesh_config->meshconf_form & elems 615 net/mac80211/mesh_plink.c if (mesh_peer_accepts_plinks(elems) && elems 622 net/mac80211/mesh_plink.c ieee80211_mps_frame_release(sta, elems); elems 1003 net/mac80211/mesh_plink.c struct ieee802_11_elems *elems, elems 1008 net/mac80211/mesh_plink.c u8 ie_len = elems->peering_len; elems 1012 net/mac80211/mesh_plink.c mesh_matches_local(sdata, elems)); elems 1094 net/mac80211/mesh_plink.c struct ieee802_11_elems *elems, elems 1102 net/mac80211/mesh_plink.c u8 ie_len = elems->peering_len; elems 1105 net/mac80211/mesh_plink.c if (!elems->peering) { elems 1111 net/mac80211/mesh_plink.c if (elems->rsn_len && elems 1130 net/mac80211/mesh_plink.c (!elems->mesh_id || !elems->mesh_config)) { elems 1137 net/mac80211/mesh_plink.c plid = get_unaligned_le16(PLINK_GET_LLID(elems->peering)); elems 1140 net/mac80211/mesh_plink.c llid = get_unaligned_le16(PLINK_GET_PLID(elems->peering)); elems 1155 net/mac80211/mesh_plink.c event = mesh_plink_get_event(sdata, sta, elems, ftype, llid, plid); elems 1160 net/mac80211/mesh_plink.c sta = mesh_sta_info_get(sdata, mgmt->sa, elems, rx_status); elems 1197 net/mac80211/mesh_plink.c struct ieee802_11_elems elems; elems 1225 net/mac80211/mesh_plink.c ieee802_11_parse_elems(baseaddr, len - baselen, true, &elems, elems 1227 net/mac80211/mesh_plink.c mesh_process_plink_frame(sdata, mgmt, &elems, rx_status); elems 572 net/mac80211/mesh_ps.c struct ieee802_11_elems *elems) elems 578 net/mac80211/mesh_ps.c has_buffered = ieee80211_check_tim(elems->tim, elems->tim_len, elems 587 net/mac80211/mesh_ps.c (!elems->awake_window || !le16_to_cpu(*elems->awake_window))) elems 82 net/mac80211/mesh_sync.c struct ieee802_11_elems *elems, elems 105 net/mac80211/mesh_sync.c elems->total_len + elems 122 net/mac80211/mesh_sync.c if (elems->mesh_config && mesh_peer_tbtt_adjusting(elems)) { elems 1285 net/mac80211/mlme.c struct ieee802_11_elems *elems, elems 1307 net/mac80211/mlme.c res = ieee80211_parse_ch_switch_ie(sdata, elems, current_band, elems 2830 net/mac80211/mlme.c struct ieee802_11_elems elems; elems 2834 net/mac80211/mlme.c ieee802_11_parse_elems(pos, len - (pos - (u8 *)mgmt), false, &elems, elems 2836 net/mac80211/mlme.c if (!elems.challenge) elems 2844 net/mac80211/mlme.c elems.challenge - 2, elems.challenge_len + 2, elems 3158 net/mac80211/mlme.c const struct ieee802_11_elems *elems) elems 3160 net/mac80211/mlme.c if (elems->ext_capab_len < 10) elems 3163 net/mac80211/mlme.c if (!(elems->ext_capab[9] & WLAN_EXT_CAPA10_TWT_RESPONDER_SUPPORT)) elems 3172 net/mac80211/mlme.c struct ieee802_11_elems *elems) elems 3174 net/mac80211/mlme.c bool twt = ieee80211_twt_req_supported(sta, elems); elems 3193 net/mac80211/mlme.c struct ieee802_11_elems elems; elems 3222 net/mac80211/mlme.c ieee802_11_parse_elems(pos, len - (pos - (u8 *)mgmt), false, &elems, elems 3225 net/mac80211/mlme.c if (!elems.supp_rates) { elems 3232 net/mac80211/mlme.c elems.ext_capab && elems.ext_capab_len >= 5 && elems 3233 net/mac80211/mlme.c (elems.ext_capab[4] & WLAN_EXT_CAPA5_TDLS_CH_SW_PROHIBITED); elems 3242 net/mac80211/mlme.c if ((assoc_data->wmm && !elems.wmm_param) || elems 3244 net/mac80211/mlme.c (!elems.ht_cap_elem || !elems.ht_operation)) || elems 3246 net/mac80211/mlme.c (!elems.vht_cap_elem || !elems.vht_operation))) { elems 3264 net/mac80211/mlme.c !elems.wmm_param && bss_elems.wmm_param) { elems 3265 net/mac80211/mlme.c elems.wmm_param = bss_elems.wmm_param; elems 3274 net/mac80211/mlme.c if (!elems.ht_cap_elem && bss_elems.ht_cap_elem && elems 3276 net/mac80211/mlme.c elems.ht_cap_elem = bss_elems.ht_cap_elem; elems 3280 net/mac80211/mlme.c if (!elems.ht_operation && bss_elems.ht_operation && elems 3282 net/mac80211/mlme.c elems.ht_operation = bss_elems.ht_operation; elems 3286 net/mac80211/mlme.c if (!elems.vht_cap_elem && bss_elems.vht_cap_elem && elems 3288 net/mac80211/mlme.c elems.vht_cap_elem = bss_elems.vht_cap_elem; elems 3292 net/mac80211/mlme.c if (!elems.vht_operation && bss_elems.vht_operation && elems 3294 net/mac80211/mlme.c elems.vht_operation = bss_elems.vht_operation; elems 3305 net/mac80211/mlme.c (!elems.wmm_param || !elems.ht_cap_elem || !elems.ht_operation)) { elems 3313 net/mac80211/mlme.c (!elems.vht_cap_elem || !elems.vht_operation)) { elems 3340 net/mac80211/mlme.c (!elems.he_cap || !elems.he_operation)) { elems 3349 net/mac80211/mlme.c if (elems.ht_cap_elem && !(ifmgd->flags & IEEE80211_STA_DISABLE_HT)) elems 3351 net/mac80211/mlme.c elems.ht_cap_elem, sta); elems 3353 net/mac80211/mlme.c if (elems.vht_cap_elem && !(ifmgd->flags & IEEE80211_STA_DISABLE_VHT)) elems 3355 net/mac80211/mlme.c elems.vht_cap_elem, sta); elems 3357 net/mac80211/mlme.c if (elems.he_operation && !(ifmgd->flags & IEEE80211_STA_DISABLE_HE) && elems 3358 net/mac80211/mlme.c elems.he_cap) { elems 3360 net/mac80211/mlme.c elems.he_cap, elems 3361 net/mac80211/mlme.c elems.he_cap_len, elems 3365 net/mac80211/mlme.c changed |= ieee80211_recalc_twt_req(sdata, sta, &elems); elems 3373 net/mac80211/mlme.c le32_get_bits(elems.he_operation->he_oper_params, elems 3377 net/mac80211/mlme.c le32_get_bits(elems.he_operation->he_oper_params, elems 3380 net/mac80211/mlme.c le32_get_bits(elems.he_operation->he_oper_params, elems 3391 net/mac80211/mlme.c bss_conf->uora_exists = !!elems.uora_element; elems 3392 net/mac80211/mlme.c if (elems.uora_element) elems 3393 net/mac80211/mlme.c bss_conf->uora_ocw_range = elems.uora_element[0]; elems 3395 net/mac80211/mlme.c ieee80211_he_op_ie_to_bss_conf(&sdata->vif, elems.he_operation); elems 3396 net/mac80211/mlme.c ieee80211_he_spr_ie_to_bss_conf(&sdata->vif, elems.he_spr); elems 3420 net/mac80211/mlme.c if (elems.opmode_notif && elems 3421 net/mac80211/mlme.c !(*elems.opmode_notif & IEEE80211_OPMODE_NOTIF_RX_NSS_TYPE_BF)) { elems 3424 net/mac80211/mlme.c nss = *elems.opmode_notif & IEEE80211_OPMODE_NOTIF_RX_NSS_MASK; elems 3439 net/mac80211/mlme.c sta->sta.wme = elems.wmm_param && local->hw.queues >= IEEE80211_NUM_ACS; elems 3467 net/mac80211/mlme.c } else if (!ieee80211_sta_wmm_params(local, sdata, elems.wmm_param, elems 3468 net/mac80211/mlme.c elems.wmm_param_len, elems 3469 net/mac80211/mlme.c elems.mu_edca_param_set)) { elems 3483 net/mac80211/mlme.c if (elems.max_idle_period_ie) { elems 3485 net/mac80211/mlme.c le16_to_cpu(elems.max_idle_period_ie->max_idle_period); elems 3487 net/mac80211/mlme.c !!(elems.max_idle_period_ie->idle_options & elems 3528 net/mac80211/mlme.c struct ieee802_11_elems elems; elems 3568 net/mac80211/mlme.c ieee802_11_parse_elems(pos, len - (pos - (u8 *)mgmt), false, &elems, elems 3572 net/mac80211/mlme.c elems.timeout_int && elems 3573 net/mac80211/mlme.c elems.timeout_int->type == WLAN_TIMEOUT_ASSOC_COMEBACK) { elems 3575 net/mac80211/mlme.c tu = le32_to_cpu(elems.timeout_int->value); elems 3810 net/mac80211/mlme.c struct ieee802_11_elems elems; elems 3846 net/mac80211/mlme.c len - baselen, false, &elems, elems 3852 net/mac80211/mlme.c if (elems.dtim_period) elems 3853 net/mac80211/mlme.c ifmgd->dtim_period = elems.dtim_period; elems 3861 net/mac80211/mlme.c sdata->vif.bss_conf.sync_dtim_count = elems.dtim_count; elems 3864 net/mac80211/mlme.c if (elems.mbssid_config_ie) elems 3866 net/mac80211/mlme.c elems.mbssid_config_ie->profile_periodicity; elems 3868 net/mac80211/mlme.c if (elems.ext_capab_len >= 11 && elems 3869 net/mac80211/mlme.c (elems.ext_capab[10] & WLAN_EXT_CAPA11_EMA_SUPPORT)) elems 3902 net/mac80211/mlme.c len - baselen, false, &elems, elems 3907 net/mac80211/mlme.c ieee80211_check_tim(elems.tim, elems.tim_len, ifmgd->aid)) { elems 3976 net/mac80211/mlme.c sdata->vif.bss_conf.sync_dtim_count = elems.dtim_count; elems 3988 net/mac80211/mlme.c &elems, true); elems 3991 net/mac80211/mlme.c ieee80211_sta_wmm_params(local, sdata, elems.wmm_param, elems 3992 net/mac80211/mlme.c elems.wmm_param_len, elems 3993 net/mac80211/mlme.c elems.mu_edca_param_set)) elems 4002 net/mac80211/mlme.c bss_conf->dtim_period = elems.dtim_period ?: 1; elems 4014 net/mac80211/mlme.c if (elems.erp_info) { elems 4016 net/mac80211/mlme.c erp_value = elems.erp_info[0]; elems 4027 net/mac80211/mlme.c changed |= ieee80211_recalc_twt_req(sdata, sta, &elems); elems 4030 net/mac80211/mlme.c elems.ht_cap_elem, elems.ht_operation, elems 4031 net/mac80211/mlme.c elems.vht_operation, elems.he_operation, elems 4046 net/mac80211/mlme.c if (sta && elems.opmode_notif) elems 4047 net/mac80211/mlme.c ieee80211_vht_handle_opmode(sdata, sta, *elems.opmode_notif, elems 4052 net/mac80211/mlme.c elems.country_elem, elems 4053 net/mac80211/mlme.c elems.country_elem_len, elems 4054 net/mac80211/mlme.c elems.pwr_constr_elem, elems 4055 net/mac80211/mlme.c elems.cisco_dtpc_elem); elems 4066 net/mac80211/mlme.c struct ieee802_11_elems elems; elems 4107 net/mac80211/mlme.c ies_len, true, &elems, mgmt->bssid, NULL); elems 4109 net/mac80211/mlme.c if (elems.parse_error) elems 4115 net/mac80211/mlme.c &elems, false); elems 4130 net/mac80211/mlme.c ies_len, true, &elems, mgmt->bssid, NULL); elems 4132 net/mac80211/mlme.c if (elems.parse_error) elems 4136 net/mac80211/mlme.c elems.ext_chansw_ie = elems 4142 net/mac80211/mlme.c &elems, false); elems 41 net/mac80211/scan.c static bool is_uapsd_supported(struct ieee802_11_elems *elems) elems 45 net/mac80211/scan.c if (elems->wmm_info && elems->wmm_info_len == 7 elems 46 net/mac80211/scan.c && elems->wmm_info[5] == 1) elems 47 net/mac80211/scan.c qos_info = elems->wmm_info[6]; elems 48 net/mac80211/scan.c else if (elems->wmm_param && elems->wmm_param_len == 24 elems 49 net/mac80211/scan.c && elems->wmm_param[5] == 1) elems 50 net/mac80211/scan.c qos_info = elems->wmm_param[6]; elems 61 net/mac80211/scan.c struct ieee802_11_elems *elems, elems 72 net/mac80211/scan.c if (elems->parse_error) { elems 85 net/mac80211/scan.c if (elems->erp_info && (!elems->parse_error || elems 87 net/mac80211/scan.c bss->erp_value = elems->erp_info[0]; elems 89 net/mac80211/scan.c if (!elems->parse_error) elems 94 net/mac80211/scan.c if (!elems->parse_error || elems 97 net/mac80211/scan.c if (elems->supp_rates) { elems 99 net/mac80211/scan.c if (clen > elems->supp_rates_len) elems 100 net/mac80211/scan.c clen = elems->supp_rates_len; elems 101 net/mac80211/scan.c memcpy(bss->supp_rates, elems->supp_rates, clen); elems 104 net/mac80211/scan.c if (elems->ext_supp_rates) { elems 106 net/mac80211/scan.c if (clen > elems->ext_supp_rates_len) elems 107 net/mac80211/scan.c clen = elems->ext_supp_rates_len; elems 108 net/mac80211/scan.c memcpy(bss->supp_rates + srlen, elems->ext_supp_rates, elems 114 net/mac80211/scan.c if (!elems->parse_error) elems 119 net/mac80211/scan.c if (!elems->parse_error || elems 121 net/mac80211/scan.c bss->wmm_used = elems->wmm_param || elems->wmm_info; elems 122 net/mac80211/scan.c bss->uapsd_supported = is_uapsd_supported(elems); elems 123 net/mac80211/scan.c if (!elems->parse_error) elems 151 net/mac80211/scan.c struct ieee802_11_elems elems; elems 200 net/mac80211/scan.c ieee802_11_parse_elems(elements, len - baselen, false, &elems, elems 210 net/mac80211/scan.c ieee80211_update_bss_from_elems(local, bss, &elems, rx_status, beacon); elems 215 net/mac80211/scan.c ieee80211_update_bss_from_elems(local, non_tx_bss, &elems, elems 23 net/mac80211/spectmgmt.c struct ieee802_11_elems *elems, elems 39 net/mac80211/spectmgmt.c sec_chan_offs = elems->sec_chan_offs; elems 40 net/mac80211/spectmgmt.c wide_bw_chansw_ie = elems->wide_bw_chansw_ie; elems 51 net/mac80211/spectmgmt.c if (elems->ext_chansw_ie) { elems 53 net/mac80211/spectmgmt.c elems->ext_chansw_ie->new_operating_class, elems 57 net/mac80211/spectmgmt.c elems->ext_chansw_ie->new_operating_class); elems 59 net/mac80211/spectmgmt.c new_chan_no = elems->ext_chansw_ie->new_ch_num; elems 60 net/mac80211/spectmgmt.c csa_ie->count = elems->ext_chansw_ie->count; elems 61 net/mac80211/spectmgmt.c csa_ie->mode = elems->ext_chansw_ie->mode; elems 62 net/mac80211/spectmgmt.c } else if (elems->ch_switch_ie) { elems 63 net/mac80211/spectmgmt.c new_chan_no = elems->ch_switch_ie->new_ch_num; elems 64 net/mac80211/spectmgmt.c csa_ie->count = elems->ch_switch_ie->count; elems 65 net/mac80211/spectmgmt.c csa_ie->mode = elems->ch_switch_ie->mode; elems 72 net/mac80211/spectmgmt.c if (elems->mesh_chansw_params_ie) { elems 73 net/mac80211/spectmgmt.c csa_ie->ttl = elems->mesh_chansw_params_ie->mesh_ttl; elems 74 net/mac80211/spectmgmt.c csa_ie->mode = elems->mesh_chansw_params_ie->mesh_flags; elems 76 net/mac80211/spectmgmt.c elems->mesh_chansw_params_ie->mesh_pre_value); elems 78 net/mac80211/spectmgmt.c if (elems->mesh_chansw_params_ie->mesh_flags & elems 81 net/mac80211/spectmgmt.c elems->mesh_chansw_params_ie->mesh_reason); elems 177 net/mac80211/spectmgmt.c if (elems->max_channel_switch_time) elems 179 net/mac80211/spectmgmt.c (elems->max_channel_switch_time[0] << 0) | elems 180 net/mac80211/spectmgmt.c (elems->max_channel_switch_time[1] << 8) | elems 181 net/mac80211/spectmgmt.c (elems->max_channel_switch_time[2] << 16); elems 1684 net/mac80211/tdls.c struct ieee802_11_elems elems; elems 1719 net/mac80211/tdls.c skb->len - baselen, false, &elems, elems 1721 net/mac80211/tdls.c if (elems.parse_error) { elems 1727 net/mac80211/tdls.c if (!elems.ch_sw_timing || !elems.lnk_id) { elems 1735 net/mac80211/tdls.c !memcmp(elems.lnk_id->init_sta, sdata->vif.addr, ETH_ALEN); elems 1742 net/mac80211/tdls.c params.switch_time = le16_to_cpu(elems.ch_sw_timing->switch_time); elems 1743 net/mac80211/tdls.c params.switch_timeout = le16_to_cpu(elems.ch_sw_timing->switch_timeout); elems 1771 net/mac80211/tdls.c struct ieee802_11_elems elems; elems 1832 net/mac80211/tdls.c skb->len - baselen, false, &elems, NULL, NULL); elems 1833 net/mac80211/tdls.c if (elems.parse_error) { elems 1838 net/mac80211/tdls.c if (!elems.ch_sw_timing || !elems.lnk_id) { elems 1843 net/mac80211/tdls.c if (!elems.sec_chan_offs) { elems 1846 net/mac80211/tdls.c switch (elems.sec_chan_offs->sec_chan_offs) { elems 1881 net/mac80211/tdls.c !memcmp(elems.lnk_id->init_sta, sdata->vif.addr, ETH_ALEN); elems 1889 net/mac80211/tdls.c if (!sta->sta.ht_cap.ht_supported && elems.sec_chan_offs && elems 1890 net/mac80211/tdls.c elems.sec_chan_offs->sec_chan_offs) { elems 1897 net/mac80211/tdls.c params.switch_time = le16_to_cpu(elems.ch_sw_timing->switch_time); elems 1898 net/mac80211/tdls.c params.switch_timeout = le16_to_cpu(elems.ch_sw_timing->switch_timeout); elems 896 net/mac80211/util.c struct ieee802_11_elems *elems, elems 958 net/mac80211/util.c elems->parse_error = true; elems 975 net/mac80211/util.c elems->lnk_id = (void *)(pos - 2); elems 982 net/mac80211/util.c elems->ch_sw_timing = (void *)pos; elems 985 net/mac80211/util.c elems->ext_capab = pos; elems 986 net/mac80211/util.c elems->ext_capab_len = elen; elems 989 net/mac80211/util.c elems->ssid = pos; elems 990 net/mac80211/util.c elems->ssid_len = elen; elems 993 net/mac80211/util.c elems->supp_rates = pos; elems 994 net/mac80211/util.c elems->supp_rates_len = elen; elems 998 net/mac80211/util.c elems->ds_params = pos; elems 1004 net/mac80211/util.c elems->tim = (void *)pos; elems 1005 net/mac80211/util.c elems->tim_len = elen; elems 1010 net/mac80211/util.c elems->challenge = pos; elems 1011 net/mac80211/util.c elems->challenge_len = elen; elems 1024 net/mac80211/util.c elems->wmm_info = pos; elems 1025 net/mac80211/util.c elems->wmm_info_len = elen; elems 1027 net/mac80211/util.c elems->wmm_param = pos; elems 1028 net/mac80211/util.c elems->wmm_param_len = elen; elems 1034 net/mac80211/util.c elems->rsn = pos; elems 1035 net/mac80211/util.c elems->rsn_len = elen; elems 1039 net/mac80211/util.c elems->erp_info = pos; elems 1044 net/mac80211/util.c elems->ext_supp_rates = pos; elems 1045 net/mac80211/util.c elems->ext_supp_rates_len = elen; elems 1049 net/mac80211/util.c elems->ht_cap_elem = (void *)pos; elems 1055 net/mac80211/util.c elems->ht_operation = (void *)pos; elems 1061 net/mac80211/util.c elems->vht_cap_elem = (void *)pos; elems 1067 net/mac80211/util.c elems->vht_operation = (void *)pos; elems 1076 net/mac80211/util.c elems->opmode_notif = pos; elems 1084 net/mac80211/util.c elems->mesh_id = pos; elems 1085 net/mac80211/util.c elems->mesh_id_len = elen; elems 1089 net/mac80211/util.c elems->mesh_config = (void *)pos; elems 1094 net/mac80211/util.c elems->peering = pos; elems 1095 net/mac80211/util.c elems->peering_len = elen; elems 1099 net/mac80211/util.c elems->awake_window = (void *)pos; elems 1102 net/mac80211/util.c elems->preq = pos; elems 1103 net/mac80211/util.c elems->preq_len = elen; elems 1106 net/mac80211/util.c elems->prep = pos; elems 1107 net/mac80211/util.c elems->prep_len = elen; elems 1110 net/mac80211/util.c elems->perr = pos; elems 1111 net/mac80211/util.c elems->perr_len = elen; elems 1115 net/mac80211/util.c elems->rann = (void *)pos; elems 1124 net/mac80211/util.c elems->ch_switch_ie = (void *)pos; elems 1131 net/mac80211/util.c elems->ext_chansw_ie = (void *)pos; elems 1138 net/mac80211/util.c elems->sec_chan_offs = (void *)pos; elems 1142 net/mac80211/util.c sizeof(*elems->mesh_chansw_params_ie)) { elems 1146 net/mac80211/util.c elems->mesh_chansw_params_ie = (void *)pos; elems 1150 net/mac80211/util.c elen != sizeof(*elems->wide_bw_chansw_ie)) { elems 1154 net/mac80211/util.c elems->wide_bw_chansw_ie = (void *)pos; elems 1169 net/mac80211/util.c if (ie[1] == sizeof(*elems->wide_bw_chansw_ie)) elems 1170 net/mac80211/util.c elems->wide_bw_chansw_ie = elems 1177 net/mac80211/util.c elems->country_elem = pos; elems 1178 net/mac80211/util.c elems->country_elem_len = elen; elems 1185 net/mac80211/util.c elems->pwr_constr_elem = pos; elems 1210 net/mac80211/util.c elems->cisco_dtpc_elem = pos; elems 1217 net/mac80211/util.c elems->addba_ext_ie = (void *)pos; elems 1221 net/mac80211/util.c elems->timeout_int = (void *)pos; elems 1226 net/mac80211/util.c if (elen >= sizeof(*elems->max_idle_period_ie)) elems 1227 net/mac80211/util.c elems->max_idle_period_ie = (void *)pos; elems 1231 net/mac80211/util.c elen >= (sizeof(*elems->mu_edca_param_set) + 1)) { elems 1232 net/mac80211/util.c elems->mu_edca_param_set = (void *)&pos[1]; elems 1236 net/mac80211/util.c elems->he_cap = (void *)&pos[1]; elems 1237 net/mac80211/util.c elems->he_cap_len = elen - 1; elems 1239 net/mac80211/util.c elen >= sizeof(*elems->he_operation) && elems 1241 net/mac80211/util.c elems->he_operation = (void *)&pos[1]; elems 1243 net/mac80211/util.c elems->uora_element = (void *)&pos[1]; elems 1247 net/mac80211/util.c elems->max_channel_switch_time = pos + 1; elems 1251 net/mac80211/util.c elems->mbssid_config_ie = (void *)&pos[1]; elems 1253 net/mac80211/util.c elen >= sizeof(*elems->he_spr) && elems 1255 net/mac80211/util.c elems->he_spr = (void *)&pos[1]; elems 1263 net/mac80211/util.c elems->parse_error = true; elems 1269 net/mac80211/util.c elems->parse_error = true; elems 1275 net/mac80211/util.c struct ieee802_11_elems *elems, elems 1332 net/mac80211/util.c elems->bssid_index_len = index[1]; elems 1333 net/mac80211/util.c elems->bssid_index = (void *)&index[2]; elems 1343 net/mac80211/util.c struct ieee802_11_elems *elems, elems 1351 net/mac80211/util.c memset(elems, 0, sizeof(*elems)); elems 1352 net/mac80211/util.c elems->ie_start = start; elems 1353 net/mac80211/util.c elems->total_len = len; elems 1358 net/mac80211/util.c ieee802_11_find_bssid_profile(start, len, elems, elems 1368 net/mac80211/util.c crc = _ieee802_11_parse_elems_crc(start, len, action, elems, filter, elems 1375 net/mac80211/util.c action, elems, 0, 0, NULL); elems 1377 net/mac80211/util.c if (elems->tim && !elems->parse_error) { elems 1378 net/mac80211/util.c const struct ieee80211_tim_ie *tim_ie = elems->tim; elems 1380 net/mac80211/util.c elems->dtim_period = tim_ie->dtim_period; elems 1381 net/mac80211/util.c elems->dtim_count = tim_ie->dtim_count; elems 1385 net/mac80211/util.c if (elems->bssid_index && elems 1386 net/mac80211/util.c elems->bssid_index_len >= elems 1388 net/mac80211/util.c elems->dtim_period = elems->bssid_index->dtim_period; elems 1390 net/mac80211/util.c if (elems->bssid_index && elems 1391 net/mac80211/util.c elems->bssid_index_len >= elems 1393 net/mac80211/util.c elems->dtim_count = elems->bssid_index->dtim_count; elems 1927 net/mac80211/util.c struct ieee802_11_elems *elems, elems 1944 net/mac80211/util.c for (i = 0; i < elems->supp_rates_len + elems 1945 net/mac80211/util.c elems->ext_supp_rates_len; i++) { elems 1949 net/mac80211/util.c if (i < elems->supp_rates_len) elems 1950 net/mac80211/util.c rate = elems->supp_rates[i]; elems 1951 net/mac80211/util.c else if (elems->ext_supp_rates) elems 1952 net/mac80211/util.c rate = elems->ext_supp_rates elems 1953 net/mac80211/util.c [i - elems->supp_rates_len]; elems 4969 net/netfilter/nf_tables_api.c nft_set_elem_destroy(gcb->head.set, gcb->elems[i], true); elems 801 net/netfilter/x_tables.c int xt_compat_check_entry_offsets(const void *base, const char *elems, elems 805 net/netfilter/x_tables.c long size_of_base_struct = elems - (const char *)base; elems 844 net/netfilter/x_tables.c return xt_check_entry_match(elems, base + target_offset, elems 894 net/netfilter/x_tables.c const char *elems, elems 898 net/netfilter/x_tables.c long size_of_base_struct = elems - (const char *)base; elems 932 net/netfilter/x_tables.c return xt_check_entry_match(elems, base + target_offset, elems 1155 scripts/mod/modpost.c int elems = sizeof(sectioncheck) / sizeof(struct sectioncheck); elems 1167 scripts/mod/modpost.c for (i = 0; i < elems; i++) { elems 43 sound/soc/sof/ipc.c size_t elems; elems 663 sound/soc/sof/ipc.c sparams.elems = scontrol->num_channels; elems 670 sound/soc/sof/ipc.c sparams.elems = scontrol->num_channels; elems 677 sound/soc/sof/ipc.c sparams.elems = cdata->data->size; elems 684 sound/soc/sof/ipc.c cdata->num_elems = sparams.elems; elems 520 sound/usb/6fire/control.c struct snd_kcontrol_new *elems) elems 535 sound/usb/6fire/control.c while (elems[i].name) { elems 536 sound/usb/6fire/control.c control = snd_ctl_new1(&elems[i], rt);