Home
last modified time | relevance | path

Searched refs:obd_type (Results 1 – 23 of 23) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dsec_lproc.c79 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()
Dsec_config.c53 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()
Dimport.c1070 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()
Dsec.c1239 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/
Dgenops.c91 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 …]
Dobd_config.c305 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()
Dclass_obd.c330 (int)index, status, obd->obd_type->typ_name, in class_handle_ioctl()
Dlprocfs_status.c916 obd->obd_type->typ_kobj, in lprocfs_obd_setup()
930 obd->obd_type->typ_debugfs_entry, in lprocfs_obd_setup()
Dlu_object.c1253 struct obd_type *type; in lu_stack_fini()
/linux-4.4.14/drivers/staging/lustre/lustre/lclient/
Dlcommon_misc.c101 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/
Dobd_class.h204 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()
Dobd.h169 struct obd_type { struct
717 struct obd_type *obd_type; member
Dlu_object.h326 struct obd_type *ldt_obd_type;
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_quota.c321 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/
Dlustre_user.h506 char obd_type[16]; member
611 char obd_type[16]; member
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-module.c379 (int)index, status, obd->obd_type->typ_name, in obd_device_list_seq_show()
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c113 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/
Dldlm_lib.c266 char *name = obddev->obd_type->typ_name; in client_obd_setup()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dlproc_llite.c1072 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/
Decho_client.c734 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/
Dmdc_request.c1629 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/
Dlov_obd.c442 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/
Dmgc_request.c701 if (obd->obd_type->typ_refcnt <= 1) in mgc_cleanup()