/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | obd_class.h | 376 if ((export)->exp_obd->obd_stats != NULL) { \ 378 coffset = (unsigned int)((export)->exp_obd->obd_cntr_base) + \ 380 LASSERT(coffset < (export)->exp_obd->obd_stats->ls_num); \ 381 lprocfs_counter_incr((export)->exp_obd->obd_stats, coffset); \ 403 if ((export)->exp_obd->obd_stats != NULL) { \ 405 coffset = (unsigned int)((export)->exp_obd->md_cntr_base) + \ 407 LASSERT(coffset < (export)->exp_obd->md_stats->ls_num); \ 408 lprocfs_counter_incr((export)->exp_obd->md_stats, coffset); \ 452 if ((exp)->exp_obd == NULL || !OBT((exp)->exp_obd)) { \ 456 if (!OBT((exp)->exp_obd) || !MDP((exp)->exp_obd, op)) { \ [all …]
|
D | lustre_mdc.h | 151 struct client_obd *cli = &exp->exp_obd->u.cli; in mdc_update_max_ea_from_body()
|
D | lustre_export.h | 187 struct obd_device *exp_obd; member
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | genops.c | 712 return exp->exp_obd; in class_exp2obd() 722 struct obd_device *obd = export->exp_obd; in class_conn2obd() 732 struct obd_device *obd = exp->exp_obd; in class_exp2cliimp() 751 struct obd_device *obd = exp->exp_obd; in class_export_destroy() 838 export->exp_obd = obd; in class_new_export() 891 list_add(&export->exp_obd_chain, &export->exp_obd->obd_exports); in class_new_export() 893 &export->exp_obd->obd_exports_timed); in class_new_export() 894 export->exp_obd->obd_num_exports++; in class_new_export() 916 spin_lock(&exp->exp_obd->obd_dev_lock); in class_unlink_export() 919 cfs_hash_del(exp->exp_obd->obd_uuid_hash, in class_unlink_export() [all …]
|
D | lprocfs_status.c | 1670 if (!exp || !exp->exp_obd || !exp->exp_obd->obd_proc_exports_entry || in lprocfs_exp_setup() 1671 !exp->exp_obd->obd_nid_stats_hash) in lprocfs_exp_setup() 1680 obd = exp->exp_obd; in lprocfs_exp_setup() 1689 new_stat->nid_obd = exp->exp_obd; in lprocfs_exp_setup() 1775 if (!stat || !exp->exp_obd) in lprocfs_exp_cleanup()
|
D | llog_cat.c | 449 dt = ctxt->loc_exp->exp_obd->obd_lvfs_ctxt.dt; in llog_cat_add()
|
D | obd_mount.c | 635 lsi->lsi_osd_exp->exp_obd->obd_lvfs_ctxt.dt = NULL; in lustre_put_lsi()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lmv/ |
D | lmv_obd.c | 133 struct lmv_obd *lmv = &exp->exp_obd->u.lmv; in lmv_get_uuid() 289 struct obd_device *obd = exp->exp_obd; in lmv_init_ea_size() 398 rc = obd_notify(obd->obd_observer, mdc_exp->exp_obd, in lmv_connect_mdc() 634 rc = obd_fid_fini(tgt->ltd_exp->exp_obd); in lmv_disconnect_mdc() 639 tgt->ltd_exp->exp_obd->obd_name, in lmv_disconnect_mdc() 640 tgt->ltd_exp->exp_obd->obd_uuid.uuid); in lmv_disconnect_mdc() 642 obd_register_observer(tgt->ltd_exp->exp_obd, NULL); in lmv_disconnect_mdc() 743 tgt->ltd_exp->exp_obd->obd_name, in lmv_fid2path() 763 tgt->ltd_exp->exp_obd->obd_name, in lmv_fid2path() 1452 lmv->tgts[i]->ltd_exp->exp_obd->obd_name, in lmv_statfs() [all …]
|
D | lmv_intent.c | 61 struct obd_device *obd = exp->exp_obd; in lmv_intent_remote() 165 struct obd_device *obd = exp->exp_obd; in lmv_intent_open() 248 struct obd_device *obd = exp->exp_obd; in lmv_intent_lookup() 298 struct obd_device *obd = exp->exp_obd; in lmv_intent_lock()
|
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/ |
D | mdc_reint.c | 73 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in mdc_resource_get_unused() 89 res = ldlm_resource_get(exp->exp_obd->obd_namespace, in mdc_resource_get_unused() 110 struct obd_device *obd = exp->exp_obd; in mdc_setattr() 215 struct obd_import *import = exp->exp_obd->u.cli.cl_import; in mdc_create() 278 rc = mdc_reint(req, exp->exp_obd->u.cli.cl_rpc_lock, level); in mdc_create() 291 exp->exp_obd->obd_name, resends, in mdc_create() 376 struct obd_device *obd = exp->exp_obd; in mdc_link() 423 struct obd_device *obd = exp->exp_obd; in mdc_rename()
|
D | mdc_request.c | 430 mdc_get_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in mdc_xattr_common() 435 mdc_put_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in mdc_xattr_common() 1103 if (!client_should_resend(resends, &exp->exp_obd->u.cli)) { in mdc_readpage() 1692 struct client_obd *cli = &exp->exp_obd->u.cli; in mdc_quotacheck() 1721 struct client_obd *cli = &exp->exp_obd->u.cli; in mdc_quota_poll_check() 1833 struct obd_device *obd = exp->exp_obd; in mdc_iocontrol() 2184 sptlrpc_conf_client_adapt(exp->exp_obd); in mdc_set_info_async() 2217 if (mdsize > exp->exp_obd->u.cli.cl_max_mds_easize) in mdc_get_info() 2218 exp->exp_obd->u.cli.cl_max_mds_easize = mdsize; in mdc_get_info() 2220 *max_easize = exp->exp_obd->u.cli.cl_max_mds_easize; in mdc_get_info() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lov_obd.c | 191 struct obd_device *osc_obd = lov->lov_tgts[index]->ltd_exp->exp_obd; in lov_connect_obd() 257 rc = lov_notify(obd, lov->lov_tgts[i]->ltd_exp->exp_obd, in lov_connect() 283 tgt->ltd_exp->exp_obd->obd_inactive = 1; in lov_disconnect_obd() 422 lov->lov_tgts[index]->ltd_exp->exp_obd->obd_inactive = 0; in lov_set_osc_active() 425 lov->lov_tgts[index]->ltd_exp->exp_obd->obd_inactive = 1; in lov_set_osc_active() 638 rc = lov_notify(obd, tgt->ltd_exp->exp_obd, in lov_add_target() 990 struct lov_obd *lov = &exp->exp_obd->u.lov; in lov_recreate() 1057 lov = &exp->exp_obd->u.lov; in lov_create() 1061 obd_getref(exp->exp_obd); in lov_create() 1068 obd_putref(exp->exp_obd); in lov_create() [all …]
|
D | lov_request.c | 120 struct lov_obd *lov = &set->set_exp->exp_obd->u.lov; in lov_update_common_set() 286 struct lov_obd *lov = &exp->exp_obd->u.lov; in lov_prep_getattr_set() 369 struct lov_obd *lov = &exp->exp_obd->u.lov; in lov_prep_destroy_set() 447 struct lov_obd *lov = &req->rq_rqset->set_exp->exp_obd->u.lov; in lov_update_setattr_set() 488 struct lov_obd *lov = &exp->exp_obd->u.lov; in lov_prep_setattr_set()
|
/linux-4.1.27/drivers/staging/lustre/lustre/fld/ |
D | fld_request.c | 155 (char *)target->ft_exp->exp_obd->obd_uuid.uuid : in fld_rrb_scan() 444 mdc_get_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in fld_client_rpc() 445 fld_enter_request(&exp->exp_obd->u.cli); in fld_client_rpc() 447 fld_exit_request(&exp->exp_obd->u.cli); in fld_client_rpc() 449 mdc_put_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in fld_client_rpc()
|
D | fld_internal.h | 190 return (const char *)tar->ft_exp->exp_obd->obd_name; in fld_target_name()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | service.c | 1049 spin_lock(&exp->exp_obd->obd_dev_lock); in ptlrpc_update_export_timer() 1053 spin_unlock(&exp->exp_obd->obd_dev_lock); in ptlrpc_update_export_timer() 1058 &exp->exp_obd->obd_exports_timed); in ptlrpc_update_export_timer() 1060 oldest_exp = list_entry(exp->exp_obd->obd_exports_timed.next, in ptlrpc_update_export_timer() 1063 spin_unlock(&exp->exp_obd->obd_dev_lock); in ptlrpc_update_export_timer() 1065 if (exp->exp_obd->obd_recovering) { in ptlrpc_update_export_timer() 1071 if (exp->exp_obd->obd_eviction_timer == 0) { in ptlrpc_update_export_timer() 1079 exp->exp_obd->obd_eviction_timer = in ptlrpc_update_export_timer() 1082 exp->exp_obd->obd_name, in ptlrpc_update_export_timer() 1087 (exp->exp_obd->obd_eviction_timer + extra_delay)) { in ptlrpc_update_export_timer() [all …]
|
D | niobuf.c | 332 (req->rq_export == NULL || req->rq_export->exp_obd->obd_recovering)) in ptlrpc_at_set_reply() 377 if (unlikely(req->rq_export && req->rq_export->exp_obd && in ptlrpc_send_reply() 378 req->rq_export->exp_obd->obd_fail)) { in ptlrpc_send_reply() 383 req->rq_export->exp_obd->obd_minor); in ptlrpc_send_reply()
|
D | events.c | 410 rs->rs_export->exp_obd->obd_last_committed) in reply_out_callback()
|
D | sec.c | 1909 exp, exp->exp_obd->obd_name, in sptlrpc_target_export_check()
|
/linux-4.1.27/drivers/staging/lustre/lustre/osc/ |
D | osc_quota.c | 288 struct client_obd *cli = &exp->exp_obd->u.cli; in osc_quotacheck() 316 struct client_obd *cli = &exp->exp_obd->u.cli; in osc_quota_poll_check()
|
D | osc_request.c | 142 exp->exp_obd->obd_name, lmm_bytes, in osc_unpackmd() 150 exp->exp_obd->obd_name, -EINVAL); in osc_unpackmd() 328 oinfo->oi_oa->o_blksize = cli_brw_size(exp->exp_obd); in osc_getattr() 516 oa->o_blksize = cli_brw_size(exp->exp_obd); in osc_real_create() 664 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in osc_resource_get_unused() 759 struct client_obd *cli = &exp->exp_obd->u.cli; in osc_destroy() 2255 struct obd_device *obd = exp->exp_obd; in osc_enqueue_base() 2396 struct obd_device *obd = exp->exp_obd; in osc_match_base() 2651 struct obd_device *obd = exp->exp_obd; in osc_iocontrol() 2815 mode = ldlm_lock_match(exp->exp_obd->obd_namespace, in osc_get_info() [all …]
|
D | osc_cl_internal.h | 512 return &osc_export(obj)->exp_obd->u.cli; in osc_cli()
|
D | osc_page.c | 370 struct client_obd *cli = &osc_export(obj)->exp_obd->u.cli; in osc_page_print()
|
D | osc_cache.c | 930 osc_export(obj)->exp_obd->obd_name, state); in osc_extent_wait() 2204 oap->oap_cli = &exp->exp_obd->u.cli; in osc_prep_async_page()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | llite_lib.c | 265 err = obd_fid_init(sbi->ll_md_exp->exp_obd, sbi->ll_md_exp, in client_common_fill_super() 269 sbi->ll_md_exp->exp_obd->obd_name, err); in client_common_fill_super() 298 sbi->ll_md_exp->exp_obd->obd_name, buf); in client_common_fill_super() 309 sbi->ll_md_exp->exp_obd->obd_name, err); in client_common_fill_super() 442 sbi->ll_dt_exp->exp_obd->obd_name, dt, err); in client_common_fill_super() 448 err = obd_fid_init(sbi->ll_dt_exp->exp_obd, sbi->ll_dt_exp, in client_common_fill_super() 452 sbi->ll_dt_exp->exp_obd->obd_name, err); in client_common_fill_super() 470 sbi->ll_md_exp->exp_obd->obd_name, in client_common_fill_super() 507 sbi->ll_md_exp->exp_obd->obd_name, err); in client_common_fill_super() 594 obd_fid_fini(sbi->ll_dt_exp->exp_obd); in client_common_fill_super() [all …]
|
D | vvp_dev.c | 209 sbi->ll_dt_exp->exp_obd->obd_lu_dev); in cl_sb_init()
|
D | llite_internal.h | 1030 struct obd_device *obd = sbi->ll_md_exp->exp_obd; in sbi2mdc()
|
/linux-4.1.27/drivers/staging/lustre/lustre/mgc/ |
D | mgc_request.c | 500 down_read(&cld->cld_mgcexp->exp_obd->u.cli.cl_sem); in do_requeue() 501 if (cld->cld_mgcexp->exp_obd->u.cli.cl_conn_count != 0) { in do_requeue() 503 mgc_process_log(cld->cld_mgcexp->exp_obd, cld); in do_requeue() 508 up_read(&cld->cld_mgcexp->exp_obd->u.cli.cl_sem); in do_requeue() 810 !lock->l_conn_export->exp_obd->u.cli.cl_conn_count) { in mgc_blocking_ast() 1002 struct client_obd *cli = &exp->exp_obd->u.cli; in mgc_set_info_async()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lockd.c | 486 struct obd_device *obd = req->rq_export->exp_obd; in ldlm_handle_setinfo() 543 struct client_obd *cli = &req->rq_export->exp_obd->u.cli; in ldlm_handle_qc_callback() 584 LASSERT(req->rq_export->exp_obd != NULL); in ldlm_callback_handler() 617 ns = req->rq_export->exp_obd->obd_namespace; in ldlm_callback_handler()
|
D | ldlm_lib.c | 641 if (unlikely(!req->rq_export || !req->rq_export->exp_obd || in target_pack_pool_reply() 649 obd = req->rq_export->exp_obd; in target_pack_pool_reply()
|
D | ldlm_request.c | 120 obd = lock->l_conn_export->exp_obd; in ldlm_expired_completion_wait() 511 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_cli_enqueue_fini() 748 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_prep_elc_req() 864 ns = exp->exp_obd->obd_namespace; in ldlm_cli_enqueue()
|
D | ldlm_flock.c | 834 if (strcmp(exp->exp_obd->obd_type->typ_name, LUSTRE_MDT_NAME) != 0) in ldlm_init_flock_export()
|
D | ldlm_lock.c | 2222 } else if (exp && exp->exp_obd != NULL) { in _ldlm_lock_debug() 2223 struct obd_import *imp = exp->exp_obd->u.cli.cl_import; in _ldlm_lock_debug()
|
/linux-4.1.27/drivers/staging/lustre/lustre/fid/ |
D | lproc_fid.c | 205 cli = &seq->lcs_exp->exp_obd->u.cli; in lprocfs_fid_server_seq_show()
|
D | fid_request.c | 111 mdc_get_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in seq_client_rpc() 114 mdc_put_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in seq_client_rpc()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 1810 struct echo_device *ed = obd2echo_dev(exp->exp_obd); in echo_client_enqueue() 1843 struct echo_device *ed = obd2echo_dev(exp->exp_obd); in echo_client_cancel() 1857 struct obd_device *obd = exp->exp_obd; in echo_client_iocontrol()
|