Changeset 81b4c795 in mainline for uspace/srv/bd/hr/util.c
- Timestamp:
- 2025-06-21T17:25:23Z (5 weeks ago)
- Children:
- 263a2389
- Parents:
- cff2342
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/util.c
rcff2342 r81b4c795 84 84 * Return value is never NULL. 85 85 */ 86 void * malloc_waitok(size_t size)86 void *hr_malloc_waitok(size_t size) 87 87 { 88 88 void *ret; … … 93 93 } 94 94 95 void * calloc_waitok(size_t nmemb, size_t size)95 void *hr_calloc_waitok(size_t nmemb, size_t size) 96 96 { 97 97 void *ret; … … 524 524 uint64_t cnt) 525 525 { 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)); 527 527 528 528 return hr_range_lock_acquire_internal(rl, vol, ba, cnt);
Note:
See TracChangeset
for help on using the changeset viewer.