Changeset 7c3fb9b in mainline for uspace/srv


Ignore:
Timestamp:
2018-05-17T08:29:01Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
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)
Message:

Fix block comment formatting (ccheck).

Location:
uspace/srv
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/audio_device.c

    rfac0ac7 r7c3fb9b  
    170170                    device_event_callback, dev);
    171171
    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                 */
    174176                pcm_format_silence(dev->buffer.base, dev->buffer.size,
    175177                    &dev->sink.format);
  • uspace/srv/bd/vbd/disk.c

    rfac0ac7 r7c3fb9b  
    403403
    404404/** Remove all disk partitions from our inventory leaving only the underlying
    405  * liblabel partition structures. */
     405 * liblabel partition structures.
     406 */
    406407static errno_t vbds_disk_parts_add(vbds_disk_t *disk, label_t *label)
    407408{
     
    425426
    426427/** Remove all disk partitions from our inventory leaving only the underlying
    427  * liblabel partition structures. */
     428 * liblabel partition structures.
     429 */
    428430static errno_t vbds_disk_parts_remove(vbds_disk_t *disk, vbds_rem_flag_t flag)
    429431{
  • uspace/srv/devman/client_conn.c

    rfac0ac7 r7c3fb9b  
    6060
    6161/** Find handle for the device instance identified by the device's path in the
    62  * device tree. */
     62 * device tree.
     63 */
    6364static void devman_function_get_handle(cap_call_handle_t icall_handle, ipc_call_t *icall)
    6465{
  • uspace/srv/fs/cdfs/cdfs_ops.c

    rfac0ac7 r7c3fb9b  
    850850
    851851/** Verify that escape sequence corresonds to one of the allowed encoding
    852  * escape sequences allowed for Joliet. */
     852 * escape sequences allowed for Joliet.
     853 */
    853854static errno_t cdfs_verify_joliet_esc_seq(uint8_t *seq)
    854855{
     
    10491050}
    10501051
    1051 /* Mount a session with session start offset
     1052/*
     1053 * Mount a session with session start offset
    10521054 *
    10531055 */
  • uspace/srv/fs/mfs/mfs.h

    rfac0ac7 r7c3fb9b  
    106106        unsigned zsearch;
    107107
    108         /* Indicates wether if the cached number of free zones
     108        /*
     109         * Indicates wether if the cached number of free zones
    109110         * is to be considered valid or not.
    110111         */
    111112        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
    113115         * the whole bitmap every time the mfs_free_block_count()
    114116         * is invoked.
  • uspace/srv/fs/mfs/mfs_balloc.c

    rfac0ac7 r7c3fb9b  
    191191                bitchunk_t *data = (bitchunk_t *) b->data;
    192192
    193                 /* Read the bitmap block, chunk per chunk,
     193                /*
     194                 * Read the bitmap block, chunk per chunk,
    194195                 * counting the zero bits.
    195196                 */
  • uspace/srv/fs/mfs/mfs_ops.c

    rfac0ac7 r7c3fb9b  
    246246
    247247        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.
    249250                 * Zones are a collection of consecutive blocks on disk.
    250251                 *
     
    776777
    777778        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
    779781                 * parent hard links counter.
    780782                 */
     
    12391241
    12401242        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,
    12421245                 * we need to scan the bitmap to retrieve the
    12431246                 * current value.
  • uspace/srv/hid/compositor/compositor.c

    rfac0ac7 r7c3fb9b  
    7777#define NAMESPACE  "comp"
    7878
    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 */
    8183#ifndef ANIMATE_WINDOW_TRANSFORMS
    8284#define ANIMATE_WINDOW_TRANSFORMS 0
     
    422424                            link != &window_list.head; link = link->prev) {
    423425
    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                                 */
    426430                                window_t *win = list_get_instance(link, window_t, link);
    427431                                if (!win->surface) {
     
    438442
    439443                                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                                         */
    442448                                        transform = win->transform;
    443449                                        double_point_t pos;
     
    470476
    471477                                        if (isec_ghost) {
    472                                                 /* FIXME: Ghost is currently drawn based on the bounding
     478                                                /*
     479                                                 * FIXME: Ghost is currently drawn based on the bounding
    473480                                                 * rectangle of the window, which is sufficient as long
    474481                                                 * as the windows can be rotated only by 90 degrees.
     
    476483                                                 * rotation, it should be drawn as four lines adjusted
    477484                                                 * 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                                                 */
    479487
    480488                                                transform_t transform = ptr->ghost.transform;
     
    532540                        list_foreach(pointer_list, link, pointer_t, ptr) {
    533541
    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                                 */
    536546                                sysarg_t x_dmg_ptr, y_dmg_ptr, w_dmg_ptr, h_dmg_ptr;
    537547                                surface_t *sf_ptr = ptr->cursor.states[ptr->state];
     
    543553
    544554                                if (isec_ptr) {
    545                                         /* Pointer is currently painted directly by copying pixels.
     555                                        /*
     556                                         * Pointer is currently painted directly by copying pixels.
    546557                                         * However, it is possible to draw the pointer similarly
    547558                                         * as window by using drawctx_transfer. It would allow
    548559                                         * more sophisticated control over drawing, but would also
    549                                          * cost more regarding the performance. */
     560                                         * cost more regarding the performance.
     561                                         */
    550562
    551563                                        sysarg_t x_vp = x_dmg_ptr - vp->pos.x;
     
    857869        loc_service_unregister(win->out_dsid);
    858870
    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         */
    861875        window_event_t *event_dummy = (window_event_t *) malloc(sizeof(window_event_t));
    862876        if (event_dummy) {
  • uspace/srv/hid/rfb/rfb.c

    rfac0ac7 r7c3fb9b  
    612612        }
    613613
    614         /* Security handshake
     614        /*
     615         * Security handshake
    615616         * 1 security type supported, which is 1 - None
    616617         */
  • uspace/srv/locsrv/locsrv.c

    rfac0ac7 r7c3fb9b  
    6767LIST_INITIALIZE(servers_list);
    6868
    69 /* Locking order:
     69/*
     70 * Locking order:
    7071 *  servers_list_mutex
    7172 *  services_list_mutex
    7273 *  (loc_server_t *)->services_mutex
    7374 *  create_id_mutex
    74  **/
     75 */
    7576
    7677FIBRIL_MUTEX_INITIALIZE(services_list_mutex);
     
    9798service_id_t loc_create_id(void)
    9899{
    99         /* TODO: allow reusing old ids after their unregistration
     100        /*
     101         * TODO: allow reusing old ids after their unregistration
    100102         * and implement some version of LRU algorithm, avoid overflow
    101103         */
     
    389391        fibril_mutex_lock(&servers_list_mutex);
    390392
    391         /* TODO:
     393        /*
     394         * TODO:
    392395         * Check that no server with name equal to
    393396         * server->name is registered
     
    10571060static void loc_get_services(cap_call_handle_t icall_handle, ipc_call_t *icall)
    10581061{
    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         */
    10611066
    10621067        cap_call_handle_t chandle;
  • uspace/srv/net/tcp/test/ucall.c

    rfac0ac7 r7c3fb9b  
    135135
    136136/** Test establishing and then closing down a connection first on one side,
    137  * then on_the other. */
     137 * then on_the other.
     138 */
    138139PCUT_TEST(conn_est_close_seq)
    139140{
  • uspace/srv/vfs/vfs_ipc.c

    rfac0ac7 r7c3fb9b  
    136136        }
    137137
    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
    139140         * system.
    140141         */
Note: See TracChangeset for help on using the changeset viewer.