Searched refs:cache_link_t (Results 1 – 2 of 2) sorted by relevance
/titanic_41/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 | 475 CACHE(hdp)->hash = calloc(hash_sz, sizeof (cache_link_t *)); in cache_alloc() 631 cache_link_t *clp; in read_links() 915 cache_link_t *clp, in write_links() 1054 cache_link_t *clp; in cache_free() 1107 cache_link_t *clp; in subtree_free() 1136 rm_link_from_hash(struct di_devlink_handle *hdp, cache_link_t *clp) in rm_link_from_hash() 1139 cache_link_t **pp; in rm_link_from_hash() 1160 static cache_link_t * 1164 cache_link_t **pp, *clp; in link_hash() 1189 link2minor(struct di_devlink_handle *hdp, cache_link_t *clp) in link2minor() [all …]
|