| /illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
| H A D | vmbest.c | 124 for(t = CACHE(vd)[C_INDEX(SIZE(b))]; t; t = LINK(t)) 130 for(t = CACHE(vd)[S_CACHE]; t; t = LINK(t)) 377 { LINK(fp) = CACHE(vd)[S_CACHE]; CACHE(vd)[S_CACHE] = fp; 383 { list = CACHE(vd)[n]; CACHE(vd)[n] = NIL(Block_t*); 592 LINK(bp) = CACHE(vd)[C_INDEX(SIZE(bp))]; 593 CACHE(vd)[C_INDEX(SIZE(bp))] = bp; 656 LINK(tp) = CACHE(vd)[S_CACHE]; 657 CACHE(vd)[S_CACHE] = tp; 811 { /**/ASSERT(!vmonlist(CACHE(vd)[INDEX(s)], bp) ); 812 LINK(bp) = CACHE(vd)[INDEX(s)]; [all …]
|
| H A D | vmclear.c | 56 CACHE(vd)[s] = NIL(Block_t*); 71 LINK(tp) = CACHE(vd)[C_INDEX(SIZE(tp))]; 72 CACHE(vd)[C_INDEX(SIZE(tp))] = tp;
|
| H A D | vmprivate.c | 173 LINK(tp) = CACHE(vd)[C_INDEX(SIZE(tp))]; 174 CACHE(vd)[C_INDEX(SIZE(tp))] = tp;
|
| H A D | vmopen.c | 126 CACHE(vd)[k] = NIL(Block_t*);
|
| H A D | vmhdr.h | 303 #define CACHE(vd) ((vd)->cache) macro
|
| /illumos-gate/usr/src/lib/libdevinfo/ |
| H A D | devinfo_devlink.c | 189 CACHE(hdp)->update_count = DB_HDR(hdp)->update_count; in di_devlink_open() 480 CACHE(hdp)->hash = calloc(hash_sz, sizeof (cache_link_t *)); in cache_alloc() 481 if (CACHE(hdp)->hash == NULL) { in cache_alloc() 484 CACHE(hdp)->hash_sz = hash_sz; in cache_alloc() 718 "di_devlink_close: update_count = %u\n", CACHE(hdp)->update_count); in di_devlink_close() 726 if (CACHE(hdp)->update_count == 0) { in di_devlink_close() 727 CACHE(hdp)->update_count = 1; in di_devlink_close() 765 (void) write_links(hdp, NULL, CACHE(hdp)->dngl, next); in di_devlink_close() 766 DB_HDR(hdp)->update_count = CACHE(hdp)->update_count; in di_devlink_close() 941 if (clp != NULL && ((pdmp == NULL) ^ (clp == CACHE(hdp)->dngl))) { in write_links() [all …]
|
| H A D | devinfo_devlink.h | 248 #define CACHE(h) (&(h)->cache) macro 249 #define CACHE_ROOT(h) (CACHE(h)->root) 250 #define CACHE_HASH(h, i) (CACHE(h)->hash[i]) 251 #define CACHE_LAST(h) (CACHE(h)->last_minor) 252 #define CACHE_EMPTY(h) (CACHE(h)->root == NULL && CACHE(h)->dngl == NULL)
|
| /illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/ |
| H A D | regcache.c | 32 #define CACHE 8 /* default # cached re's */ macro 113 if (!(matchstate.cache = newof(0, Cache_t*, CACHE, 0))) in regcache() 115 matchstate.size = CACHE; in regcache()
|
| /illumos-gate/usr/src/grub/grub-0.97/stage2/ |
| H A D | fsys_reiserfs.c | 345 #define CACHE(i) (ROOT + ((i) << INFO->fullblocksize_shift)) macro 346 #define LEAF CACHE (DISK_LEAF_NODE_LEVEL) 695 char* cache = CACHE(depth); in read_tree_node() 706 cache = CACHE(num_cached); in read_tree_node() 769 cache = CACHE (depth); in next_key()
|
| /illumos-gate/usr/src/lib/fm/topo/modules/common/zen/ |
| H A D | topo_zen_tn.c | 144 tnode_t *tn = topo_zen_create_tn(mod, sock, pnode, inst, CACHE); in topo_zen_build_cache() 315 if (topo_node_range_create(mod, zt_core->ztcore_tn, CACHE, 0, 2) != 0) { in topo_zen_build_core() 388 if (topo_node_range_create(mod, zt_ccx->ztccx_tn, CACHE, 0, 0) != 0) { in topo_zen_build_ccx()
|
| /illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
| H A D | pplex.c | 51 #define CACHE() do{CACHEINX();CACHEOUTX();st=pp.state;if(!pp.hidden)spliced=0;}while(0) macro 159 #define CACHE() do{CACHEIN();CACHEOUT();}while(0) macro 212 CACHE(); in ppcpp() 398 CACHE(); in ppcpp() 444 CACHE(); in ppcpp() 1661 CACHE(); in ppcpp() 1736 CACHE(); in ppcpp() 1762 CACHE(); in ppcpp() 1773 CACHE(); in ppcpp()
|
| H A D | ppproto.c | 509 #define CACHE() do{CACHEIN();CACHEOUT();call=proto->call;}while(0) macro 614 CACHE(); in lex() 1896 CACHE(); in lex()
|
| /illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
| H A D | topo_hc.h | 42 #define CACHE "cache" macro
|
| H A D | hc.c | 154 { CACHE, TOPO_STABILITY_PRIVATE },
|
| /illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
| H A D | ql_nx.h | 1211 #define CACHE 10 macro
|
| /illumos-gate/usr/src/lib/libidmap/common/ |
| H A D | idmap_api.c | 1960 return_cmp(CACHE); in idmap_string2stat()
|