Searched refs:buflen (Results 1 – 2 of 2) sorted by relevance
1027 int get_cmdline(struct task_struct *task, char *buffer, int buflen) in get_cmdline() argument1047 if (len > buflen) in get_cmdline()1048 len = buflen; in get_cmdline()1056 if (res > 0 && buffer[res-1] != '\0' && len < buflen) { in get_cmdline()1062 if (len > buflen - res) in get_cmdline()1063 len = buflen - res; in get_cmdline()
2887 unsigned long buflen = count; in vread() local2931 if (buf != buf_start + buflen) in vread()2932 memset(buf, 0, buflen - (buf - buf_start)); in vread()2934 return buflen; in vread()2966 unsigned long n, buflen; in vwrite() local2972 buflen = count; in vwrite()3008 return buflen; in vwrite()