Lines Matching refs:buf_len
533 unsigned int total_p = 0, total_d = 0, buf_len = 0; in smb_receive_trans2() local
588 buf_len = total_d + total_p; in smb_receive_trans2()
589 if (server->packet_size > buf_len) in smb_receive_trans2()
590 buf_len = server->packet_size; in smb_receive_trans2()
591 buf_len = smb_round_length(buf_len); in smb_receive_trans2()
592 if (buf_len > SMB_MAX_PACKET_SIZE) in smb_receive_trans2()
595 rcv_buf = smb_vmalloc(buf_len); in smb_receive_trans2()
598 memset(rcv_buf, 0, buf_len); in smb_receive_trans2()
636 if (buf_len >= server->packet_size) { in smb_receive_trans2()
637 server->packet_size = buf_len; in smb_receive_trans2()
641 if (parm_len + data_len > buf_len) in smb_receive_trans2()
645 server->packet_size, buf_len); in smb_receive_trans2()