/drivers/staging/lustre/lustre/include/ |
D | lustre_export.h | 289 struct obd_connect_data *ocd; in imp_connect_lru_resize() local 292 ocd = &imp->imp_connect_data; in imp_connect_lru_resize() 293 return !!(ocd->ocd_connect_flags & OBD_CONNECT_LRU_RESIZE); in imp_connect_lru_resize() 312 struct obd_connect_data *ocd; in imp_connect_lvb_type() local 315 ocd = &imp->imp_connect_data; in imp_connect_lvb_type() 316 if (ocd->ocd_connect_flags & OBD_CONNECT_LVB_TYPE) in imp_connect_lvb_type() 324 struct obd_connect_data *ocd; in exp_connect_ibits() local 326 ocd = &exp->exp_connect_data; in exp_connect_ibits() 327 return ocd->ocd_ibits_known; in exp_connect_ibits() 332 struct obd_connect_data *ocd; in imp_connect_disp_stripe() local [all …]
|
D | obd.h | 993 struct obd_uuid *cluuid, struct obd_connect_data *ocd, 998 struct obd_connect_data *ocd,
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | import.c | 789 struct obd_connect_data *ocd; in ptlrpc_connect_interpret() local 817 ocd = req_capsule_server_sized_get(&request->rq_pill, in ptlrpc_connect_interpret() 820 if (ocd == NULL) { in ptlrpc_connect_interpret() 834 imp->imp_connect_data = *ocd; in ptlrpc_connect_interpret() 837 imp->imp_obd->obd_name, ocd->ocd_instance); in ptlrpc_connect_interpret() 843 if ((ocd->ocd_connect_flags & imp->imp_connect_flags_orig) != in ptlrpc_connect_interpret() 844 ocd->ocd_connect_flags) { in ptlrpc_connect_interpret() 847 ocd->ocd_connect_flags); in ptlrpc_connect_interpret() 861 exp->exp_connect_data = *ocd; in ptlrpc_connect_interpret() 862 imp->imp_obd->obd_self_export->exp_connect_data = *ocd; in ptlrpc_connect_interpret() [all …]
|
D | pack_generic.c | 1496 void lustre_swab_connect(struct obd_connect_data *ocd) in lustre_swab_connect() argument 1498 __swab64s(&ocd->ocd_connect_flags); in lustre_swab_connect() 1499 __swab32s(&ocd->ocd_version); in lustre_swab_connect() 1500 __swab32s(&ocd->ocd_grant); in lustre_swab_connect() 1501 __swab64s(&ocd->ocd_ibits_known); in lustre_swab_connect() 1502 __swab32s(&ocd->ocd_index); in lustre_swab_connect() 1503 __swab32s(&ocd->ocd_brw_size); in lustre_swab_connect() 1506 __swab16s(&ocd->ocd_grant_extent); in lustre_swab_connect() 1507 __swab32s(&ocd->ocd_unused); in lustre_swab_connect() 1508 __swab64s(&ocd->ocd_transno); in lustre_swab_connect() [all …]
|
/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lib.c | 495 struct obd_connect_data *ocd; in client_connect_import() local 520 ocd = &imp->imp_connect_data; in client_connect_import() 522 *ocd = *data; in client_connect_import() 534 LASSERTF((ocd->ocd_connect_flags & data->ocd_connect_flags) == in client_connect_import() 535 ocd->ocd_connect_flags, "old %#llx, new %#llx\n", in client_connect_import() 536 data->ocd_connect_flags, ocd->ocd_connect_flags); in client_connect_import() 537 data->ocd_connect_flags = ocd->ocd_connect_flags; in client_connect_import()
|
/drivers/mfd/ |
D | intel_msic.c | 323 if (pdata->ocd) { in intel_msic_init_devices() 324 unsigned gpio = pdata->ocd->gpio; in intel_msic_init_devices()
|
/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 2033 struct obd_connect_data *ocd = NULL; in echo_client_setup() local 2054 ocd = kzalloc(sizeof(*ocd), GFP_NOFS); in echo_client_setup() 2055 if (!ocd) { in echo_client_setup() 2061 ocd->ocd_connect_flags = OBD_CONNECT_VERSION | OBD_CONNECT_REQPORTAL | in echo_client_setup() 2066 ocd->ocd_brw_size = DT_MAX_BRW_SIZE; in echo_client_setup() 2067 ocd->ocd_version = LUSTRE_VERSION_CODE; in echo_client_setup() 2068 ocd->ocd_group = FID_SEQ_ECHO; in echo_client_setup() 2070 rc = obd_connect(env, &ec->ec_exp, tgt, &echo_uuid, ocd, NULL); in echo_client_setup() 2072 kfree(ocd); in echo_client_setup()
|
/drivers/staging/lustre/lustre/include/lustre/ |
D | lustre_idl.h | 1275 #define OCD_HAS_FLAG(ocd, flg) \ argument 1276 (!!((ocd)->ocd_connect_flags & OBD_CONNECT_##flg)) 1403 void lustre_swab_connect(struct obd_connect_data *ocd); 3270 static inline void lustre_set_wire_obdo(struct obd_connect_data *ocd, in lustre_set_wire_obdo() argument 3276 if (ocd == NULL) in lustre_set_wire_obdo() 3279 if (unlikely(!(ocd->ocd_connect_flags & OBD_CONNECT_FID)) && in lustre_set_wire_obdo() 3288 static inline void lustre_get_wire_obdo(struct obd_connect_data *ocd, in lustre_get_wire_obdo() argument 3303 if (ocd == NULL) in lustre_get_wire_obdo() 3306 if (unlikely(!(ocd->ocd_connect_flags & OBD_CONNECT_FID)) && in lustre_get_wire_obdo()
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 1021 static void osc_init_grant(struct client_obd *cli, struct obd_connect_data *ocd) in osc_init_grant() argument 1033 cli->cl_avail_grant = ocd->ocd_grant; in osc_init_grant() 1035 cli->cl_avail_grant = ocd->ocd_grant - cli->cl_dirty; in osc_init_grant() 1040 ocd->ocd_grant, cli->cl_dirty); in osc_init_grant() 1043 cli->cl_avail_grant = ocd->ocd_grant; in osc_init_grant() 1047 cli->cl_chunkbits = max_t(int, PAGE_CACHE_SHIFT, ocd->ocd_blocksize); in osc_init_grant() 1054 if (ocd->ocd_connect_flags & OBD_CONNECT_GRANT_SHRINK && in osc_init_grant() 3040 struct obd_connect_data *ocd = &imp->imp_connect_data; in osc_import_event() local 3042 if (ocd->ocd_connect_flags & OBD_CONNECT_GRANT) in osc_import_event() 3043 osc_init_grant(&obd->u.cli, ocd); in osc_import_event() [all …]
|
D | osc_lock.c | 956 struct obd_connect_data *ocd; in osc_lock_to_lockless() local 962 ocd = &class_exp2cliimp(osc_export(oob))->imp_connect_data; in osc_lock_to_lockless() 965 (ocd->ocd_connect_flags & OBD_CONNECT_SRVLOCK); in osc_lock_to_lockless() 971 (ocd->ocd_connect_flags & OBD_CONNECT_TRUNCLOCK) && in osc_lock_to_lockless()
|
D | lproc_osc.c | 545 struct obd_connect_data *ocd = &cli->cl_import->imp_connect_data; in max_pages_per_rpc_store() local 560 if (val == 0 || val > ocd->ocd_brw_size >> PAGE_CACHE_SHIFT) { in max_pages_per_rpc_store()
|
/drivers/staging/lustre/lustre/mgc/ |
D | mgc_request.c | 441 struct obd_connect_data *ocd; in lprocfs_mgc_rd_ir_state() local 450 ocd = &imp->imp_connect_data; in lprocfs_mgc_rd_ir_state() 453 OCD_HAS_FLAG(ocd, IMP_RECOV) ? "ENABLED" : "DISABLED"); in lprocfs_mgc_rd_ir_state()
|