Searched refs:conn_data (Results 1 – 1 of 1) sorted by relevance
984 static void con_mcl_data_unref(struct conn_mcl_data *conn_data) in con_mcl_data_unref() argument986 if (!conn_data) in con_mcl_data_unref()989 if (--conn_data->refs > 0) in con_mcl_data_unref()992 if (conn_data->destroy) in con_mcl_data_unref()993 conn_data->destroy(conn_data->data); in con_mcl_data_unref()995 health_device_unref(conn_data->dev); in con_mcl_data_unref()996 g_free(conn_data); in con_mcl_data_unref()1004 static struct conn_mcl_data *con_mcl_data_ref(struct conn_mcl_data *conn_data) in con_mcl_data_ref() argument1006 if (!conn_data) in con_mcl_data_ref()1009 conn_data->refs++; in con_mcl_data_ref()[all …]