Home
last modified time | relevance | path

Searched refs:mask_len (Results 1 – 24 of 24) sorted by relevance

/linux-5.19.10/net/netlabel/
Dnetlabel_addrlist.c321 u32 mask_len = 0; in netlbl_af4list_audit_addr() local
324 mask_len++; in netlbl_af4list_audit_addr()
326 audit_log_format(audit_buf, " %s_prefixlen=%d", dir, mask_len); in netlbl_af4list_audit_addr()
355 u32 mask_len = 0; in netlbl_af6list_audit_addr() local
359 mask_len += 32; in netlbl_af6list_audit_addr()
363 mask_len++; in netlbl_af6list_audit_addr()
365 audit_log_format(audit_buf, " %s_prefixlen=%d", dir, mask_len); in netlbl_af6list_audit_addr()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c207 nfp_add_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_add_mask_table() argument
225 hash_key = jhash(mask_data, mask_len, priv->mask_id_seed); in nfp_add_mask_table()
234 nfp_search_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_search_mask_table() argument
240 hash_key = jhash(mask_data, mask_len, priv->mask_id_seed); in nfp_search_mask_table()
250 nfp_find_in_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_find_in_mask_table() argument
254 mask_entry = nfp_search_mask_table(app, mask_data, mask_len); in nfp_find_in_mask_table()
265 nfp_check_mask_add(struct nfp_app *app, char *mask_data, u32 mask_len, in nfp_check_mask_add() argument
270 id = nfp_find_in_mask_table(app, mask_data, mask_len); in nfp_check_mask_add()
272 id = nfp_add_mask_table(app, mask_data, mask_len); in nfp_check_mask_add()
283 nfp_check_mask_remove(struct nfp_app *app, char *mask_data, u32 mask_len, in nfp_check_mask_remove() argument
[all …]
Doffload.c98 u32 meta_len, key_len, mask_len, act_len, tot_len; in nfp_flower_xmit_flow() local
104 mask_len = nfp_flow->meta.mask_len; in nfp_flower_xmit_flow()
107 tot_len = meta_len + key_len + mask_len + act_len; in nfp_flower_xmit_flow()
113 nfp_flow->meta.mask_len >>= NFP_FL_LW_SIZ; in nfp_flower_xmit_flow()
123 memcpy(&msg[meta_len + key_len], nfp_flow->mask_data, mask_len); in nfp_flower_xmit_flow()
124 memcpy(&msg[meta_len + key_len + mask_len], in nfp_flower_xmit_flow()
131 nfp_flow->meta.mask_len <<= NFP_FL_LW_SIZ; in nfp_flower_xmit_flow()
557 flow_pay->meta.mask_len = key_layer->key_size; in nfp_flower_allocate_new()
1044 sub_flow1->meta.mask_len); in nfp_flower_merge_offloaded_flows()
Dmain.h388 u8 mask_len; member
/linux-5.19.10/drivers/net/wireless/ath/ath9k/
Dwow.c145 int mask_len, ret = 0; in ath9k_wow_add_pattern() local
149 mask_len = DIV_ROUND_UP(patterns[i].pattern_len, 8); in ath9k_wow_add_pattern()
153 memcpy(wow_mask, patterns[i].mask, mask_len); in ath9k_wow_add_pattern()
/linux-5.19.10/include/linux/
Dccp.h438 u32 mask_len; /* In bytes */ member
467 u32 mask_len; /* In bytes */ member
/linux-5.19.10/net/netfilter/
Dnft_set_pipapo.c1811 int g, mask_len = 0, bit_offset = 0; local
1841 mask_len += 4;
1843 mask_len += 3;
1845 mask_len += 2;
1847 mask_len += 1;
1850 return mask_len;
/linux-5.19.10/drivers/pinctrl/
Dpinctrl-axp209.c319 unsigned int mask_len, in axp20x_funcs_groups_from_mask() argument
336 for_each_set_bit(bit, &mask_cpy, mask_len) { in axp20x_funcs_groups_from_mask()
/linux-5.19.10/drivers/iio/magnetometer/
Drm3100-core.c467 unsigned int mask_len = indio_dev->masklength; in rm3100_trigger_handler() local
505 for_each_set_bit(bit, &scan_mask, mask_len) { in rm3100_trigger_handler()
/linux-5.19.10/drivers/dma/ptdma/
Dptdma.h138 u32 mask_len; /* In bytes */ member
/linux-5.19.10/drivers/net/wireless/realtek/rtw88/
Dwow.c172 u8 mask_len; in rtw_wow_pattern_generate() local
184 mask_len = DIV_ROUND_UP(len, 8); in rtw_wow_pattern_generate()
215 for (i = 0; i < mask_len - 1; i++) { in rtw_wow_pattern_generate()
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dlib.c1016 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwlagn_send_patterns() local
1019 wowlan->patterns[i].mask, mask_len); in iwlagn_send_patterns()
1023 pattern_cmd->patterns[i].mask_size = mask_len; in iwlagn_send_patterns()
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/
Dcore.c432 u8 i, mask_len; in _rtl_add_wowlan_patterns() local
445 mask_len = DIV_ROUND_UP(patterns[i].pattern_len, 8); in _rtl_add_wowlan_patterns()
451 "mask content\n", mask_os, mask_len); in _rtl_add_wowlan_patterns()
487 for (j = 0; j < mask_len - 1; j++) { in _rtl_add_wowlan_patterns()
496 "mask to hw\n", mask, mask_len); in _rtl_add_wowlan_patterns()
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c645 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns_v1() local
648 wowlan->patterns[i].mask, mask_len); in iwl_mvm_send_patterns_v1()
652 pattern_cmd->patterns[i].mask_size = mask_len; in iwl_mvm_send_patterns_v1()
692 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns() local
698 wowlan->patterns[i].mask, mask_len); in iwl_mvm_send_patterns()
702 pattern_cmd->patterns[i].u.bitmask.mask_size = mask_len; in iwl_mvm_send_patterns()
/linux-5.19.10/net/nfc/
Ddigital_technology.c154 u8 mask_len; member
917 req->mask_len = 0; in digital_in_send_iso15693_inv_req()
/linux-5.19.10/drivers/crypto/ccp/
Dccp-ops.c1981 if (pt->mask_len != CCP_PASSTHRU_MASKSIZE) in ccp_run_passthru_cmd()
2004 ret = ccp_set_dm_area(&mask, 0, pt->mask, 0, pt->mask_len); in ccp_run_passthru_cmd()
2111 if (pt->mask_len != CCP_PASSTHRU_MASKSIZE) in ccp_run_passthru_nomap_cmd()
2127 mask.length = pt->mask_len; in ccp_run_passthru_nomap_cmd()
2129 mask.dma.length = pt->mask_len; in ccp_run_passthru_nomap_cmd()
/linux-5.19.10/drivers/s390/net/
Dqeth_l3_main.c341 int mask_len = min_t(int, len, 32); in qeth_l3_set_ipv6_prefix() local
343 prefix->s6_addr32[i] = inet_make_mask(mask_len); in qeth_l3_set_ipv6_prefix()
344 len -= mask_len; in qeth_l3_set_ipv6_prefix()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c526 int mask_len = 0, i; in ipv6_mask_len() local
529 mask_len += inet_mask_len(mask->s6_addr32[i]); in ipv6_mask_len()
531 return mask_len; in ipv6_mask_len()
/linux-5.19.10/drivers/infiniband/hw/mlx5/
Dfs.c1532 fs_matcher->mask_len); in _create_raw_flow_rule()
2077 obj->mask_len = uverbs_attr_get_len( in UVERBS_HANDLER()
Dmlx5_ib.h253 int mask_len; member
/linux-5.19.10/net/wireless/
Dnl80211.c12974 int rem, pat_len, mask_len, pkt_offset; in nl80211_set_wowlan() local
13011 mask_len = DIV_ROUND_UP(pat_len, 8); in nl80211_set_wowlan()
13012 if (nla_len(pat_tb[NL80211_PKTPAT_MASK]) != mask_len) in nl80211_set_wowlan()
13027 mask_pat = kmalloc(mask_len + pat_len, GFP_KERNEL); in nl80211_set_wowlan()
13034 mask_len); in nl80211_set_wowlan()
13035 mask_pat += mask_len; in nl80211_set_wowlan()
13212 int rem, pat_len, mask_len, pkt_offset, n_patterns = 0; in nl80211_parse_coalesce_rule() local
13262 mask_len = DIV_ROUND_UP(pat_len, 8); in nl80211_parse_coalesce_rule()
13263 if (nla_len(pat_tb[NL80211_PKTPAT_MASK]) != mask_len) in nl80211_parse_coalesce_rule()
13277 mask_pat = kmalloc(mask_len + pat_len, GFP_KERNEL); in nl80211_parse_coalesce_rule()
[all …]
/linux-5.19.10/drivers/misc/habanalabs/common/
Dhabanalabs.h1409 u8 mask_len, struct seq_file *s);
/linux-5.19.10/drivers/misc/habanalabs/goya/
Dgoya.c5148 u8 mask_len, struct seq_file *s) in goya_is_device_idle() argument
/linux-5.19.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c8131 u8 mask_len, struct seq_file *s) in gaudi_is_device_idle() argument