Changeset e76e12d8 in mainline for uspace/srv/bd/hr/util.c
- Timestamp:
- 2024-11-22T18:10:14Z (6 months ago)
- Children:
- 06f2762
- Parents:
- 7b359f5
- git-author:
- Miroslav Cimerman <mc@…> (2024-11-22 18:07:26)
- git-committer:
- Miroslav Cimerman <mc@…> (2024-11-22 18:10:14)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/util.c
r7b359f5 re76e12d8 237 237 } 238 238 239 size_t hr_count_extents(hr_volume_t *vol, hr_ext_status_t status) 240 { 241 size_t count = 0; 242 for (size_t i = 0; i < vol->dev_no; i++) { 243 if (vol->extents[i].status == status) 244 count++; 245 } 246 247 return count; 248 } 249 239 250 /** @} 240 251 */
Note:
See TracChangeset
for help on using the changeset viewer.