/linux-4.4.14/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 | 380 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_bysel() local 386 hash = __sel_hash(sel, family, hmask, dbits, sbits); in policy_hash_bysel() 388 return (hash == hmask + 1 ? in policy_hash_bysel() 398 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_direct() local 404 hash = __addr_hash(daddr, saddr, family, hmask, dbits, sbits); in policy_hash_direct() 468 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in xfrm_bydst_resize() local 469 unsigned int nhashmask = xfrm_new_hash_mask(hmask); in xfrm_bydst_resize() 480 for (i = hmask; i >= 0; i--) in xfrm_bydst_resize() 484 net->xfrm.policy_bydst[dir].hmask = nhashmask; in xfrm_bydst_resize() 488 xfrm_hash_free(odst, (hmask + 1) * sizeof(struct hlist_head)); in xfrm_bydst_resize() [all …]
|
/linux-4.4.14/arch/x86/include/asm/fpu/ |
D | internal.h | 248 u32 hmask = mask >> 32; in copy_xregs_to_kernel_booting() local 257 : "D" (xstate), "m" (*xstate), "a" (lmask), "d" (hmask), "0" (err) in copy_xregs_to_kernel_booting() 263 : "D" (xstate), "m" (*xstate), "a" (lmask), "d" (hmask), "0" (err) in copy_xregs_to_kernel_booting() 278 u32 hmask = mask >> 32; in copy_kernel_to_xregs_booting() local 287 : "D" (xstate), "m" (*xstate), "a" (lmask), "d" (hmask), "0" (err) in copy_kernel_to_xregs_booting() 293 : "D" (xstate), "m" (*xstate), "a" (lmask), "d" (hmask), "0" (err) in copy_kernel_to_xregs_booting() 307 u32 hmask = mask >> 32; in copy_xregs_to_kernel() local 329 [xstate] "D" (xstate), "a" (lmask), "d" (hmask) : in copy_xregs_to_kernel() 346 u32 hmask = mask >> 32; in copy_kernel_to_xregs() local 357 "D" (xstate), "m" (*xstate), "a" (lmask), "d" (hmask) in copy_kernel_to_xregs() [all …]
|
/linux-4.4.14/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.4.14/include/linux/ |
D | inetdevice.h | 185 __u32 hmask; in bad_mask() local 188 hmask = ntohl(mask); in bad_mask() 189 if (hmask & (hmask+1)) in bad_mask() 254 __u32 hmask = ntohl(mask); in inet_mask_len() local 255 if (!hmask) in inet_mask_len() 257 return 32 - ffz(~hmask); in inet_mask_len()
|
D | mm.h | 1124 int (*hugetlb_entry)(pte_t *pte, unsigned long hmask,
|
/linux-4.4.14/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.4.14/include/net/ |
D | act_api.h | 42 unsigned int hmask; member 47 static inline unsigned int tcf_hash(u32 index, unsigned int hmask) in tcf_hash() argument 49 return index & hmask; in tcf_hash() 58 hf->hmask = mask; in tcf_hashinfo_init()
|
/linux-4.4.14/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.4.14/include/net/netns/ |
D | xfrm.h | 15 unsigned int hmask; member
|
/linux-4.4.14/net/sched/ |
D | act_api.c | 93 for (i = 0; i < (hinfo->hmask + 1); i++) { in tcf_dump_walker() 94 head = &hinfo->htab[tcf_hash(i, hinfo->hmask)]; in tcf_dump_walker() 144 for (i = 0; i < (hinfo->hmask + 1); i++) { in tcf_del_walker() 145 head = &hinfo->htab[tcf_hash(i, hinfo->hmask)]; in tcf_del_walker() 185 head = &hinfo->htab[tcf_hash(index, hinfo->hmask)]; in tcf_hash_lookup() 297 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.4.14/arch/m68k/include/asm/ |
D | m68360_pram.h | 116 unsigned short hmask; /* user defined frm addr mask */ member
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-tpg.h | 156 unsigned hmask[TPG_MAX_PLANES]; member 387 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() 270 tpg->hmask[1] = ~1; in tpg_s_fourcc() 282 tpg->hmask[1] = ~1; in tpg_s_fourcc() 297 tpg->hmask[0] = ~1; in tpg_s_fourcc()
|
/linux-4.4.14/fs/proc/ |
D | task_mmu.c | 632 static int smaps_hugetlb_range(pte_t *pte, unsigned long hmask, in smaps_hugetlb_range() argument 1179 static int pagemap_hugetlb_range(pte_t *ptep, unsigned long hmask, in pagemap_hugetlb_range() argument 1205 ((addr & ~hmask) >> PAGE_SHIFT); in pagemap_hugetlb_range() 1500 static int gather_hugetlb_stats(pte_t *pte, unsigned long hmask, in gather_hugetlb_stats() argument 1520 static int gather_hugetlb_stats(pte_t *pte, unsigned long hmask, in gather_hugetlb_stats() argument
|
/linux-4.4.14/include/uapi/linux/ |
D | pkt_cls.h | 197 __be32 hmask; member
|