Rename kufree to kumm_free for consistency with other naming

This commit is contained in:
Gregory Nutt
2014-08-31 16:15:11 -06:00
parent e6698045c1
commit 1643c35609
6 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -3813,7 +3813,7 @@ static int lpc31_ioalloc(FAR struct usbhost_driver_s *drvr, FAR uint8_t **buffer
* Some hardware supports special memory in which IO data can be accessed more
* efficiently. This method provides a mechanism to free that IO buffer
* memory. If the underlying hardware does not support such "special" memory,
* this functions may simply map to kufree().
* this functions may simply map to kumm_free().
*
* Input Parameters:
* drvr - The USB host driver instance obtained as a parameter from the call to
@@ -3835,7 +3835,7 @@ static int lpc31_iofree(FAR struct usbhost_driver_s *drvr, FAR uint8_t *buffer)
/* No special action is require to free the I/O buffer memory */
kufree(buffer);
kumm_free(buffer);
return OK;
}
+1 -1
View File
@@ -3052,7 +3052,7 @@ static void sam_ep_freebuffer(struct usbdev_ep_s *ep, void *buf)
{
/* There is not special buffer allocation requirement */
kufree(buf);
kumm_free(buf);
}
#endif
+2 -2
View File
@@ -3653,7 +3653,7 @@ static int sam_ioalloc(FAR struct usbhost_driver_s *drvr, FAR uint8_t **buffer,
* Some hardware supports special memory in which IO data can be accessed more
* efficiently. This method provides a mechanism to free that IO buffer
* memory. If the underlying hardware does not support such "special" memory,
* this functions may simply map to kufree().
* this functions may simply map to kumm_free().
*
* Input Parameters:
* drvr - The USB host driver instance obtained as a parameter from the call to
@@ -3675,7 +3675,7 @@ static int sam_iofree(FAR struct usbhost_driver_s *drvr, FAR uint8_t *buffer)
/* No special action is require to free the I/O buffer memory */
kufree(buffer);
kumm_free(buffer);
return OK;
}
+3 -3
View File
@@ -2715,7 +2715,7 @@ static int sam_ioalloc(FAR struct usbhost_driver_s *drvr, FAR uint8_t **buffer,
* Some hardware supports special memory in which IO data can be accessed more
* efficiently. This method provides a mechanism to free that IO buffer
* memory. If the underlying hardware does not support such "special" memory,
* this functions may simply map to kufree().
* this functions may simply map to kumm_free().
*
* Input Parameters:
* drvr - The USB host driver instance obtained as a parameter from the call to
@@ -2735,9 +2735,9 @@ static int sam_iofree(FAR struct usbhost_driver_s *drvr, FAR uint8_t *buffer)
{
DEBUGASSERT(drvr && buffer);
/* kufree is all that is required */
/* kumm_free is all that is required */
kufree(buffer);
kumm_free(buffer);
return OK;
}
+1 -1
View File
@@ -3541,7 +3541,7 @@ static void sam_ep_freebuffer(struct usbdev_ep_s *ep, void *buf)
{
/* There is not special buffer allocation requirement */
kufree(buf);
kumm_free(buf);
}
#endif
+1 -1
View File
@@ -216,7 +216,7 @@ void up_release_stack(struct tcb_s *dtcb, uint8_t ttype)
{
/* Use the user-space allocator if this is a task or pthread */
kufree(dtcb->stack_alloc_ptr);
kumm_free(dtcb->stack_alloc_ptr);
}
}