Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/arch/powerpc/mm/nohash/
A Dtlb.c170 int tsize, int ind) in __local_flush_tlb_page() argument
177 _tlbil_va(vmaddr, pid, tsize, ind); in __local_flush_tlb_page()
207 unsigned int tsize; member
222 _tlbil_va(p->addr, p->pid, p->tsize, p->ind); in do_flush_tlb_page_ipi()
263 int tsize, int ind) in __flush_tlb_page() argument
286 _tlbivax_bcast(vmaddr, pid, tsize, ind); in __flush_tlb_page()
294 .tsize = tsize, in __flush_tlb_page()
302 _tlbil_va(vmaddr, pid, tsize, ind); in __flush_tlb_page()
385 int tsize = mmu_psize_defs[mmu_pte_psize].enc; in tlb_flush_pgtable() local
397 __flush_tlb_page(tlb->mm, start, tsize, 1); in tlb_flush_pgtable()
[all …]
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 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.3-rc2/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-6.3-rc2/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-6.3-rc2/lib/mpi/
A Dmpi-pow.c37 mpi_size_t tsize = 0; /* to avoid compiler warning */ in mpi_powm() local
187 tsize = 2 * rsize; in mpi_powm()
189 mpi_alloc_limb_space(tsize); in mpi_powm()
192 } else if (tsize < (2 * rsize)) { in mpi_powm()
194 tsize = 2 * rsize; in mpi_powm()
196 mpi_alloc_limb_space(tsize); in mpi_powm()
/linux-6.3-rc2/arch/x86/kernel/
A Dcallthunks.c186 unsigned int tsize = SKL_TMPL_SIZE; in patch_dest() local
187 u8 *pad = dest - tsize; in patch_dest()
190 if (!bcmp(pad, skl_call_thunk_template, tsize)) in patch_dest()
194 if (bcmp(pad, nops, tsize)) { in patch_dest()
200 memcpy(pad, skl_call_thunk_template, tsize); in patch_dest()
202 text_poke_copy_locked(pad, skl_call_thunk_template, tsize, true); in patch_dest()
/linux-6.3-rc2/arch/powerpc/include/asm/nohash/
A Dtlbflush.h70 int tsize, int ind);
77 int tsize, int ind);
/linux-6.3-rc2/drivers/accel/habanalabs/include/goya/
A Dgoya_packets.h118 __le32 tsize; member
125 __le32 tsize; member
/linux-6.3-rc2/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-6.3-rc2/arch/alpha/include/uapi/asm/
A Da.out.h29 __u64 tsize; member
66 #define a_text ah.tsize
/linux-6.3-rc2/drivers/of/
A Ddevice.c257 ssize_t tsize; in of_device_get_modalias() local
266 tsize = csize; in of_device_get_modalias()
273 tsize += csize; in of_device_get_modalias()
287 return tsize; in of_device_get_modalias()
/linux-6.3-rc2/drivers/accel/habanalabs/include/gaudi2/
A Dgaudi2_packets.h157 __le32 tsize; member
192 __le32 tsize; member
/linux-6.3-rc2/drivers/accel/habanalabs/include/gaudi/
A Dgaudi_packets.h158 __le32 tsize; member
189 __le32 tsize; member
/linux-6.3-rc2/net/sched/
A Dsch_api.c480 unsigned int tsize = 0; in qdisc_get_stab() local
495 if (s->tsize > 0) { in qdisc_get_stab()
501 tsize = nla_len(tb[TCA_STAB_DATA]) / sizeof(u16); in qdisc_get_stab()
504 if (tsize != s->tsize || (!tab && tsize > 0)) { in qdisc_get_stab()
512 if (tsize > 0 && in qdisc_get_stab()
531 if (tsize > 0) in qdisc_get_stab()
574 if (unlikely(!stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
582 if (likely(slot < stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
585 pkt_len = stab->data[stab->szopts.tsize - 1] * in __qdisc_calculate_pkt_len()
586 (slot / stab->szopts.tsize) + in __qdisc_calculate_pkt_len()
[all …]
/linux-6.3-rc2/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()
576 info->rtpref = fsinfo.tsize; in nfs_proc_fsinfo()
579 info->wtpref = fsinfo.tsize; in nfs_proc_fsinfo()
581 info->dtpref = fsinfo.tsize; in nfs_proc_fsinfo()
/linux-6.3-rc2/drivers/pci/msi/
A Dmsi.c642 static void msix_mask_all(void __iomem *base, int tsize) in msix_mask_all() argument
650 for (i = 0; i < tsize; i++, base += PCI_MSIX_ENTRY_SIZE) in msix_mask_all()
702 int ret, tsize; in msix_capability_init() local
718 tsize = msix_table_size(control); in msix_capability_init()
719 dev->msix_base = msix_map_region(dev, tsize); in msix_capability_init()
740 msix_mask_all(dev->msix_base, tsize); in msix_capability_init()
/linux-6.3-rc2/arch/x86/kernel/cpu/resctrl/
A Dcore.c469 size_t tsize; in arch_domain_mbm_alloc() local
472 tsize = sizeof(*hw_dom->arch_mbm_total); in arch_domain_mbm_alloc()
473 hw_dom->arch_mbm_total = kcalloc(num_rmid, tsize, GFP_KERNEL); in arch_domain_mbm_alloc()
478 tsize = sizeof(*hw_dom->arch_mbm_local); in arch_domain_mbm_alloc()
479 hw_dom->arch_mbm_local = kcalloc(num_rmid, tsize, GFP_KERNEL); in arch_domain_mbm_alloc()
/linux-6.3-rc2/security/apparmor/
A Dmatch.c81 size_t tsize; in unpack_table() local
103 tsize = table_size(th.td_lolen, th.td_flags); in unpack_table()
104 if (bsize < tsize) in unpack_table()
107 table = kvzalloc(tsize, GFP_KERNEL); in unpack_table()
/linux-6.3-rc2/net/netfilter/
A Dx_tables.c1137 u_int16_t tsize = ct->u.user.target_size; in xt_compat_target_from_user() local
1145 memcpy(t->data, ct->data, tsize - sizeof(*ct)); in xt_compat_target_from_user()
1147 tsize += off; in xt_compat_target_from_user()
1148 t->u.user.target_size = tsize; in xt_compat_target_from_user()
1154 *dstptr += tsize; in xt_compat_target_from_user()
1164 u_int16_t tsize = t->u.user.target_size - off; in xt_compat_target_to_user() local
1166 if (XT_OBJ_TO_USER(ct, t, target, tsize)) in xt_compat_target_to_user()
1173 if (COMPAT_XT_DATA_TO_USER(ct, t, target, tsize - sizeof(*ct))) in xt_compat_target_to_user()
1178 *dstptr += tsize; in xt_compat_target_to_user()
/linux-6.3-rc2/arch/powerpc/boot/
A Drs6000.h43 unsigned char tsize[4]; /* text size in bytes, padded to FW bdry */ member
/linux-6.3-rc2/drivers/accel/habanalabs/goya/
A Dgoya.c3441 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3448 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3453 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3460 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3505 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3514 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3550 if (user_dma_pkt->tsize == 0) { in goya_validate_dma_pkt_no_mmu()
3590 if (user_dma_pkt->tsize == 0) { in goya_validate_dma_pkt_mmu()
3780 (user_dma_pkt->tsize == 0)) { in goya_patch_dma_packet()
3800 le32_to_cpu(user_dma_pkt->tsize), in goya_patch_dma_packet()
[all …]
/linux-6.3-rc2/include/uapi/linux/
A Dcoff.h137 char tsize[4]; /* text size in bytes, padded to FW bdry */ member
/linux-6.3-rc2/drivers/net/can/
A Dgrcan.c933 size_t tsize, size_t rsize) in grcan_allocate_dma_buffers() argument
937 struct grcan_dma_buffer *large = rsize > tsize ? &dma->rx : &dma->tx; in grcan_allocate_dma_buffers()
938 struct grcan_dma_buffer *small = rsize > tsize ? &dma->tx : &dma->rx; in grcan_allocate_dma_buffers()
944 size_t maxs = max(tsize, rsize); in grcan_allocate_dma_buffers()
948 size_t ssize = min(tsize, rsize); in grcan_allocate_dma_buffers()
960 dma->tx.size = tsize; in grcan_allocate_dma_buffers()

Completed in 48 milliseconds

12