Changes in uspace/srv/devman/devman.c [4820360:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.c
r4820360 r9d58539 1052 1052 } 1053 1053 1054 1054 1055 /** Find the device node structure of the device witch has the specified handle. 1055 1056 * … … 1141 1142 fun->state = FUN_INIT; 1142 1143 atomic_set(&fun->refcnt, 0); 1143 fibril_mutex_initialize(&fun->busy_lock);1144 1144 link_initialize(&fun->dev_functions); 1145 1145 list_initialize(&fun->match_ids.ids); … … 1184 1184 if (atomic_predec(&fun->refcnt) == 0) 1185 1185 delete_fun_node(fun); 1186 }1187 1188 /** Make function busy for reconfiguration operations. */1189 void fun_busy_lock(fun_node_t *fun)1190 {1191 fibril_mutex_lock(&fun->busy_lock);1192 }1193 1194 /** Mark end of reconfiguration operation. */1195 void fun_busy_unlock(fun_node_t *fun)1196 {1197 fibril_mutex_unlock(&fun->busy_lock);1198 1186 } 1199 1187
Note:
See TracChangeset
for help on using the changeset viewer.