Lines Matching refs:handle
42 get_priv_data(xenstat_handle *handle) in get_priv_data() argument
44 if (handle->priv != NULL) in get_priv_data()
45 return handle->priv; in get_priv_data()
47 handle->priv = malloc(sizeof(struct priv_data)); in get_priv_data()
48 if (handle->priv == NULL) in get_priv_data()
51 ((struct priv_data *)handle->priv)->procnetdev = NULL; in get_priv_data()
52 ((struct priv_data *)handle->priv)->sysfsvbd = NULL; in get_priv_data()
54 return handle->priv; in get_priv_data()
72 void xenstat_uninit_networks(xenstat_handle * handle) in xenstat_uninit_networks() argument
74 struct priv_data *priv = get_priv_data(handle); in xenstat_uninit_networks()
92 void xenstat_uninit_vbds(xenstat_handle * handle) in xenstat_uninit_vbds() argument
94 struct priv_data *priv = get_priv_data(handle); in xenstat_uninit_vbds()