Changeset 7ae01d5 in mainline
- Timestamp:
- 2024-04-30T13:25:56Z (4 months ago)
- Branches:
- master
- Children:
- 926d9d9b
- Parents:
- bdd9e92
- git-author:
- Jiri Svoboda <jiri@…> (2024-04-29 18:25:36)
- git-committer:
- Jiri Svoboda <jiri@…> (2024-04-30 13:25:56)
- Location:
- uspace
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/blkdump/blkdump.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2011 Martin Sucha 3 * Copyright (c) 2013 Jiri Svoboda4 4 * All rights reserved. 5 5 * … … 150 150 } 151 151 152 rc = block_init(service_id , 2048);152 rc = block_init(service_id); 153 153 if (rc != EOK) { 154 154 printf(NAME ": Error initializing libblock.\n"); -
uspace/app/hbench/disk/randread.c
rbdd9e92 r7ae01d5 73 73 } 74 74 75 rc = block_init(svcid , 2048);75 rc = block_init(svcid); 76 76 if (rc != EOK) { 77 77 bench_run_fail(run, "failed opening block device '%s'", -
uspace/app/hbench/disk/seqread.c
rbdd9e92 r7ae01d5 73 73 } 74 74 75 rc = block_init(svcid , 2048);75 rc = block_init(svcid); 76 76 if (rc != EOK) { 77 77 bench_run_fail(run, "failed opening block device '%s'", -
uspace/app/init/untar.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2018 Martin Decky 3 4 * All rights reserved. … … 59 60 return ret; 60 61 61 ret = block_init(state->sid , 4096);62 ret = block_init(state->sid); 62 63 if (ret != EOK) 63 64 return ret; -
uspace/app/mkexfat/mkexfat.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2012 Maurizio Lombardi 3 4 * All rights reserved. … … 858 859 } 859 860 860 rc = block_init(service_id , 2048);861 rc = block_init(service_id); 861 862 if (rc != EOK) { 862 863 printf(NAME ": Error initializing libblock.\n"); -
uspace/app/mkfat/mkfat.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 20 10Jiri Svoboda2 * Copyright (c) 2024 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 198 198 } 199 199 200 rc = block_init(service_id , 2048);200 rc = block_init(service_id); 201 201 if (rc != EOK) { 202 202 printf(NAME ": Error initializing libblock.\n"); -
uspace/app/mkmfs/mkmfs.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2011 Maurizio Lombardi 3 4 * All rights reserved. … … 211 212 } 212 213 213 rc = block_init(service_id , 2048);214 rc = block_init(service_id); 214 215 if (rc != EOK) { 215 216 printf(NAME ": Error initializing libblock.\n"); -
uspace/app/sysinst/sysinst.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 20 18Jiri Svoboda2 * Copyright (c) 2024 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 361 361 362 362 printf("sysinst_copy_boot_blocks: block_init.\n"); 363 rc = block_init(sid , 512);363 rc = block_init(sid); 364 364 if (rc != EOK) 365 365 return rc; -
uspace/lib/bithenge/src/helenos/block.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2012 Sean Bartell 3 4 * All rights reserved. … … 103 104 // Initialize libblock 104 105 errno_t rc; 105 rc = block_init(service_id , 2048);106 rc = block_init(service_id); 106 107 if (rc != EOK) 107 108 return rc; -
uspace/lib/block/block.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2008 Jakub Jermar 3 4 * Copyright (c) 2008 Martin Decky … … 145 146 } 146 147 147 errno_t block_init(service_id_t service_id , size_t comm_size)148 errno_t block_init(service_id_t service_id) 148 149 { 149 150 bd_t *bd; -
uspace/lib/block/block.h
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2008 Jakub Jermar 3 4 * Copyright (c) 2008 Martin Decky … … 99 100 }; 100 101 101 extern errno_t block_init(service_id_t , size_t);102 extern errno_t block_init(service_id_t); 102 103 extern void block_fini(service_id_t); 103 104 -
uspace/lib/ext4/src/filesystem.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 20 18Jiri Svoboda2 * Copyright (c) 2024 Jiri Svoboda 3 3 * Copyright (c) 2011 Martin Sucha 4 4 * Copyright (c) 2012 Frantisek Princ … … 83 83 84 84 /* Initialize block library (4096 is size of communication channel) */ 85 rc = block_init(fs->device , 4096);85 rc = block_init(fs->device); 86 86 if (rc != EOK) 87 87 goto err; … … 265 265 266 266 /* Initialize block library (4096 is size of communication channel) */ 267 rc = block_init(service_id , 4096);267 rc = block_init(service_id); 268 268 if (rc != EOK) 269 269 goto err; -
uspace/srv/bd/vbd/disk.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 202 3Jiri Svoboda2 * Copyright (c) 2024 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 499 499 500 500 log_msg(LOG_DEFAULT, LVL_DEBUG, "block_init(%zu)", sid); 501 rc = block_init(sid , 2048);501 rc = block_init(sid); 502 502 if (rc != EOK) { 503 503 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed opening block device %s.", -
uspace/srv/fs/cdfs/cdfs_ops.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2011 Martin Decky 3 4 * All rights reserved. … … 1093 1094 1094 1095 /* Initialize the block layer */ 1095 errno_t rc = block_init(service_id , BLOCK_SIZE);1096 errno_t rc = block_init(service_id); 1096 1097 if (rc != EOK) 1097 1098 return rc; … … 1150 1151 { 1151 1152 /* Initialize the block layer */ 1152 errno_t rc = block_init(service_id , BLOCK_SIZE);1153 errno_t rc = block_init(service_id); 1153 1154 if (rc != EOK) 1154 1155 return rc; -
uspace/srv/fs/exfat/exfat_ops.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2008 Jakub Jermar 3 4 * Copyright (c) 2011 Oleg Romanenko … … 1020 1021 1021 1022 /* initialize libblock */ 1022 rc = block_init(service_id , BS_SIZE);1023 rc = block_init(service_id); 1023 1024 if (rc != EOK) 1024 1025 return rc; -
uspace/srv/fs/fat/fat_ops.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2008 Jakub Jermar 3 4 * Copyright (c) 2011 Oleg Romanenko … … 916 917 917 918 /* initialize libblock */ 918 rc = block_init(service_id , BS_SIZE);919 rc = block_init(service_id); 919 920 if (rc != EOK) 920 921 return rc; -
uspace/srv/fs/mfs/mfs_ops.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2011 Maurizio Lombardi 3 4 * All rights reserved. … … 283 284 284 285 /* Initialize libblock */ 285 rc = block_init(service_id , 4096);286 rc = block_init(service_id); 286 287 if (rc != EOK) 287 288 return rc; … … 310 311 311 312 /* Initialize libblock */ 312 rc = block_init(service_id , 4096);313 rc = block_init(service_id); 313 314 if (rc != EOK) 314 315 return rc; -
uspace/srv/fs/udf/udf.h
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2008 Jakub Jermar 3 4 * Copyright (c) 2012 Julia Medvedeva … … 51 52 52 53 #define BS_BLOCK 0 53 #define MIN_SIZE 51254 #define MAX_SIZE 819255 54 #define DEFAULT_VOL 0 56 55 -
uspace/srv/fs/udf/udf_ops.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 2024 Jiri Svoboda 2 3 * Copyright (c) 2008 Jakub Jermar 3 4 * Copyright (c) 2012 Julia Medvedeva … … 323 324 324 325 /* initialize block cache */ 325 errno_t rc = block_init(service_id , MAX_SIZE);326 errno_t rc = block_init(service_id); 326 327 if (rc != EOK) { 327 328 free(instance); -
uspace/srv/volsrv/empty.c
rbdd9e92 r7ae01d5 1 1 /* 2 * Copyright (c) 20 15Jiri Svoboda2 * Copyright (c) 2024 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 62 62 label_bd_t lbd; 63 63 64 rc = block_init(sid , 2048);64 rc = block_init(sid); 65 65 if (rc != EOK) { 66 66 log_msg(LOG_DEFAULT, LVL_ERROR, "Error opening " … … 83 83 label_bd_t lbd; 84 84 85 rc = block_init(sid , 2048);85 rc = block_init(sid); 86 86 if (rc != EOK) { 87 87 log_msg(LOG_DEFAULT, LVL_ERROR, "Error opening "
Note:
See TracChangeset
for help on using the changeset viewer.