/linux/net/netlabel/ |
H A D | netlabel_addrlist.c | 321 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/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | metadata.c | 207 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 …]
|
H A D | offload.c | 98 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() 561 flow_pay->meta.mask_len = key_layer->key_size; in nfp_flower_allocate_new() 1046 sub_flow1->meta.mask_len); in nfp_flower_merge_offloaded_flows()
|
H A D | main.h | 406 u8 mask_len; member
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | wow.c | 145 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/include/linux/ |
H A D | ccp.h | 438 u32 mask_len; /* In bytes */ member 467 u32 mask_len; /* In bytes */ member
|
/linux/net/netfilter/ |
H A D | nft_set_pipapo.c | 1967 int g, mask_len = 0, bit_offset = 0; local 1997 mask_len += 4; 1999 mask_len += 3; 2001 mask_len += 2; 2003 mask_len += 1; 2006 return mask_len;
|
/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | wow.c | 172 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/drivers/pinctrl/ |
H A D | pinctrl-axp209.c | 364 unsigned int mask_len, in axp20x_funcs_groups_from_mask() argument 381 for_each_set_bit(bit, &mask_cpy, mask_len) { in axp20x_funcs_groups_from_mask()
|
/linux/drivers/iio/magnetometer/ |
H A D | rm3100-core.c | 467 unsigned int mask_len = iio_get_masklength(indio_dev); in rm3100_trigger_handler() local 505 for_each_set_bit(bit, &scan_mask, mask_len) { in rm3100_trigger_handler()
|
/linux/drivers/dma/ptdma/ |
H A D | ptdma.h | 138 u32 mask_len; /* In bytes */ member
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | lib.c | 1016 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/drivers/net/wireless/realtek/rtlwifi/ |
H A D | core.c | 432 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/net/nfc/ |
H A D | digital_technology.c | 154 u8 mask_len; member 917 req->mask_len = 0; in digital_in_send_iso15693_inv_req()
|
/linux/drivers/crypto/ccp/ |
H A D | ccp-ops.c | 1984 if (pt->mask_len != CCP_PASSTHRU_MASKSIZE) in ccp_run_passthru_cmd() 2007 ret = ccp_set_dm_area(&mask, 0, pt->mask, 0, pt->mask_len); in ccp_run_passthru_cmd() 2114 if (pt->mask_len != CCP_PASSTHRU_MASKSIZE) in ccp_run_passthru_nomap_cmd() 2130 mask.length = pt->mask_len; in ccp_run_passthru_nomap_cmd() 2132 mask.dma.length = pt->mask_len; in ccp_run_passthru_nomap_cmd()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | wow.c | 908 u8 mask_len; in rtw89_wow_pattern_generate() local 916 mask_len = DIV_ROUND_UP(len, 8); in rtw89_wow_pattern_generate() 944 for (i = 0; i < mask_len - 1; i++) { in rtw89_wow_pattern_generate()
|
/linux/drivers/accel/habanalabs/gaudi2/ |
H A D | gaudi2.c | 2211 static bool gaudi2_get_tpc_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, 2213 static bool gaudi2_get_mme_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, 2215 static bool gaudi2_get_edma_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, 7140 static bool gaudi2_get_edma_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, in gaudi2_get_edma_idle_status() argument 7190 static bool gaudi2_get_pdma_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, in gaudi2_get_pdma_idle_status() argument 7230 static bool gaudi2_get_nic_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, in gaudi2_get_nic_idle_status() argument 7276 static bool gaudi2_get_mme_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, in gaudi2_get_mme_idle_status() argument 7352 static bool gaudi2_get_tpc_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, in gaudi2_get_tpc_idle_status() argument 7380 static bool gaudi2_get_decoder_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, in gaudi2_get_decoder_idle_status() argument 7449 static bool gaudi2_get_rotator_idle_status(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, in gaudi2_get_rotator_idle_status() argument [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | d3.c | 659 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns_v1() local 662 wowlan->patterns[i].mask, mask_len); in iwl_mvm_send_patterns_v1() 666 pattern_cmd->patterns[i].mask_size = mask_len; in iwl_mvm_send_patterns_v1() 705 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns() local 711 wowlan->patterns[i].mask, mask_len); in iwl_mvm_send_patterns() 715 pattern_cmd->patterns[i].u.bitmask.mask_size = mask_len; in iwl_mvm_send_patterns()
|
/linux/drivers/s390/net/ |
H A D | qeth_l3_main.c | 345 int mask_len = min_t(int, len, 32); in qeth_l3_set_ipv6_prefix() local 347 prefix->s6_addr32[i] = inet_make_mask(mask_len); in qeth_l3_set_ipv6_prefix() 348 len -= mask_len; in qeth_l3_set_ipv6_prefix()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 530 int mask_len = 0, i; in ipv6_mask_len() local 533 mask_len += inet_mask_len(mask->s6_addr32[i]); in ipv6_mask_len() 535 return mask_len; in ipv6_mask_len()
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | fs.c | 1539 fs_matcher->mask_len); in _create_raw_flow_rule() 2354 obj->mask_len = uverbs_attr_get_len( in UVERBS_HANDLER()
|
H A D | mlx5_ib.h | 272 int mask_len; member
|
/linux/net/wireless/ |
H A D | nl80211.c | 13843 int rem, pat_len, mask_len, pkt_offset; in nl80211_set_wowlan() local 13880 mask_len = DIV_ROUND_UP(pat_len, 8); in nl80211_set_wowlan() 13881 if (nla_len(pat_tb[NL80211_PKTPAT_MASK]) != mask_len) in nl80211_set_wowlan() 13896 mask_pat = kmalloc(mask_len + pat_len, GFP_KERNEL); in nl80211_set_wowlan() 13903 mask_len); in nl80211_set_wowlan() 13904 mask_pat += mask_len; in nl80211_set_wowlan() 14080 int rem, pat_len, mask_len, pkt_offset, n_patterns = 0; in nl80211_parse_coalesce_rule() local 14130 mask_len = DIV_ROUND_UP(pat_len, 8); in nl80211_parse_coalesce_rule() 14131 if (nla_len(pat_tb[NL80211_PKTPAT_MASK]) != mask_len) in nl80211_parse_coalesce_rule() 14145 mask_pat = kmalloc(mask_len + pat_len, GFP_KERNEL); in nl80211_parse_coalesce_rule() [all …]
|
/linux/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 1705 bool (*is_device_idle)(struct hl_device *hdev, u64 *mask_arr, u8 mask_len,
|
/linux/drivers/accel/habanalabs/goya/ |
H A D | goya.c | 5120 static bool goya_is_device_idle(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, in goya_is_device_idle() argument
|