Home
last modified time | relevance | path

Searched refs:obddev (Results 1 – 8 of 8) sorted by relevance

/drivers/staging/lustre/lustre/ldlm/
Dldlm_lib.c237 int client_obd_setup(struct obd_device *obddev, struct lustre_cfg *lcfg) in client_obd_setup() argument
239 struct client_obd *cli = &obddev->u.cli; in client_obd_setup()
243 char *name = obddev->obd_type->typ_name; in client_obd_setup()
402 &obddev->obd_ldlm_client); in client_obd_setup()
404 imp = class_new_import(obddev); in client_obd_setup()
409 imp->imp_client = &obddev->obd_ldlm_client; in client_obd_setup()
428 name, obddev->obd_name, in client_obd_setup()
436 obddev->obd_namespace = ldlm_namespace_new(obddev, obddev->obd_name, in client_obd_setup()
440 if (!obddev->obd_namespace) { in client_obd_setup()
442 obddev->obd_name); in client_obd_setup()
[all …]
/drivers/staging/lustre/lustre/mdc/
Dmdc_locks.c237 struct obd_device *obddev = class_exp2obd(exp); in mdc_intent_open_pack() local
288 max(lmmsize, obddev->u.cli.cl_default_mds_easize)); in mdc_intent_open_pack()
309 obddev->u.cli.cl_max_mds_easize); in mdc_intent_open_pack()
364 struct obd_device *obddev = class_exp2obd(exp); in mdc_intent_unlink_pack() local
390 obddev->u.cli.cl_default_mds_easize); in mdc_intent_unlink_pack()
400 struct obd_device *obddev = class_exp2obd(exp); in mdc_intent_getattr_pack() local
426 if (obddev->u.cli.cl_default_mds_easize > 0) in mdc_intent_getattr_pack()
427 easize = obddev->u.cli.cl_default_mds_easize; in mdc_intent_getattr_pack()
429 easize = obddev->u.cli.cl_max_mds_easize; in mdc_intent_getattr_pack()
707 struct obd_device *obddev = class_exp2obd(exp); in mdc_enqueue() local
[all …]
/drivers/staging/lustre/lustre/lov/
Dlov_obd.c1029 struct obd_device *obddev = class_exp2obd(exp); in lov_iocontrol() local
1030 struct lov_obd *lov = &obddev->u.lov; in lov_iocontrol()
1187 osc_obd->obd_force = obddev->obd_force; in lov_iocontrol()
1215 struct obd_device *obddev = class_exp2obd(exp); in lov_get_info() local
1216 struct lov_obd *lov = &obddev->u.lov; in lov_get_info()
1223 obd_getref(obddev); in lov_get_info()
1241 obd_putref(obddev); in lov_get_info()
1249 struct obd_device *obddev = class_exp2obd(exp); in lov_set_info_async() local
1250 struct lov_obd *lov = &obddev->u.lov; in lov_set_info_async()
1263 obd_getref(obddev); in lov_set_info_async()
[all …]
/drivers/staging/lustre/lustre/obdecho/
Decho_client.c92 struct obd_device *obddev,
94 static int echo_client_cleanup(struct obd_device *obddev);
1574 struct obd_device *obddev, struct lustre_cfg *lcfg) in echo_client_setup() argument
1576 struct echo_client_obd *ec = &obddev->u.echo_client; in echo_client_setup()
1625 static int echo_client_cleanup(struct obd_device *obddev) in echo_client_cleanup() argument
1627 struct echo_client_obd *ec = &obddev->u.echo_client; in echo_client_cleanup()
1630 if (!list_empty(&obddev->obd_exports)) { in echo_client_cleanup()
/drivers/staging/lustre/lustre/ptlrpc/
Dlproc_ptlrpc.c1123 void ptlrpc_lprocfs_register_obd(struct obd_device *obddev) in ptlrpc_lprocfs_register_obd() argument
1125 ptlrpc_ldebugfs_register(obddev->obd_debugfs_entry, NULL, "stats", in ptlrpc_lprocfs_register_obd()
1126 &obddev->obd_svc_debugfs_entry, in ptlrpc_lprocfs_register_obd()
1127 &obddev->obd_svc_stats); in ptlrpc_lprocfs_register_obd()
/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c611 struct obd_device *obddev = class_exp2obd(exp); in lmv_fid2path() local
612 struct lmv_obd *lmv = &obddev->u.lmv; in lmv_fid2path()
841 struct obd_device *obddev = class_exp2obd(exp); in lmv_iocontrol() local
842 struct lmv_obd *lmv = &obddev->u.lmv; in lmv_iocontrol()
1098 mdc_obd->obd_force = obddev->obd_force; in lmv_iocontrol()
/drivers/staging/lustre/lustre/include/
Dlustre_net.h2307 int client_obd_setup(struct obd_device *obddev, struct lustre_cfg *lcfg);
2308 int client_obd_cleanup(struct obd_device *obddev);
Dobd_class.h221 struct obd_export *class_new_export(struct obd_device *obddev,