Home
last modified time | relevance | path

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

/mm/
Dutil.c365 int get_cmdline(struct task_struct *task, char *buffer, int buflen) in get_cmdline() argument
377 if (len > buflen) in get_cmdline()
378 len = buflen; in get_cmdline()
386 if (res > 0 && buffer[res-1] != '\0' && len < buflen) { in get_cmdline()
392 if (len > buflen - res) in get_cmdline()
393 len = buflen - res; in get_cmdline()
Dvmalloc.c1983 unsigned long buflen = count; in vread() local
2027 if (buf != buf_start + buflen) in vread()
2028 memset(buf, 0, buflen - (buf - buf_start)); in vread()
2030 return buflen; in vread()
2064 unsigned long n, buflen; in vwrite() local
2070 buflen = count; in vwrite()
2106 return buflen; in vwrite()