Home
last modified time | relevance | path

Searched refs:exp_obd (Results 1 – 25 of 32) sorted by relevance

12

/drivers/staging/lustre/lustre/include/
Dobd_class.h318 if ((export)->exp_obd->obd_stats != NULL) { \
320 coffset = (unsigned int)((export)->exp_obd->obd_cntr_base) + \
322 LASSERT(coffset < (export)->exp_obd->obd_stats->ls_num); \
323 lprocfs_counter_incr((export)->exp_obd->obd_stats, coffset); \
341 if ((export)->exp_obd->obd_stats != NULL) { \
343 coffset = (unsigned int)((export)->exp_obd->md_cntr_base) + \
345 LASSERT(coffset < (export)->exp_obd->md_stats->ls_num); \
346 lprocfs_counter_incr((export)->exp_obd->md_stats, coffset); \
358 if ((exp)->exp_obd == NULL || !OBT((exp)->exp_obd)) { \
362 if (!OBT((exp)->exp_obd) || !MDP((exp)->exp_obd, op)) { \
[all …]
Dlustre_mdc.h151 struct client_obd *cli = &exp->exp_obd->u.cli; in mdc_update_max_ea_from_body()
Dlustre_export.h151 struct obd_device *exp_obd; member
/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c133 struct lmv_obd *lmv = &exp->exp_obd->u.lmv; in lmv_get_uuid()
275 struct obd_device *obd = exp->exp_obd; in lmv_init_ea_size()
383 rc = obd_notify(obd->obd_observer, mdc_exp->exp_obd, in lmv_connect_mdc()
603 rc = obd_fid_fini(tgt->ltd_exp->exp_obd); in lmv_disconnect_mdc()
608 tgt->ltd_exp->exp_obd->obd_name, in lmv_disconnect_mdc()
609 tgt->ltd_exp->exp_obd->obd_uuid.uuid); in lmv_disconnect_mdc()
611 obd_register_observer(tgt->ltd_exp->exp_obd, NULL); in lmv_disconnect_mdc()
709 tgt->ltd_exp->exp_obd->obd_name, in lmv_fid2path()
729 tgt->ltd_exp->exp_obd->obd_name, in lmv_fid2path()
1412 lmv->tgts[i]->ltd_exp->exp_obd->obd_name, in lmv_statfs()
[all …]
Dlmv_intent.c61 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()
/drivers/staging/lustre/lustre/mdc/
Dmdc_reint.c73 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()
213 struct obd_import *import = exp->exp_obd->u.cli.cl_import; in mdc_create()
275 rc = mdc_reint(req, exp->exp_obd->u.cli.cl_rpc_lock, level); in mdc_create()
288 exp->exp_obd->obd_name, resends, in mdc_create()
360 struct obd_device *obd = exp->exp_obd; in mdc_link()
405 struct obd_device *obd = exp->exp_obd; in mdc_rename()
Dmdc_request.c372 mdc_get_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in mdc_xattr_common()
377 mdc_put_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in mdc_xattr_common()
1014 if (!client_should_resend(resends, &exp->exp_obd->u.cli)) { in mdc_readpage()
1596 struct client_obd *cli = &exp->exp_obd->u.cli; in mdc_quotacheck()
1625 struct client_obd *cli = &exp->exp_obd->u.cli; in mdc_quota_poll_check()
1731 struct obd_device *obd = exp->exp_obd; in mdc_iocontrol()
2079 sptlrpc_conf_client_adapt(exp->exp_obd); in mdc_set_info_async()
2112 if (mdsize > exp->exp_obd->u.cli.cl_max_mds_easize) in mdc_get_info()
2113 exp->exp_obd->u.cli.cl_max_mds_easize = mdsize; in mdc_get_info()
2115 *max_easize = exp->exp_obd->u.cli.cl_max_mds_easize; in mdc_get_info()
[all …]
/drivers/staging/lustre/lustre/obdclass/
Dgenops.c640 return exp->exp_obd; in class_exp2obd()
647 struct obd_device *obd = exp->exp_obd; in class_exp2cliimp()
658 struct obd_device *obd = exp->exp_obd; in class_export_destroy()
745 export->exp_obd = obd; in class_new_export()
796 list_add(&export->exp_obd_chain, &export->exp_obd->obd_exports); in class_new_export()
797 export->exp_obd->obd_num_exports++; in class_new_export()
819 spin_lock(&exp->exp_obd->obd_dev_lock); in class_unlink_export()
822 cfs_hash_del(exp->exp_obd->obd_uuid_hash, in class_unlink_export()
826 list_move(&exp->exp_obd_chain, &exp->exp_obd->obd_unlinked_exports); in class_unlink_export()
827 exp->exp_obd->obd_num_exports--; in class_unlink_export()
[all …]
/drivers/staging/lustre/lustre/lov/
Dlov_obd.c245 rc = lov_notify(obd, lov->lov_tgts[i]->ltd_exp->exp_obd, in lov_connect()
270 tgt->ltd_exp->exp_obd->obd_inactive = 1; in lov_disconnect_obd()
410 lov->lov_tgts[index]->ltd_exp->exp_obd->obd_inactive = 0; in lov_set_osc_active()
413 lov->lov_tgts[index]->ltd_exp->exp_obd->obd_inactive = 1; in lov_set_osc_active()
625 rc = lov_notify(obd, tgt->ltd_exp->exp_obd, in lov_add_target()
971 struct lov_obd *lov = &exp->exp_obd->u.lov; in lov_recreate()
1038 lov = &exp->exp_obd->u.lov; in lov_create()
1042 obd_getref(exp->exp_obd); in lov_create()
1049 obd_putref(exp->exp_obd); in lov_create()
1074 if (!exp || !exp->exp_obd) in lov_destroy()
[all …]
Dlov_request.c108 struct lov_obd *lov = &set->set_exp->exp_obd->u.lov; in lov_update_common_set()
274 struct lov_obd *lov = &exp->exp_obd->u.lov; in lov_prep_getattr_set()
357 struct lov_obd *lov = &exp->exp_obd->u.lov; in lov_prep_destroy_set()
436 struct lov_obd *lov = &req->rq_rqset->set_exp->exp_obd->u.lov; in lov_update_setattr_set()
477 struct lov_obd *lov = &exp->exp_obd->u.lov; in lov_prep_setattr_set()
/drivers/staging/lustre/lustre/fld/
Dfld_request.c154 (char *)target->ft_exp->exp_obd->obd_uuid.uuid : in fld_rrb_scan()
429 mdc_get_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in fld_client_rpc()
430 fld_enter_request(&exp->exp_obd->u.cli); in fld_client_rpc()
432 fld_exit_request(&exp->exp_obd->u.cli); in fld_client_rpc()
434 mdc_put_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in fld_client_rpc()
Dfld_internal.h184 return (const char *)tar->ft_exp->exp_obd->obd_name; in fld_target_name()
/drivers/staging/lustre/lustre/llite/
Dllite_lib.c245 err = obd_fid_init(sbi->ll_md_exp->exp_obd, sbi->ll_md_exp, in client_common_fill_super()
249 sbi->ll_md_exp->exp_obd->obd_name, err); in client_common_fill_super()
282 sbi->ll_md_exp->exp_obd->obd_name, buf); in client_common_fill_super()
293 sbi->ll_md_exp->exp_obd->obd_name, err); in client_common_fill_super()
415 sbi->ll_dt_exp->exp_obd->obd_name, dt, err); in client_common_fill_super()
421 err = obd_fid_init(sbi->ll_dt_exp->exp_obd, sbi->ll_dt_exp, in client_common_fill_super()
425 sbi->ll_dt_exp->exp_obd->obd_name, err); in client_common_fill_super()
443 sbi->ll_md_exp->exp_obd->obd_name, in client_common_fill_super()
477 sbi->ll_md_exp->exp_obd->obd_name, err); in client_common_fill_super()
562 obd_fid_fini(sbi->ll_dt_exp->exp_obd); in client_common_fill_super()
[all …]
Dvvp_dev.c206 sbi->ll_dt_exp->exp_obd->obd_lu_dev); in cl_sb_init()
/drivers/staging/lustre/lustre/osc/
Dosc_quota.c289 struct client_obd *cli = &exp->exp_obd->u.cli; in osc_quotacheck()
317 struct client_obd *cli = &exp->exp_obd->u.cli; in osc_quota_poll_check()
Dosc_request.c149 exp->exp_obd->obd_name, lmm_bytes, in osc_unpackmd()
157 exp->exp_obd->obd_name, -EINVAL); in osc_unpackmd()
306 oinfo->oi_oa->o_blksize = cli_brw_size(exp->exp_obd); in osc_getattr()
492 oa->o_blksize = cli_brw_size(exp->exp_obd); in osc_real_create()
636 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in osc_resource_get_unused()
730 struct client_obd *cli = &exp->exp_obd->u.cli; in osc_destroy()
2196 struct obd_device *obd = exp->exp_obd; in osc_enqueue_base()
2341 struct obd_device *obd = exp->exp_obd; in osc_match_base()
2595 struct obd_device *obd = exp->exp_obd; in osc_iocontrol()
2758 mode = ldlm_lock_match(exp->exp_obd->obd_namespace, in osc_get_info()
[all …]
Dosc_cl_internal.h511 return &osc_export(obj)->exp_obd->u.cli; in osc_cli()
/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c488 down_read(&cld->cld_mgcexp->exp_obd->u.cli.cl_sem); in do_requeue()
489 if (cld->cld_mgcexp->exp_obd->u.cli.cl_conn_count != 0) { in do_requeue()
491 mgc_process_log(cld->cld_mgcexp->exp_obd, cld); in do_requeue()
496 up_read(&cld->cld_mgcexp->exp_obd->u.cli.cl_sem); in do_requeue()
798 !lock->l_conn_export->exp_obd->u.cli.cl_conn_count) { in mgc_blocking_ast()
985 struct client_obd *cli = &exp->exp_obd->u.cli; in mgc_set_info_async()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_lockd.c462 struct obd_device *obd = req->rq_export->exp_obd; in ldlm_handle_setinfo()
519 struct client_obd *cli = &req->rq_export->exp_obd->u.cli; in ldlm_handle_qc_callback()
560 LASSERT(req->rq_export->exp_obd != NULL); in ldlm_callback_handler()
593 ns = req->rq_export->exp_obd->obd_namespace; in ldlm_callback_handler()
Dldlm_request.c119 obd = lock->l_conn_export->exp_obd; in ldlm_expired_completion_wait()
338 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_cli_enqueue_fini()
575 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_prep_elc_req()
670 ns = exp->exp_obd->obd_namespace; in ldlm_cli_enqueue()
Dldlm_lib.c638 if (unlikely(!req->rq_export || !req->rq_export->exp_obd || in target_pack_pool_reply()
646 obd = req->rq_export->exp_obd; in target_pack_pool_reply()
/drivers/staging/lustre/lustre/fid/
Dfid_request.c113 mdc_get_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in seq_client_rpc()
116 mdc_put_rpc_lock(exp->exp_obd->u.cli.cl_rpc_lock, NULL); in seq_client_rpc()
Dlproc_fid.c205 cli = &seq->lcs_exp->exp_obd->u.cli; in ldebugfs_fid_server_seq_show()
/drivers/staging/lustre/lustre/ptlrpc/
Dniobuf.c373 if (unlikely(req->rq_export && req->rq_export->exp_obd && in ptlrpc_send_reply()
374 req->rq_export->exp_obd->obd_fail)) { in ptlrpc_send_reply()
379 req->rq_export->exp_obd->obd_minor); in ptlrpc_send_reply()
Devents.c410 rs->rs_export->exp_obd->obd_last_committed) in reply_out_callback()

12