Home
last modified time | relevance | path

Searched refs:def (Results 1 – 25 of 34) sorted by relevance

12

/net/netlabel/
Dnetlabel_domainhash.c86 if (ptr->def.type == NETLBL_NLTYPE_ADDRSELECT) { in netlbl_domhsh_free_entry()
88 &ptr->def.addrsel->list4) { in netlbl_domhsh_free_entry()
94 &ptr->def.addrsel->list6) { in netlbl_domhsh_free_entry()
215 type = map4->def.type; in netlbl_domhsh_audit_add()
216 cipsov4 = map4->def.cipso; in netlbl_domhsh_audit_add()
223 type = map6->def.type; in netlbl_domhsh_audit_add()
228 type = entry->def.type; in netlbl_domhsh_audit_add()
229 cipsov4 = entry->def.cipso; in netlbl_domhsh_audit_add()
267 switch (entry->def.type) { in netlbl_domhsh_validate()
269 if (entry->def.cipso != NULL || entry->def.addrsel != NULL) in netlbl_domhsh_validate()
[all …]
Dnetlabel_mgmt.c104 entry->def.type = nla_get_u32(info->attrs[NLBL_MGMT_A_PROTOCOL]); in netlbl_mgmt_add_common()
121 switch (entry->def.type) { in netlbl_mgmt_add_common()
132 entry->def.cipso = cipsov4; in netlbl_mgmt_add_common()
173 map->def.type = entry->def.type; in netlbl_mgmt_add_common()
175 map->def.cipso = cipsov4; in netlbl_mgmt_add_common()
181 entry->def.type = NETLBL_NLTYPE_ADDRSELECT; in netlbl_mgmt_add_common()
182 entry->def.addrsel = addrmap; in netlbl_mgmt_add_common()
223 map->def.type = entry->def.type; in netlbl_mgmt_add_common()
229 entry->def.type = NETLBL_NLTYPE_ADDRSELECT; in netlbl_mgmt_add_common()
230 entry->def.addrsel = addrmap; in netlbl_mgmt_add_common()
[all …]
Dnetlabel_kapi.c124 entry->def.type = NETLBL_NLTYPE_UNLABELED; in netlbl_cfg_unlbl_map_add()
139 map4->def.type = NETLBL_NLTYPE_UNLABELED; in netlbl_cfg_unlbl_map_add()
156 map6->def.type = NETLBL_NLTYPE_UNLABELED; in netlbl_cfg_unlbl_map_add()
175 entry->def.addrsel = addrmap; in netlbl_cfg_unlbl_map_add()
176 entry->def.type = NETLBL_NLTYPE_ADDRSELECT; in netlbl_cfg_unlbl_map_add()
355 entry->def.cipso = doi_def; in netlbl_cfg_cipsov4_map_add()
356 entry->def.type = NETLBL_NLTYPE_CIPSOV4; in netlbl_cfg_cipsov4_map_add()
367 addrinfo->def.cipso = doi_def; in netlbl_cfg_cipsov4_map_add()
368 addrinfo->def.type = NETLBL_NLTYPE_CIPSOV4; in netlbl_cfg_cipsov4_map_add()
376 entry->def.addrsel = addrmap; in netlbl_cfg_cipsov4_map_add()
[all …]
Dnetlabel_domainhash.h59 struct netlbl_dommap_def def; member
66 struct netlbl_dommap_def def; member
73 struct netlbl_dommap_def def; member
Dnetlabel_cipso_v4.c693 if (entry->def.type == NETLBL_NLTYPE_CIPSOV4 && in netlbl_cipsov4_remove_cb()
694 entry->def.cipso->doi == cb_arg->doi) in netlbl_cipsov4_remove_cb()
/net/mac80211/
Dchan.c150 const struct cfg80211_chan_def *def) in ieee80211_chanctx_can_reserve_chandef() argument
154 if (ieee80211_chanctx_combined_chandef(local, ctx, def)) in ieee80211_chanctx_can_reserve_chandef()
158 ieee80211_chanctx_reserved_chandef(local, ctx, def)) in ieee80211_chanctx_can_reserve_chandef()
297 max_bw = max(max_bw, conf->def.width); in ieee80211_get_chanctx_max_required_bw()
318 if (ctx->conf.def.width == NL80211_CHAN_WIDTH_5 || in ieee80211_recalc_chanctx_min_def()
319 ctx->conf.def.width == NL80211_CHAN_WIDTH_10 || in ieee80211_recalc_chanctx_min_def()
321 ctx->conf.min_def = ctx->conf.def; in ieee80211_recalc_chanctx_min_def()
328 min_def = ctx->conf.def; in ieee80211_recalc_chanctx_min_def()
346 if (cfg80211_chandef_identical(&ctx->conf.def, chandef)) in ieee80211_change_chanctx()
349 WARN_ON(!cfg80211_chandef_compatible(&ctx->conf.def, chandef)); in ieee80211_change_chanctx()
[all …]
Docb.c70 band = chanctx_conf->def.chan->band; in ieee80211_ocb_rx_no_sta()
71 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ocb_rx_no_sta()
Dtrace.h64 #define CHANCTX_ASSIGN CHANDEF_ASSIGN(&ctx->conf.def) \
1507 old_ctx->def.chan->center_freq);
1509 old_ctx->def.width);
1511 old_ctx->def.center_freq1);
1513 old_ctx->def.center_freq2);
1515 new_ctx->def.chan->center_freq);
1517 new_ctx->def.width);
1519 new_ctx->def.center_freq1);
1521 new_ctx->def.center_freq2);
Dtx.c66 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_duration()
67 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_duration()
1876 chandef = &chanctx_conf->def; in ieee80211_monitor_start_xmit()
2070 band = chanctx_conf->def.chan->band; in ieee80211_build_hdr()
2087 band = chanctx_conf->def.chan->band; in ieee80211_build_hdr()
2171 band = chanctx_conf->def.chan->band; in ieee80211_build_hdr()
2207 band = chanctx_conf->def.chan->band; in ieee80211_build_hdr()
2220 band = chanctx_conf->def.chan->band; in ieee80211_build_hdr()
2233 band = chanctx_conf->def.chan->band; in ieee80211_build_hdr()
2491 build.band = chanctx_conf->def.chan->band; in ieee80211_check_fast_xmit()
[all …]
Drate.c54 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
57 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init()
83 ref->ops->rate_update(ref->priv, sband, &chanctx_conf->def, in rate_control_rate_update()
Dmesh.c404 chan = chanctx_conf->def.chan; in mesh_add_ds_params_ie()
455 channel = chanctx_conf->def.chan; in mesh_add_ht_oper_ie()
518 channel = chanctx_conf->def.chan; in mesh_add_vht_oper_ie()
693 band = chanctx_conf->def.chan->band; in ieee80211_mesh_build_beacon()
Dethtool.c151 channel = chanctx_conf->def.chan; in ieee80211_get_stats()
Dibss.c643 band = chanctx_conf->def.chan->band; in ieee80211_ibss_add_sta()
644 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_add_sta()
1234 band = chanctx_conf->def.chan->band; in ieee80211_ibss_rx_no_sta()
1235 scan_width = cfg80211_chandef_to_scan_width(&chanctx_conf->def); in ieee80211_ibss_rx_no_sta()
Dtdls.c1260 width = conf->def.width; in iee80211_tdls_recalc_chanctx()
1261 sband = local->hw.wiphy->bands[conf->def.chan->band]; in iee80211_tdls_recalc_chanctx()
1266 if (width != conf->def.width && sta && in iee80211_tdls_recalc_chanctx()
1270 bw = ieee80211_chan_width_to_rx_bw(conf->def.width); in iee80211_tdls_recalc_chanctx()
Dieee80211_i.h954 band = chanctx_conf->def.chan->band; in ieee80211_get_sdata_band()
982 shift = ieee80211_chandef_get_shift(&chanctx_conf->def); in ieee80211_vif_get_shift()
1795 chanctx_conf->def.chan->band); in ieee80211_tx_skb_tid()
Dmlme.c645 chan = chanctx_conf->def.chan; in ieee80211_send_assoc()
646 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_send_assoc()
658 rates_len = ieee80211_parse_bitrates(&chanctx_conf->def, sband, in ieee80211_send_assoc()
783 *pos++ = ieee80211_chandef_max_power(&chanctx_conf->def); in ieee80211_send_assoc()
3400 if (rx_status->freq != chanctx_conf->def.chan->center_freq) { in ieee80211_rx_mgmt_beacon()
3404 chan = chanctx_conf->def.chan; in ieee80211_rx_mgmt_beacon()
4448 rate_flags = ieee80211_chandef_rate_flags(&chanctx_conf->def); in ieee80211_prep_connection()
/net/ipv4/netfilter/
Dnf_nat_snmp_basic.c210 unsigned int *def, in asn1_length_decode() argument
219 *def = 0; in asn1_length_decode()
221 *def = 1; in asn1_length_decode()
252 unsigned int def, len; in asn1_header_decode() local
257 def = len = 0; in asn1_header_decode()
258 if (!asn1_length_decode(ctx, &def, &len)) in asn1_header_decode()
262 if (*con == ASN1_PRI && !def) in asn1_header_decode()
265 if (def) in asn1_header_decode()
/net/sched/
Dsch_gred.c58 u32 def; member
160 dp = t->def; in gred_enqueue()
352 table->def = sopt->def_DP; in gred_change_table_def()
468 if (table->tab[table->def]) in gred_change()
469 def_prio = table->tab[table->def]->prio; in gred_change()
533 .def_DP = table->def, in gred_dump()
Dsch_cbq.c1091 static void cbq_change_defmap(struct cbq_class *cl, u32 splitid, u32 def, u32 mask) in cbq_change_defmap() argument
1115 cl->defmap = def & mask; in cbq_change_defmap()
1117 cl->defmap = (cl->defmap & ~mask) | (def & mask); in cbq_change_defmap()
/net/9p/
Dmod.c140 if (t->def && try_module_get(t->owner)) { in v9fs_get_default_trans()
Dtrans_fd.c1050 .def = 0,
1062 .def = 0,
1074 .def = 0,
/net/wireless/
Dwext-sme.c37 wdev->wext.keys->def = wdev->wext.default_key; in cfg80211_mgd_wext_connect()
Dcore.h243 int def, defmgmt; member
Dsme.c1003 if (connkeys && connkeys->def >= 0) { in cfg80211_connect()
1007 idx = connkeys->def; in cfg80211_connect()
Dibss.c288 wdev->wext.keys->def = wdev->wext.default_key; in cfg80211_ibss_wext_join()

12