Searched refs:varpd_impl_t (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/lib/varpd/libvarpd/common/ |
H A D | libvarpd_impl.h | 62 } varpd_impl_t; typedef 76 varpd_impl_t *vri_impl; /* RO */ 196 extern varpd_plugin_t *libvarpd_plugin_lookup(varpd_impl_t *, const char *); 198 extern varpd_instance_t *libvarpd_instance_lookup_by_dlid(varpd_impl_t *, 205 typedef int (*libvarpd_dirwalk_f)(varpd_impl_t *, const char *, void *); 206 extern int libvarpd_dirwalk(varpd_impl_t *, const char *, const char *, 209 extern int libvarpd_overlay_init(varpd_impl_t *); 210 extern void libvarpd_overlay_fini(varpd_impl_t *); 211 extern int libvarpd_overlay_info(varpd_impl_t *, datalink_id_t, 216 extern int libvarpd_overlay_degrade_datalink(varpd_impl_t *, datalink_id_t, [all …]
|
H A D | libvarpd_overlay.c | 37 libvarpd_overlay_init(varpd_impl_t *vip) in libvarpd_overlay_init() 46 libvarpd_overlay_fini(varpd_impl_t *vip) in libvarpd_overlay_fini() 55 libvarpd_overlay_info(varpd_impl_t *vip, datalink_id_t linkid, in libvarpd_overlay_info() 77 varpd_impl_t *vip = inst->vri_impl; in libvarpd_overlay_associate() 103 varpd_impl_t *vip = inst->vri_impl; in libvarpd_overlay_disassociate() 112 libvarpd_overlay_degrade_datalink(varpd_impl_t *vip, datalink_id_t linkid, in libvarpd_overlay_degrade_datalink() 136 varpd_impl_t *vip = inst->vri_impl; in libvarpd_overlay_restore() 145 libvarpd_overlay_packet(varpd_impl_t *vip, const overlay_targ_lookup_t *otl, in libvarpd_overlay_packet() 171 libvarpd_overlay_inject_common(varpd_impl_t *vip, varpd_instance_t *inst, in libvarpd_overlay_inject_common() 199 libvarpd_overlay_inject(varpd_impl_t *vip, const overlay_targ_lookup_t *otl, in libvarpd_overlay_inject() [all …]
|
H A D | libvarpd_door.c | 32 typedef int (libvarpd_door_f)(varpd_impl_t *, varpd_client_arg_t *, ucred_t *); 48 libvarpd_door_f_create(varpd_impl_t *vip, varpd_client_arg_t *vcap, in libvarpd_door_f_create() 66 libvarpd_door_f_activate(varpd_impl_t *vip, varpd_client_arg_t *vcap, in libvarpd_door_f_activate() 80 libvarpd_door_f_destroy(varpd_impl_t *vip, varpd_client_arg_t *vcap, in libvarpd_door_f_destroy() 95 libvarpd_door_f_nprops(varpd_impl_t *vip, varpd_client_arg_t *vcap, in libvarpd_door_f_nprops() 110 libvarpd_door_f_propinfo(varpd_impl_t *vip, varpd_client_arg_t *vcap, in libvarpd_door_f_propinfo() 170 libvarpd_door_f_getprop(varpd_impl_t *vip, varpd_client_arg_t *vcap, in libvarpd_door_f_getprop() 201 libvarpd_door_f_setprop(varpd_impl_t *vip, varpd_client_arg_t *vcap, in libvarpd_door_f_setprop() 229 libvarpd_door_f_lookup(varpd_impl_t *vip, varpd_client_arg_t *vcap, in libvarpd_door_f_lookup() 245 libvarpd_door_f_target(varpd_impl_t *vip, varpd_client_arg_t *vcap, in libvarpd_door_f_target() [all …]
|
H A D | libvarpd.c | 64 varpd_impl_t *vip; in libvarpd_create() 71 vip = umem_alloc(sizeof (varpd_impl_t), UMEM_DEFAULT); in libvarpd_create() 75 bzero(vip, sizeof (varpd_impl_t)); in libvarpd_create() 81 umem_free(vip, sizeof (varpd_impl_t)); in libvarpd_create() 90 umem_free(vip, sizeof (varpd_impl_t)); in libvarpd_create() 97 umem_free(vip, sizeof (varpd_impl_t)); in libvarpd_create() 123 varpd_impl_t *vip = (varpd_impl_t *)vhp; in libvarpd_destroy() 132 umem_free(vip, sizeof (varpd_impl_t)); in libvarpd_destroy() 140 varpd_impl_t *vip = (varpd_impl_t *)vhp; in libvarpd_instance_create() 215 varpd_impl_t *vip = (varpd_impl_t *)vhp; in libvarpd_instance_lookup() [all …]
|
H A D | libvarpd_persist.c | 55 libvarpd_persist_init(varpd_impl_t *vip) in libvarpd_persist_init() 63 libvarpd_persist_fini(varpd_impl_t *vip) in libvarpd_persist_fini() 83 varpd_impl_t *vip = (varpd_impl_t *)vhp; in libvarpd_persist_enable() 198 libvarpd_persist_instance(varpd_impl_t *vip, varpd_instance_t *inst) in libvarpd_persist_instance() 247 libvarpd_torch_instance(varpd_impl_t *vip, varpd_instance_t *inst) in libvarpd_torch_instance() 279 libvarpd_persist_restore_instance(varpd_impl_t *vip, nvlist_t *nvl) in libvarpd_persist_restore_instance() 390 libvarpd_persist_restore_one(varpd_impl_t *vip, int fd) in libvarpd_persist_restore_one() 447 libvarpd_check_degrade_cb(varpd_impl_t *vip, datalink_id_t linkid, void *arg) in libvarpd_check_degrade_cb() 468 libvarpd_check_degrade(varpd_impl_t *vip) in libvarpd_check_degrade() 480 varpd_impl_t *vip = (varpd_impl_t *)vhp; in libvarpd_persist_restore() [all …]
|
H A D | libvarpd_plugin.c | 29 static varpd_impl_t *varpd_load_handle; 150 libvarpd_plugin_lookup(varpd_impl_t *vip, const char *name) in libvarpd_plugin_lookup() 164 libvarpd_plugin_load_cb(varpd_impl_t *vip, const char *path, void *unused) in libvarpd_plugin_load_cb() 181 varpd_impl_t *vip = (varpd_impl_t *)vph; in libvarpd_plugin_load() 205 varpd_impl_t *vip = (varpd_impl_t *)vph; in libvarpd_plugin_walk()
|
H A D | libvarpd_util.c | 38 libvarpd_dirwalk(varpd_impl_t *vip, const char *path, const char *suffix, in libvarpd_dirwalk()
|
H A D | libvarpd_prop.c | 27 varpd_impl_t *vprop_vip; 158 infop->vprop_vip = (varpd_impl_t *)vph; in libvarpd_prop_handle_alloc()
|