Home
last modified time | relevance | path

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

/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 …]