Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_lib.c261 int client_obd_setup(struct obd_device *obddev, struct lustre_cfg *lcfg) in client_obd_setup() argument
263 struct client_obd *cli = &obddev->u.cli; in client_obd_setup()
267 char *name = obddev->obd_type->typ_name; in client_obd_setup()
405 if (osc_on_mdt(obddev->obd_name)) in client_obd_setup()
417 &obddev->obd_ldlm_client); in client_obd_setup()
419 imp = class_new_import(obddev); in client_obd_setup()
424 imp->imp_client = &obddev->obd_ldlm_client; in client_obd_setup()
444 name, obddev->obd_name, in client_obd_setup()
452 obddev->obd_namespace = ldlm_namespace_new(obddev, obddev->obd_name, in client_obd_setup()
456 if (obddev->obd_namespace == NULL) { in client_obd_setup()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dmdc_locks.c279 struct obd_device *obddev = class_exp2obd(exp); in mdc_intent_open_pack() local
334 max(lmmsize, obddev->u.cli.cl_default_mds_easize)); in mdc_intent_open_pack()
416 struct obd_device *obddev = class_exp2obd(exp); in mdc_intent_unlink_pack() local
443 obddev->u.cli.cl_default_mds_easize); in mdc_intent_unlink_pack()
445 obddev->u.cli.cl_default_mds_cookiesize); in mdc_intent_unlink_pack()
455 struct obd_device *obddev = class_exp2obd(exp); in mdc_intent_getattr_pack() local
484 if (obddev->u.cli.cl_default_mds_easize > 0) in mdc_intent_getattr_pack()
485 easize = obddev->u.cli.cl_default_mds_easize; in mdc_intent_getattr_pack()
487 easize = obddev->u.cli.cl_max_mds_easize; in mdc_intent_getattr_pack()
794 struct obd_device *obddev = class_exp2obd(exp); in mdc_enqueue() local
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlprocfs_status.h549 extern int lprocfs_alloc_obd_stats(struct obd_device *obddev,
551 extern int lprocfs_alloc_md_stats(struct obd_device *obddev,
556 extern void lprocfs_free_obd_stats(struct obd_device *obddev);
557 extern void lprocfs_free_md_stats(struct obd_device *obddev);
859 static inline int lprocfs_alloc_obd_stats(struct obd_device *obddev, in lprocfs_alloc_obd_stats() argument
862 static inline int lprocfs_alloc_md_stats(struct obd_device *obddev, in lprocfs_alloc_md_stats() argument
865 static inline void lprocfs_free_obd_stats(struct obd_device *obddev) in lprocfs_free_obd_stats() argument
867 static inline void lprocfs_free_md_stats(struct obd_device *obddev) in lprocfs_free_md_stats() argument
Dlustre_lib.h88 int client_sanobd_setup(struct obd_device *obddev, struct lustre_cfg *lcfg);
Dlustre_net.h2860 int client_obd_setup(struct obd_device *obddev, struct lustre_cfg *lcfg);
2861 int client_obd_cleanup(struct obd_device *obddev);
Dobd_class.h280 struct obd_export *class_new_export(struct obd_device *obddev,
297 void class_disconnect_exports(struct obd_device *obddev);
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_obd.c1408 struct obd_device *obddev = class_exp2obd(exp); in lov_iocontrol() local
1409 struct lov_obd *lov = &obddev->u.lov; in lov_iocontrol()
1566 osc_obd->obd_force = obddev->obd_force; in lov_iocontrol()
1973 struct obd_device *obddev = class_exp2obd(exp); in lov_get_info() local
1974 struct lov_obd *lov = &obddev->u.lov; in lov_get_info()
1980 obd_getref(obddev); in lov_get_info()
2073 obd_putref(obddev); in lov_get_info()
2081 struct obd_device *obddev = class_exp2obd(exp); in lov_set_info_async() local
2082 struct lov_obd *lov = &obddev->u.lov; in lov_set_info_async()
2098 obd_getref(obddev); in lov_set_info_async()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dlproc_ptlrpc.c1115 void ptlrpc_lprocfs_register_obd(struct obd_device *obddev) in ptlrpc_lprocfs_register_obd() argument
1117 ptlrpc_lprocfs_register(obddev->obd_proc_entry, NULL, "stats", in ptlrpc_lprocfs_register_obd()
1118 &obddev->obd_svc_procroot, in ptlrpc_lprocfs_register_obd()
1119 &obddev->obd_svc_stats); in ptlrpc_lprocfs_register_obd()
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c97 struct obd_device *obddev,
99 static int echo_client_cleanup(struct obd_device *obddev);
2029 struct obd_device *obddev, struct lustre_cfg *lcfg) in echo_client_setup() argument
2031 struct echo_client_obd *ec = &obddev->u.echo_client; in echo_client_setup()
2090 static int echo_client_cleanup(struct obd_device *obddev) in echo_client_cleanup() argument
2092 struct echo_client_obd *ec = &obddev->u.echo_client; in echo_client_cleanup()
2095 if (!list_empty(&obddev->obd_exports)) { in echo_client_cleanup()
/linux-4.1.27/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c701 struct obd_device *obddev = class_exp2obd(exp); in lmv_fid2path() local
702 struct lmv_obd *lmv = &obddev->u.lmv; in lmv_fid2path()
907 struct obd_device *obddev = class_exp2obd(exp); in lmv_iocontrol() local
908 struct lmv_obd *lmv = &obddev->u.lmv; in lmv_iocontrol()
1140 mdc_obd->obd_force = obddev->obd_force; in lmv_iocontrol()