Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/mm/nohash/
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()
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()
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()
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/drivers/of/
A Dmodule.c17 ssize_t tsize; in of_modalias() local
31 tsize = csize; in of_modalias()
39 tsize += csize; in of_modalias()
53 return tsize; in of_modalias()
/linux/arch/x86/kernel/
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/arch/powerpc/mm/
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/arch/powerpc/kvm/
A De500_mmu_host.c307 int tsize, struct tlbe_ref *ref, u64 gvaddr, in kvmppc_e500_setup_stlbe() argument
331 int tsize = BOOK3E_PAGESZ_4K; in kvmppc_e500_shadow_map() local
389 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
396 tsize = max(BOOK3E_PAGESZ_4K, tsize & ~1); in kvmppc_e500_shadow_map()
405 for (; tsize > BOOK3E_PAGESZ_4K; tsize -= 2) { in kvmppc_e500_shadow_map()
407 tsize_pages = 1UL << (tsize - 2); in kvmppc_e500_shadow_map()
428 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
435 tsize = min(__ilog2(psize) - 10, tsize); in kvmppc_e500_shadow_map()
441 tsize = max(BOOK3E_PAGESZ_4K, tsize & ~1); in kvmppc_e500_shadow_map()
448 tsize_pages = 1UL << (tsize + 10 - PAGE_SHIFT); in kvmppc_e500_shadow_map()
[all …]
/linux/lib/crypto/mpi/
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/arch/powerpc/include/asm/nohash/
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()
A Dtlbflush.h70 int tsize, int ind);
77 int tsize, int ind);
/linux/drivers/accel/habanalabs/include/goya/
A Dgoya_packets.h118 __le32 tsize; member
125 __le32 tsize; member
/linux/arch/mips/boot/
A Decoff.h40 int32_t tsize; /* text size in bytes, padded to DW bdry*/ member
65 N_TXTOFF(f, a) + (a).tsize;
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/arch/alpha/include/uapi/asm/
A Da.out.h29 __u64 tsize; member
66 #define a_text ah.tsize
/linux/drivers/accel/habanalabs/include/gaudi2/
A Dgaudi2_packets.h157 __le32 tsize; member
192 __le32 tsize; member
/linux/drivers/accel/habanalabs/include/gaudi/
A Dgaudi_packets.h158 __le32 tsize; member
189 __le32 tsize; member
/linux/drivers/pci/msi/
A Dmsi.c653 static void msix_mask_all(void __iomem *base, int tsize) in msix_mask_all() argument
661 for (i = 0; i < tsize; i++, base += PCI_MSIX_ENTRY_SIZE) in msix_mask_all()
713 int ret, tsize; in msix_capability_init() local
729 tsize = msix_table_size(control); in msix_capability_init()
730 dev->msix_base = msix_map_region(dev, tsize); in msix_capability_init()
751 msix_mask_all(dev->msix_base, tsize); in msix_capability_init()
/linux/fs/nfs/
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()
577 info->rtpref = fsinfo.tsize; in nfs_proc_fsinfo()
580 info->wtpref = fsinfo.tsize; in nfs_proc_fsinfo()
582 info->dtpref = fsinfo.tsize; in nfs_proc_fsinfo()
/linux/net/sched/
A Dsch_api.c481 unsigned int tsize = 0; in qdisc_get_stab() local
496 if (s->tsize > 0) { in qdisc_get_stab()
502 tsize = nla_len(tb[TCA_STAB_DATA]) / sizeof(u16); in qdisc_get_stab()
505 if (tsize != s->tsize || (!tab && tsize > 0)) { in qdisc_get_stab()
513 if (tsize > 0 && in qdisc_get_stab()
532 if (tsize > 0) in qdisc_get_stab()
575 if (unlikely(!stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
583 if (likely(slot < stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
586 pkt_len = stab->data[stab->szopts.tsize - 1] * in __qdisc_calculate_pkt_len()
587 (slot / stab->szopts.tsize) + in __qdisc_calculate_pkt_len()
[all …]
/linux/security/apparmor/
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()
/linux/arch/x86/kernel/cpu/resctrl/
A Dcore.c493 size_t tsize; in arch_domain_mbm_alloc() local
496 tsize = sizeof(*hw_dom->arch_mbm_total); in arch_domain_mbm_alloc()
497 hw_dom->arch_mbm_total = kcalloc(num_rmid, tsize, GFP_KERNEL); in arch_domain_mbm_alloc()
502 tsize = sizeof(*hw_dom->arch_mbm_local); in arch_domain_mbm_alloc()
503 hw_dom->arch_mbm_local = kcalloc(num_rmid, tsize, GFP_KERNEL); in arch_domain_mbm_alloc()
/linux/net/netfilter/
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()
/linux/arch/powerpc/boot/
A Drs6000.h43 unsigned char tsize[4]; /* text size in bytes, padded to FW bdry */ member
/linux/drivers/accel/habanalabs/goya/
A Dgoya.c3435 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3442 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3447 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3454 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3499 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3508 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3544 if (user_dma_pkt->tsize == 0) { in goya_validate_dma_pkt_no_mmu()
3584 if (user_dma_pkt->tsize == 0) { in goya_validate_dma_pkt_mmu()
3774 (user_dma_pkt->tsize == 0)) { in goya_patch_dma_packet()
3794 le32_to_cpu(user_dma_pkt->tsize), in goya_patch_dma_packet()
[all …]

Completed in 71 milliseconds

12