Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dtlb.c46 void read_tlbcam_entry(int idx, u32 *valid, u32 *tsize, unsigned long *epn, in read_tlbcam_entry() argument
56 *tsize = (_mas1 >> 7) & 0x1f; in read_tlbcam_entry()
73 u32 tsize, valid; in print_tlbcam() local
76 read_tlbcam_entry(i, &valid, &tsize, &epn, &rpn); in print_tlbcam()
80 print_size(TSIZE_TO_BYTES(tsize), "\n"); in print_tlbcam()
139 u8 ts, u8 esel, u8 tsize, u8 iprot) in set_tlb() argument
147 tsize & 1) { in set_tlb()
149 __func__, tsize, tlb, epn); in set_tlb()
154 _mas1 = FSL_BOOKE_MAS1(1, iprot, 0, ts, tsize); in set_tlb()
163 addrmap_set_entry(epn, rpn, TSIZE_TO_BYTES(tsize), esel); in set_tlb()
[all …]
H A Dcpu.c478 void read_tlbcam_entry(int idx, u32 *valid, u32 *tsize, unsigned long *epn,
580 u32 tsize, valid, ptr; in reset_tlb() local
591 read_tlbcam_entry(ddr_esel, &valid, &tsize, &epn, phys_offset); in reset_tlb()
662 u32 tsize, valid, ptr; in arch_memory_test_cleanup() local
672 read_tlbcam_entry(ddr_esel, &valid, &tsize, &epn, &rpn); in arch_memory_test_cleanup()
675 ptr += TSIZE_TO_BYTES(tsize); in arch_memory_test_cleanup()
/OK3568_Linux_fs/kernel/arch/powerpc/mm/nohash/
H A Dtlb.c204 int tsize, int ind) in __local_flush_tlb_page() argument
211 _tlbil_va(vmaddr, pid, tsize, ind); in __local_flush_tlb_page()
232 unsigned int tsize; member
247 _tlbil_va(p->addr, p->pid, p->tsize, p->ind); in do_flush_tlb_page_ipi()
288 int tsize, int ind) in __flush_tlb_page() argument
311 _tlbivax_bcast(vmaddr, pid, tsize, ind); in __flush_tlb_page()
319 .tsize = tsize, in __flush_tlb_page()
327 _tlbil_va(vmaddr, pid, tsize, ind); in __flush_tlb_page()
408 int tsize = mmu_psize_defs[mmu_pte_psize].enc; in tlb_flush_pgtable() local
420 __flush_tlb_page(tlb->mm, start, tsize, 1); in tlb_flush_pgtable()
[all …]
H 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()
H A Dfsl_booke.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()
/OK3568_Linux_fs/kernel/arch/powerpc/kvm/
H A De500_mmu_host.c307 int tsize, struct tlbe_ref *ref, u64 gvaddr, in kvmppc_e500_setup_stlbe() argument
316 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe()
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()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/mm/
H 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
/OK3568_Linux_fs/kernel/lib/mpi/
H 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()
/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dcpu_init.c433 int tsize = (gd->arch.arbiter_event_attributes & AEATR_TSIZE) in print_83xx_arb_event() local
446 printf(" Transfer Size: 0x%1x = %d bytes\n", (tbst<<3) | tsize, in print_83xx_arb_event()
447 tbst ? (tsize ? tsize : 8) : 16 + 8 * tsize); in print_83xx_arb_event()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/nohash/
H A Dtlbflush.h40 int tsize, int ind);
46 int tsize, int ind);
/OK3568_Linux_fs/kernel/drivers/of/
H A Ddevice.c224 ssize_t tsize; in of_device_get_modalias() local
233 tsize = csize; in of_device_get_modalias()
240 tsize += csize; in of_device_get_modalias()
254 return tsize; in of_device_get_modalias()
/OK3568_Linux_fs/kernel/arch/mips/boot/
H A Decoff.h40 int32_t tsize; /* text size in bytes, padded to DW bdry*/ member
65 N_TXTOFF(f, a) + (a).tsize;
H 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()
/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Ddevice.c553 size_t tsize = strlen(get_time()) + 1; in catch_log() local
558 nreads = read(profile->usbmon_fd, tbuff + tsize, sizeof(tbuff) - tsize - 1); in catch_log()
565 tbuff[tsize+nreads] = '\0'; // printf("%s", buff); in catch_log()
567 if (!strstr(tbuff+tsize, filter)) in catch_log()
571 tbuff[tsize-1] = ' '; in catch_log()
/OK3568_Linux_fs/kernel/drivers/misc/habanalabs/include/goya/
H A Dgoya_packets.h130 __le32 tsize; member
137 __le32 tsize; member
/OK3568_Linux_fs/kernel/arch/alpha/include/uapi/asm/
H A Da.out.h29 __u64 tsize; member
66 #define a_text ah.tsize
/OK3568_Linux_fs/kernel/drivers/misc/habanalabs/include/gaudi/
H A Dgaudi_packets.h179 __le32 tsize; member
210 __le32 tsize; member
/OK3568_Linux_fs/kernel/net/sched/
H 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 && memcmp(stab->data, tab, tsize * sizeof(u16))) in qdisc_get_stab()
522 stab = kmalloc(sizeof(*stab) + tsize * sizeof(u16), GFP_KERNEL); in qdisc_get_stab()
528 if (tsize > 0) in qdisc_get_stab()
529 memcpy(stab->data, tab, tsize * sizeof(u16)); in qdisc_get_stab()
571 if (unlikely(!stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
579 if (likely(slot < stab->szopts.tsize)) in __qdisc_calculate_pkt_len()
[all …]
/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/
H A Drtmpdump.c304 off_t tsize = 0; in GetLastKeyframe() local
312 if (size - tsize < 13) in GetLastKeyframe()
318 fseeko(file, size - tsize - 4, SEEK_SET); in GetLastKeyframe()
342 tsize += prevTagSize + 4; in GetLastKeyframe()
345 fseeko(file, size - tsize, SEEK_SET); in GetLastKeyframe()
384 fseeko(file, size - tsize + 11, SEEK_SET); in GetLastKeyframe()
430 fseeko(file, size - tsize + prevTagSize + 4, SEEK_SET); in GetLastKeyframe()
/OK3568_Linux_fs/kernel/fs/nfs/
H 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()
/OK3568_Linux_fs/u-boot/arch/powerpc/include/asm/
H A Dmmu.h446 #define FSL_BOOKE_MAS1(v,iprot,tid,ts,tsize) \ argument
451 (MAS1_TSIZE(tsize)))
500 u8 ts, u8 esel, u8 tsize, u8 iprot);
/OK3568_Linux_fs/kernel/security/apparmor/
H 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()
/OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/resctrl/
H A Dcore.c512 size_t tsize; in domain_setup_mon_state() local
521 tsize = sizeof(*d->mbm_total); in domain_setup_mon_state()
522 d->mbm_total = kcalloc(r->num_rmid, tsize, GFP_KERNEL); in domain_setup_mon_state()
529 tsize = sizeof(*d->mbm_local); in domain_setup_mon_state()
530 d->mbm_local = kcalloc(r->num_rmid, tsize, GFP_KERNEL); in domain_setup_mon_state()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dx_tables.c1117 u_int16_t tsize = ct->u.user.target_size; in xt_compat_target_from_user() local
1125 memcpy(t->data, ct->data, tsize - sizeof(*ct)); in xt_compat_target_from_user()
1127 tsize += off; in xt_compat_target_from_user()
1128 t->u.user.target_size = tsize; in xt_compat_target_from_user()
1134 *dstptr += tsize; in xt_compat_target_from_user()
1144 u_int16_t tsize = t->u.user.target_size - off; in xt_compat_target_to_user() local
1146 if (XT_OBJ_TO_USER(ct, t, target, tsize)) in xt_compat_target_to_user()
1153 if (COMPAT_XT_DATA_TO_USER(ct, t, target, tsize - sizeof(*ct))) in xt_compat_target_to_user()
1158 *dstptr += tsize; in xt_compat_target_to_user()
/OK3568_Linux_fs/kernel/drivers/misc/habanalabs/goya/
H A Dgoya.c3161 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs()
3169 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs()
3262 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3269 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3274 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3281 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3326 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3330 sram_memory_addr, user_dma_pkt->tsize); in goya_validate_dma_pkt_no_host()
3335 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3339 dram_memory_addr, user_dma_pkt->tsize); in goya_validate_dma_pkt_no_host()
[all …]

123