Home
last modified time | relevance | path

Searched refs:imp_conn (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/lustre/lustre/ldlm/
Dldlm_lib.c61 struct obd_import_conn *imp_conn = NULL, *item; in import_set_conn() local
76 imp_conn = kzalloc(sizeof(*imp_conn), GFP_NOFS); in import_set_conn()
77 if (!imp_conn) { in import_set_conn()
102 imp_conn->oic_conn = ptlrpc_conn; in import_set_conn()
103 imp_conn->oic_uuid = *uuid; in import_set_conn()
104 imp_conn->oic_last_attempt = 0; in import_set_conn()
106 list_add(&imp_conn->oic_item, &imp->imp_conn_list); in import_set_conn()
108 list_add_tail(&imp_conn->oic_item, in import_set_conn()
122 kfree(imp_conn); in import_set_conn()
142 struct obd_import_conn *imp_conn; in client_import_del_conn() local
[all …]
/drivers/staging/lustre/lustre/ptlrpc/
Dimport.c483 struct obd_import_conn *imp_conn = NULL, *conn; in import_select_connection() local
508 imp_conn = conn; in import_select_connection()
516 if (!imp_conn) in import_select_connection()
517 imp_conn = conn; in import_select_connection()
519 imp_conn->oic_last_attempt)) in import_select_connection()
520 imp_conn = conn; in import_select_connection()
524 if (!imp_conn || imp->imp_force_reconnect) { in import_select_connection()
526 imp_conn = imp->imp_conn_current; in import_select_connection()
529 LASSERT(imp_conn->oic_conn); in import_select_connection()
536 if (tried_all && (imp->imp_conn_list.next == &imp_conn->oic_item)) { in import_select_connection()
[all …]
/drivers/staging/lustre/lustre/obdclass/
Dgenops.c844 struct obd_import_conn *imp_conn; in class_import_destroy() local
846 imp_conn = list_entry(imp->imp_conn_list.next, in class_import_destroy()
848 list_del_init(&imp_conn->oic_item); in class_import_destroy()
849 ptlrpc_put_connection_superhack(imp_conn->oic_conn); in class_import_destroy()
850 kfree(imp_conn); in class_import_destroy()