Changeset 7c3fb9b in mainline for uspace/srv
- Timestamp:
- 2018-05-17T08:29:01Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- Location:
- uspace/srv
- Files:
-
- 12 edited
-
audio/hound/audio_device.c (modified) (1 diff)
-
bd/vbd/disk.c (modified) (2 diffs)
-
devman/client_conn.c (modified) (1 diff)
-
fs/cdfs/cdfs_ops.c (modified) (2 diffs)
-
fs/mfs/mfs.h (modified) (1 diff)
-
fs/mfs/mfs_balloc.c (modified) (1 diff)
-
fs/mfs/mfs_ops.c (modified) (3 diffs)
-
hid/compositor/compositor.c (modified) (8 diffs)
-
hid/rfb/rfb.c (modified) (1 diff)
-
locsrv/locsrv.c (modified) (4 diffs)
-
net/tcp/test/ucall.c (modified) (1 diff)
-
vfs/vfs_ipc.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_device.c
rfac0ac7 r7c3fb9b 170 170 device_event_callback, dev); 171 171 172 /* Fill the buffer first. Fill the first two fragments, 173 * so that we stay one fragment ahead */ 172 /* 173 * Fill the buffer first. Fill the first two fragments, 174 * so that we stay one fragment ahead 175 */ 174 176 pcm_format_silence(dev->buffer.base, dev->buffer.size, 175 177 &dev->sink.format); -
uspace/srv/bd/vbd/disk.c
rfac0ac7 r7c3fb9b 403 403 404 404 /** Remove all disk partitions from our inventory leaving only the underlying 405 * liblabel partition structures. */ 405 * liblabel partition structures. 406 */ 406 407 static errno_t vbds_disk_parts_add(vbds_disk_t *disk, label_t *label) 407 408 { … … 425 426 426 427 /** Remove all disk partitions from our inventory leaving only the underlying 427 * liblabel partition structures. */ 428 * liblabel partition structures. 429 */ 428 430 static errno_t vbds_disk_parts_remove(vbds_disk_t *disk, vbds_rem_flag_t flag) 429 431 { -
uspace/srv/devman/client_conn.c
rfac0ac7 r7c3fb9b 60 60 61 61 /** Find handle for the device instance identified by the device's path in the 62 * device tree. */ 62 * device tree. 63 */ 63 64 static void devman_function_get_handle(cap_call_handle_t icall_handle, ipc_call_t *icall) 64 65 { -
uspace/srv/fs/cdfs/cdfs_ops.c
rfac0ac7 r7c3fb9b 850 850 851 851 /** Verify that escape sequence corresonds to one of the allowed encoding 852 * escape sequences allowed for Joliet. */ 852 * escape sequences allowed for Joliet. 853 */ 853 854 static errno_t cdfs_verify_joliet_esc_seq(uint8_t *seq) 854 855 { … … 1049 1050 } 1050 1051 1051 /* Mount a session with session start offset 1052 /* 1053 * Mount a session with session start offset 1052 1054 * 1053 1055 */ -
uspace/srv/fs/mfs/mfs.h
rfac0ac7 r7c3fb9b 106 106 unsigned zsearch; 107 107 108 /* Indicates wether if the cached number of free zones 108 /* 109 * Indicates wether if the cached number of free zones 109 110 * is to be considered valid or not. 110 111 */ 111 112 bool nfree_zones_valid; 112 /* Cached number of free zones, used to avoid to scan 113 /* 114 * Cached number of free zones, used to avoid to scan 113 115 * the whole bitmap every time the mfs_free_block_count() 114 116 * is invoked. -
uspace/srv/fs/mfs/mfs_balloc.c
rfac0ac7 r7c3fb9b 191 191 bitchunk_t *data = (bitchunk_t *) b->data; 192 192 193 /* Read the bitmap block, chunk per chunk, 193 /* 194 * Read the bitmap block, chunk per chunk, 194 195 * counting the zero bits. 195 196 */ -
uspace/srv/fs/mfs/mfs_ops.c
rfac0ac7 r7c3fb9b 246 246 247 247 if (sbi->log2_zone_size != 0) { 248 /* In MFS, file space is allocated per zones. 248 /* 249 * In MFS, file space is allocated per zones. 249 250 * Zones are a collection of consecutive blocks on disk. 250 251 * … … 776 777 777 778 if (chino->i_nlinks <= 1 && S_ISDIR(chino->i_mode)) { 778 /* The child directory will be destroyed, decrease the 779 /* 780 * The child directory will be destroyed, decrease the 779 781 * parent hard links counter. 780 782 */ … … 1239 1241 1240 1242 if (!sbi->nfree_zones_valid) { 1241 /* The cached number of free zones is not valid, 1243 /* 1244 * The cached number of free zones is not valid, 1242 1245 * we need to scan the bitmap to retrieve the 1243 1246 * current value. -
uspace/srv/hid/compositor/compositor.c
rfac0ac7 r7c3fb9b 77 77 #define NAMESPACE "comp" 78 78 79 /* Until there is blitter support and some further optimizations, window 80 * animations are too slow to be practically usable. */ 79 /* 80 * Until there is blitter support and some further optimizations, window 81 * animations are too slow to be practically usable. 82 */ 81 83 #ifndef ANIMATE_WINDOW_TRANSFORMS 82 84 #define ANIMATE_WINDOW_TRANSFORMS 0 … … 422 424 link != &window_list.head; link = link->prev) { 423 425 424 /* Determine what part of the window intersects with the 425 * updated area of the current viewport. */ 426 /* 427 * Determine what part of the window intersects with the 428 * updated area of the current viewport. 429 */ 426 430 window_t *win = list_get_instance(link, window_t, link); 427 431 if (!win->surface) { … … 438 442 439 443 if (isec_win) { 440 /* Prepare conversion from global coordinates to viewport 441 * coordinates. */ 444 /* 445 * Prepare conversion from global coordinates to viewport 446 * coordinates. 447 */ 442 448 transform = win->transform; 443 449 double_point_t pos; … … 470 476 471 477 if (isec_ghost) { 472 /* FIXME: Ghost is currently drawn based on the bounding 478 /* 479 * FIXME: Ghost is currently drawn based on the bounding 473 480 * rectangle of the window, which is sufficient as long 474 481 * as the windows can be rotated only by 90 degrees. … … 476 483 * rotation, it should be drawn as four lines adjusted 477 484 * by the transformation matrix. That would however 478 * require to equip libdraw with line drawing functionality. */ 485 * require to equip libdraw with line drawing functionality. 486 */ 479 487 480 488 transform_t transform = ptr->ghost.transform; … … 532 540 list_foreach(pointer_list, link, pointer_t, ptr) { 533 541 534 /* Determine what part of the pointer intersects with the 535 * updated area of the current viewport. */ 542 /* 543 * Determine what part of the pointer intersects with the 544 * updated area of the current viewport. 545 */ 536 546 sysarg_t x_dmg_ptr, y_dmg_ptr, w_dmg_ptr, h_dmg_ptr; 537 547 surface_t *sf_ptr = ptr->cursor.states[ptr->state]; … … 543 553 544 554 if (isec_ptr) { 545 /* Pointer is currently painted directly by copying pixels. 555 /* 556 * Pointer is currently painted directly by copying pixels. 546 557 * However, it is possible to draw the pointer similarly 547 558 * as window by using drawctx_transfer. It would allow 548 559 * more sophisticated control over drawing, but would also 549 * cost more regarding the performance. */ 560 * cost more regarding the performance. 561 */ 550 562 551 563 sysarg_t x_vp = x_dmg_ptr - vp->pos.x; … … 857 869 loc_service_unregister(win->out_dsid); 858 870 859 /* In case the client was killed, input fibril of the window might be 860 * still blocked on the condition within comp_window_get_event. */ 871 /* 872 * In case the client was killed, input fibril of the window might be 873 * still blocked on the condition within comp_window_get_event. 874 */ 861 875 window_event_t *event_dummy = (window_event_t *) malloc(sizeof(window_event_t)); 862 876 if (event_dummy) { -
uspace/srv/hid/rfb/rfb.c
rfac0ac7 r7c3fb9b 612 612 } 613 613 614 /* Security handshake 614 /* 615 * Security handshake 615 616 * 1 security type supported, which is 1 - None 616 617 */ -
uspace/srv/locsrv/locsrv.c
rfac0ac7 r7c3fb9b 67 67 LIST_INITIALIZE(servers_list); 68 68 69 /* Locking order: 69 /* 70 * Locking order: 70 71 * servers_list_mutex 71 72 * services_list_mutex 72 73 * (loc_server_t *)->services_mutex 73 74 * create_id_mutex 74 * */75 */ 75 76 76 77 FIBRIL_MUTEX_INITIALIZE(services_list_mutex); … … 97 98 service_id_t loc_create_id(void) 98 99 { 99 /* TODO: allow reusing old ids after their unregistration 100 /* 101 * TODO: allow reusing old ids after their unregistration 100 102 * and implement some version of LRU algorithm, avoid overflow 101 103 */ … … 389 391 fibril_mutex_lock(&servers_list_mutex); 390 392 391 /* TODO: 393 /* 394 * TODO: 392 395 * Check that no server with name equal to 393 396 * server->name is registered … … 1057 1060 static void loc_get_services(cap_call_handle_t icall_handle, ipc_call_t *icall) 1058 1061 { 1059 /* FIXME: Use faster algorithm which can make better use 1060 of namespaces */ 1062 /* 1063 * FIXME: Use faster algorithm which can make better use 1064 * of namespaces 1065 */ 1061 1066 1062 1067 cap_call_handle_t chandle; -
uspace/srv/net/tcp/test/ucall.c
rfac0ac7 r7c3fb9b 135 135 136 136 /** Test establishing and then closing down a connection first on one side, 137 * then on_the other. */ 137 * then on_the other. 138 */ 138 139 PCUT_TEST(conn_est_close_seq) 139 140 { -
uspace/srv/vfs/vfs_ipc.c
rfac0ac7 r7c3fb9b 136 136 } 137 137 138 /* Now, we expect the client to send us data with the name of the file 138 /* 139 * Now we expect the client to send us data with the name of the file 139 140 * system. 140 141 */
Note:
See TracChangeset
for help on using the changeset viewer.
