/Linux-v5.15/fs/proc/ |
D | kcore.c | 319 size_t tsz; in read_kcore() local 359 tsz = min_t(size_t, buflen, sizeof(struct elfhdr) - *fpos); in read_kcore() 360 if (copy_to_user(buffer, (char *)&ehdr + *fpos, tsz)) { in read_kcore() 365 buffer += tsz; in read_kcore() 366 buflen -= tsz; in read_kcore() 367 *fpos += tsz; in read_kcore() 401 tsz = min_t(size_t, buflen, phdrs_offset + phdrs_len - *fpos); in read_kcore() 403 tsz)) { in read_kcore() 410 buffer += tsz; in read_kcore() 411 buflen -= tsz; in read_kcore() [all …]
|
D | vmcore.c | 224 size_t tsz; in vmcoredd_copy_dumps() local 230 tsz = min(offset + (u64)dump->size - start, (u64)size); in vmcoredd_copy_dumps() 232 if (copy_to(dst, buf, tsz, userbuf)) { in vmcoredd_copy_dumps() 237 size -= tsz; in vmcoredd_copy_dumps() 238 start += tsz; in vmcoredd_copy_dumps() 239 dst += tsz; in vmcoredd_copy_dumps() 260 size_t tsz; in vmcoredd_mmap_dumps() local 266 tsz = min(offset + (u64)dump->size - start, (u64)size); in vmcoredd_mmap_dumps() 269 tsz)) { in vmcoredd_mmap_dumps() 274 size -= tsz; in vmcoredd_mmap_dumps() [all …]
|
/Linux-v5.15/arch/powerpc/platforms/powernv/ |
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 …]
|
/Linux-v5.15/arch/x86/events/intel/ |
D | pt.h | 22 static inline unsigned int sizes(unsigned int tsz) in sizes() argument 24 return 1 << (tsz + TOPA_SHIFT); in sizes()
|
/Linux-v5.15/include/linux/ |
D | io-pgtable.h | 106 u32 tsz:6; member 120 u32 tsz:6; member
|
/Linux-v5.15/net/tipc/ |
D | msg.c | 520 u32 tsz; in tipc_msg_try_bundle() local 544 tsz = msg_size(buf_msg(tskb)); in tipc_msg_try_bundle() 545 if (unlikely(mss < BUF_ALIGN(INT_H_SIZE + tsz) + msg_size(msg))) in tipc_msg_try_bundle() 547 if (unlikely(pskb_expand_head(tskb, INT_H_SIZE, mss - tsz - INT_H_SIZE, in tipc_msg_try_bundle() 556 msg_set_size(outer, INT_H_SIZE + tsz); in tipc_msg_try_bundle()
|
/Linux-v5.15/drivers/dma/ |
D | dma-jz4780.c | 306 uint32_t width, maxburst, tsz; in jz4780_dma_setup_hwdesc() local 331 tsz = jz4780_dma_transfer_size(jzchan, addr | len | (width * maxburst), in jz4780_dma_setup_hwdesc() 345 desc->dcm |= tsz << JZ_DMA_DCM_TSZ_SHIFT; in jz4780_dma_setup_hwdesc() 456 uint32_t tsz; in jz4780_dma_prep_dma_memcpy() local 462 tsz = jz4780_dma_transfer_size(jzchan, dest | src | len, in jz4780_dma_prep_dma_memcpy() 470 tsz << JZ_DMA_DCM_TSZ_SHIFT | in jz4780_dma_prep_dma_memcpy()
|
/Linux-v5.15/drivers/media/platform/sti/bdisp/ |
D | bdisp-reg.h | 17 u32 tsz; member
|
D | bdisp-debug.c | 344 bdisp_dbg_dump_sz(s, node->tsz, "TSZ"); in last_nodes_show()
|
D | bdisp-hw.c | 852 node->tsz = dst_rect.height << 16 | dst_rect.width; in bdisp_hw_build_node()
|
/Linux-v5.15/drivers/iommu/arm/arm-smmu/ |
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()
|
/Linux-v5.15/drivers/iommu/ |
D | io-pgtable-arm.c | 896 tcr->tsz = 64ULL - cfg->ias; in arm_64_lpae_alloc_pgtable_s1() 1009 vtcr->tsz = 64ULL - cfg->ias; in arm_64_lpae_alloc_pgtable_s2()
|
/Linux-v5.15/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3.c | 2090 cfg->cd.tcr = FIELD_PREP(CTXDESC_CD_0_TCR_T0SZ, tcr->tsz) | in arm_smmu_domain_finalise_s1() 2136 cfg->vtcr = FIELD_PREP(STRTAB_STE_2_VTCR_S2T0SZ, vtcr->tsz) | in arm_smmu_domain_finalise_s2()
|