/linux-4.1.27/net/xfrm/ |
D | xfrm_hash.h | 87 unsigned int hmask) in __xfrm_dst_hash() argument 98 return (h ^ (h >> 16)) & hmask; in __xfrm_dst_hash() 104 unsigned int hmask) in __xfrm_src_hash() argument 115 return (h ^ (h >> 16)) & hmask; in __xfrm_src_hash() 120 unsigned short family, unsigned int hmask) in __xfrm_spi_hash() argument 131 return (h ^ (h >> 10) ^ (h >> 20)) & hmask; in __xfrm_spi_hash() 134 static inline unsigned int __idx_hash(u32 index, unsigned int hmask) in __idx_hash() argument 136 return (index ^ (index >> 8)) & hmask; in __idx_hash() 140 unsigned short family, unsigned int hmask, in __sel_hash() argument 151 return hmask + 1; in __sel_hash() [all …]
|
D | xfrm_policy.c | 379 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_bysel() local 385 hash = __sel_hash(sel, family, hmask, dbits, sbits); in policy_hash_bysel() 387 return (hash == hmask + 1 ? in policy_hash_bysel() 397 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_direct() local 403 hash = __addr_hash(daddr, saddr, family, hmask, dbits, sbits); in policy_hash_direct() 467 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in xfrm_bydst_resize() local 468 unsigned int nhashmask = xfrm_new_hash_mask(hmask); in xfrm_bydst_resize() 479 for (i = hmask; i >= 0; i--) in xfrm_bydst_resize() 483 net->xfrm.policy_bydst[dir].hmask = nhashmask; in xfrm_bydst_resize() 487 xfrm_hash_free(odst, (hmask + 1) * sizeof(struct hlist_head)); in xfrm_bydst_resize() [all …]
|
/linux-4.1.27/arch/x86/include/asm/ |
D | xsave.h | 77 u32 hmask = mask >> 32; in xsave_state_booting() local 86 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xsave_state_booting() 92 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xsave_state_booting() 104 u32 hmask = mask >> 32; in xrstor_state_booting() local 113 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xrstor_state_booting() 119 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xrstor_state_booting() 130 u32 hmask = mask >> 32; in xsave_state() local 150 [fx] "D" (fx), "a" (lmask), "d" (hmask) : in xsave_state() 167 u32 hmask = mask >> 32; in xrstor_state() local 177 "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xrstor_state() [all …]
|
/linux-4.1.27/arch/ia64/lib/ |
D | do_csum.S | 94 #define hmask r16 macro 140 mov hmask=-1 // initialize head mask 168 shl hmask=hmask,tmp2 // build head mask, mask off [0,first1off[ 174 (p8) and hmask=hmask,tmask // apply tail mask to head mask if 1 word only 180 and word1[0]=firstval,hmask // and mask it as appropriate
|
/linux-4.1.27/include/linux/ |
D | inetdevice.h | 182 __u32 hmask; in bad_mask() local 185 hmask = ntohl(mask); in bad_mask() 186 if (hmask & (hmask+1)) in bad_mask() 251 __u32 hmask = ntohl(mask); in inet_mask_len() local 252 if (!hmask) in inet_mask_len() 254 return 32 - ffz(~hmask); in inet_mask_len()
|
D | mm.h | 1139 int (*hugetlb_entry)(pte_t *pte, unsigned long hmask,
|
/linux-4.1.27/arch/powerpc/mm/ |
D | ppc_mmu_32.c | 182 unsigned int hmask, mb, mb2; in MMU_init_hw() local 242 hmask = Hash_mask >> (16 - LG_HPTEG_SIZE); in MMU_init_hw() 251 hash_page_patch_B[0] = (hash_page_patch_B[0] & ~0xffff) | hmask; in MMU_init_hw() 252 hash_page_patch_C[0] = (hash_page_patch_C[0] & ~0xffff) | hmask; in MMU_init_hw() 269 flush_hash_patch_B[0] = (flush_hash_patch_B[0] & ~0xffff) | hmask; in MMU_init_hw()
|
/linux-4.1.27/include/net/ |
D | act_api.h | 40 unsigned int hmask; member 45 static inline unsigned int tcf_hash(u32 index, unsigned int hmask) in tcf_hash() argument 47 return index & hmask; in tcf_hash() 56 hf->hmask = mask; in tcf_hashinfo_init()
|
/linux-4.1.27/mm/ |
D | pagewalk.c | 138 unsigned long hmask = huge_page_mask(h); in walk_hugetlb_range() local 144 pte = huge_pte_offset(walk->mm, addr & hmask); in walk_hugetlb_range() 146 err = walk->hugetlb_entry(pte, hmask, addr, next, walk); in walk_hugetlb_range()
|
D | mincore.c | 22 static int mincore_hugetlb(pte_t *pte, unsigned long hmask, unsigned long addr, in mincore_hugetlb() argument
|
D | mempolicy.c | 525 static int queue_pages_hugetlb(pte_t *pte, unsigned long hmask, in queue_pages_hugetlb() argument
|
/linux-4.1.27/include/net/netns/ |
D | xfrm.h | 15 unsigned int hmask; member
|
/linux-4.1.27/net/sched/ |
D | act_api.c | 85 for (i = 0; i < (hinfo->hmask + 1); i++) { in tcf_dump_walker() 86 head = &hinfo->htab[tcf_hash(i, hinfo->hmask)]; in tcf_dump_walker() 136 for (i = 0; i < (hinfo->hmask + 1); i++) { in tcf_del_walker() 137 head = &hinfo->htab[tcf_hash(i, hinfo->hmask)]; in tcf_del_walker() 177 head = &hinfo->htab[tcf_hash(index, hinfo->hmask)]; in tcf_hash_lookup() 274 unsigned int h = tcf_hash(p->tcfc_index, hinfo->hmask); in tcf_hash_insert()
|
D | cls_u32.c | 100 unsigned int h = ntohl(key & sel->hmask) >> fshift; in u32_hash_fold() 847 n->fshift = s->hmask ? ffs(ntohl(s->hmask)) - 1 : 0; in u32_change()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-tpg.h | 150 unsigned hmask[TPG_MAX_PLANES]; member 367 return ((x / tpg->hdownsampling[plane]) & tpg->hmask[plane]) * in tpg_hdiv()
|
D | vivid-tpg.c | 187 tpg->hmask[0] = ~0; in tpg_s_fourcc() 188 tpg->hmask[1] = ~0; in tpg_s_fourcc() 189 tpg->hmask[2] = ~0; in tpg_s_fourcc() 260 tpg->hmask[1] = ~1; in tpg_s_fourcc() 272 tpg->hmask[1] = ~1; in tpg_s_fourcc() 287 tpg->hmask[0] = ~1; in tpg_s_fourcc()
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | m68360_pram.h | 116 unsigned short hmask; /* user defined frm addr mask */ member
|
/linux-4.1.27/include/uapi/linux/ |
D | pkt_cls.h | 213 __be32 hmask; member
|
/linux-4.1.27/fs/proc/ |
D | task_mmu.c | 1174 static int pagemap_hugetlb_range(pte_t *pte, unsigned long hmask, in pagemap_hugetlb_range() argument 1190 int offset = (addr & ~hmask) >> PAGE_SHIFT; in pagemap_hugetlb_range() 1447 static int gather_hugetlb_stats(pte_t *pte, unsigned long hmask, in gather_hugetlb_stats() argument 1466 static int gather_hugetlb_stats(pte_t *pte, unsigned long hmask, in gather_hugetlb_stats() argument
|