Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/mm/nohash/
A Dtlb.c205 int tsize, int ind) in __local_flush_tlb_page() argument
212 _tlbil_va(vmaddr, pid, tsize, ind); in __local_flush_tlb_page()
234 unsigned int tsize; member
249 _tlbil_va(p->addr, p->pid, p->tsize, p->ind); in do_flush_tlb_page_ipi()
290 int tsize, int ind) in __flush_tlb_page() argument
313 _tlbivax_bcast(vmaddr, pid, tsize, ind); in __flush_tlb_page()
321 .tsize = tsize, in __flush_tlb_page()
329 _tlbil_va(vmaddr, pid, tsize, ind); in __flush_tlb_page()
410 int tsize = mmu_psize_defs[mmu_pte_psize].enc; in tlb_flush_pgtable() local
422 __flush_tlb_page(tlb->mm, start, tsize, 1); in tlb_flush_pgtable()
[all …]
A Dbook3e_hugetlbpage.c130 unsigned long psize, tsize, shift; in book3e_hugetlb_preload() local
142 tsize = shift - 10; in book3e_hugetlb_preload()
161 mas1 = MAS1_VALID | MAS1_TID(mm->context.id) | MAS1_TSIZE(tsize); in book3e_hugetlb_preload()
201 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page() local
203 __flush_tlb_page(vma->vm_mm, vmaddr, tsize, 0); in flush_hugetlb_page()
A Dfsl_book3e.c106 unsigned int tsize; in settlbcam() local
108 tsize = __ilog2(size) - 10; in settlbcam()
116 TLBCAM[index].MAS1 = MAS1_VALID | MAS1_IPROT | MAS1_TSIZE(tsize) | MAS1_TID(pid); in settlbcam()
/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/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/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/arch/powerpc/include/asm/nohash/
A Dtlbflush.h53 int tsize, int ind);
60 int tsize, int ind);
/linux/drivers/of/
A Ddevice.c247 ssize_t tsize; in of_device_get_modalias() local
256 tsize = csize; in of_device_get_modalias()
263 tsize += csize; in of_device_get_modalias()
277 return tsize; in of_device_get_modalias()
/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/drivers/misc/habanalabs/include/goya/
A Dgoya_packets.h130 __le32 tsize; member
137 __le32 tsize; member
/linux/arch/alpha/include/uapi/asm/
A Da.out.h29 __u64 tsize; member
66 #define a_text ah.tsize
/linux/drivers/misc/habanalabs/include/gaudi/
A Dgaudi_packets.h158 __le32 tsize; member
189 __le32 tsize; member
/linux/net/sched/
A Dsch_api.c478 unsigned int tsize = 0; in qdisc_get_stab() local
493 if (s->tsize > 0) { in qdisc_get_stab()
499 tsize = nla_len(tb[TCA_STAB_DATA]) / sizeof(u16); in qdisc_get_stab()
502 if (tsize != s->tsize || (!tab && tsize > 0)) { in qdisc_get_stab()
510 if (tsize > 0 && in qdisc_get_stab()
529 if (tsize > 0) in qdisc_get_stab()
572 if (unlikely(!stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
580 if (likely(slot < stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
583 pkt_len = stab->data[stab->szopts.tsize - 1] * in __qdisc_calculate_pkt_len()
584 (slot / stab->szopts.tsize) + in __qdisc_calculate_pkt_len()
[all …]
/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()
575 info->rtpref = fsinfo.tsize; in nfs_proc_fsinfo()
578 info->wtpref = fsinfo.tsize; in nfs_proc_fsinfo()
580 info->dtpref = fsinfo.tsize; in nfs_proc_fsinfo()
/linux/arch/x86/kernel/cpu/resctrl/
A Dcore.c452 size_t tsize; in domain_setup_mon_state() local
461 tsize = sizeof(*d->mbm_total); in domain_setup_mon_state()
462 d->mbm_total = kcalloc(r->num_rmid, tsize, GFP_KERNEL); in domain_setup_mon_state()
469 tsize = sizeof(*d->mbm_local); in domain_setup_mon_state()
470 d->mbm_local = kcalloc(r->num_rmid, tsize, GFP_KERNEL); in domain_setup_mon_state()
/linux/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/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/drivers/pci/
A Dmsi.c677 static void msix_mask_all(void __iomem *base, int tsize) in msix_mask_all() argument
685 for (i = 0; i < tsize; i++, base += PCI_MSIX_ENTRY_SIZE) in msix_mask_all()
705 int ret, tsize; in msix_capability_init() local
718 tsize = msix_table_size(control); in msix_capability_init()
719 base = msix_map_region(dev, tsize); in msix_capability_init()
760 msix_mask_all(base, tsize); in msix_capability_init()
/linux/drivers/misc/habanalabs/goya/
A Dgoya.c3402 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3409 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3414 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3421 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3466 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3475 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3511 if (user_dma_pkt->tsize == 0) { in goya_validate_dma_pkt_no_mmu()
3551 if (user_dma_pkt->tsize == 0) { in goya_validate_dma_pkt_mmu()
3741 (user_dma_pkt->tsize == 0)) { in goya_patch_dma_packet()
3761 le32_to_cpu(user_dma_pkt->tsize), in goya_patch_dma_packet()
[all …]
/linux/arch/powerpc/boot/
A Drs6000.h43 unsigned char tsize[4]; /* text size in bytes, padded to FW bdry */ member
/linux/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()
/linux/drivers/dma/
A Damba-pl08x.c1006 size_t tsize) in pl08x_lli_control_bits() argument
1056 tsize &= FTDMAC020_LLI_TRANSFER_SIZE_MASK; in pl08x_lli_control_bits()
1057 retbits |= tsize << FTDMAC020_LLI_TRANSFER_SIZE_SHIFT; in pl08x_lli_control_bits()
1099 tsize &= PL080_CONTROL_TRANSFER_SIZE_MASK; in pl08x_lli_control_bits()
1100 retbits |= tsize << PL080_CONTROL_TRANSFER_SIZE_SHIFT; in pl08x_lli_control_bits()
1413 size_t lli_len, tsize, width; in pl08x_fill_llis_for_desc() local
1429 tsize = lli_len / bd.srcbus.buswidth; in pl08x_fill_llis_for_desc()
1438 tsize); in pl08x_fill_llis_for_desc()
1440 lli_len, cctl, tsize); in pl08x_fill_llis_for_desc()
/linux/include/uapi/linux/
A Dcoff.h137 char tsize[4]; /* text size in bytes, padded to FW bdry */ member
/linux/drivers/net/ethernet/alteon/
A Dacenic.c2812 short tsize, i; in ace_copy() local
2818 tsize = min_t(u32, ((~dest & (ACE_WINDOW_SIZE - 1)) + 1), in ace_copy()
2823 for (i = 0; i < (tsize / 4); i++) { in ace_copy()
2838 short tsize = 0, i; in ace_clear() local
2844 tsize = min_t(u32, ((~dest & (ACE_WINDOW_SIZE - 1)) + 1), in ace_clear()
2850 for (i = 0; i < (tsize / 4); i++) { in ace_clear()
2854 dest += tsize; in ace_clear()
2855 size -= tsize; in ace_clear()

Completed in 67 milliseconds

12