Home
last modified time | relevance | path

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

12

/linux/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
/linux/arch/powerpc/mm/nohash/
H 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()
H 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/arch/powerpc/kvm/
H A De500_mmu_host.c304 int tsize, struct tlbe_priv *tlbe, u64 gvaddr, in kvmppc_e500_setup_stlbe() argument
314 stlbe->mas1 = MAS1_TSIZE(tsize) | get_tlb_sts(gtlbe) | MAS1_VALID; in kvmppc_e500_setup_stlbe()
330 int tsize = BOOK3E_PAGESZ_4K; in kvmppc_e500_shadow_map() local
412 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map()
419 tsize = min(psize - PAGE_SHIFT + BOOK3E_PAGESZ_4K, tsize); in kvmppc_e500_shadow_map()
425 tsize = max(BOOK3E_PAGESZ_4K, tsize & ~1); in kvmppc_e500_shadow_map()
434 for (; tsize > BOOK3E_PAGESZ_4K; tsize -= 2) { in kvmppc_e500_shadow_map()
436 tsize_pages = 1UL << (tsize - 2); in kvmppc_e500_shadow_map()
456 kvmppc_e500_setup_stlbe(&vcpu_e500->vcpu, gtlbe, tsize, in kvmppc_e500_shadow_map()
/linux/lib/crypto/mpi/
H A Dmpi-pow.c39 mpi_size_t tsize = 0; /* to avoid compiler warning */ in mpi_powm() local
188 tsize = 2 * rsize; in mpi_powm()
190 mpi_alloc_limb_space(tsize); in mpi_powm()
193 } else if (tsize < (2 * rsize)) { in mpi_powm()
195 tsize = 2 * rsize; in mpi_powm()
197 mpi_alloc_limb_space(tsize); in mpi_powm()
/linux/arch/powerpc/include/asm/nohash/
H A Dhugetlb-e500.h17 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 Dtlbflush.h70 int tsize, int ind);
77 int tsize, int ind);
/linux/drivers/accel/habanalabs/include/goya/
H A Dgoya_packets.h118 __le32 tsize; member
125 __le32 tsize; member
/linux/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()
/linux/security/apparmor/
H A Dmatch.c38 size_t tsize; in unpack_table() local
60 tsize = table_size(th.td_lolen, th.td_flags); in unpack_table()
61 if (bsize < tsize) in unpack_table()
64 table = kvzalloc(tsize, GFP_KERNEL); in unpack_table()
279 size_t tsize; in remap_data16_to_data32() local
282 tsize = table_size(old->td_lolen, YYTD_DATA32); in remap_data16_to_data32()
283 new = kvzalloc(tsize, GFP_KERNEL); in remap_data16_to_data32()
/linux/arch/alpha/include/uapi/asm/
H A Da.out.h29 __u64 tsize; member
66 #define a_text ah.tsize
/linux/drivers/accel/habanalabs/include/gaudi/
H A Dgaudi_packets.h158 __le32 tsize; member
189 __le32 tsize; member
/linux/drivers/accel/habanalabs/include/gaudi2/
H A Dgaudi2_packets.h157 __le32 tsize; member
192 __le32 tsize; member
/linux/net/sched/
H A Dsch_api.c488 unsigned int tsize = 0; in qdisc_get_stab() local
503 if (s->tsize > 0) { in qdisc_get_stab()
509 tsize = nla_len(tb[TCA_STAB_DATA]) / sizeof(u16); in qdisc_get_stab()
512 if (tsize != s->tsize || (!tab && tsize > 0)) { in qdisc_get_stab()
520 if (tsize > 0 && in qdisc_get_stab()
521 memcmp(stab->data, tab, flex_array_size(stab, data, tsize))) in qdisc_get_stab()
533 stab = kmalloc_flex(*stab, data, tsize); in qdisc_get_stab()
539 if (tsize > in qdisc_get_stab()
[all...]
/linux/net/core/
H A Dxdp.c663 u32 tsize; in xdp_build_skb_from_buff() local
665 tsize = sinfo->xdp_frags_truesize ? : nr_frags * xdp->frame_sz; in xdp_build_skb_from_buff()
667 tsize, xdp_buff_get_skb_flags(xdp)); in xdp_build_skb_from_buff()
693 u32 nr_frags, tsize = 0; in xdp_copy_frags_from_zc() local
715 tsize += truesize; in xdp_copy_frags_from_zc()
720 xdp_update_skb_frags_info(skb, nr_frags, xinfo->xdp_frags_size, tsize, in xdp_copy_frags_from_zc()
/linux/net/netfilter/
H A Dx_tables.c1230 u_int16_t tsize = ct->u.user.target_size; in xt_compat_target_from_user() local
1238 unsafe_memcpy(t->data, ct->data, tsize - sizeof(*ct), in xt_compat_target_from_user()
1241 tsize += off; in xt_compat_target_from_user()
1242 t->u.user.target_size = tsize; in xt_compat_target_from_user()
1248 *dstptr += tsize; in xt_compat_target_from_user()
1258 u_int16_t tsize = t->u.user.target_size - off; in xt_compat_target_to_user() local
1260 if (XT_OBJ_TO_USER(ct, t, target, tsize)) in xt_compat_target_to_user()
1267 if (COMPAT_XT_DATA_TO_USER(ct, t, target, tsize - sizeof(*ct))) in xt_compat_target_to_user()
1272 *dstptr += tsize; in xt_compat_target_to_user()
/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c3334 if (hl_userptr_is_pinned(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs()
3342 rc = hl_pin_host_memory(hdev, addr, le32_to_cpu(user_dma_pkt->tsize), in goya_pin_memory_before_cs()
3434 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3441 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3446 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_host()
3453 user_dma_pkt->tsize); in goya_validate_dma_pkt_host()
3498 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3502 sram_memory_addr, user_dma_pkt->tsize); in goya_validate_dma_pkt_no_host()
3507 le32_to_cpu(user_dma_pkt->tsize), in goya_validate_dma_pkt_no_host()
3511 dram_memory_addr, user_dma_pkt->tsize); in goya_validate_dma_pkt_no_host()
[all …]
/linux/include/uapi/linux/
H A Dcoff.h137 char tsize[4]; /* text size in bytes, padded to FW bdry */ member
/linux/drivers/net/can/
H A Dgrcan.c934 size_t tsize, size_t rsize) in grcan_allocate_dma_buffers() argument
938 struct grcan_dma_buffer *large = rsize > tsize ? &dma->rx : &dma->tx; in grcan_allocate_dma_buffers()
939 struct grcan_dma_buffer *small = rsize > tsize ? &dma->tx : &dma->rx; in grcan_allocate_dma_buffers()
945 size_t maxs = max(tsize, rsize); in grcan_allocate_dma_buffers()
949 size_t ssize = min(tsize, rsize); in grcan_allocate_dma_buffers()
961 dma->tx.size = tsize; in grcan_allocate_dma_buffers()
/linux/drivers/dma/
H 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/arch/alpha/boot/tools/
H A Dobjstrip.c218 fil_size = aout->ah.tsize + aout->ah.dsize; in main()
/linux/drivers/net/ethernet/microchip/sparx5/lan969x/
H A Dlan969x.c297 .tsize = lan969x_tsize,
/linux/net/bridge/netfilter/
H A Debtables.c1682 compat_uint_t tsize = t->target_size - off; in compat_target_to_user() local
1689 put_user(tsize, &cm->match_size)) in compat_target_to_user()
1696 if (xt_data_to_user(cm->data, t->data, target->usersize, tsize, in compat_target_to_user()
1697 COMPAT_XT_ALIGN(tsize))) in compat_target_to_user()
1703 *dstptr += tsize; in compat_target_to_user()
/linux/arch/x86/kernel/cpu/resctrl/
H A Dcore.c431 size_t tsize = sizeof(*hw_dom->arch_mbm_states[0]); in l3_mon_domain_mbm_alloc() local
439 hw_dom->arch_mbm_states[idx] = kcalloc(num_rmid, tsize, GFP_KERNEL); in l3_mon_domain_mbm_alloc()

12