/openbmc/linux/fs/proc/ |
H A D | kcore.c | 333 size_t tsz; in read_kcore_iter() local 381 *fpos += tsz; in read_kcore_iter() 425 *fpos += tsz; in read_kcore_iter() 473 *fpos += tsz; in read_kcore_iter() 515 if (iov_iter_zero(tsz, iter) != tsz) { in read_kcore_iter() 550 if (copy_to_iter((char *)start, tsz, iter) != tsz) { in read_kcore_iter() 567 if (iov_iter_zero(tsz, iter) != tsz) { in read_kcore_iter() 580 if (iov_iter_zero(tsz, iter) != tsz) in read_kcore_iter() 598 if (iov_iter_zero(tsz, iter) != tsz) { in read_kcore_iter() 606 } else if (_copy_to_iter(buf, tsz, iter) != tsz) { in read_kcore_iter() [all …]
|
H A D | vmcore.c | 247 size_t tsz; in vmcoredd_copy_dumps() local 255 if (copy_to_iter(buf, tsz, iter) < tsz) { in vmcoredd_copy_dumps() 282 size_t tsz; in vmcoredd_mmap_dumps() local 291 tsz)) { in vmcoredd_mmap_dumps() 298 dst += tsz; in vmcoredd_mmap_dumps() 320 size_t tsz; in __read_vmcore() local 332 if (copy_to_iter(elfcorebuf + *fpos, tsz, iter) < tsz) in __read_vmcore() 335 acc += tsz; in __read_vmcore() 377 if (copy_to_iter(kaddr, tsz, iter) < tsz) in __read_vmcore() 381 acc += tsz; in __read_vmcore() [all …]
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-core.c | 166 ssize_t tsz, avail; in read_opalcore() local 182 tsz = min_t(size_t, oc_conf->opalcorebuf_sz - tpos, count); in read_opalcore() 183 memcpy(to, oc_conf->opalcorebuf + tpos, tsz); in read_opalcore() 184 to += tsz; in read_opalcore() 185 tpos += tsz; in read_opalcore() 186 count -= tsz; in read_opalcore() 197 tsz = min_t(size_t, m->offset + m->size - tpos, count); in read_opalcore() 199 memcpy(to, __va(addr), tsz); in read_opalcore() 200 to += tsz; in read_opalcore() 201 tpos += tsz; in read_opalcore() [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | smmu-common.c | 75 uint8_t inputsize = 64 - tt->tsz; in smmu_iotlb_lookup_all_levels() 371 if (cfg->tt[0].tsz && in select_tt() 372 !extract64(iova, 64 - cfg->tt[0].tsz, cfg->tt[0].tsz - tbi_byte)) { in select_tt() 375 } else if (cfg->tt[1].tsz && in select_tt() 376 sextract64(iova, 64 - cfg->tt[1].tsz, cfg->tt[1].tsz - tbi_byte) == -1) { in select_tt() 379 } else if (!cfg->tt[0].tsz) { in select_tt() 382 } else if (!cfg->tt[1].tsz) { in select_tt() 452 inputsize = 64 - tt->tsz; in smmu_ptw_64_s1() 572 int inputsize = 64 - cfg->s2cfg.tsz; in smmu_ptw_64_s2() 767 tt_combined.tsz = cfg->s2cfg.tsz; in smmu_translate() [all …]
|
H A D | smmuv3.c | 400 if (cfg->s2cfg.tsz > 39) { in s2t0sz_valid() 405 return (cfg->s2cfg.tsz >= 64 - cfg->s2cfg.eff_ps); in s2t0sz_valid() 408 return (cfg->s2cfg.tsz >= MAX(64 - cfg->s2cfg.eff_ps, 16)); in s2t0sz_valid() 487 cfg->s2cfg.tsz = STE_S2T0SZ(ste); in decode_ste_s2_cfg() 491 cfg->s2cfg.tsz); in decode_ste_s2_cfg() 495 if (!s2_pgtable_config_valid(cfg->s2cfg.sl0, cfg->s2cfg.tsz, in decode_ste_s2_cfg() 749 int tg, tsz; in decode_cd() local 757 tsz = CD_TSZ(cd, i); in decode_cd() 758 if (tsz < 16 || tsz > 39) { in decode_cd() 777 tt->tsz = tsz; in decode_cd() [all …]
|
H A D | trace-events | 44 smmuv3_decode_cd_tt(int i, uint32_t tsz, uint64_t ttb, uint32_t granule_sz, bool had) "TT[%d]:tsz:%…
|
/openbmc/linux/arch/x86/events/intel/ |
H A D | pt.h | 22 static inline unsigned int sizes(unsigned int tsz) in sizes() argument 24 return 1 << (tsz + TOPA_SHIFT); in sizes()
|
/openbmc/openbmc/poky/meta/recipes-devtools/flex/flex/ |
H A D | 0001-Emit-no-line-directives-if-gen_line_dirs-is-false.patch | 21 size_t tsz; 28 tsz = strlen("#line \"\"\n") + /* constant parts */
|
/openbmc/linux/include/linux/ |
H A D | io-pgtable.h | 113 u32 tsz:6; member 127 u32 tsz:6; member
|
/openbmc/qemu/include/hw/arm/ |
H A D | smmu-common.h | 72 uint8_t tsz; /* input range, ie. 2^(64 -tsz)*/ member 86 uint8_t tsz; /* Size of IPA input region (S2T0SZ) */ member
|
/openbmc/qemu/target/loongarch/tcg/insn_trans/ |
H A D | trans_extra.c.inc | 88 TCGv tsz) 94 func(dest, src2, src1, tsz);
|
/openbmc/linux/net/tipc/ |
H A D | msg.c | 524 u32 tsz; in tipc_msg_try_bundle() local 548 tsz = msg_size(buf_msg(tskb)); in tipc_msg_try_bundle() 549 if (unlikely(mss < BUF_ALIGN(INT_H_SIZE + tsz) + msg_size(msg))) in tipc_msg_try_bundle() 551 if (unlikely(pskb_expand_head(tskb, INT_H_SIZE, mss - tsz - INT_H_SIZE, in tipc_msg_try_bundle() 560 msg_set_size(outer, INT_H_SIZE + tsz); in tipc_msg_try_bundle()
|
/openbmc/linux/drivers/dma/ |
H A D | dma-jz4780.c | 314 u32 width, maxburst, tsz; in jz4780_dma_setup_hwdesc() local 339 tsz = jz4780_dma_transfer_size(jzchan, addr | len | (width * maxburst), in jz4780_dma_setup_hwdesc() 353 desc->dcm |= tsz << JZ_DMA_DCM_TSZ_SHIFT; in jz4780_dma_setup_hwdesc() 464 u32 tsz; in jz4780_dma_prep_dma_memcpy() local 470 tsz = jz4780_dma_transfer_size(jzchan, dest | src | len, in jz4780_dma_prep_dma_memcpy() 478 tsz << JZ_DMA_DCM_TSZ_SHIFT | in jz4780_dma_prep_dma_memcpy()
|
/openbmc/linux/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-reg.h | 17 u32 tsz; member
|
H A D | bdisp-debug.c | 344 bdisp_dbg_dump_sz(s, node->tsz, "TSZ"); in last_nodes_show()
|
H A D | bdisp-hw.c | 852 node->tsz = dst_rect.height << 16 | dst_rect.width; in bdisp_hw_build_node()
|
/openbmc/linux/drivers/iommu/arm/arm-smmu/ |
H A D | arm-smmu.h | 390 FIELD_PREP(ARM_SMMU_TCR_T0SZ, cfg->arm_lpae_s1_cfg.tcr.tsz); in arm_smmu_lpae_tcr() 420 FIELD_PREP(ARM_SMMU_VTCR_T0SZ, cfg->arm_lpae_s2_cfg.vtcr.tsz); in arm_smmu_lpae_vtcr()
|
/openbmc/qemu/target/arm/ |
H A D | ptw.c | 1469 int select, tsz; in aa32_va_parameters() local 1487 tsz = sextract32(tcr, 0, 4) + 8; in aa32_va_parameters() 1493 tsz = extract32(tcr, 0, 3); in aa32_va_parameters() 1508 tsz = t0sz; in aa32_va_parameters() 1512 tsz = t1sz; in aa32_va_parameters() 1521 .tsz = tsz, in aa32_va_parameters() 1725 inputsize = 64 - param.tsz; in get_phys_addr_lpae() 1748 inputsize = addrsize - param.tsz; in get_phys_addr_lpae()
|
H A D | internals.h | 1317 unsigned tsz : 8; member 1700 int bot_pac_bit = 64 - param.tsz; in pauth_ptr_mask()
|
H A D | helper.c | 12018 int select, tsz, tbi, max_tsz, min_tsz, ps, sh; in aa64_va_parameters() local 12025 tsz = extract32(tcr, 0, 6); in aa64_va_parameters() 12048 tsz = extract32(tcr, 0, 6); in aa64_va_parameters() 12055 tsz = extract32(tcr, 16, 6); in aa64_va_parameters() 12120 if (tsz > max_tsz) { in aa64_va_parameters() 12121 tsz = max_tsz; in aa64_va_parameters() 12123 } else if (tsz < min_tsz) { in aa64_va_parameters() 12124 tsz = min_tsz; in aa64_va_parameters() 12138 .tsz = tsz, in aa64_va_parameters()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | pauth_helper.c | 346 bot_bit = 64 - param.tsz; in pauth_addpac() 421 bot_bit = 64 - param.tsz; in pauth_auth()
|
H A D | sve.decode | 36 # A combination of tsz:imm3 -- extract esize. 38 # A combination of tsz:imm3 -- extract (2 * esize) - (tsz:imm3) 40 # A combination of tsz:imm3 -- extract (tsz:imm3) - esize
|
/openbmc/linux/drivers/iommu/ |
H A D | io-pgtable-arm.c | 868 tcr->tsz = 64ULL - cfg->ias; in arm_64_lpae_alloc_pgtable_s1() 981 vtcr->tsz = 64ULL - cfg->ias; in arm_64_lpae_alloc_pgtable_s2()
|
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.c | 2118 cfg->cd.tcr = FIELD_PREP(CTXDESC_CD_0_TCR_T0SZ, tcr->tsz) | in arm_smmu_domain_finalise_s1() 2166 cfg->vtcr = FIELD_PREP(STRTAB_STE_2_VTCR_S2T0SZ, vtcr->tsz) | in arm_smmu_domain_finalise_s2()
|