Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/powerpc/mm/
Dmmu_decl.h55 unsigned int tsize, unsigned int ind) in _tlbil_va() argument
61 unsigned int tsize, unsigned int ind);
65 unsigned int tsize, unsigned int ind) in _tlbil_va() argument
73 unsigned int tsize, unsigned int ind);
76 unsigned int tsize, unsigned int ind) in _tlbivax_bcast() argument
Dtlb_nohash.c212 int tsize, int ind) in __local_flush_tlb_page() argument
219 _tlbil_va(vmaddr, pid, tsize, ind); in __local_flush_tlb_page()
240 unsigned int tsize; member
255 _tlbil_va(p->addr, p->pid, p->tsize, p->ind); in do_flush_tlb_page_ipi()
296 int tsize, int ind) in __flush_tlb_page() argument
319 _tlbivax_bcast(vmaddr, pid, tsize, ind); in __flush_tlb_page()
327 .tsize = tsize, in __flush_tlb_page()
335 _tlbil_va(vmaddr, pid, tsize, ind); in __flush_tlb_page()
416 int tsize = mmu_psize_defs[mmu_pte_psize].enc; in tlb_flush_pgtable() local
428 __flush_tlb_page(tlb->mm, start, tsize, 1); in tlb_flush_pgtable()
[all …]
Dhugetlbpage-book3e.c139 unsigned long psize, tsize, shift; in book3e_hugetlb_preload() local
154 tsize = shift - 10; in book3e_hugetlb_preload()
175 mas1 = MAS1_VALID | MAS1_TID(mm->context.id) | MAS1_TSIZE(tsize); in book3e_hugetlb_preload()
203 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page() local
205 __flush_tlb_page(vma->vm_mm, vmaddr, tsize, 0); in flush_hugetlb_page()
Dfsl_booke_mmu.c113 unsigned int tsize; in settlbcam() local
115 tsize = __ilog2(size) - 10; in settlbcam()
123 TLBCAM[index].MAS1 = MAS1_VALID | MAS1_IPROT | MAS1_TSIZE(tsize) | MAS1_TID(pid); in settlbcam()
/Linux-v4.19/arch/powerpc/kvm/
De500_mmu_host.c310 int tsize, struct tlbe_ref *ref, u64 gvaddr, in kvmppc_e500_setup_stlbe() argument
319 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe()
334 int tsize = BOOK3E_PAGESZ_4K; in kvmppc_e500_shadow_map() local
392 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
399 tsize = max(BOOK3E_PAGESZ_4K, tsize & ~1); in kvmppc_e500_shadow_map()
408 for (; tsize > BOOK3E_PAGESZ_4K; tsize -= 2) { in kvmppc_e500_shadow_map()
410 tsize_pages = 1UL << (tsize - 2); in kvmppc_e500_shadow_map()
431 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
438 tsize = min(__ilog2(psize) - 10, tsize); in kvmppc_e500_shadow_map()
444 tsize = max(BOOK3E_PAGESZ_4K, tsize & ~1); in kvmppc_e500_shadow_map()
[all …]
/Linux-v4.19/lib/mpi/
Dmpi-pow.c49 mpi_size_t tsize = 0; /* to avoid compiler warning */ in mpi_powm() local
201 tsize = 2 * rsize; in mpi_powm()
203 mpi_alloc_limb_space(tsize); in mpi_powm()
206 } else if (tsize < (2 * rsize)) { in mpi_powm()
208 tsize = 2 * rsize; in mpi_powm()
210 mpi_alloc_limb_space(tsize); in mpi_powm()
/Linux-v4.19/arch/powerpc/include/asm/nohash/
Dtlbflush.h40 int tsize, int ind);
46 int tsize, int ind);
/Linux-v4.19/drivers/ide/
Dau1xxx-ide.c324 static void auide_init_dbdma_dev(dbdev_tab_t *dev, u32 dev_id, u32 tsize, in auide_init_dbdma_dev() argument
331 dev->dev_tsize = tsize; in auide_init_dbdma_dev()
350 u32 dev_id, tsize, devwidth, flags; in auide_ddma_init() local
354 tsize = 8; /* 1 */ in auide_ddma_init()
364 auide_init_dbdma_dev(&source_dev_tab, dev_id, tsize, devwidth, in auide_ddma_init()
368 auide_init_dbdma_dev(&source_dev_tab, dev_id, tsize, devwidth, in auide_ddma_init()
373 auide_init_dbdma_dev(&target_dev_tab, (u32)DSCR_CMD0_ALWAYS, tsize, in auide_ddma_init()
/Linux-v4.19/arch/mips/boot/
Decoff.h40 int32_t tsize; /* text size in bytes, padded to DW bdry*/ member
65 N_TXTOFF(f, a) + (a).tsize;
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-v4.19/drivers/of/
Ddevice.c216 ssize_t tsize; in of_device_get_modalias() local
224 tsize = csize; in of_device_get_modalias()
231 tsize += csize; in of_device_get_modalias()
245 return tsize; in of_device_get_modalias()
/Linux-v4.19/arch/alpha/include/uapi/asm/
Da.out.h29 __u64 tsize; member
66 #define a_text ah.tsize
/Linux-v4.19/net/sched/
Dsch_api.c463 unsigned int tsize = 0; in qdisc_get_stab() local
477 if (s->tsize > 0) { in qdisc_get_stab()
483 tsize = nla_len(tb[TCA_STAB_DATA]) / sizeof(u16); in qdisc_get_stab()
486 if (tsize != s->tsize || (!tab && tsize > 0)) { in qdisc_get_stab()
494 if (tsize > 0 && memcmp(stab->data, tab, tsize * sizeof(u16))) in qdisc_get_stab()
500 stab = kmalloc(sizeof(*stab) + tsize * sizeof(u16), GFP_KERNEL); in qdisc_get_stab()
506 if (tsize > 0) in qdisc_get_stab()
507 memcpy(stab->data, tab, tsize * sizeof(u16)); in qdisc_get_stab()
554 if (unlikely(!stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
562 if (likely(slot < stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
[all …]
/Linux-v4.19/fs/nfs/
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()
566 info->rtpref = fsinfo.tsize; in nfs_proc_fsinfo()
569 info->wtpref = fsinfo.tsize; in nfs_proc_fsinfo()
571 info->dtpref = fsinfo.tsize; in nfs_proc_fsinfo()
/Linux-v4.19/arch/x86/kernel/cpu/
Dintel_rdt.c485 size_t tsize; in domain_setup_mon_state() local
496 tsize = sizeof(*d->mbm_total); in domain_setup_mon_state()
497 d->mbm_total = kcalloc(r->num_rmid, tsize, GFP_KERNEL); in domain_setup_mon_state()
504 tsize = sizeof(*d->mbm_local); in domain_setup_mon_state()
505 d->mbm_local = kcalloc(r->num_rmid, tsize, GFP_KERNEL); in domain_setup_mon_state()
/Linux-v4.19/security/apparmor/
Dmatch.c85 size_t tsize; in unpack_table() local
104 tsize = table_size(th.td_lolen, th.td_flags); in unpack_table()
105 if (bsize < tsize) in unpack_table()
108 table = kvzalloc(tsize, GFP_KERNEL); in unpack_table()
/Linux-v4.19/arch/powerpc/boot/
Drs6000.h43 unsigned char tsize[4]; /* text size in bytes, padded to FW bdry */ member
/Linux-v4.19/net/netfilter/
Dx_tables.c1123 u_int16_t tsize = ct->u.user.target_size; in xt_compat_target_from_user() local
1131 memcpy(t->data, ct->data, tsize - sizeof(*ct)); in xt_compat_target_from_user()
1136 tsize += off; in xt_compat_target_from_user()
1137 t->u.user.target_size = tsize; in xt_compat_target_from_user()
1143 *dstptr += tsize; in xt_compat_target_from_user()
1153 u_int16_t tsize = t->u.user.target_size - off; in xt_compat_target_to_user() local
1155 if (XT_OBJ_TO_USER(ct, t, target, tsize)) in xt_compat_target_to_user()
1162 if (COMPAT_XT_DATA_TO_USER(ct, t, target, tsize - sizeof(*ct))) in xt_compat_target_to_user()
1167 *dstptr += tsize; in xt_compat_target_to_user()
/Linux-v4.19/include/uapi/linux/
Dcoff.h134 char tsize[4]; /* text size in bytes, padded to FW bdry */ member
/Linux-v4.19/drivers/net/can/
Dgrcan.c937 size_t tsize, size_t rsize) in grcan_allocate_dma_buffers() argument
941 struct grcan_dma_buffer *large = rsize > tsize ? &dma->rx : &dma->tx; in grcan_allocate_dma_buffers()
942 struct grcan_dma_buffer *small = rsize > tsize ? &dma->tx : &dma->rx; in grcan_allocate_dma_buffers()
948 size_t maxs = max(tsize, rsize); in grcan_allocate_dma_buffers()
952 size_t ssize = min(tsize, rsize); in grcan_allocate_dma_buffers()
964 dma->tx.size = tsize; in grcan_allocate_dma_buffers()
/Linux-v4.19/drivers/dma/
Damba-pl08x.c1008 size_t tsize) in pl08x_lli_control_bits() argument
1058 tsize &= FTDMAC020_LLI_TRANSFER_SIZE_MASK; in pl08x_lli_control_bits()
1059 retbits |= tsize << FTDMAC020_LLI_TRANSFER_SIZE_SHIFT; in pl08x_lli_control_bits()
1101 tsize &= PL080_CONTROL_TRANSFER_SIZE_MASK; in pl08x_lli_control_bits()
1102 retbits |= tsize << PL080_CONTROL_TRANSFER_SIZE_SHIFT; in pl08x_lli_control_bits()
1415 size_t lli_len, tsize, width; in pl08x_fill_llis_for_desc() local
1431 tsize = lli_len / bd.srcbus.buswidth; in pl08x_fill_llis_for_desc()
1440 tsize); in pl08x_fill_llis_for_desc()
1442 lli_len, cctl, tsize); in pl08x_fill_llis_for_desc()
/Linux-v4.19/arch/alpha/boot/tools/
Dobjstrip.c218 fil_size = aout->ah.tsize + aout->ah.dsize; in main()
/Linux-v4.19/drivers/net/slip/
Dslhc.c114 size_t tsize = tslots * sizeof(struct cstate); in slhc_init() local
115 comp->tstate = kzalloc(tsize, GFP_KERNEL); in slhc_init()
/Linux-v4.19/scripts/dtc/
Dflattree.c409 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob() local
410 tsize += padlen; in dt_to_blob()
411 fdt.totalsize = cpu_to_fdt32(tsize); in dt_to_blob()
/Linux-v4.19/drivers/net/ethernet/alteon/
Dacenic.c2819 short tsize, i; in ace_copy() local
2825 tsize = min_t(u32, ((~dest & (ACE_WINDOW_SIZE - 1)) + 1), in ace_copy()
2830 for (i = 0; i < (tsize / 4); i++) { in ace_copy()
2845 short tsize = 0, i; in ace_clear() local
2851 tsize = min_t(u32, ((~dest & (ACE_WINDOW_SIZE - 1)) + 1), in ace_clear()
2857 for (i = 0; i < (tsize / 4); i++) { in ace_clear()
2861 dest += tsize; in ace_clear()
2862 size -= tsize; in ace_clear()

12