Lines Matching refs:ctl_maxlen
620 int timod_getmsg(unsigned int fd, char *ctl_buf, int ctl_maxlen, s32 *ctl_len, in timod_getmsg() argument
638 …SOLDD(("%u %p %d %p %p %d %p %d\n", fd, ctl_buf, ctl_maxlen, ctl_len, data_buf, data_maxlen, data_… in timod_getmsg()
643 if ( ctl_maxlen > 0 && !sock->pfirst && ino->u.socket_i.type == SOCK_STREAM in timod_getmsg()
667 if (ctl_maxlen >= 0 && sock->pfirst && (*flags_p != MSG_HIPRI || sock->pfirst->pri == MSG_HIPRI)) in timod_getmsg()
700 if (ctl_maxlen >= 0 && sock->pfirst) { in timod_getmsg()
702 int l = min_t(int, ctl_maxlen, it->length); in timod_getmsg()
731 if (ctl_maxlen >= 0) { in timod_getmsg()
739 if (put_user(ctl_maxlen - sizeof(ind), ctl_len)) in timod_getmsg()
759 if (sizeof(ind) > ctl_maxlen) { in timod_getmsg()
776 if (len>ctl_maxlen) { in timod_getmsg()
794 if (ctl_maxlen >= 0) in timod_getmsg()
799 if (ctl_maxlen > sizeof(udi) && sock->state == TS_IDLE) { in timod_getmsg()
802 tmplen = ctl_maxlen - sizeof(udi); in timod_getmsg()
820 if (error && ctl_maxlen > sizeof(udi) && sock->state == TS_IDLE) { in timod_getmsg()