| /linux/arch/powerpc/mm/nohash/ |
| H A D | tlb.c | 141 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 D | e500_hugetlbpage.c | 123 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 D | tlb_64e.c | 56 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 D | e500.c | 100 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/arch/x86/kernel/ |
| H A D | callthunks.c | 182 unsigned int tsize = SKL_TMPL_SIZE; in patch_dest() local 184 u8 *pad = dest - tsize; in patch_dest() 186 memcpy(insn_buff, skl_call_thunk_template, tsize); in patch_dest() 187 text_poke_apply_relocation(insn_buff, pad, tsize, skl_call_thunk_template, tsize); in patch_dest() 190 if (!bcmp(pad, insn_buff, tsize)) in patch_dest() 194 if (bcmp(pad, nops, tsize)) { in patch_dest() 200 memcpy(pad, insn_buff, tsize); in patch_dest() 202 text_poke_copy_locked(pad, insn_buff, tsize, true); in patch_dest()
|
| /linux/arch/powerpc/mm/ |
| H A D | mmu_decl.h | 53 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/drivers/of/ |
| H A D | module.c | 17 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/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_main_regs.h | 2673 __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,\ 2914 __REG(TARGET_DEV10G, t, regs->tsize[TC_DEV10G], 436, 0, 1, 52, 20, 0, \ [all …]
|
| /linux/arch/powerpc/kvm/ |
| H A D | e500_mmu_host.c | 304 int tsize, struct tlbe_priv *tlbe, u64 gvaddr, in kvmppc_e500_setup_stlbe() argument 314 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe() 330 int tsize = BOOK3E_PAGESZ_4K; in kvmppc_e500_shadow_map() local 412 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map() 419 tsize = min(psize - PAGE_SHIFT + BOOK3E_PAGESZ_4K, tsize); in kvmppc_e500_shadow_map() 425 tsize = max(BOOK3E_PAGESZ_4K, tsize & ~1); in kvmppc_e500_shadow_map() 434 for (; tsize > BOOK3E_PAGESZ_4K; tsize -= 2) { in kvmppc_e500_shadow_map() 436 tsize_pages = 1UL << (tsize - 2); in kvmppc_e500_shadow_map() 456 kvmppc_e500_setup_stlbe(&vcpu_e500->vcpu, gtlbe, tsize, in kvmppc_e500_shadow_map()
|
| /linux/lib/crypto/mpi/ |
| H A D | mpi-pow.c | 39 mpi_size_t tsize = 0; /* to avoid compiler warning */ in mpi_powm() local 188 tsize = 2 * rsize; in mpi_powm() 190 mpi_alloc_limb_space(tsize); in mpi_powm() 193 } else if (tsize < (2 * rsize)) { in mpi_powm() 195 tsize = 2 * rsize; in mpi_powm() 197 mpi_alloc_limb_space(tsize); in mpi_powm()
|
| /linux/arch/powerpc/include/asm/nohash/ |
| H A D | hugetlb-e500.h | 17 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 D | tlbflush.h | 70 int tsize, int ind); 77 int tsize, int ind);
|
| /linux/security/apparmor/ |
| H A D | match.c | 38 size_t tsize; in unpack_table() local 60 tsize = table_size(th.td_lolen, th.td_flags); in unpack_table() 61 if (bsize < tsize) in unpack_table() 64 table = kvzalloc(tsize, GFP_KERNEL); in unpack_table() 279 size_t tsize; in remap_data16_to_data32() local 282 tsize = table_size(old->td_lolen, YYTD_DATA32); in remap_data16_to_data32() 283 new = kvzalloc(tsize, GFP_KERNEL); in remap_data16_to_data32()
|
| /linux/arch/mips/boot/ |
| H A D | ecoff.h | 40 int32_t tsize; /* text size in bytes, padded to DW bdry*/ member 65 N_TXTOFF(f, a) + (a).tsize;
|
| H A D | elf2ecoff.c | 236 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/drivers/accel/habanalabs/include/goya/ |
| H A D | goya_packets.h | 118 __le32 tsize; member 125 __le32 tsize; member
|
| /linux/arch/alpha/include/uapi/asm/ |
| H A D | a.out.h | 29 __u64 tsize; member 66 #define a_text ah.tsize
|
| /linux/drivers/accel/habanalabs/include/gaudi2/ |
| H A D | gaudi2_packets.h | 157 __le32 tsize; member 192 __le32 tsize; member
|
| /linux/drivers/accel/habanalabs/include/gaudi/ |
| H A D | gaudi_packets.h | 158 __le32 tsize; member 189 __le32 tsize; member
|
| /linux/fs/nfs/ |
| H A D | proc.c | 86 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() 582 info->rtpref = fsinfo.tsize; in nfs_proc_fsinfo() 585 info->wtpref = fsinfo.tsize; in nfs_proc_fsinfo() 587 info->dtpref = fsinfo.tsize; in nfs_proc_fsinfo()
|
| /linux/net/sched/ |
| H A D | sch_api.c | 488 unsigned int tsize = 0; in qdisc_get_stab() local 503 if (s->tsize > 0) { in qdisc_get_stab() 509 tsize = nla_len(tb[TCA_STAB_DATA]) / sizeof(u16); in qdisc_get_stab() 512 if (tsize != s->tsize || (!tab && tsize > 0)) { in qdisc_get_stab() 520 if (tsize > 0 && in qdisc_get_stab() 521 memcmp(stab->data, tab, flex_array_size(stab, data, tsize))) in qdisc_get_stab() 533 stab = kmalloc_flex(*stab, data, tsize); in qdisc_get_stab() 539 if (tsize > 0) in qdisc_get_stab() 540 memcpy(stab->data, tab, flex_array_size(stab, data, tsize)); in qdisc_get_stab() 582 if (unlikely(!stab->szopts.tsize)) in __qdisc_calculate_pkt_len() [all …]
|
| /linux/drivers/pci/msi/ |
| H A D | msi.c | 659 static void msix_mask_all(void __iomem *base, int tsize) in msix_mask_all() argument 664 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/net/core/ |
| H A D | xdp.c | 663 u32 tsize; in xdp_build_skb_from_buff() local 665 tsize = sinfo->xdp_frags_truesize ? : nr_frags * xdp->frame_sz; in xdp_build_skb_from_buff() 667 tsize, xdp_buff_get_skb_flags(xdp)); 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 xdp_update_skb_frags_info(skb, nr_frags, xinfo->xdp_frags_size, tsize, in xdp_copy_frags_from_zc()
|
| /linux/net/netfilter/ |
| H A D | x_tables.c | 1160 u_int16_t tsize = ct->u.user.target_size; in xt_compat_target_to_user() 1168 unsafe_memcpy(t->data, ct->data, tsize - sizeof(*ct), in xt_compat_target_to_user() 1171 tsize += off; in xt_compat_target_to_user() 1172 t->u.user.target_size = tsize; in xt_compat_target_to_user() 1178 *dstptr += tsize; in xt_compat_target_to_user() 1188 u_int16_t tsize = t->u.user.target_size - off; in xt_alloc_table_info() 1190 if (XT_OBJ_TO_USER(ct, t, target, tsize)) in xt_alloc_table_info() 1197 if (COMPAT_XT_DATA_TO_USER(ct, t, target, tsize - sizeof(*ct))) in xt_alloc_table_info() 1202 *dstptr += tsize; 1137 u_int16_t tsize = ct->u.user.target_size; xt_compat_target_from_user() local 1165 u_int16_t tsize = t->u.user.target_size - off; xt_compat_target_to_user() local
|
| /linux/drivers/accel/habanalabs/goya/ |
| H A D | goya.c | 3334 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs() 3342 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs() 3434 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host() 3441 user_dma_pkt->tsize); in goya_validate_dma_pkt_host() 3446 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host() 3453 user_dma_pkt->tsize); in goya_validate_dma_pkt_host() 3498 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host() 3502 sram_memory_addr, user_dma_pkt->tsize); in goya_validate_dma_pkt_no_host() 3507 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host() 3511 dram_memory_addr, user_dma_pkt->tsize); in goya_validate_dma_pkt_no_host() [all …]
|