mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Rename kufree to kumm_free for consistency with other naming
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user