Changeset 29e7cc7 in mainline for uspace/srv
- Timestamp:
- 2025-04-18T15:14:10Z (11 months ago)
- Children:
- e77c3ed
- Parents:
- 800d188 (diff), 25fdb2d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/srv
- Files:
-
- 13 edited
-
devman/devtree.c (modified) (4 diffs)
-
fs/cdfs/cdfs_ops.c (modified) (1 diff)
-
fs/exfat/exfat_idx.c (modified) (3 diffs)
-
fs/fat/fat_idx.c (modified) (3 diffs)
-
fs/locfs/locfs_ops.c (modified) (1 diff)
-
fs/mfs/mfs_ops.c (modified) (1 diff)
-
fs/tmpfs/tmpfs_ops.c (modified) (2 diffs)
-
fs/udf/udf_idx.c (modified) (2 diffs)
-
hid/input/gsp.c (modified) (1 diff)
-
ns/service.c (modified) (2 diffs)
-
ns/task.c (modified) (2 diffs)
-
system/system.c (modified) (3 diffs)
-
vfs/vfs_node.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devtree.c
r800d188 r29e7cc7 32 32 */ 33 33 34 #include <errno.h>35 34 #include <io/log.h> 36 35 … … 61 60 } 62 61 63 static bool devman_devices_key_equal(const void *key, const ht_link_t *item)62 static bool devman_devices_key_equal(const void *key, size_t hash, const ht_link_t *item) 64 63 { 65 64 const devman_handle_t *handle = key; … … 68 67 } 69 68 70 static bool devman_functions_key_equal(const void *key, const ht_link_t *item)69 static bool devman_functions_key_equal(const void *key, size_t hash, const ht_link_t *item) 71 70 { 72 71 const devman_handle_t *handle = key; … … 87 86 } 88 87 89 static bool loc_functions_key_equal(const void *key, const ht_link_t *item)88 static bool loc_functions_key_equal(const void *key, size_t hash, const ht_link_t *item) 90 89 { 91 90 const service_id_t *service_id = key; -
uspace/srv/fs/cdfs/cdfs_ops.c
r800d188 r29e7cc7 298 298 } 299 299 300 static bool nodes_key_equal(const void *k, const ht_link_t *item)300 static bool nodes_key_equal(const void *k, size_t hash, const ht_link_t *item) 301 301 { 302 302 cdfs_node_t *node = hash_table_get_inst(item, cdfs_node_t, nh_link); -
uspace/srv/fs/exfat/exfat_idx.c
r800d188 r29e7cc7 37 37 38 38 #include "exfat.h" 39 #include "../../vfs/vfs.h"40 39 #include <errno.h> 41 40 #include <str.h> … … 139 138 } 140 139 141 static bool pos_key_equal(const void *key, const ht_link_t *item)140 static bool pos_key_equal(const void *key, size_t hash, const ht_link_t *item) 142 141 { 143 142 const pos_key_t *pos = key; … … 180 179 } 181 180 182 static bool idx_key_equal(const void *key_arg, const ht_link_t *item) 181 static bool idx_key_equal(const void *key_arg, size_t hash, 182 const ht_link_t *item) 183 183 { 184 184 exfat_idx_t *fidx = hash_table_get_inst(item, exfat_idx_t, uih_link); -
uspace/srv/fs/fat/fat_idx.c
r800d188 r29e7cc7 37 37 38 38 #include "fat.h" 39 #include "../../vfs/vfs.h"40 39 #include <errno.h> 41 40 #include <str.h> … … 139 138 } 140 139 141 static bool pos_key_equal(const void *key, const ht_link_t *item)140 static bool pos_key_equal(const void *key, size_t hash, const ht_link_t *item) 142 141 { 143 142 const pos_key_t *pos = key; … … 180 179 } 181 180 182 static bool idx_key_equal(const void *key_arg, const ht_link_t *item) 181 static bool idx_key_equal(const void *key_arg, size_t hash, 182 const ht_link_t *item) 183 183 { 184 184 fat_idx_t *fidx = hash_table_get_inst(item, fat_idx_t, uih_link); -
uspace/srv/fs/locfs/locfs_ops.c
r800d188 r29e7cc7 83 83 } 84 84 85 static bool services_key_equal(const void *key, const ht_link_t *item) 85 static bool services_key_equal(const void *key, size_t hash, 86 const ht_link_t *item) 86 87 { 87 88 const service_id_t *k = key; -
uspace/srv/fs/mfs/mfs_ops.c
r800d188 r29e7cc7 115 115 116 116 static bool 117 open_nodes_key_equal(const void *key, const ht_link_t *item)117 open_nodes_key_equal(const void *key, size_t hash, const ht_link_t *item) 118 118 { 119 119 const node_key_t *node_key = key; -
uspace/srv/fs/tmpfs/tmpfs_ops.c
r800d188 r29e7cc7 38 38 39 39 #include "tmpfs.h" 40 #include "../../vfs/vfs.h"41 40 #include <macros.h> 42 41 #include <stdint.h> … … 159 158 } 160 159 161 static bool nodes_key_equal(const void *key_arg, const ht_link_t *item) 160 static bool nodes_key_equal(const void *key_arg, size_t hash, 161 const ht_link_t *item) 162 162 { 163 163 tmpfs_node_t *node = hash_table_get_inst(item, tmpfs_node_t, nh_link); -
uspace/srv/fs/udf/udf_idx.c
r800d188 r29e7cc7 35 35 */ 36 36 37 #include "../../vfs/vfs.h"38 37 #include <errno.h> 39 38 #include <str.h> … … 69 68 } 70 69 71 static bool udf_idx_key_equal(const void *k, const ht_link_t *item)70 static bool udf_idx_key_equal(const void *k, size_t hash, const ht_link_t *item) 72 71 { 73 72 const udf_ht_key_t *key = k; -
uspace/srv/hid/input/gsp.c
r800d188 r29e7cc7 76 76 } 77 77 78 static bool trans_key_equal(const void *key, const ht_link_t *item)78 static bool trans_key_equal(const void *key, size_t hash, const ht_link_t *item) 79 79 { 80 80 const trans_key_t *trans_key = key; -
uspace/srv/ns/service.c
r800d188 r29e7cc7 79 79 } 80 80 81 static bool service_key_equal(const void *key, const ht_link_t *item) 81 static bool service_key_equal(const void *key, size_t hash, 82 const ht_link_t *item) 82 83 { 83 84 const service_t *srv = key; … … 102 103 } 103 104 104 static bool iface_key_equal(const void *key, const ht_link_t *item)105 static bool iface_key_equal(const void *key, size_t hash, const ht_link_t *item) 105 106 { 106 107 const iface_t *kiface = key; -
uspace/srv/ns/task.c
r800d188 r29e7cc7 66 66 } 67 67 68 static bool task_key_equal(const void *key, const ht_link_t *item)68 static bool task_key_equal(const void *key, size_t hash, const ht_link_t *item) 69 69 { 70 70 const task_id_t *tid = key; … … 111 111 } 112 112 113 static bool p2i_key_equal(const void *key, const ht_link_t *item)113 static bool p2i_key_equal(const void *key, size_t hash, const ht_link_t *item) 114 114 { 115 115 const sysarg_t *label = key; -
uspace/srv/system/system.c
r800d188 r29e7cc7 328 328 size_t nparts; 329 329 bool sv_mounted; 330 futil_t *futil = NULL; 330 331 size_t i; 331 332 errno_t rc; … … 380 381 381 382 /* Copy initial configuration files */ 382 rc = futil_ rcopy_contents("/cfg", "/w/cfg");383 rc = futil_create(NULL, NULL, &futil); 383 384 if (rc != EOK) 384 385 goto error; 386 387 rc = futil_rcopy_contents(futil, "/cfg", "/w/cfg"); 388 if (rc != EOK) 389 goto error; 390 391 futil_destroy(futil); 392 futil = NULL; 385 393 } else { 386 394 printf("%s: System volume is configured.\n", NAME); … … 429 437 if (part_ids != NULL) 430 438 free(part_ids); 439 if (futil != NULL) 440 futil_destroy(futil); 431 441 432 442 return rc; -
uspace/srv/vfs/vfs_node.c
r800d188 r29e7cc7 62 62 static size_t nodes_key_hash(const void *); 63 63 static size_t nodes_hash(const ht_link_t *); 64 static bool nodes_key_equal(const void *, const ht_link_t *);64 static bool nodes_key_equal(const void *, size_t, const ht_link_t *); 65 65 static vfs_triplet_t node_triplet(vfs_node_t *node); 66 66 … … 294 294 } 295 295 296 static bool nodes_key_equal(const void *key, const ht_link_t *item)296 static bool nodes_key_equal(const void *key, size_t hash, const ht_link_t *item) 297 297 { 298 298 const vfs_triplet_t *tri = key;
Note:
See TracChangeset
for help on using the changeset viewer.
