Changeset 8a637a4 in mainline for uspace/srv
- Timestamp:
- 2015-09-30T17:47:41Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1f7584
- Parents:
- a955fcc
- Location:
- uspace/srv
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_sink.c
ra955fcc r8a637a4 103 103 if (!pcm_format_is_any(&sink->format)) { 104 104 log_debug("Sink %s already has a format", sink->name); 105 return EEXIST S;105 return EEXIST; 106 106 } 107 107 const pcm_format_t old_format = sink->format; -
uspace/srv/audio/hound/hound.c
ra955fcc r8a637a4 267 267 if (dev->id == id) { 268 268 log_debug("Device with id %zu is already present", id); 269 return EEXIST S;269 return EEXIST; 270 270 } 271 271 } … … 274 274 if (dev) { 275 275 log_debug("Device with name %s is already present", name); 276 return EEXIST S;276 return EEXIST; 277 277 } 278 278 … … 341 341 log_debug("Source by that name already exists"); 342 342 fibril_mutex_unlock(&hound->list_guard); 343 return EEXIST S;343 return EEXIST; 344 344 } 345 345 list_append(&source->link, &hound->sources); … … 365 365 log_debug("Sink by that name already exists"); 366 366 fibril_mutex_unlock(&hound->list_guard); 367 return EEXIST S;367 return EEXIST; 368 368 } 369 369 list_append(&sink->link, &hound->sinks); -
uspace/srv/devman/drv_conn.c
ra955fcc r8a637a4 101 101 driver->name); 102 102 fibril_mutex_unlock(&driver->driver_mutex); 103 async_answer_0(callid, EEXIST S);103 async_answer_0(callid, EEXIST); 104 104 return NULL; 105 105 } … … 278 278 fibril_rwlock_write_unlock(&tree->rwlock); 279 279 dev_del_ref(pdev); 280 async_answer_0(callid, EEXIST S);280 async_answer_0(callid, EEXIST); 281 281 printf(NAME ": Warning, driver tried to register `%s' twice.\n", 282 282 fun_name); -
uspace/srv/locsrv/locsrv.c
ra955fcc r8a637a4 412 412 { 413 413 if (server == NULL) 414 return EEXIST S;414 return EEXIST; 415 415 416 416 fibril_mutex_lock(&servers_list_mutex); … … 511 511 free(service->name); 512 512 free(service); 513 async_answer_0(iid, EEXIST S);513 async_answer_0(iid, EEXIST); 514 514 return; 515 515 } … … 951 951 loc_namespace_find_id(IPC_GET_ARG1(*icall)); 952 952 if (namespace == NULL) 953 async_answer_0(iid, EEXIST S);953 async_answer_0(iid, EEXIST); 954 954 else 955 955 async_answer_1(iid, EOK, namespace->refcnt); -
uspace/srv/net/inetsrv/addrobj.c
ra955fcc r8a637a4 87 87 /* Duplicate address name */ 88 88 fibril_mutex_unlock(&addr_list_lock); 89 return EEXIST S;89 return EEXIST; 90 90 } 91 91 -
uspace/srv/net/tcp/conn.c
ra955fcc r8a637a4 1223 1223 rc = amap_insert(amap, &conn->ident, conn, af_allow_system, &aepp); 1224 1224 if (rc != EOK) { 1225 assert(rc != EEXIST S);1225 assert(rc != EEXIST); 1226 1226 assert(rc == ENOMEM); 1227 1227 log_msg(LOG_DEFAULT, LVL_ERROR, "Out of memory."); -
uspace/srv/ns/service.c
ra955fcc r8a637a4 143 143 { 144 144 if (hash_table_find(&service_hash_table, &service)) 145 return EEXIST S;145 return EEXIST; 146 146 147 147 hashed_service_t *hashed_service = -
uspace/srv/ns/task.c
ra955fcc r8a637a4 235 235 ht_link_t *link = hash_table_find(&phone_to_id, &call->in_phone_hash); 236 236 if (link != NULL) 237 return EEXIST S;237 return EEXIST; 238 238 239 239 p2i_entry_t *entry = (p2i_entry_t *) malloc(sizeof(p2i_entry_t)); -
uspace/srv/vfs/vfs_register.c
ra955fcc r8a637a4 162 162 fibril_mutex_unlock(&fs_list_lock); 163 163 free(fs_info); 164 async_answer_0(rid, EEXIST S);164 async_answer_0(rid, EEXIST); 165 165 return; 166 166 }
Note:
See TracChangeset
for help on using the changeset viewer.