Changeset 81b4c795 in mainline for uspace/srv/bd/hr/io.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/io.c

    rcff2342 r81b4c795  
    234234        hr_extent_t *extents = (hr_extent_t *)&io->vol->extents;
    235235
    236         uint8_t *data = malloc_waitok(io->cnt * io->vol->bsize);
     236        uint8_t *data = hr_malloc_waitok(io->cnt * io->vol->bsize);
    237237
    238238        rc = hr_read_direct(extents[ext_idx].svc_id, io->ba, io->cnt, data);
     
    280280        hr_extent_t *extents = (hr_extent_t *)&io->vol->extents;
    281281
    282         uint8_t *data = malloc_waitok(io->cnt * io->vol->bsize);
     282        uint8_t *data = hr_malloc_waitok(io->cnt * io->vol->bsize);
    283283
    284284        rc = hr_write_direct(extents[ext_idx].svc_id, io->ba, io->cnt, data);
Note: See TracChangeset for help on using the changeset viewer.