/linux/arch/x86/kernel/ |
H A D | callthunks.c | 184 unsigned int tsize = SKL_TMPL_SIZE; in patch_dest() local 186 u8 *pad = dest - tsize; in patch_dest() 188 memcpy(insn_buff, skl_call_thunk_template, tsize); in patch_dest() 189 apply_relocation(insn_buff, pad, tsize, skl_call_thunk_template, tsize); in patch_dest() 192 if (!bcmp(pad, insn_buff, tsize)) in patch_dest() 196 if (bcmp(pad, nops, tsize)) { in patch_dest() 202 memcpy(pad, insn_buff, tsize); in patch_dest() 204 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/arch/powerpc/mm/nohash/ |
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 | 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/powerpc/kvm/ |
H A D | e500_mmu_host.c | 307 int tsize, struct tlbe_ref *ref, u64 gvaddr, in kvmppc_e500_setup_stlbe() argument 317 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe() 333 int tsize = BOOK3E_PAGESZ_4K; in kvmppc_e500_shadow_map() local 415 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map() 422 tsize = min(psize - PAGE_SHIFT + BOOK3E_PAGESZ_4K, tsize); in kvmppc_e500_shadow_map() 428 tsize = max(BOOK3E_PAGESZ_4K, tsize & ~1); in kvmppc_e500_shadow_map() 437 for (; tsize > BOOK3E_PAGESZ_4K; tsize -= 2) { in kvmppc_e500_shadow_map() 439 tsize_pages = 1UL << (tsize - 2); in kvmppc_e500_shadow_map() 459 kvmppc_e500_setup_stlbe(&vcpu_e500->vcpu, gtlbe, tsize, in kvmppc_e500_shadow_map()
|
/linux/lib/crypto/mpi/ |
H A D | mpi-pow.c | 37 mpi_size_t tsize = 0; /* to avoid compiler warning */ in mpi_powm() local 186 tsize = 2 * rsize; in mpi_powm() 188 mpi_alloc_limb_space(tsize); in mpi_powm() 191 } else if (tsize < (2 * rsize)) { in mpi_powm() 193 tsize = 2 * rsize; in mpi_powm() 195 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/drivers/accel/habanalabs/include/goya/ |
H A D | goya_packets.h | 118 __le32 tsize; member 125 __le32 tsize; member
|
/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/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/gaudi/ |
H A D | gaudi_packets.h | 158 __le32 tsize; member 189 __le32 tsize; member
|
/linux/drivers/accel/habanalabs/include/gaudi2/ |
H A D | gaudi2_packets.h | 157 __le32 tsize; member 192 __le32 tsize; member
|
/linux/net/sched/ |
H A D | sch_api.c | 481 unsigned int tsize = 0; in qdisc_get_stab() local 496 if (s->tsize > 0) { in qdisc_get_stab() 502 tsize = nla_len(tb[TCA_STAB_DATA]) / sizeof(u16); in qdisc_get_stab() 505 if (tsize != s->tsize || (!tab && tsize > 0)) { in qdisc_get_stab() 513 if (tsize > 0 && in qdisc_get_stab() 514 memcmp(stab->data, tab, flex_array_size(stab, data, tsize))) in qdisc_get_stab() 526 stab = kmalloc(struct_size(stab, data, tsize), GFP_KERNEL); in qdisc_get_stab() 532 if (tsize > 0) in qdisc_get_stab() 533 memcpy(stab->data, tab, flex_array_size(stab, data, tsize)); in qdisc_get_stab() 575 if (unlikely(!stab->szopts.tsize)) in __qdisc_calculate_pkt_len() [all …]
|
/linux/drivers/pci/msi/ |
H A D | msi.c | 657 static void msix_mask_all(void __iomem *base, int tsize) in msix_mask_all() argument 665 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() 755 msix_mask_all(dev->msix_base, tsize); in msix_capability_init()
|
/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() 577 info->rtpref = fsinfo.tsize; in nfs_proc_fsinfo() 580 info->wtpref = fsinfo.tsize; in nfs_proc_fsinfo() 582 info->dtpref = fsinfo.tsize; in nfs_proc_fsinfo()
|
/linux/net/core/ |
H A D | xdp.c | 672 u32 tsize; in xdp_build_skb_from_buff() local 674 tsize = sinfo->xdp_frags_truesize ? : nr_frags * xdp->frame_sz; in xdp_build_skb_from_buff() 676 sinfo->xdp_frags_size, tsize, in xdp_build_skb_from_buff() 703 u32 nr_frags, tsize = 0; in xdp_copy_frags_from_zc() local 725 tsize += truesize; in xdp_copy_frags_from_zc() 730 tsize, pfmemalloc); in xdp_copy_frags_from_zc()
|
/linux/net/netfilter/ |
H A D | x_tables.c | 1137 u_int16_t tsize = ct->u.user.target_size; in xt_compat_target_from_user() local 1145 unsafe_memcpy(t->data, ct->data, tsize - sizeof(*ct), in xt_compat_target_from_user() 1148 tsize += off; in xt_compat_target_from_user() 1149 t->u.user.target_size = tsize; in xt_compat_target_from_user() 1155 *dstptr += tsize; in xt_compat_target_from_user() 1165 u_int16_t tsize = t->u.user.target_size - off; in xt_compat_target_to_user() local 1167 if (XT_OBJ_TO_USER(ct, t, target, tsize)) in xt_compat_target_to_user() 1174 if (COMPAT_XT_DATA_TO_USER(ct, t, target, tsize - sizeof(*ct))) in xt_compat_target_to_user() 1179 *dstptr += tsize; in xt_compat_target_to_user()
|
/linux/drivers/accel/habanalabs/goya/ |
H A D | goya.c | 3335 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs() 3343 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs() 3435 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host() 3442 user_dma_pkt->tsize); in goya_validate_dma_pkt_host() 3447 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host() 3454 user_dma_pkt->tsize); in goya_validate_dma_pkt_host() 3499 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host() 3503 sram_memory_addr, user_dma_pkt->tsize); in goya_validate_dma_pkt_no_host() 3508 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host() 3512 dram_memory_addr, user_dma_pkt->tsize); in goya_validate_dma_pkt_no_host() [all …]
|
/linux/arch/powerpc/boot/ |
H A D | rs6000.h | 43 unsigned char tsize[4]; /* text size in bytes, padded to FW bdry */ member
|
/linux/include/uapi/linux/ |
H A D | coff.h | 137 char tsize[4]; /* text size in bytes, padded to FW bdry */ member
|
/linux/drivers/dma/ |
H A D | amba-pl08x.c | 1006 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/scripts/dtc/ |
H A D | flattree.c | 395 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob() local 396 tsize += padlen; in dt_to_blob() 397 fdt.totalsize = cpu_to_fdt32(tsize); in dt_to_blob()
|
/linux/arch/alpha/boot/tools/ |
H A D | objstrip.c | 218 fil_size = aout->ah.tsize + aout->ah.dsize; in main()
|