Searched refs:cache_link_t (Results 1 – 2 of 2) sorted by relevance
| /illumos-gate/usr/src/lib/libdevinfo/ |
| H A D | devinfo_devlink.h | 106 } cache_link_t; typedef 128 cache_link_t **hash; /* hash table */ 130 cache_link_t *dngl; /* list of dangling links */ 308 static cache_link_t *link_insert(struct di_devlink_handle *hdp, 312 static void link_delete(di_devlink_handle_t hdp, cache_link_t *clp); 319 cache_link_t *clp, uint32_t *next); 320 static void rm_link_from_hash(struct di_devlink_handle *hdp, cache_link_t *clp); 330 static void link_free(cache_link_t **pp); 333 static void count_link(cache_link_t *clp, uint32_t *count); 340 static cache_link_t *add_link(struct di_devlink_handle *hdp, const char *link, [all …]
|
| H A D | devinfo_devlink.c | 480 CACHE(hdp)->hash = calloc(hash_sz, sizeof (cache_link_t *)); in cache_alloc() 637 cache_link_t *clp; in read_links() 931 cache_link_t *clp, in write_links() 1072 cache_link_t *clp; in cache_free() 1125 cache_link_t *clp; in subtree_free() 1154 rm_link_from_hash(struct di_devlink_handle *hdp, cache_link_t *clp) in rm_link_from_hash() 1157 cache_link_t **pp; in rm_link_from_hash() 1179 static cache_link_t * 1183 cache_link_t **pp, *clp; in link_hash() 1208 link2minor(struct di_devlink_handle *hdp, cache_link_t *clp) in link2minor() [all …]
|