Home
last modified time | relevance | path

Searched refs:tsize (Results 1 – 25 of 56) sorted by relevance

123

/linux-6.15/arch/powerpc/mm/nohash/
H A Dtlb.c141 int tsize, int ind) in __local_flush_tlb_page() argument
148 _tlbil_va(vmaddr, pid, tsize, ind); in __local_flush_tlb_page()
178 unsigned int tsize; member
193 _tlbil_va(p->addr, p->pid, p->tsize, p->ind); in do_flush_tlb_page_ipi()
234 int tsize, int ind) in __flush_tlb_page() argument
257 _tlbivax_bcast(vmaddr, pid, tsize, ind); in __flush_tlb_page()
265 .tsize = tsize, in __flush_tlb_page()
273 _tlbil_va(vmaddr, pid, tsize, ind); in __flush_tlb_page()
H A De500_hugetlbpage.c123 unsigned long psize, tsize, shift; in book3e_hugetlb_preload() local
135 tsize = shift - 10; in book3e_hugetlb_preload()
154 mas1 = MAS1_VALID | MAS1_TID(mm->context.id) | MAS1_TSIZE(tsize); in book3e_hugetlb_preload()
190 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page() local
192 __flush_tlb_page(vma->vm_mm, vmaddr, tsize, 0); in flush_hugetlb_page()
H A Dtlb_64e.c56 int tsize = mmu_psize_defs[mmu_pte_psize].shift - 10; in tlb_flush_pgtable() local
68 __flush_tlb_page(tlb->mm, start, tsize, 1); in tlb_flush_pgtable()
78 __flush_tlb_page(tlb->mm, vpte, tsize, 0); in tlb_flush_pgtable()
H A De500.c100 unsigned int tsize; in settlbcam() local
102 tsize = __ilog2(size) - 10; in settlbcam()
110 TLBCAM[index].MAS1 = MAS1_VALID | MAS1_IPROT | MAS1_TSIZE(tsize) | MAS1_TID(pid); in settlbcam()
/linux-6.15/arch/x86/kernel/
H A Dcallthunks.c183 unsigned int tsize = SKL_TMPL_SIZE; in patch_dest() local
185 u8 *pad = dest - tsize; in patch_dest()
187 memcpy(insn_buff, skl_call_thunk_template, tsize); in patch_dest()
188 apply_relocation(insn_buff, pad, tsize, skl_call_thunk_template, tsize); in patch_dest()
191 if (!bcmp(pad, insn_buff, tsize)) in patch_dest()
195 if (bcmp(pad, nops, tsize)) { in patch_dest()
201 memcpy(pad, insn_buff, tsize); in patch_dest()
203 text_poke_copy_locked(pad, insn_buff, tsize, true); in patch_dest()
/linux-6.15/drivers/of/
H A Dmodule.c17 ssize_t tsize; in of_modalias() local
31 tsize = csize; in of_modalias()
39 tsize += csize; in of_modalias()
51 return tsize; in of_modalias()
/linux-6.15/arch/powerpc/mm/
H A Dmmu_decl.h53 unsigned int tsize, unsigned int ind) in _tlbil_va() argument
60 unsigned int tsize, unsigned int ind);
64 unsigned int tsize, unsigned int ind) in _tlbil_va() argument
72 unsigned int tsize, unsigned int ind);
75 unsigned int tsize, unsigned int ind) in _tlbivax_bcast() argument
/linux-6.15/arch/powerpc/kvm/
H A De500_mmu_host.c307 int tsize, struct tlbe_ref *ref, u64 gvaddr, in kvmppc_e500_setup_stlbe() argument
317 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe()
333 int tsize = BOOK3E_PAGESZ_4K; in kvmppc_e500_shadow_map() local
415 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
422 tsize = min(psize - PAGE_SHIFT + BOOK3E_PAGESZ_4K, tsize); in kvmppc_e500_shadow_map()
428 tsize = max(BOOK3E_PAGESZ_4K, tsize & ~1); in kvmppc_e500_shadow_map()
437 for (; tsize > BOOK3E_PAGESZ_4K; tsize -= 2) { in kvmppc_e500_shadow_map()
439 tsize_pages = 1UL << (tsize - 2); in kvmppc_e500_shadow_map()
459 kvmppc_e500_setup_stlbe(&vcpu_e500->vcpu, gtlbe, tsize, in kvmppc_e500_shadow_map()
/linux-6.15/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main_regs.h2673 __REG(TARGET_DEV2G5, t, regs->tsize[TC_DEV2G5], 200, g, 2, \
2692 __REG(TARGET_DEV2G5, t, regs->tsize[TC_DEV2G5], 200, g, 2, \
2711 __REG(TARGET_DEV10G, t, regs->tsize[TC_DEV10G], 0, 0, 1, 60, 0, 0, 1, \
2728 __REG(TARGET_DEV10G, t, regs->tsize[TC_DEV10G], 0, 0, 1, 60, 8, 0, 1, \
2745 __REG(TARGET_DEV10G, t, regs->tsize[TC_DEV10G], 0, 0, 1, 60, 12, 0, 1, \
2756 __REG(TARGET_DEV10G, t, regs->tsize[TC_DEV10G], 0, 0, 1, 60, 16, r, 3, \
2773 __REG(TARGET_DEV10G, t, regs->tsize[TC_DEV10G], 0, 0, 1, 60, 28, 0, 1, \
2820 __REG(TARGET_DEV10G, t, regs->tsize[TC_DEV10G], 0, 0, 1, 60, 48, 0, 1, \
2855 __REG(TARGET_DEV10G, t, regs->tsize[TC_DEV10G], 436, 0, 1, 52, 0, 0, 1,\
3661 __REG(TARGET_DEV5G, t, regs->tsize[TC_DEV5G], 0, 0, 1, 60, 0, 0, 1, 4)
[all …]
/linux-6.15/lib/crypto/mpi/
H A Dmpi-pow.c37 mpi_size_t tsize = 0; /* to avoid compiler warning */ in mpi_powm() local
186 tsize = 2 * rsize; in mpi_powm()
188 mpi_alloc_limb_space(tsize); in mpi_powm()
191 } else if (tsize < (2 * rsize)) { in mpi_powm()
193 tsize = 2 * rsize; in mpi_powm()
195 mpi_alloc_limb_space(tsize); in mpi_powm()
/linux-6.15/arch/powerpc/include/asm/nohash/
H A Dhugetlb-e500.h17 unsigned int tsize = shift - _PAGE_PSIZE_SHIFT_OFFSET; in arch_make_huge_pte() local
18 pte_basic_t val = (tsize << _PAGE_PSIZE_SHIFT) & _PAGE_PSIZE_MSK; in arch_make_huge_pte()
H A Dtlbflush.h70 int tsize, int ind);
77 int tsize, int ind);
/linux-6.15/arch/mips/boot/
H A Decoff.h40 int32_t tsize; /* text size in bytes, padded to DW bdry*/ member
65 N_TXTOFF(f, a) + (a).tsize;
H A Delf2ecoff.c236 a->tsize = swab32(a->tsize); in convert_ecoff_aouthdr()
422 eah.tsize = text.len; in main()
465 esecs[0].s_size = eah.tsize; in main()
/linux-6.15/drivers/accel/habanalabs/include/goya/
H A Dgoya_packets.h118 __le32 tsize; member
125 __le32 tsize; member
/linux-6.15/arch/alpha/include/uapi/asm/
H A Da.out.h29 __u64 tsize; member
66 #define a_text ah.tsize
/linux-6.15/security/apparmor/
H A Dmatch.c37 size_t tsize; in unpack_table() local
59 tsize = table_size(th.td_lolen, th.td_flags); in unpack_table()
60 if (bsize < tsize) in unpack_table()
63 table = kvzalloc(tsize, GFP_KERNEL); in unpack_table()
263 size_t tsize; in remap_data16_to_data32() local
266 tsize = table_size(old->td_lolen, YYTD_DATA32); in remap_data16_to_data32()
267 new = kvzalloc(tsize, GFP_KERNEL); in remap_data16_to_data32()
/linux-6.15/drivers/accel/habanalabs/include/gaudi2/
H A Dgaudi2_packets.h157 __le32 tsize; member
192 __le32 tsize; member
/linux-6.15/drivers/accel/habanalabs/include/gaudi/
H A Dgaudi_packets.h158 __le32 tsize; member
189 __le32 tsize; member
/linux-6.15/net/core/
H A Dxdp.c662 u32 tsize; in xdp_build_skb_from_buff() local
664 tsize = sinfo->xdp_frags_truesize ? : nr_frags * xdp->frame_sz; in xdp_build_skb_from_buff()
666 sinfo->xdp_frags_size, tsize, in xdp_build_skb_from_buff()
693 u32 nr_frags, tsize = 0; in xdp_copy_frags_from_zc() local
715 tsize += truesize; in xdp_copy_frags_from_zc()
720 tsize, pfmemalloc); in xdp_copy_frags_from_zc()
/linux-6.15/drivers/pci/msi/
H A Dmsi.c660 static void msix_mask_all(void __iomem *base, int tsize) in msix_mask_all() argument
665 for (i = 0; i < tsize; i++, base += PCI_MSIX_ENTRY_SIZE) in msix_mask_all()
717 int ret, tsize; in msix_capability_init() local
733 tsize = msix_table_size(control); in msix_capability_init()
734 dev->msix_base = msix_map_region(dev, tsize); in msix_capability_init()
756 msix_mask_all(dev->msix_base, tsize); in msix_capability_init()
/linux-6.15/fs/nfs/
H A Dproc.c86 info->rtpref = fsinfo.tsize; in nfs_proc_get_root()
89 info->wtpref = fsinfo.tsize; in nfs_proc_get_root()
91 info->dtpref = fsinfo.tsize; in nfs_proc_get_root()
581 info->rtpref = fsinfo.tsize; in nfs_proc_fsinfo()
584 info->wtpref = fsinfo.tsize; in nfs_proc_fsinfo()
586 info->dtpref = fsinfo.tsize; in nfs_proc_fsinfo()
/linux-6.15/net/sched/
H A Dsch_api.c482 unsigned int tsize = 0; in qdisc_get_stab() local
497 if (s->tsize > 0) { in qdisc_get_stab()
503 tsize = nla_len(tb[TCA_STAB_DATA]) / sizeof(u16); in qdisc_get_stab()
506 if (tsize != s->tsize || (!tab && tsize > 0)) { in qdisc_get_stab()
514 if (tsize > 0 && in qdisc_get_stab()
533 if (tsize > 0) in qdisc_get_stab()
576 if (unlikely(!stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
584 if (likely(slot < stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
587 pkt_len = stab->data[stab->szopts.tsize - 1] * in __qdisc_calculate_pkt_len()
588 (slot / stab->szopts.tsize) + in __qdisc_calculate_pkt_len()
[all …]
/linux-6.15/arch/x86/kernel/cpu/resctrl/
H A Dcore.c421 size_t tsize; in arch_domain_mbm_alloc() local
424 tsize = sizeof(*hw_dom->arch_mbm_total); in arch_domain_mbm_alloc()
425 hw_dom->arch_mbm_total = kcalloc(num_rmid, tsize, GFP_KERNEL); in arch_domain_mbm_alloc()
430 tsize = sizeof(*hw_dom->arch_mbm_local); in arch_domain_mbm_alloc()
431 hw_dom->arch_mbm_local = kcalloc(num_rmid, tsize, GFP_KERNEL); in arch_domain_mbm_alloc()
/linux-6.15/net/netfilter/
H A Dx_tables.c1137 u_int16_t tsize = ct->u.user.target_size; in xt_compat_target_from_user() local
1145 unsafe_memcpy(t->data, ct->data, tsize - sizeof(*ct), in xt_compat_target_from_user()
1148 tsize += off; in xt_compat_target_from_user()
1149 t->u.user.target_size = tsize; in xt_compat_target_from_user()
1155 *dstptr += tsize; in xt_compat_target_from_user()
1165 u_int16_t tsize = t->u.user.target_size - off; in xt_compat_target_to_user() local
1167 if (XT_OBJ_TO_USER(ct, t, target, tsize)) in xt_compat_target_to_user()
1174 if (COMPAT_XT_DATA_TO_USER(ct, t, target, tsize - sizeof(*ct))) in xt_compat_target_to_user()
1179 *dstptr += tsize; in xt_compat_target_to_user()

123