Searched refs:ocd (Results 1 - 12 of 12) sorted by relevance
/drivers/staging/lustre/lustre/include/ |
H A D | lustre_export.h | 350 struct obd_connect_data *ocd; local 353 ocd = &imp->imp_connect_data; 354 return !!(ocd->ocd_connect_flags & OBD_CONNECT_LRU_RESIZE); 373 struct obd_connect_data *ocd; local 376 ocd = &imp->imp_connect_data; 377 if (ocd->ocd_connect_flags & OBD_CONNECT_LVB_TYPE) 385 struct obd_connect_data *ocd; local 387 ocd = &exp->exp_connect_data; 388 return ocd->ocd_ibits_known; 393 struct obd_connect_data *ocd; local [all...] |
H A D | obd.h | 1125 * data. @ocd->ocd_connect_flags is modified to reflect flags actually 1127 * asked for. If @ocd == NULL, use default parameters. */ 1130 struct obd_uuid *cluuid, struct obd_connect_data *ocd, 1135 struct obd_connect_data *ocd,
|
/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | import.c | 792 struct obd_connect_data *ocd; local 820 ocd = req_capsule_server_sized_get(&request->rq_pill, 823 if (ocd == NULL) { 837 imp->imp_connect_data = *ocd; 840 imp->imp_obd->obd_name, ocd->ocd_instance); 846 if ((ocd->ocd_connect_flags & imp->imp_connect_flags_orig) != 847 ocd->ocd_connect_flags) { 850 ocd->ocd_connect_flags); 864 exp->exp_connect_data = *ocd; 865 imp->imp_obd->obd_self_export->exp_connect_data = *ocd; 1178 struct obd_connect_data *ocd; local [all...] |
H A D | pack_generic.c | 1678 void lustre_swab_connect(struct obd_connect_data *ocd) argument 1680 __swab64s(&ocd->ocd_connect_flags); 1681 __swab32s(&ocd->ocd_version); 1682 __swab32s(&ocd->ocd_grant); 1683 __swab64s(&ocd->ocd_ibits_known); 1684 __swab32s(&ocd->ocd_index); 1685 __swab32s(&ocd->ocd_brw_size); 1688 __swab16s(&ocd->ocd_grant_extent); 1689 __swab32s(&ocd->ocd_unused); 1690 __swab64s(&ocd [all...] |
/drivers/staging/lustre/lustre/ldlm/ |
H A D | ldlm_lib.c | 497 struct obd_connect_data *ocd; local 522 ocd = &imp->imp_connect_data; 524 *ocd = *data; 536 LASSERTF((ocd->ocd_connect_flags & data->ocd_connect_flags) == 537 ocd->ocd_connect_flags, "old %#llx, new %#llx\n", 538 data->ocd_connect_flags, ocd->ocd_connect_flags); 539 data->ocd_connect_flags = ocd->ocd_connect_flags;
|
/drivers/mfd/ |
H A D | intel_msic.c | 323 if (pdata->ocd) { 324 unsigned gpio = pdata->ocd->gpio;
|
/drivers/staging/lustre/lustre/obdecho/ |
H A D | echo_client.c | 1993 struct obd_connect_data *ocd = NULL; local 2014 OBD_ALLOC(ocd, sizeof(*ocd)); 2015 if (ocd == NULL) { 2016 CERROR("Can't alloc ocd connecting to %s\n", 2021 ocd->ocd_connect_flags = OBD_CONNECT_VERSION | OBD_CONNECT_REQPORTAL | 2026 ocd->ocd_brw_size = DT_MAX_BRW_SIZE; 2027 ocd->ocd_version = LUSTRE_VERSION_CODE; 2028 ocd->ocd_group = FID_SEQ_ECHO; 2030 rc = obd_connect(env, &ec->ec_exp, tgt, &echo_uuid, ocd, NUL [all...] |
/drivers/staging/lustre/lustre/include/lustre/ |
H A D | lustre_idl.h | 1191 #define OBD_CONNECT_VERSION 0x20ULL /*Lustre versions in ocd */ 1263 #define OCD_HAS_FLAG(ocd, flg) \ 1264 (!!((ocd)->ocd_connect_flags & OBD_CONNECT_##flg)) 1392 extern void lustre_swab_connect(struct obd_connect_data *ocd); 3286 static inline void lustre_set_wire_obdo(struct obd_connect_data *ocd, argument 3292 if (ocd == NULL) 3295 if (unlikely(!(ocd->ocd_connect_flags & OBD_CONNECT_FID)) && 3304 static inline void lustre_get_wire_obdo(struct obd_connect_data *ocd, argument 3319 if (ocd == NULL) 3322 if (unlikely(!(ocd [all...] |
/drivers/staging/lustre/lustre/osc/ |
H A D | osc_lock.c | 956 struct obd_connect_data *ocd; local 962 ocd = &class_exp2cliimp(osc_export(oob))->imp_connect_data; 965 (ocd->ocd_connect_flags & OBD_CONNECT_SRVLOCK); 971 (ocd->ocd_connect_flags & OBD_CONNECT_TRUNCLOCK) &&
|
H A D | osc_request.c | 1052 static void osc_init_grant(struct client_obd *cli, struct obd_connect_data *ocd) argument 1064 cli->cl_avail_grant = ocd->ocd_grant; 1066 cli->cl_avail_grant = ocd->ocd_grant - cli->cl_dirty; 1069 CWARN("%s: available grant < 0: avail/ocd/dirty %ld/%u/%ld\n", 1071 ocd->ocd_grant, cli->cl_dirty); 1074 cli->cl_avail_grant = ocd->ocd_grant; 1078 cli->cl_chunkbits = max_t(int, PAGE_CACHE_SHIFT, ocd->ocd_blocksize); 1085 if (ocd->ocd_connect_flags & OBD_CONNECT_GRANT_SHRINK && 3098 struct obd_connect_data *ocd = &imp->imp_connect_data; local 3100 if (ocd [all...] |
H A D | lproc_osc.c | 479 struct obd_connect_data *ocd = &cli->cl_import->imp_connect_data; local 496 if (val == 0 || val > ocd->ocd_brw_size >> PAGE_CACHE_SHIFT) {
|
/drivers/staging/lustre/lustre/mgc/ |
H A D | mgc_request.c | 456 struct obd_connect_data *ocd = &imp->imp_connect_data; local 460 OCD_HAS_FLAG(ocd, IMP_RECOV) ? "ENABLED" : "DISABLED");
|
Completed in 247 milliseconds