/Linux-v5.4/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 | 481 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_bysel() local 487 hash = __sel_hash(sel, family, hmask, dbits, sbits); in policy_hash_bysel() 489 if (hash == hmask + 1) in policy_hash_bysel() 501 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_direct() local 507 hash = __addr_hash(daddr, saddr, family, hmask, dbits, sbits); in policy_hash_direct() 572 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in xfrm_bydst_resize() local 573 unsigned int nhashmask = xfrm_new_hash_mask(hmask); in xfrm_bydst_resize() 588 for (i = hmask; i >= 0; i--) in xfrm_bydst_resize() 592 net->xfrm.policy_bydst[dir].hmask = nhashmask; in xfrm_bydst_resize() 599 xfrm_hash_free(odst, (hmask + 1) * sizeof(struct hlist_head)); in xfrm_bydst_resize() [all …]
|
/Linux-v5.4/arch/x86/include/asm/fpu/ |
D | internal.h | 213 #define XSTATE_OP(op, st, lmask, hmask, err) \ argument 223 : "D" (st), "m" (*st), "a" (lmask), "d" (hmask) \ 240 #define XSTATE_XSAVE(st, lmask, hmask, err) \ argument 253 : "D" (st), "m" (*st), "a" (lmask), "d" (hmask) \ 260 #define XSTATE_XRESTORE(st, lmask, hmask) \ argument 267 : "D" (st), "m" (*st), "a" (lmask), "d" (hmask) \ 278 u32 hmask = mask >> 32; in copy_xregs_to_kernel_booting() local 284 XSTATE_OP(XSAVES, xstate, lmask, hmask, err); in copy_xregs_to_kernel_booting() 286 XSTATE_OP(XSAVE, xstate, lmask, hmask, err); in copy_xregs_to_kernel_booting() 300 u32 hmask = mask >> 32; in copy_kernel_to_xregs_booting() local [all …]
|
/Linux-v5.4/arch/riscv/mm/ |
D | tlbflush.c | 15 struct cpumask hmask; in __sbi_tlb_flush_range() local 17 riscv_cpuid_to_hartid_mask(cmask, &hmask); in __sbi_tlb_flush_range() 18 sbi_remote_sfence_vma(hmask.bits, start, size); in __sbi_tlb_flush_range()
|
D | cacheflush.c | 31 cpumask_t others, hmask, *mask; in flush_icache_mm() local 50 riscv_cpuid_to_hartid_mask(&others, &hmask); in flush_icache_mm() 51 sbi_remote_fence_i(hmask.bits); in flush_icache_mm()
|
/Linux-v5.4/arch/ia64/lib/ |
D | do_csum.S | 95 #define hmask r16 macro 141 mov hmask=-1 // initialize head mask 169 shl hmask=hmask,tmp2 // build head mask, mask off [0,first1off[ 175 (p8) and hmask=hmask,tmask // apply tail mask to head mask if 1 word only 181 and word1[0]=firstval,hmask // and mask it as appropriate
|
/Linux-v5.4/include/linux/ |
D | inetdevice.h | 200 __u32 hmask; in bad_mask() local 203 hmask = ntohl(mask); in bad_mask() 204 if (hmask & (hmask+1)) in bad_mask() 282 __u32 hmask = ntohl(mask); in inet_mask_len() local 283 if (!hmask) in inet_mask_len() 285 return 32 - ffz(~hmask); in inet_mask_len()
|
D | pagewalk.h | 37 int (*hugetlb_entry)(pte_t *pte, unsigned long hmask,
|
/Linux-v5.4/drivers/net/wan/ |
D | fsl_ucc_hdlc.h | 56 __be16 hmask; member 105 unsigned short hmask; member
|
D | fsl_ucc_hdlc.c | 271 iowrite16be(priv->hmask, &priv->ucc_pram->hmask); in uhdlc_init() 1208 if (of_property_read_u16(np, "fsl,hmask", &uhdlc_priv->hmask)) in ucc_hdlc_probe() 1209 uhdlc_priv->hmask = DEFAULT_ADDR_MASK; in ucc_hdlc_probe()
|
/Linux-v5.4/arch/powerpc/mm/book3s32/ |
D | mmu.c | 406 unsigned int hmask = Hash_mask >> (16 - LG_HPTEG_SIZE); in MMU_init_hw_patch() local 422 modify_instruction_site(&patch__hash_page_B, 0xffff, hmask); in MMU_init_hw_patch() 423 modify_instruction_site(&patch__hash_page_C, 0xffff, hmask); in MMU_init_hw_patch() 432 modify_instruction_site(&patch__flush_hash_B, 0xffff, hmask); in MMU_init_hw_patch()
|
/Linux-v5.4/mm/ |
D | pagewalk.c | 188 unsigned long hmask = huge_page_mask(h); in walk_hugetlb_range() local 196 pte = huge_pte_offset(walk->mm, addr & hmask, sz); in walk_hugetlb_range() 199 err = ops->hugetlb_entry(pte, hmask, addr, next, walk); in walk_hugetlb_range()
|
D | mincore.c | 24 static int mincore_hugetlb(pte_t *pte, unsigned long hmask, unsigned long addr, in mincore_hugetlb() argument
|
D | hmm.c | 726 static int hmm_vma_walk_hugetlb_entry(pte_t *pte, unsigned long hmask, in hmm_vma_walk_hugetlb_entry() argument 755 pfn = pte_pfn(entry) + ((start & ~hmask) >> PAGE_SHIFT); in hmm_vma_walk_hugetlb_entry()
|
D | mprotect.c | 318 static int prot_none_hugetlb_entry(pte_t *pte, unsigned long hmask, in prot_none_hugetlb_entry() argument
|
/Linux-v5.4/include/net/netns/ |
D | xfrm.h | 16 unsigned int hmask; member
|
/Linux-v5.4/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
D | network.txt | 101 - fsl,hmask 106 fsl,hmask = /bits/ 16 <0x0000>;
|
/Linux-v5.4/include/media/tpg/ |
D | v4l2-tpg.h | 195 unsigned hmask[TPG_MAX_PLANES]; member 439 return ((x / tpg->hdownsampling[plane]) & tpg->hmask[plane]) * in tpg_hdiv()
|
/Linux-v5.4/fs/proc/ |
D | task_mmu.c | 707 static int smaps_hugetlb_range(pte_t *pte, unsigned long hmask, in smaps_hugetlb_range() argument 1457 static int pagemap_hugetlb_range(pte_t *ptep, unsigned long hmask, in pagemap_hugetlb_range() argument 1483 ((addr & ~hmask) >> PAGE_SHIFT); in pagemap_hugetlb_range() 1781 static int gather_hugetlb_stats(pte_t *pte, unsigned long hmask, in gather_hugetlb_stats() argument 1801 static int gather_hugetlb_stats(pte_t *pte, unsigned long hmask, in gather_hugetlb_stats() argument
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/abm/ |
D | cls.c | 45 if (knode->sel->hoff || knode->sel->hmask) { in nfp_abm_u32_check_knode()
|
/Linux-v5.4/tools/include/uapi/linux/ |
D | pkt_cls.h | 182 __be32 hmask; member
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x550.c | 3700 u32 hmask = mask & ~IXGBE_GSSR_TOKEN_SM; in ixgbe_acquire_swfw_sync_x550em_a() local 3706 if (hmask) in ixgbe_acquire_swfw_sync_x550em_a() 3707 status = ixgbe_acquire_swfw_sync_X540(hw, hmask); in ixgbe_acquire_swfw_sync_x550em_a() 3716 if (hmask) in ixgbe_acquire_swfw_sync_x550em_a() 3717 ixgbe_release_swfw_sync_X540(hw, hmask); in ixgbe_acquire_swfw_sync_x550em_a() 3735 u32 hmask = mask & ~IXGBE_GSSR_TOKEN_SM; in ixgbe_release_swfw_sync_x550em_a() local 3740 if (hmask) in ixgbe_release_swfw_sync_x550em_a() 3741 ixgbe_release_swfw_sync_X540(hw, hmask); in ixgbe_release_swfw_sync_x550em_a()
|
/Linux-v5.4/include/uapi/linux/ |
D | pkt_cls.h | 224 __be32 hmask; member
|
/Linux-v5.4/drivers/media/common/v4l2-tpg/ |
D | v4l2-tpg-core.c | 188 tpg->hmask[0] = ~0; in tpg_s_fourcc() 189 tpg->hmask[1] = ~0; in tpg_s_fourcc() 190 tpg->hmask[2] = ~0; in tpg_s_fourcc() 304 tpg->hmask[1] = ~1; in tpg_s_fourcc() 316 tpg->hmask[1] = ~1; in tpg_s_fourcc() 341 tpg->hmask[0] = ~1; in tpg_s_fourcc()
|
/Linux-v5.4/net/sched/ |
D | cls_u32.c | 98 unsigned int h = ntohl(key & sel->hmask) >> fshift; in u32_hash_fold() 1045 n->fshift = s->hmask ? ffs(ntohl(s->hmask)) - 1 : 0; in u32_change()
|