Changeset 0db0df2 in mainline for uspace/srv
- Timestamp:
- 2025-04-07T17:53:53Z (11 months ago)
- Branches:
- master
- Children:
- 45226285, 93de384
- Parents:
- 8f8818ac
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-07 16:41:57)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-07 17:53:53)
- Location:
- uspace/srv
- Files:
-
- 12 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)
-
vfs/vfs_node.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devtree.c
r8f8818ac r0db0df2 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
r8f8818ac r0db0df2 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
r8f8818ac r0db0df2 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
r8f8818ac r0db0df2 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
r8f8818ac r0db0df2 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
r8f8818ac r0db0df2 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
r8f8818ac r0db0df2 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
r8f8818ac r0db0df2 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
r8f8818ac r0db0df2 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
r8f8818ac r0db0df2 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
r8f8818ac r0db0df2 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/vfs/vfs_node.c
r8f8818ac r0db0df2 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.
