Home
last modified time | relevance | path

Searched refs:cl_import (Results 1 – 25 of 27) sorted by relevance

12

/drivers/staging/lustre/lustre/ptlrpc/
Dsec_lproc.c83 if (cli->cl_import) in sptlrpc_info_lprocfs_seq_show()
84 sec = sptlrpc_import_sec_ref(cli->cl_import); in sptlrpc_info_lprocfs_seq_show()
122 if (cli->cl_import) in sptlrpc_ctxs_lprocfs_seq_show()
123 sec = sptlrpc_import_sec_ref(cli->cl_import); in sptlrpc_ctxs_lprocfs_seq_show()
Dllog_net.c60 new_imp = ctxt->loc_obd->u.cli.cl_import; in llog_initiator_connect()
Dlproc_ptlrpc.c1199 req = ptlrpc_prep_ping(obd->u.cli.cl_import); in lprocfs_wr_ping()
1223 struct obd_import *imp = obd->u.cli.cl_import; in lprocfs_wr_import()
1286 struct obd_import *imp = obd->u.cli.cl_import; in lprocfs_rd_pinger_recov()
1305 struct obd_import *imp = cli->cl_import; in lprocfs_wr_pinger_recov()
Dpinger.c70 req = ptlrpc_prep_ping(obd->u.cli.cl_import); in ptlrpc_obd_ping()
Dsec_config.c819 imp = obd->u.cli.cl_import; in sptlrpc_conf_client_adapt()
/drivers/staging/lustre/lustre/osc/
Dosc_request.c951 rc = osc_set_info_async(NULL, cli->cl_import->imp_obd->obd_self_export, in osc_shrink_grant_to_target()
965 if ((client->cl_import->imp_connect_data.ocd_connect_flags & in osc_should_shrink_grant()
975 if (client->cl_import->imp_state == LUSTRE_IMP_FULL && in osc_should_shrink_grant()
1006 client->cl_import->imp_obd->obd_name, rc); in osc_add_shrink_grant()
1010 client->cl_import->imp_obd->obd_name); in osc_add_shrink_grant()
1032 if (cli->cl_import->imp_state == LUSTRE_IMP_EVICTED) in osc_init_grant()
1039 cli->cl_import->imp_obd->obd_name, cli->cl_avail_grant, in osc_init_grant()
1051 cli->cl_import->imp_obd->obd_name, in osc_init_grant()
1239 req = ptlrpc_request_alloc_pool(cli->cl_import, in osc_brw_prep_request()
1244 req = ptlrpc_request_alloc(cli->cl_import, &RQF_OST_BRW_READ); in osc_brw_prep_request()
[all …]
Dlproc_osc.c51 return sprintf(buf, "%d\n", !dev->u.cli.cl_import->imp_deactive); in active_show()
70 if (dev->u.cli.cl_import->imp_deactive == val) in active_store()
71 rc = ptlrpc_set_import_active(dev->u.cli.cl_import, val); in active_store()
289 if (cli->cl_import->imp_state == LUSTRE_IMP_FULL) in cur_grant_bytes_store()
545 struct obd_connect_data *ocd = &cli->cl_import->imp_connect_data; in max_pages_per_rpc_store()
Dosc_quota.c111 cli->cl_import->imp_obd->obd_name, in osc_quota_setdq()
126 cli->cl_import->imp_obd->obd_name, in osc_quota_setdq()
Dosc_page.c827 cli->cl_import->imp_obd->obd_name, rc, cli); in osc_lru_reclaim()
832 cli->cl_import->imp_obd->obd_name, cli, in osc_lru_reclaim()
850 cli->cl_import->imp_obd->obd_name, cli, in osc_lru_reclaim()
867 cli->cl_import->imp_obd->obd_name, cli, rc); in osc_lru_reclaim()
Dosc_cache.c840 int blocksize = cli->cl_import->imp_obd->obd_osfs.os_bsize ? : 4096; in osc_extent_finish()
1348 __tmp->cl_import->imp_obd->obd_name, \
1573 cli->cl_import->imp_obd->obd_name, &ocw, oap); in osc_enter_cache()
1653 if ((cli->cl_import == NULL || cli->cl_import->imp_invalid)) in osc_makes_rpc()
2075 if (cli->cl_import == NULL || cli->cl_import->imp_invalid) { in osc_next_obj()
2236 if (cli->cl_import == NULL || cli->cl_import->imp_invalid) in osc_queue_async_io()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_lib.c434 cli->cl_import = imp; in client_obd_setup()
480 LASSERT(obddev->u.cli.cl_import == NULL); in client_obd_cleanup()
494 struct obd_import *imp = cli->cl_import; in client_connect_import()
569 imp = cli->cl_import; in client_disconnect_export()
Dldlm_flock.c492 imp = obd->u.cli.cl_import; in ldlm_flock_completion_ast()
Dldlm_request.c120 imp = obd->u.cli.cl_import; in ldlm_expired_completion_wait()
243 imp = obd->u.cli.cl_import; in ldlm_completion_ast()
Dldlm_lock.c1911 struct obd_import *imp = exp->exp_obd->u.cli.cl_import; in _ldlm_lock_debug()
/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_status.c499 imp = obd->u.cli.cl_import; in lprocfs_rd_server_uuid()
523 conn = obd->u.cli.cl_import->imp_connection; in lprocfs_rd_conn_uuid()
524 if (conn && obd->u.cli.cl_import) in lprocfs_rd_conn_uuid()
637 imp = obd->u.cli.cl_import; in lprocfs_rd_import()
784 imp = obd->u.cli.cl_import; in lprocfs_rd_state()
830 imp = obd->u.cli.cl_import; in lprocfs_rd_timeouts()
875 flags = obd->u.cli.cl_import->imp_connect_data.ocd_connect_flags; in lprocfs_rd_connect_flags()
Dobd_config.c561 imp = obd->u.cli.cl_import; in class_add_conn()
592 imp = obd->u.cli.cl_import; in class_del_conn()
Dgenops.c651 return obd->u.cli.cl_import; in class_exp2cliimp()
/drivers/staging/lustre/lustre/lclient/
Dlcommon_misc.c104 flags = cli->cl_import->imp_connect_data.ocd_connect_flags; in cl_ocd_update()
/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c449 imp = obd->u.cli.cl_import; in lprocfs_mgc_rd_ir_state()
1230 if (obd->u.cli.cl_import == NULL) { in mgc_apply_recover_logs()
1239 rc = client_import_find_conn(obd->u.cli.cl_import, in mgc_apply_recover_logs()
1650 if (OCD_HAS_FLAG(&obd->u.cli.cl_import-> in mgc_process_config()
/drivers/staging/lustre/lustre/lov/
Dlov_ea.c168 struct obd_import *imp = tgt->ltd_obd->u.cli.cl_import; in lov_tgt_maxbytes()
/drivers/staging/lustre/lustre/include/
Dobd_class.h257 if (!(obd)->u.cli.cl_import) { in lprocfs_climp_check()
563 if (obd->u.cli.cl_import) { in obd_cleanup_client_import()
566 imp = obd->u.cli.cl_import; in obd_cleanup_client_import()
571 obd->u.cli.cl_import = NULL; in obd_cleanup_client_import()
Dobd.h241 struct obd_import *cl_import; /* ptlrpc connection state */ member
/drivers/staging/lustre/lustre/mdc/
Dmdc_reint.c213 struct obd_import *import = exp->exp_obd->u.cli.cl_import; in mdc_create()
Dmdc_locks.c787 generation = obddev->u.cli.cl_import->imp_generation; in mdc_enqueue()
898 if (generation == obddev->u.cli.cl_import->imp_generation) { in mdc_enqueue()
Dmdc_request.c1059 if (obd->u.cli.cl_import) in mdc_statfs()
1060 imp = class_import_get(obd->u.cli.cl_import); in mdc_statfs()
1733 struct obd_import *imp = obd->u.cli.cl_import; in mdc_iocontrol()

12