| /linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
| D | sec_lproc.c | 79 LASSERT(strcmp(dev->obd_type->typ_name, LUSTRE_OSC_NAME) == 0 || in sptlrpc_info_lprocfs_seq_show() 80 strcmp(dev->obd_type->typ_name, LUSTRE_MDC_NAME) == 0 || in sptlrpc_info_lprocfs_seq_show() 81 strcmp(dev->obd_type->typ_name, LUSTRE_MGC_NAME) == 0); in sptlrpc_info_lprocfs_seq_show() 118 LASSERT(strcmp(dev->obd_type->typ_name, LUSTRE_OSC_NAME) == 0 || in sptlrpc_ctxs_lprocfs_seq_show() 119 strcmp(dev->obd_type->typ_name, LUSTRE_MDC_NAME) == 0 || in sptlrpc_ctxs_lprocfs_seq_show() 120 strcmp(dev->obd_type->typ_name, LUSTRE_MGC_NAME) == 0); in sptlrpc_ctxs_lprocfs_seq_show() 141 if (strcmp(dev->obd_type->typ_name, LUSTRE_OSC_NAME) != 0 && in sptlrpc_lprocfs_cliobd_attach() 142 strcmp(dev->obd_type->typ_name, LUSTRE_MDC_NAME) != 0 && in sptlrpc_lprocfs_cliobd_attach() 143 strcmp(dev->obd_type->typ_name, LUSTRE_MGC_NAME) != 0) { in sptlrpc_lprocfs_cliobd_attach() 145 dev->obd_type->typ_name); in sptlrpc_lprocfs_cliobd_attach()
|
| D | sec_config.c | 53 const char *type = obd->obd_type->typ_name; in sptlrpc_target_sec_part() 813 LASSERT(strcmp(obd->obd_type->typ_name, LUSTRE_MDC_NAME) == 0 || in sptlrpc_conf_client_adapt() 814 strcmp(obd->obd_type->typ_name, LUSTRE_OSC_NAME) == 0); in sptlrpc_conf_client_adapt()
|
| D | import.c | 1070 strcmp(imp->imp_obd->obd_type->typ_name, in ptlrpc_connect_interpret() 1323 if (strcmp(imp->imp_obd->obd_type->typ_name, in ptlrpc_import_recovery_state_machine()
|
| D | sec.c | 1239 imp->imp_obd->obd_type->typ_name, in sptlrpc_sec_create() 1249 imp->imp_obd->obd_type->typ_name, in sptlrpc_sec_create()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
| D | genops.c | 91 static struct obd_type *class_search_type(const char *name) in class_search_type() 94 struct obd_type *type; in class_search_type() 98 type = list_entry(tmp, struct obd_type, typ_chain); in class_search_type() 108 static struct obd_type *class_get_type(const char *name) in class_get_type() 110 struct obd_type *type = class_search_type(name); in class_get_type() 141 void class_put_type(struct obd_type *type) in class_put_type() 157 struct obd_type *type; in class_register_type() 231 struct obd_type *type = class_search_type(name); in class_unregister_type() 282 struct obd_type *type = NULL; in class_newdev() 330 result->obd_type = type; in class_newdev() [all …]
|
| D | obd_config.c | 305 obd->obd_minor, obd->obd_type->typ_name); in class_setup() 314 obd->obd_minor, obd->obd_type->typ_name); in class_setup() 552 if (strcmp(obd->obd_type->typ_name, LUSTRE_MDC_NAME) && in class_add_conn() 553 strcmp(obd->obd_type->typ_name, LUSTRE_OSC_NAME) && in class_add_conn() 554 strcmp(obd->obd_type->typ_name, LUSTRE_OSP_NAME) && in class_add_conn() 555 strcmp(obd->obd_type->typ_name, LUSTRE_LWP_NAME) && in class_add_conn() 556 strcmp(obd->obd_type->typ_name, LUSTRE_MGC_NAME)) { in class_add_conn() 586 if (strcmp(obd->obd_type->typ_name, LUSTRE_MDC_NAME) && in class_del_conn() 587 strcmp(obd->obd_type->typ_name, LUSTRE_OSC_NAME)) { in class_del_conn()
|
| D | class_obd.c | 330 (int)index, status, obd->obd_type->typ_name, in class_handle_ioctl()
|
| D | lprocfs_status.c | 916 obd->obd_type->typ_kobj, in lprocfs_obd_setup() 930 obd->obd_type->typ_debugfs_entry, in lprocfs_obd_setup()
|
| D | lu_object.c | 1253 struct obd_type *type; in lu_stack_fini()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/lclient/ |
| D | lcommon_misc.c | 101 if (!strcmp(watched->obd_type->typ_name, LUSTRE_OSC_NAME)) { in cl_ocd_update() 117 watched->obd_type->typ_name, in cl_ocd_update()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/include/ |
| D | obd_class.h | 204 void class_put_type(struct obd_type *type); 272 #define OBT(dev) (dev)->obd_type 273 #define OBP(dev, op) (dev)->obd_type->typ_dt_ops->o_ ## op 274 #define MDP(dev, op) (dev)->obd_type->typ_md_ops->m_ ## op 469 ldt = obd->obd_type->typ_lu; in obd_setup() 510 ldt = obd->obd_type->typ_lu; in obd_precleanup() 539 ldt = obd->obd_type->typ_lu; in obd_cleanup() 587 ldt = obd->obd_type->typ_lu; in obd_process_config()
|
| D | obd.h | 169 struct obd_type { struct 717 struct obd_type *obd_type; member
|
| D | lu_object.h | 326 struct obd_type *ldt_obd_type;
|
| /linux-4.4.14/drivers/staging/lustre/lustre/osc/ |
| D | osc_quota.c | 321 memcpy(qchk->obd_type, LUSTRE_OST_NAME, strlen(LUSTRE_OST_NAME)); in osc_quota_poll_check()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/ |
| D | lustre_user.h | 506 char obd_type[16]; member 611 char obd_type[16]; member
|
| /linux-4.4.14/drivers/staging/lustre/lustre/obdclass/linux/ |
| D | linux-module.c | 379 (int)index, status, obd->obd_type->typ_name, in obd_device_list_seq_show()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/lmv/ |
| D | lmv_obd.c | 113 obd->obd_type->typ_name, i); in lmv_set_mdc_active() 114 LASSERT(strcmp(obd->obd_type->typ_name, LUSTRE_MDC_NAME) == 0); in lmv_set_mdc_active() 146 if (strcmp(watched->obd_type->typ_name, LUSTRE_MDC_NAME)) { in lmv_notify() 148 watched->obd_type->typ_name, in lmv_notify()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/ldlm/ |
| D | ldlm_lib.c | 266 char *name = obddev->obd_type->typ_name; in client_obd_setup()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
| D | lproc_llite.c | 1072 obd->obd_type->typ_name); in ldebugfs_register_mountpoint() 1080 obd->obd_type->typ_name); in ldebugfs_register_mountpoint()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/obdecho/ |
| D | echo_client.c | 734 if (!strcmp(tgt->obd_type->typ_name, LUSTRE_MDT_NAME)) { in echo_device_alloc() 758 tgt_type_name = tgt->obd_type->typ_name; in echo_device_alloc()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/mdc/ |
| D | mdc_request.c | 1629 memcpy(qchk->obd_type, LUSTRE_MDS_NAME, strlen(LUSTRE_MDS_NAME)); in mdc_quota_poll_check() 2384 if (obd->obd_type->typ_refcnt <= 1) in mdc_precleanup()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
| D | lov_obd.c | 442 if (strcmp(watched->obd_type->typ_name, LUSTRE_OSC_NAME)) { in lov_notify() 445 watched->obd_type->typ_name, in lov_notify()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/mgc/ |
| D | mgc_request.c | 701 if (obd->obd_type->typ_refcnt <= 1) in mgc_cleanup()
|