Home
last modified time | relevance | path

Searched refs:tsz (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/fs/proc/
Dkcore.c319 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 …]
Dvmcore.c247 size_t tsz; in vmcoredd_copy_dumps() local
253 tsz = min(offset + (u64)dump->size - start, (u64)size); in vmcoredd_copy_dumps()
255 if (copy_to_iter(buf, tsz, iter) < tsz) { in vmcoredd_copy_dumps()
260 size -= tsz; in vmcoredd_copy_dumps()
261 start += tsz; in vmcoredd_copy_dumps()
282 size_t tsz; in vmcoredd_mmap_dumps() local
288 tsz = min(offset + (u64)dump->size - start, (u64)size); in vmcoredd_mmap_dumps()
291 tsz)) { in vmcoredd_mmap_dumps()
296 size -= tsz; in vmcoredd_mmap_dumps()
297 start += tsz; in vmcoredd_mmap_dumps()
[all …]
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dopal-core.c166 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-6.1.9/arch/x86/events/intel/
Dpt.h22 static inline unsigned int sizes(unsigned int tsz) in sizes() argument
24 return 1 << (tsz + TOPA_SHIFT); in sizes()
/linux-6.1.9/include/linux/
Dio-pgtable.h113 u32 tsz:6; member
127 u32 tsz:6; member
/linux-6.1.9/net/tipc/
Dmsg.c520 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-6.1.9/drivers/dma/
Ddma-jz4780.c315 u32 width, maxburst, tsz; in jz4780_dma_setup_hwdesc() local
340 tsz = jz4780_dma_transfer_size(jzchan, addr | len | (width * maxburst), in jz4780_dma_setup_hwdesc()
354 desc->dcm |= tsz << JZ_DMA_DCM_TSZ_SHIFT; in jz4780_dma_setup_hwdesc()
465 u32 tsz; in jz4780_dma_prep_dma_memcpy() local
471 tsz = jz4780_dma_transfer_size(jzchan, dest | src | len, in jz4780_dma_prep_dma_memcpy()
479 tsz << JZ_DMA_DCM_TSZ_SHIFT | in jz4780_dma_prep_dma_memcpy()
/linux-6.1.9/drivers/media/platform/st/sti/bdisp/
Dbdisp-reg.h17 u32 tsz; member
Dbdisp-debug.c344 bdisp_dbg_dump_sz(s, node->tsz, "TSZ"); in last_nodes_show()
Dbdisp-hw.c852 node->tsz = dst_rect.height << 16 | dst_rect.width; in bdisp_hw_build_node()
/linux-6.1.9/drivers/iommu/arm/arm-smmu/
Darm-smmu.h390 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-6.1.9/drivers/iommu/
Dio-pgtable-arm.c884 tcr->tsz = 64ULL - cfg->ias; in arm_64_lpae_alloc_pgtable_s1()
997 vtcr->tsz = 64ULL - cfg->ias; in arm_64_lpae_alloc_pgtable_s2()
/linux-6.1.9/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c2108 cfg->cd.tcr = FIELD_PREP(CTXDESC_CD_0_TCR_T0SZ, tcr->tsz) | in arm_smmu_domain_finalise_s1()
2154 cfg->vtcr = FIELD_PREP(STRTAB_STE_2_VTCR_S2T0SZ, vtcr->tsz) | in arm_smmu_domain_finalise_s2()