Changeset a62079d in mainline for uspace/srv/bd/hr/util.h
- Timestamp:
- 2025-06-11T19:53:28Z (6 weeks ago)
- Children:
- 234212a
- Parents:
- e0622a6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/util.h
re0622a6 ra62079d 45 45 #include "var.h" 46 46 47 struct dev_list_member {48 link_t link;49 service_id_t svc_id;50 void *md;51 bool inited;52 bool md_present;53 bool fini;54 };55 56 47 #define HR_DEBUG(format, ...) \ 57 48 log_msg(LOG_DEFAULT, LVL_DEBUG, format, ##__VA_ARGS__) … … 65 56 #define HR_ERROR(format, ...) \ 66 57 log_msg(LOG_DEFAULT, LVL_ERROR, format, ##__VA_ARGS__) 58 59 struct dev_list_member { 60 link_t link; 61 service_id_t svc_id; 62 void *md; 63 bool inited; 64 bool md_present; 65 bool fini; 66 }; 67 68 typedef struct hr_range_lock { 69 link_t link; 70 fibril_mutex_t lock; 71 hr_volume_t *vol; /* back-pointer to volume */ 72 uint64_t off; /* start of the range */ 73 uint64_t len; /* length of the range */ 74 75 size_t pending; /* prot. by vol->range_lock_list_lock */ 76 bool ignore; /* prot. by vol->range_lock_list_lock */ 77 } hr_range_lock_t; 67 78 68 79 extern errno_t hr_create_vol_struct(hr_volume_t **, hr_level_t, const char *,
Note:
See TracChangeset
for help on using the changeset viewer.