Rename *lldbg to *llerr

This commit is contained in:
Gregory Nutt
2016-06-11 14:55:27 -06:00
parent 86b79b33cf
commit e99301d7c2
646 changed files with 2688 additions and 2688 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ static uint16_t netclose_interrupt(FAR struct net_driver_s *dev,
{
/* Yes.. Wake up the waiting thread and report the timeout */
nlldbg("CLOSE timeout\n");
nllerr("CLOSE timeout\n");
pstate->cl_result = -ETIMEDOUT;
goto end_wait;
}
+9 -9
View File
@@ -206,7 +206,7 @@ static uint16_t ack_interrupt(FAR struct net_driver_s *dev, FAR void *pvconn,
}
else if ((flags & TCP_REXMIT) != 0)
{
nlldbg("REXMIT\n");
nllerr("REXMIT\n");
/* Yes.. in this case, reset the number of bytes that have been sent
* to the number of bytes that have been ACKed.
@@ -221,7 +221,7 @@ static uint16_t ack_interrupt(FAR struct net_driver_s *dev, FAR void *pvconn,
{
/* Report not connected */
nlldbg("Lost connection\n");
nllerr("Lost connection\n");
net_lostconnection(pstate->snd_sock, flags);
pstate->snd_sent = -ENOTCONN;
@@ -345,7 +345,7 @@ static uint16_t sendfile_interrupt(FAR struct net_driver_s *dev, FAR void *pvcon
{
/* Report not connected */
nlldbg("Lost connection\n");
nllerr("Lost connection\n");
net_lostconnection(pstate->snd_sock, flags);
pstate->snd_sent = -ENOTCONN;
@@ -386,7 +386,7 @@ static uint16_t sendfile_interrupt(FAR struct net_driver_s *dev, FAR void *pvcon
if (ret < 0)
{
int errcode = get_errno();
nlldbg("failed to lseek: %d\n", errcode);
nllerr("failed to lseek: %d\n", errcode);
pstate->snd_sent = -errcode;
goto end_wait;
}
@@ -395,7 +395,7 @@ static uint16_t sendfile_interrupt(FAR struct net_driver_s *dev, FAR void *pvcon
if (ret < 0)
{
int errcode = get_errno();
nlldbg("failed to read from input file: %d\n", errcode);
nllerr("failed to read from input file: %d\n", errcode);
pstate->snd_sent = -errcode;
goto end_wait;
}
@@ -430,7 +430,7 @@ static uint16_t sendfile_interrupt(FAR struct net_driver_s *dev, FAR void *pvcon
}
else
{
nlldbg("Window full, wait for ack\n");
nllerr("Window full, wait for ack\n");
goto wait;
}
}
@@ -444,7 +444,7 @@ static uint16_t sendfile_interrupt(FAR struct net_driver_s *dev, FAR void *pvcon
{
/* Yes.. report the timeout */
nlldbg("SEND timeout\n");
nllerr("SEND timeout\n");
pstate->snd_sent = -ETIMEDOUT;
goto end_wait;
}
@@ -687,7 +687,7 @@ ssize_t net_sendfile(int outfd, struct file *infile, off_t *offset,
if (state.snd_datacb == NULL)
{
nlldbg("Failed to allocate data callback\n");
nllerr("Failed to allocate data callback\n");
errcode = ENOMEM;
goto errout_locked;
}
@@ -696,7 +696,7 @@ ssize_t net_sendfile(int outfd, struct file *infile, off_t *offset,
if (state.snd_ackcb == NULL)
{
nlldbg("Failed to allocate ack callback\n");
nllerr("Failed to allocate ack callback\n");
errcode = ENOMEM;
goto errout_datacb;
}
+1 -1
View File
@@ -1136,7 +1136,7 @@ static uint16_t recvfrom_udp_interrupt(FAR struct net_driver_s *dev,
{
/* Terminate the transfer with an error. */
nlldbg("ERROR: Network is down\n");
nllerr("ERROR: Network is down\n");
recvfrom_udp_terminate(pstate, -ENETUNREACH);
}