/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_lproc.c | 83 LASSERT(strcmp(dev->obd_type->typ_name, LUSTRE_OSC_NAME) == 0 || in sptlrpc_info_lprocfs_seq_show() 84 strcmp(dev->obd_type->typ_name, LUSTRE_MDC_NAME) == 0 || in sptlrpc_info_lprocfs_seq_show() 85 strcmp(dev->obd_type->typ_name, LUSTRE_MGC_NAME) == 0); in sptlrpc_info_lprocfs_seq_show() 121 LASSERT(strcmp(dev->obd_type->typ_name, LUSTRE_OSC_NAME) == 0 || in sptlrpc_ctxs_lprocfs_seq_show() 122 strcmp(dev->obd_type->typ_name, LUSTRE_MDC_NAME) == 0 || in sptlrpc_ctxs_lprocfs_seq_show() 123 strcmp(dev->obd_type->typ_name, LUSTRE_MGC_NAME) == 0); in sptlrpc_ctxs_lprocfs_seq_show() 143 if (strcmp(dev->obd_type->typ_name, LUSTRE_OSC_NAME) != 0 && in sptlrpc_lprocfs_cliobd_attach() 144 strcmp(dev->obd_type->typ_name, LUSTRE_MDC_NAME) != 0 && in sptlrpc_lprocfs_cliobd_attach() 145 strcmp(dev->obd_type->typ_name, LUSTRE_MGC_NAME) != 0) { in sptlrpc_lprocfs_cliobd_attach() 147 dev->obd_type->typ_name); in sptlrpc_lprocfs_cliobd_attach()
|
D | sec_config.c | 74 const char *type = obd->obd_type->typ_name; in sptlrpc_target_sec_part() 865 LASSERT(strcmp(obd->obd_type->typ_name, LUSTRE_MDC_NAME) == 0 || in sptlrpc_conf_client_adapt() 866 strcmp(obd->obd_type->typ_name, LUSTRE_OSC_NAME) == 0); in sptlrpc_conf_client_adapt()
|
D | import.c | 1080 strcmp(imp->imp_obd->obd_type->typ_name, in ptlrpc_connect_interpret() 1333 if (strcmp(imp->imp_obd->obd_type->typ_name, in ptlrpc_import_recovery_state_machine()
|
D | sec.c | 1288 imp->imp_obd->obd_type->typ_name, in sptlrpc_sec_create() 1298 imp->imp_obd->obd_type->typ_name, in sptlrpc_sec_create()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | genops.c | 94 struct obd_type *class_search_type(const char *name) in class_search_type() 97 struct obd_type *type; in class_search_type() 101 type = list_entry(tmp, struct obd_type, typ_chain); in class_search_type() 112 struct obd_type *class_get_type(const char *name) in class_get_type() 114 struct obd_type *type = class_search_type(name); in class_get_type() 146 void class_put_type(struct obd_type *type) in class_put_type() 162 struct obd_type *type; in class_register_type() 229 struct obd_type *type = class_search_type(name); in class_unregister_type() 280 struct obd_type *type = NULL; in class_newdev() 328 result->obd_type = type; in class_newdev() [all …]
|
D | obd_config.c | 472 obd->obd_minor, obd->obd_type->typ_name); in class_setup() 481 obd->obd_minor, obd->obd_type->typ_name); in class_setup() 783 if (strcmp(obd->obd_type->typ_name, LUSTRE_MDC_NAME) && in class_add_conn() 784 strcmp(obd->obd_type->typ_name, LUSTRE_OSC_NAME) && in class_add_conn() 785 strcmp(obd->obd_type->typ_name, LUSTRE_OSP_NAME) && in class_add_conn() 786 strcmp(obd->obd_type->typ_name, LUSTRE_LWP_NAME) && in class_add_conn() 787 strcmp(obd->obd_type->typ_name, LUSTRE_MGC_NAME)) { in class_add_conn() 818 if (strcmp(obd->obd_type->typ_name, LUSTRE_MDC_NAME) && in class_del_conn() 819 strcmp(obd->obd_type->typ_name, LUSTRE_OSC_NAME)) { in class_del_conn()
|
D | lprocfs_status.c | 945 struct obd_type *class = (struct obd_type *) data; in lprocfs_rd_numrefs() 959 LASSERT(obd->obd_type->typ_procroot != NULL); in lprocfs_obd_setup() 962 obd->obd_type->typ_procroot, in lprocfs_obd_setup() 1394 num_stats = ((int)sizeof(*obd->obd_type->typ_dt_ops) / sizeof(void *)) + in lprocfs_alloc_obd_stats()
|
D | class_obd.c | 366 (int)index, status, obd->obd_type->typ_name, in class_handle_ioctl()
|
D | lu_object.c | 1282 struct obd_type *type; in lu_stack_fini()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/ |
D | lcommon_misc.c | 102 if (!strcmp(watched->obd_type->typ_name, LUSTRE_OSC_NAME)) { in cl_ocd_update() 118 watched->obd_type->typ_name, in cl_ocd_update()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | obd_class.h | 289 struct obd_type *class_search_type(const char *name); 290 struct obd_type *class_get_type(const char *name); 291 void class_put_type(struct obd_type *type); 329 #define OBT(dev) (dev)->obd_type 330 #define OBP(dev, op) (dev)->obd_type->typ_dt_ops->o_ ## op 331 #define MDP(dev, op) (dev)->obd_type->typ_md_ops->m_ ## op 564 ldt = obd->obd_type->typ_lu; in obd_setup() 604 ldt = obd->obd_type->typ_lu; in obd_precleanup() 633 ldt = obd->obd_type->typ_lu; in obd_cleanup() 684 ldt = obd->obd_type->typ_lu; in obd_process_config()
|
D | obd.h | 243 struct obd_type { struct 808 struct obd_type *obd_type; member
|
D | lu_object.h | 328 struct obd_type *ldt_obd_type;
|
/linux-4.1.27/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() 240 obd->obd_type->typ_name, obd->obd_name); in lmv_connect() 422 LASSERT(mdc_obd->obd_type != NULL); in lmv_connect_mdc() 423 LASSERT(mdc_obd->obd_type->typ_name != NULL); in lmv_connect_mdc() 427 mdc_obd->obd_type->typ_name, in lmv_connect_mdc() 431 obd->obd_type->typ_name, obd->obd_name, in lmv_connect_mdc() 684 obd->obd_type->typ_name, obd->obd_name); in lmv_disconnect()
|
/linux-4.1.27/drivers/staging/lustre/lustre/osc/ |
D | osc_quota.c | 320 memcpy(qchk->obd_type, LUSTRE_OST_NAME, strlen(LUSTRE_OST_NAME)); in osc_quota_poll_check()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/linux/ |
D | linux-module.c | 387 (int)index, status, obd->obd_type->typ_name, in obd_device_list_seq_show()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_user.h | 510 char obd_type[16]; member 615 char obd_type[16]; member
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | lproc_llite.c | 1072 LASSERT(obd->obd_type->typ_name != NULL); in lprocfs_register_mountpoint() 1074 dir = proc_mkdir(obd->obd_type->typ_name, sbi->ll_proc_root); in lprocfs_register_mountpoint() 1097 LASSERT(obd->obd_type->typ_name != NULL); in lprocfs_register_mountpoint() 1099 dir = proc_mkdir(obd->obd_type->typ_name, sbi->ll_proc_root); in lprocfs_register_mountpoint()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lov_obd.c | 196 LASSERT(osc_obd->obd_type->typ_name != NULL); in lov_connect_obd() 201 osc_obd->obd_type->typ_name, in lov_connect_obd() 205 obd->obd_type->typ_name, obd->obd_name, in lov_connect_obd() 454 if (strcmp(watched->obd_type->typ_name, LUSTRE_OSC_NAME)) { in lov_notify() 457 watched->obd_type->typ_name, in lov_notify()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lib.c | 267 char *name = obddev->obd_type->typ_name; in client_obd_setup()
|
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_pool.c | 437 LASSERT(obd->obd_type != LP_POISON); in ldlm_srv_pool_setup()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 732 if (!strcmp(tgt->obd_type->typ_name, LUSTRE_MDT_NAME)) { in echo_device_alloc() 756 tgt_type_name = tgt->obd_type->typ_name; in echo_device_alloc()
|
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/ |
D | mdc_request.c | 1725 memcpy(qchk->obd_type, LUSTRE_MDS_NAME, strlen(LUSTRE_MDS_NAME)); in mdc_quota_poll_check() 2511 if (obd->obd_type->typ_refcnt <= 1) in mdc_precleanup()
|
/linux-4.1.27/drivers/staging/lustre/lustre/mgc/ |
D | mgc_request.c | 713 if (obd->obd_type->typ_refcnt <= 1) in mgc_cleanup()
|