| /linux/net/xfrm/ |
| H A 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() 135 __xfrm_seq_hash(u32 seq, unsigned int hmask) in __xfrm_seq_hash() argument 138 return (h ^ (h >> 10) ^ (h >> 20)) & hmask; in __xfrm_seq_hash() 141 static inline unsigned int __idx_hash(u32 index, unsigned int hmask) in __idx_hash() argument 143 return (index ^ (index >> 8)) & hmask; in __idx_hash() [all …]
|
| H A D | xfrm_policy.c | 543 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_bysel() local 549 hash = __sel_hash(sel, family, hmask, dbits, sbits); in policy_hash_bysel() 551 if (hash == hmask + 1) in policy_hash_bysel() 563 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in policy_hash_direct() local 569 hash = __addr_hash(daddr, saddr, family, hmask, dbits, sbits); in policy_hash_direct() 634 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; in xfrm_bydst_resize() local 635 unsigned int nhashmask = xfrm_new_hash_mask(hmask); in xfrm_bydst_resize() 666 unsigned int hmask = net->xfrm.policy_idx_hmask; xfrm_byidx_resize() local 692 unsigned int hmask = net->xfrm.policy_bydst[dir].hmask; xfrm_bydst_should_resize() local 706 unsigned int hmask = net->xfrm.policy_idx_hmask; xfrm_byidx_should_resize() local 4224 unsigned int hmask, sz; xfrm_policy_init() local [all...] |
| H A D | xfrm_state.c | 1119 unsigned int hmask; member 1132 ptrs->hmask = net->xfrm.state_hmask; in xfrm_hash_ptrs_get() 1143 unsigned int h = __xfrm_spi_hash(daddr, spi, proto, family, state_ptrs->hmask); in __xfrm_state_lookup_all() 1194 unsigned int h = __xfrm_spi_hash(daddr, spi, proto, family, state_ptrs->hmask); in __xfrm_state_lookup() 1285 unsigned int h = __xfrm_src_hash(daddr, saddr, family, state_ptrs->hmask); 1452 h = __xfrm_dst_hash(daddr, saddr, tmpl->reqid, encap_family, state_ptrs.hmask); in xfrm_state_find() 1487 encap_family, state_ptrs.hmask); in xfrm_state_find() 2460 h = __xfrm_spi_hash(daddr, spi, proto, family, state_ptrs.hmask);
|
| /linux/arch/riscv/include/asm/ |
| H A D | kvm_tlb.h | 61 unsigned long hbase, unsigned long hmask); 63 unsigned long hbase, unsigned long hmask, 67 unsigned long hbase, unsigned long hmask, 70 unsigned long hbase, unsigned long hmask, 75 unsigned long hbase, unsigned long hmask, 78 unsigned long hbase, unsigned long hmask, 82 unsigned long hbase, unsigned long hmask,
|
| /linux/arch/riscv/kvm/ |
| H A D | vcpu_sbi_replace.c | 52 unsigned long hmask = cp->a0; in kvm_sbi_ext_ipi_handler() local 78 if (!(hmask & (1UL << hart_bit))) in kvm_sbi_ext_ipi_handler() 88 if (hbase != -1UL && (hmask ^ sentmask)) 104 unsigned long hmask = cp->a0; in kvm_sbi_ext_rfence_handler() 111 kvm_riscv_fence_i(vcpu->kvm, hbase, hmask); in kvm_sbi_ext_rfence_handler() 117 kvm_riscv_hfence_vvma_all(vcpu->kvm, hbase, hmask, vmid); in kvm_sbi_ext_rfence_handler() 119 kvm_riscv_hfence_vvma_gva(vcpu->kvm, hbase, hmask, in kvm_sbi_ext_rfence_handler() 126 kvm_riscv_hfence_vvma_asid_all(vcpu->kvm, hbase, hmask, in kvm_sbi_ext_rfence_handler() 129 kvm_riscv_hfence_vvma_asid_gva(vcpu->kvm, hbase, hmask, cp->a2, in kvm_sbi_ext_rfence_handler() 96 unsigned long hmask = cp->a0; kvm_sbi_ext_rfence_handler() local
|
| /linux/include/linux/ |
| H A D | inetdevice.h | 216 __u32 hmask; in bad_mask() local 219 hmask = ntohl(mask); in bad_mask() 220 if (hmask & (hmask+1)) in bad_mask() 312 __u32 hmask = ntohl(mask); in inet_mask_len() local 313 if (!hmask) in inet_mask_len() 315 return 32 - ffz(~hmask); in inet_mask_len()
|
| /linux/drivers/net/wan/ |
| H A D | fsl_ucc_hdlc.h | 56 __be16 hmask; member 105 unsigned short hmask; member
|
| H A D | fsl_ucc_hdlc.c | 278 iowrite16be(priv->hmask, &priv->ucc_pram->hmask); in uhdlc_init() 1206 if (of_property_read_u16(np, "fsl,hmask", &uhdlc_priv->hmask)) in ucc_hdlc_probe() 1207 uhdlc_priv->hmask = DEFAULT_ADDR_MASK; in ucc_hdlc_probe()
|
| /linux/include/net/netns/ |
| H A D | xfrm.h | 16 unsigned int hmask; member
|
| /linux/include/media/tpg/ |
| H A D | v4l2-tpg.h | 195 unsigned hmask[TPG_MAX_PLANES]; member 442 return ((x / tpg->hdownsampling[plane]) & tpg->hmask[plane]) * in tpg_hdiv()
|
| /linux/drivers/net/ethernet/netronome/nfp/abm/ |
| H A D | cls.c | 45 if (knode->sel->hoff || knode->sel->hmask) { in nfp_abm_u32_check_knode()
|
| /linux/tools/include/uapi/linux/ |
| H A D | pkt_cls.h | 182 __be32 hmask; member
|
| /linux/arch/x86/kernel/fpu/ |
| H A D | xstate.c | 343 u32 hmask = mask >> 32; in os_xrstor_booting() local 347 XSTATE_OP(XRSTORS, xstate, lmask, hmask, err); in os_xrstor_booting() 349 XSTATE_OP(XRSTOR, xstate, lmask, hmask, err); in os_xrstor_booting()
|
| /linux/mm/ |
| H A D | hmm.c | 550 static int hmm_vma_walk_hugetlb_entry(pte_t *pte, unsigned long hmask, in hmm_vma_walk_hugetlb_entry() argument 578 pfn = pte_pfn(entry) + ((start & ~hmask) >> PAGE_SHIFT); in hmm_vma_walk_hugetlb_entry()
|
| H A D | memory-failure.c | 813 static int hwpoison_hugetlb_range(pte_t *ptep, unsigned long hmask, 773 hwpoison_hugetlb_range(pte_t * ptep,unsigned long hmask,unsigned long addr,unsigned long end,struct mm_walk * walk) hwpoison_hugetlb_range() argument
|
| H A D | mempolicy.c | 797 static int queue_folios_hugetlb(pte_t *pte, unsigned long hmask, in queue_folios_hugetlb() 774 queue_folios_hugetlb(pte_t * pte,unsigned long hmask,unsigned long addr,unsigned long end,struct mm_walk * walk) queue_folios_hugetlb() argument
|
| /linux/mm/damon/ |
| H A D | vaddr.c | 286 static int damon_mkold_hugetlb_entry(pte_t *pte, unsigned long hmask, in damon_mkold_pmd_entry() 399 static int damon_young_hugetlb_entry(pte_t *pte, unsigned long hmask, in damon_young_pmd_entry() 650 static int damon_va_probe_hugetlb_entry(pte_t *pte, unsigned long hmask, in damos_va_migrate_pmd_entry() 330 damon_mkold_hugetlb_entry(pte_t * pte,unsigned long hmask,unsigned long addr,unsigned long end,struct mm_walk * walk) damon_mkold_hugetlb_entry() argument 443 damon_young_hugetlb_entry(pte_t * pte,unsigned long hmask,unsigned long addr,unsigned long end,struct mm_walk * walk) damon_young_hugetlb_entry() argument
|
| /linux/include/uapi/linux/ |
| H A D | pkt_cls.h | 260 __be32 hmask;
|
| /linux/net/sched/ |
| H A D | cls_u32.c | 109 unsigned int h = ntohl(key & sel->hmask) >> fshift; in u32_hash_fold() 1168 n->fshift = s->hmask ? ffs(ntohl(s->hmask)) - 1 : 0; in u32_change()
|
| /linux/fs/proc/ |
| H A D | task_mmu.c | 1180 static int smaps_hugetlb_range(pte_t *pte, unsigned long hmask, in show_smap_vma_flags() 2103 static int pagemap_hugetlb_range(pte_t *ptep, unsigned long hmask, in pagemap_pmd_range_thp() 2135 ((addr & ~hmask) >> PAGE_SHIFT); in pagemap_pmd_range_thp() 2855 static int pagemap_scan_hugetlb_entry(pte_t *ptep, unsigned long hmask, in pagemap_scan_thp_entry() 3359 static int gather_hugetlb_stats(pte_t *pte, unsigned long hmask, in gather_stats() 3382 static int gather_hugetlb_stats(pte_t *pte, unsigned long hmask, in can_gather_numa_stats() 1266 smaps_hugetlb_range(pte_t * pte,unsigned long hmask,unsigned long addr,unsigned long end,struct mm_walk * walk) smaps_hugetlb_range() argument 2213 pagemap_hugetlb_range(pte_t * ptep,unsigned long hmask,unsigned long addr,unsigned long end,struct mm_walk * walk) pagemap_hugetlb_range() argument 2965 pagemap_scan_hugetlb_entry(pte_t * ptep,unsigned long hmask,unsigned long start,unsigned long end,struct mm_walk * walk) pagemap_scan_hugetlb_entry() argument 3464 gather_hugetlb_stats(pte_t * pte,unsigned long hmask,unsigned long addr,unsigned long end,struct mm_walk * walk) gather_hugetlb_stats() argument 3487 gather_hugetlb_stats(pte_t * pte,unsigned long hmask,unsigned long addr,unsigned long end,struct mm_walk * walk) gather_hugetlb_stats() argument
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | dc.c | 1087 value = (src.y1 & tegra->vmask) << 16 | (src.x1 & tegra->hmask); in __tegra_cursor_atomic_update() 1091 (drm_rect_width(&src) & tegra->hmask); in __tegra_cursor_atomic_update() 1099 value = ((y & tegra->vmask) << 16) | (x & tegra->hmask); in __tegra_cursor_atomic_update()
|