From 83dfd36c1f6502b441f70b15a69cc738d3ee6379 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Thu, 26 Oct 2006 23:05:41 +0000 Subject: [PATCH] Indentations. This commit was SVN r12328. --- ompi/mca/btl/self/btl_self_component.c | 49 +++++++++++++------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/ompi/mca/btl/self/btl_self_component.c b/ompi/mca/btl/self/btl_self_component.c index f635dbf369..15d52328db 100644 --- a/ompi/mca/btl/self/btl_self_component.c +++ b/ompi/mca/btl/self/btl_self_component.c @@ -145,10 +145,9 @@ int mca_btl_self_component_close(void) /* * SELF component initialization */ -mca_btl_base_module_t** mca_btl_self_component_init( - int *num_btls, - bool enable_progress_threads, - bool enable_mpi_threads) +mca_btl_base_module_t** mca_btl_self_component_init( int *num_btls, + bool enable_progress_threads, + bool enable_mpi_threads ) { mca_btl_base_module_t **btls = NULL; *num_btls = 0; @@ -161,27 +160,27 @@ mca_btl_base_module_t** mca_btl_self_component_init( } /* initialize free lists */ - ompi_free_list_init(&mca_btl_self_component.self_frags_eager, - sizeof(mca_btl_self_frag_eager_t) + mca_btl_self.btl_eager_limit, - OBJ_CLASS(mca_btl_self_frag_eager_t), - mca_btl_self_component.free_list_num, - mca_btl_self_component.free_list_max, - mca_btl_self_component.free_list_inc, - NULL); - ompi_free_list_init(&mca_btl_self_component.self_frags_send, - sizeof(mca_btl_self_frag_send_t) + mca_btl_self.btl_max_send_size, - OBJ_CLASS(mca_btl_self_frag_send_t), - mca_btl_self_component.free_list_num, - mca_btl_self_component.free_list_max, - mca_btl_self_component.free_list_inc, - NULL); - ompi_free_list_init(&mca_btl_self_component.self_frags_rdma, - sizeof(mca_btl_self_frag_rdma_t), - OBJ_CLASS(mca_btl_self_frag_rdma_t), - mca_btl_self_component.free_list_num, - mca_btl_self_component.free_list_max, - mca_btl_self_component.free_list_inc, - NULL); + ompi_free_list_init( &mca_btl_self_component.self_frags_eager, + sizeof(mca_btl_self_frag_eager_t) + mca_btl_self.btl_eager_limit, + OBJ_CLASS(mca_btl_self_frag_eager_t), + mca_btl_self_component.free_list_num, + mca_btl_self_component.free_list_max, + mca_btl_self_component.free_list_inc, + NULL ); + ompi_free_list_init( &mca_btl_self_component.self_frags_send, + sizeof(mca_btl_self_frag_send_t) + mca_btl_self.btl_max_send_size, + OBJ_CLASS(mca_btl_self_frag_send_t), + mca_btl_self_component.free_list_num, + mca_btl_self_component.free_list_max, + mca_btl_self_component.free_list_inc, + NULL ); + ompi_free_list_init( &mca_btl_self_component.self_frags_rdma, + sizeof(mca_btl_self_frag_rdma_t), + OBJ_CLASS(mca_btl_self_frag_rdma_t), + mca_btl_self_component.free_list_num, + mca_btl_self_component.free_list_max, + mca_btl_self_component.free_list_inc, + NULL ); /* get pointer to the btls */ btls[0] = (mca_btl_base_module_t *)(&mca_btl_self);