kernels/linux-2.4.0/fs/smbfs/proc.c
/*
 * Returns the maximum read or write size for the current packet size
 * and max_xmit value.
 * N.B. Since this value is usually computed before locking the server,
 * the server's packet size must never be decreased!
 */
Returns the maximum read or write size for the current packet size
and max_xmit value.
Returns the maximum read or write size for the current packet size and max_xmit value .
static int
smb_get_xmitsize(struct smb_sb_info *server, int overhead)
{
	int size = server->packet_size;
	if (size > server->opt.max_xmit)
		size = server->opt.max_xmit;
	return size - overhead;
}
static int smb_get_xmitsize ( struct smb_sb_info * server , int overhead ) { int size = server -> packet_size ; if ( size > server -> opt . max_xmit ) size = server -> opt . max_xmit ; return size - overhead ; }
Returns the maximum read or write size for the current packet size
 and max_xmit value.
Returns the maximum read or write size for the current packet size and max_xmit value .
/*
	 * Start with the smaller of packet size and max_xmit ...
	 */