Changeset 81b4c795 in mainline for uspace/srv/bd/hr/util.c


Ignore:
Timestamp:
2025-06-21T17:25:23Z (5 weeks ago)
Author:
Miroslav Cimerman <mc@…>
Children:
263a2389
Parents:
cff2342
Message:

hr: rename malloc_waitok() to hr_malloc_waitok()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/util.c

    rcff2342 r81b4c795  
    8484 * Return value is never NULL.
    8585 */
    86 void *malloc_waitok(size_t size)
     86void *hr_malloc_waitok(size_t size)
    8787{
    8888        void *ret;
     
    9393}
    9494
    95 void *calloc_waitok(size_t nmemb, size_t size)
     95void *hr_calloc_waitok(size_t nmemb, size_t size)
    9696{
    9797        void *ret;
     
    524524    uint64_t cnt)
    525525{
    526         hr_range_lock_t *rl = malloc_waitok(sizeof(hr_range_lock_t));
     526        hr_range_lock_t *rl = hr_malloc_waitok(sizeof(hr_range_lock_t));
    527527
    528528        return hr_range_lock_acquire_internal(rl, vol, ba, cnt);
Note: See TracChangeset for help on using the changeset viewer.