Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c1057 assert(CACHE_LAST(hdp) == NULL); in cache_free()
1334 if (CACHE_LAST(hdp) == cmnp) { in minor_free()
1336 CACHE_LAST(hdp) = NULL; in minor_free()
1474 if (!LOOKUP_CACHE(flags) || CACHE_LAST(hdp) == NULL || in get_last_node()
1475 CACHE_LAST(hdp)->node == NULL) { in get_last_node()
1479 cnp = CACHE_LAST(hdp)->node; in get_last_node()
1509 if (!LOOKUP_CACHE(flags) || CACHE_LAST(hdp) == NULL) { in get_last_minor()
1513 cmnp = CACHE_LAST(hdp); in get_last_minor()
1541 CACHE_LAST(hdp) = cmnp; in set_last_minor()
2677 } else if (CACHE_LAST(hdp) && CACHE_LAST(hdp)->node && in node_insert()
[all …]
H A Ddevinfo_devlink.h251 #define CACHE_LAST(h) (CACHE(h)->last_minor) macro