Home
last modified time | relevance | path

Searched refs:cache_lookup (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Ddump_rcm.c91 static dump_conf_t *cache_lookup(char *);
170 if ((dc = cache_lookup(rsrcname)) == NULL) { in dump_getinfo()
201 if ((dc = cache_lookup(rsrcname)) == NULL) { in dump_suspend()
223 if ((dc = cache_lookup(rsrcname)) == NULL) { in dump_resume()
253 if ((dc = cache_lookup(rsrcname)) == NULL) { in dump_offline()
283 if ((dc = cache_lookup(rsrcname)) == NULL) { in dump_online()
304 if ((dc = cache_lookup(rsrcname)) == NULL) { in dump_remove()
461 } else if ((ent = cache_lookup(curr_dump->device)) != NULL) { in update_cache()
519 cache_lookup(char *rsrc) in cache_lookup() function
H A Dswap_rcm.c98 static swap_file_t *cache_lookup(char *);
181 if (cache_lookup(rsrcname) == NULL) { in swap_getinfo()
212 if ((sf = cache_lookup(rsrcname)) == NULL) { in swap_suspend()
234 if ((sf = cache_lookup(rsrcname)) == NULL) { in swap_resume()
263 if ((sf = cache_lookup(rsrcname)) == NULL) { in swap_offline()
291 if ((sf = cache_lookup(rsrcname)) == NULL) { in swap_online()
312 if ((sf = cache_lookup(rsrcname)) == NULL) { in swap_remove()
476 if ((sf = cache_lookup(swt->swt_ent[i].ste_path)) == NULL) { in update_cache()
683 cache_lookup(char *rsrc) in cache_lookup() function
H A Dbridge_rcm.c115 static link_cache_t *cache_lookup(rcm_handle_t *, char *, uint_t);
292 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in bridge_offline()
339 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in bridge_undo_offline()
389 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in bridge_get_info()
454 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in bridge_remove()
593 cache_lookup(rcm_handle_t *hd, char *rsrc, uint_t options) in cache_lookup() function
700 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in bridge_update()
875 if (((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) != NULL) && in bridge_configure()
H A Dvlan_rcm.c129 static link_cache_t *cache_lookup(rcm_handle_t *, char *, char);
313 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in vlan_offline()
370 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in vlan_undo_offline()
473 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in vlan_get_info()
579 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in vlan_remove()
762 cache_lookup(rcm_handle_t *hd, char *rsrc, char options) in cache_lookup() function
879 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in vlan_update()
1182 if ((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) == NULL) { in vlan_notify_new_vlan()
1245 if ((node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH)) != NULL) { in vlan_consumer_notify()
1315 if (((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) != NULL) && in vlan_configure()
H A Dibpart_rcm.c129 static link_cache_t *cache_lookup(rcm_handle_t *, char *, char);
313 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in ibpart_offline()
370 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in ibpart_undo_offline()
483 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in ibpart_get_info()
590 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in ibpart_remove()
778 cache_lookup(rcm_handle_t *hd, char *rsrc, char options) in cache_lookup() function
906 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in ibpart_update()
1214 if ((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) == NULL) { in ibpart_notify_new_ibpart()
1278 if ((node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH)) != NULL) { in ibpart_consumer_notify()
1350 if (((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) != NULL) && in ibpart_configure()
H A Dvnic_rcm.c129 static link_cache_t *cache_lookup(rcm_handle_t *, char *, char);
313 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in vnic_offline()
370 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in vnic_undo_offline()
476 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in vnic_get_info()
582 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in vnic_remove()
765 cache_lookup(rcm_handle_t *hd, char *rsrc, char options) in cache_lookup() function
891 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in vnic_update()
1194 if ((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) == NULL) { in vnic_notify_new_vnic()
1256 if ((node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH)) != NULL) { in vnic_consumer_notify()
1326 if (((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) != NULL) && in vnic_configure()
H A Daggr_rcm.c136 static link_cache_t *cache_lookup(rcm_handle_t *, char *, char);
383 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in aggr_offline()
442 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in aggr_undo_offline()
586 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in aggr_get_info()
657 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in aggr_remove()
837 cache_lookup(rcm_handle_t *hd, char *rsrc, char options) in cache_lookup() function
924 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in aggr_port_update()
1274 if ((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) == NULL) { in aggr_notify_new_aggr()
1347 if ((node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH)) != NULL) in aggr_consumer_notify()
1451 if (((node = cache_lookup(hd, rsrc, CACHE_REFRESH)) != NULL) && in aggr_configure_all()
H A Dnetwork_rcm.c103 static net_cache_t *cache_lookup(const char *resource);
284 node = cache_lookup(rsrc); in net_passthru()
438 node = cache_lookup(rsrc); in net_getinfo()
577 cache_lookup(const char *resource) in cache_lookup() function
689 probe = cache_lookup(resource); in devfs_entry()
H A Dfilesys_rcm.c108 static hashentry_t *cache_lookup(cache_t *, char *);
292 if ((entry = cache_lookup(mnt_cache, rsrc)) == NULL) { in mnt_offline()
907 if (cache_lookup(old_cache, entry->special) == NULL) { in cache_sync()
928 if (cache_lookup(new_cache, entry->special) == NULL) { in cache_sync()
1047 cache_lookup(cache_t *cache, char *rsrc) in cache_lookup() function
1373 if ((entry = cache_lookup(mnt_cache, rsrc)) == NULL) { in use_cache()
H A Dsvm_rcm.c184 static deventry_t *cache_lookup(cache_t *cache, char *devname);
436 if ((deventry = cache_lookup(svm_cache, rsrc)) == NULL) { in svm_offline()
566 deventry = cache_lookup(svm_cache, rsrc); in svm_online()
634 deventry = cache_lookup(svm_cache, rsrc); in svm_get_info()
777 if ((deventry = cache_lookup(svm_cache, rsrc)) == NULL) { in svm_suspend()
845 if ((deventry = cache_lookup(svm_cache, rsrc)) == NULL) { in svm_resume()
910 if ((deventry = cache_lookup(svm_cache, rsrc)) == NULL) { in svm_remove()
2013 cache_lookup(cache_t *cache, char *devname) in cache_lookup() function
2111 deventry = cache_lookup(old_cache, devicename); in cache_sync()
H A Dip_rcm.c186 static ip_cache_t *cache_lookup(rcm_handle_t *, char *, char);
412 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in ip_offline()
553 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in ip_undo_offline()
617 node = cache_lookup(hd, rsrc, CACHE_REFRESH); in ip_get_info()
711 node = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in ip_remove()
958 cache_lookup(rcm_handle_t *hd, char *rsrc, char options) in cache_lookup() function
1129 probe = cache_lookup(hd, rsrc, CACHE_NO_REFRESH); in update_pif()
2245 if ((node = cache_lookup(hd, cached_name, CACHE_REFRESH)) == NULL) { in ip_consumer_notify()
2278 if (((node = cache_lookup(NULL, cached_name, CACHE_REFRESH)) != NULL) && in if_configure_get_linkid()
H A Dttymux_rcm.c156 cache_lookup(const char *resource) in cache_lookup() function
252 rsrc_t *rsrc = cache_lookup(resource); in cache_get()
720 rsrc = cache_lookup(resource); in locate_dev()
971 rsrc = cache_lookup(rsrcid); in rsrc_change_common()
1353 rsrc = cache_lookup(rsrcid); in tty_getinfo()
/titanic_41/usr/src/cmd/isns/isnsd/
H A Dqry.c203 ec = cache_lookup(lcp, NULL, cb_qry_child_uids); in e2c()
245 uid = (uint32_t)cache_lookup(lcp, NULL, in qry_c2e()
355 puid = (uint32_t)cache_lookup(&lc, NULL, in qry_e2g()
382 ec = cache_lookup(lcp, NULL, cb_clone_attrs); in qry_i2g()
448 ec = cache_lookup(lcp, NULL, cb_clone_attrs); in qry_p2g()
502 ec = cache_lookup(lcp, NULL, cb_clone_attrs); in qry_g2i()
547 ec = cache_lookup(lcp, NULL, cb_clone_attrs); in qry_g2p()
732 match = cache_lookup(&lc, NULL, cb_attrs_match); in attrs_match()
1197 ec = cache_lookup(&lc, NULL, cb_qry_rsp); in get_qry_attrs()
H A Disns_cache.h78 int cache_lookup(lookup_ctrl_t *, uint32_t *, int (*)(void *, void *));
H A Dscn.c653 while (cache_lookup(&lc_pg, &pg_uid, cb_clone_attrs) == 0 && in extract_scn_portal()
660 port = cache_lookup(&lc_p, &uid, cb_get_scn_port); in extract_scn_portal()
961 nt = cache_lookup(&lc, NULL, cb_get_node_type); in make_raw_assoc_iscsi()
1131 uid = cache_lookup(&pg_lc, &pg_uid, cb_pg_node); in scn_gen_portal()
1135 (void) cache_lookup(&lc, NULL, cb_clone_attrs); in scn_gen_portal()
1168 uid = cache_lookup(&pg_lc, &pg_uid, cb_pg_node); in scn_gen_portal()
1996 ec = cache_lookup(&lc, &uid, cb_update_scn_bitmap); in add_scn_entry()
2052 ec = cache_lookup(&lc, &uid, cb_update_scn_bitmap); in remove_scn_entry()
H A Dadmintf.c1521 ret = cache_lookup(&lc, &uid, cb_get_node_info); in get_node_op()
1538 ret = cache_lookup(&lc2, &uid, cb_get_entity_info); in get_node_op()
1569 ret = cache_lookup(&lc2, &uid, cb_get_pg_info); in get_node_op()
1581 ret = cache_lookup(&lc3, &uid, in get_node_op()
1643 ret = cache_lookup(&lc, &uid, cb_get_dd_info); in i_get_dd_dds_op()
1650 ret = cache_lookup(&lc, &uid, cb_get_ddset_info); in i_get_dd_dds_op()
1848 ret = cache_lookup(&lc, NULL, cb_enumerate_node_info); in enumerate_node_op()
1887 ret = cache_lookup(&lc, NULL, cb_enumerate_dd_info); in enumerate_dd_op()
1925 ret = cache_lookup(&lc, NULL, cb_enumerate_ddset_info); in enumerate_ddset_op()
1975 ret = cache_lookup(&lc2, NULL, in getAssociated_dd_to_node_op()
[all …]
H A Dobj.c2445 uid = cache_lookup(&lc, NULL, cb_get_parent); in reg_auth_src()
2451 uid = cache_lookup(&lc, NULL, cb_node_child); in reg_auth_src()
2825 ec = cache_lookup(&lc, NULL, cb_add_child); in update_child_obj()
2850 (void) cache_lookup(&lc, &uid, cb_set_ref); in update_ref_obj()
2883 ec = cache_lookup(&lc, NULL, cb_verify_ref); in verify_ref_obj()
2987 (void) cache_lookup(lcp, &uid, NULL); in is_obj_there()
3006 return (cache_lookup(&lc, NULL, cb_get_parent)); in is_parent_there()
3579 match = cache_lookup(lcp, &uid, cb_ref_new2old); in ref_new2old()
3588 ec = cache_lookup(&lc, NULL, cb_new_ref); in ref_new2old()
3711 if (cache_lookup(lcp, &uid, cb_clear_ref) != 0) { in do_dereg()
[all …]
H A Dcache.c360 cache_lookup( in cache_lookup() function
H A Desi.c333 num_of_portal = (uint32_t)cache_lookup(&lc, NULL, cb_portal_uids); in extract_esi_portal()
344 intv = cache_lookup(&lc, NULL, cb_esi_portal); in extract_esi_portal()
H A Ddump.c1215 cache_lookup(&lc, &uid, cb_print_obj_n); in list_ddn()
1224 cache_lookup(&lc, NULL, cb_print_obj_n); in list_ddn()
1244 cache_lookup(&lc, &uid, cb_print_obj_n); in list_ddsn()
1253 cache_lookup(&lc, NULL, cb_print_obj_n); in list_ddsn()
H A Ddd.c271 ec = cache_lookup(&lc, &tmp_id, cb_clone_attrs); in get_member_info()
693 return (cache_lookup(&lc, NULL, cb_get_dds_status)); in get_dds_status()
1434 ec = cache_lookup(&lc, &uid, cb_update_ds_attr); in update_ds_uint32()
/titanic_41/usr/src/cmd/svc/configd/
H A Drc_node.c846 cache_lookup(rc_node_lookup_t *lp) in cache_lookup() function
3100 np = cache_lookup(&np_orig->rn_id); in rc_node_parent()
4470 current = cache_lookup(&np->rn_id); in rc_node_no_client_refs()
4803 np = cache_lookup(&np_orig->rn_id); in rc_node_delete()
5273 np = cache_lookup(&np_orig->rn_id); in rc_attach_snapshot()