Home
last modified time | relevance | path

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

/linux-2.6.39/fs/proc/
Dkcore.c429 size_t size, tsz; in read_kcore() local
450 tsz = elf_buflen - *fpos; in read_kcore()
451 if (buflen < tsz) in read_kcore()
452 tsz = buflen; in read_kcore()
460 if (copy_to_user(buffer, elf_buf + *fpos, tsz)) { in read_kcore()
465 buflen -= tsz; in read_kcore()
466 *fpos += tsz; in read_kcore()
467 buffer += tsz; in read_kcore()
468 acc += tsz; in read_kcore()
481 if ((tsz = (PAGE_SIZE - (start & ~PAGE_MASK))) > buflen) in read_kcore()
[all …]
Dvmcore.c100 size_t tsz; in read_vmcore() local
113 tsz = elfcorebuf_sz - *fpos; in read_vmcore()
114 if (buflen < tsz) in read_vmcore()
115 tsz = buflen; in read_vmcore()
116 if (copy_to_user(buffer, elfcorebuf + *fpos, tsz)) in read_vmcore()
118 buflen -= tsz; in read_vmcore()
119 *fpos += tsz; in read_vmcore()
120 buffer += tsz; in read_vmcore()
121 acc += tsz; in read_vmcore()
131 if ((tsz = (PAGE_SIZE - (start & ~PAGE_MASK))) > buflen) in read_vmcore()
[all …]
/linux-2.6.39/drivers/staging/brcm80211/util/
Dbcmotp.c733 int i, chunk, gchunks, tsz = 0; in hndotp_nvread() local
805 tsz += dsz; in hndotp_nvread()