Home
last modified time | relevance | path

Searched refs:cache_link_t (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h106 } 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 Ddevinfo_devlink.c479 CACHE(hdp)->hash = calloc(hash_sz, sizeof (cache_link_t *)); in cache_alloc()
636 cache_link_t *clp; in read_links()
923 cache_link_t *clp, in write_links()
1064 cache_link_t *clp; in cache_free()
1117 cache_link_t *clp; in subtree_free()
1146 rm_link_from_hash(struct di_devlink_handle *hdp, cache_link_t *clp) in rm_link_from_hash()
1149 cache_link_t **pp; in rm_link_from_hash()
1171 static cache_link_t *
1175 cache_link_t **pp, *clp; in link_hash()
1200 link2minor(struct di_devlink_handle *hdp, cache_link_t *clp) in link2minor()
[all …]