Searched refs:hmask (Results 1 - 13 of 13) sorted by relevance
/net/xfrm/ |
H A D | xfrm_hash.h | 34 unsigned int hmask) 45 return (h ^ (h >> 16)) & hmask; 51 unsigned int hmask) 62 return (h ^ (h >> 16)) & hmask; 67 unsigned short family, unsigned int hmask) 78 return (h ^ (h >> 10) ^ (h >> 20)) & hmask; 81 static inline unsigned int __idx_hash(u32 index, unsigned int hmask) argument 83 return (index ^ (index >> 8)) & hmask; 87 unsigned short family, unsigned int hmask) 97 return hmask 31 __xfrm_dst_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, u32 reqid, unsigned short family, unsigned int hmask) argument 48 __xfrm_src_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, unsigned short family, unsigned int hmask) argument 66 __xfrm_spi_hash(const xfrm_address_t *daddr, __be32 spi, u8 proto, unsigned short family, unsigned int hmask) argument 86 __sel_hash(const struct xfrm_selector *sel, unsigned short family, unsigned int hmask) argument 114 __addr_hash(const xfrm_address_t *daddr, const xfrm_address_t *saddr, unsigned short family, unsigned int hmask) argument [all...] |
H A D | xfrm_policy.c | 359 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; local 360 unsigned int hash = __sel_hash(sel, family, hmask); 362 return (hash == hmask + 1 ? 372 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; local 373 unsigned int hash = __addr_hash(daddr, saddr, family, hmask); 432 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; local 433 unsigned int nhashmask = xfrm_new_hash_mask(hmask); 457 unsigned int hmask = net->xfrm.policy_idx_hmask; local 483 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; local 497 unsigned int hmask = net->xfrm.policy_idx_hmask; local 2834 unsigned int hmask, sz; local [all...] |
/net/sched/ |
H A D | act_api.c | 32 unsigned int h = tcf_hash(p->tcfc_index, hinfo->hmask); 84 for (i = 0; i < (hinfo->hmask + 1); i++) { 85 p = hinfo->htab[tcf_hash(i, hinfo->hmask)]; 132 for (i = 0; i < (hinfo->hmask + 1); i++) { 133 p = hinfo->htab[tcf_hash(i, hinfo->hmask)]; 174 for (p = hinfo->htab[tcf_hash(index, hinfo->hmask)]; p; 257 unsigned int h = tcf_hash(p->tcfc_index, hinfo->hmask);
|
H A D | act_gact.c | 33 .hmask = GACT_TAB_MASK,
|
H A D | act_pedit.c | 33 .hmask = PEDIT_TAB_MASK,
|
H A D | act_simple.c | 34 .hmask = SIMP_TAB_MASK,
|
H A D | act_skbedit.c | 38 .hmask = SKBEDIT_TAB_MASK,
|
H A D | act_mirred.c | 40 .hmask = MIRRED_TAB_MASK,
|
H A D | act_nat.c | 39 .hmask = NAT_TAB_MASK,
|
H A D | cls_u32.c | 91 unsigned int h = ntohl(key & sel->hmask) >> fshift; 648 n->fshift = s->hmask ? ffs(ntohl(s->hmask)) - 1 : 0;
|
H A D | act_ipt.c | 38 .hmask = IPT_TAB_MASK,
|
H A D | act_police.c | 50 .hmask = POL_TAB_MASK,
|
H A D | act_csum.c | 46 .hmask = CSUM_TAB_MASK,
|
Completed in 86 milliseconds