/linux-4.4.14/arch/avr32/kernel/ |
H A D | Makefile | 9 obj-y += setup.o traps.o ocd.o ptrace.o
|
H A D | ocd.c | 12 #include <asm/ocd.h> 123 root = debugfs_create_dir("ocd", NULL); ocd_debugfs_init()
|
H A D | traps.c | 21 #include <asm/ocd.h>
|
H A D | cpu.c | 238 "rmw", "dsp", "simd", "ocd", "perfctr", "java", "fpu",
|
H A D | kprobes.c | 19 #include <asm/ocd.h>
|
H A D | process.c | 21 #include <asm/ocd.h>
|
H A D | ptrace.c | 21 #include <asm/ocd.h>
|
H A D | entry-avr32b.S | 19 #include <asm/ocd.h>
|
/linux-4.4.14/arch/unicore32/include/mach/ |
H A D | uncompress.h | 17 #include <mach/ocd.h>
|
H A D | ocd.h | 2 * linux/arch/unicore32/include/mach/ocd.h
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
H A D | lustre_export.h | 289 struct obd_connect_data *ocd; imp_connect_lru_resize() local 292 ocd = &imp->imp_connect_data; imp_connect_lru_resize() 293 return !!(ocd->ocd_connect_flags & OBD_CONNECT_LRU_RESIZE); imp_connect_lru_resize() 312 struct obd_connect_data *ocd; imp_connect_lvb_type() local 315 ocd = &imp->imp_connect_data; imp_connect_lvb_type() 316 if (ocd->ocd_connect_flags & OBD_CONNECT_LVB_TYPE) imp_connect_lvb_type() 324 struct obd_connect_data *ocd; exp_connect_ibits() local 326 ocd = &exp->exp_connect_data; exp_connect_ibits() 327 return ocd->ocd_ibits_known; exp_connect_ibits() 332 struct obd_connect_data *ocd; imp_connect_disp_stripe() local 335 ocd = &imp->imp_connect_data; imp_connect_disp_stripe() 336 return ocd->ocd_connect_flags & OBD_CONNECT_DISP_STRIPE; imp_connect_disp_stripe()
|
H A D | obd.h | 988 * data. @ocd->ocd_connect_flags is modified to reflect flags actually 990 * asked for. If @ocd == NULL, use default parameters. */ 993 struct obd_uuid *cluuid, struct obd_connect_data *ocd, 998 struct obd_connect_data *ocd,
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | import.c | 789 struct obd_connect_data *ocd; ptlrpc_connect_interpret() local 817 ocd = req_capsule_server_sized_get(&request->rq_pill, ptlrpc_connect_interpret() 820 if (ocd == NULL) { ptlrpc_connect_interpret() 834 imp->imp_connect_data = *ocd; ptlrpc_connect_interpret() 837 imp->imp_obd->obd_name, ocd->ocd_instance); ptlrpc_connect_interpret() 843 if ((ocd->ocd_connect_flags & imp->imp_connect_flags_orig) != ptlrpc_connect_interpret() 844 ocd->ocd_connect_flags) { ptlrpc_connect_interpret() 847 ocd->ocd_connect_flags); ptlrpc_connect_interpret() 861 exp->exp_connect_data = *ocd; ptlrpc_connect_interpret() 862 imp->imp_obd->obd_self_export->exp_connect_data = *ocd; ptlrpc_connect_interpret() 1026 !(ocd->ocd_connect_flags & OBD_CONNECT_IBITS)) { ptlrpc_connect_interpret() 1031 ocd->ocd_connect_flags); ptlrpc_connect_interpret() 1036 if ((ocd->ocd_connect_flags & OBD_CONNECT_VERSION) && ptlrpc_connect_interpret() 1037 (ocd->ocd_version > LUSTRE_VERSION_CODE + ptlrpc_connect_interpret() 1039 ocd->ocd_version < LUSTRE_VERSION_CODE - ptlrpc_connect_interpret() 1050 OBD_OCD_VERSION_MAJOR(ocd->ocd_version), ptlrpc_connect_interpret() 1051 OBD_OCD_VERSION_MINOR(ocd->ocd_version), ptlrpc_connect_interpret() 1052 OBD_OCD_VERSION_PATCH(ocd->ocd_version), ptlrpc_connect_interpret() 1053 OBD_OCD_VERSION_FIX(ocd->ocd_version), ptlrpc_connect_interpret() 1054 ocd->ocd_version > LUSTRE_VERSION_CODE ? ptlrpc_connect_interpret() 1065 if (unlikely((ocd->ocd_connect_flags & OBD_CONNECT_VERSION) && ptlrpc_connect_interpret() 1066 !(ocd->ocd_connect_flags & OBD_CONNECT_MNE_SWAB) && ptlrpc_connect_interpret() 1067 OBD_OCD_VERSION_MAJOR(ocd->ocd_version) == 2 && ptlrpc_connect_interpret() 1068 OBD_OCD_VERSION_MINOR(ocd->ocd_version) == 2 && ptlrpc_connect_interpret() 1069 OBD_OCD_VERSION_PATCH(ocd->ocd_version) < 55 && ptlrpc_connect_interpret() 1079 if (ocd->ocd_connect_flags & OBD_CONNECT_CKSUM) { ptlrpc_connect_interpret() 1083 if ((ocd->ocd_cksum_types & ptlrpc_connect_interpret() 1087 ocd->ocd_cksum_types, ptlrpc_connect_interpret() 1092 cli->cl_supp_cksum_types = ocd->ocd_cksum_types; ptlrpc_connect_interpret() 1101 if (ocd->ocd_connect_flags & OBD_CONNECT_BRW_SIZE) ptlrpc_connect_interpret() 1103 min(ocd->ocd_brw_size >> PAGE_CACHE_SHIFT, ptlrpc_connect_interpret() 1116 imp->imp_obd->obd_name, ocd->ocd_connect_flags); ptlrpc_connect_interpret() 1118 ocd->ocd_connect_flags; ptlrpc_connect_interpret() 1120 ocd->ocd_connect_flags; ptlrpc_connect_interpret() 1123 if ((ocd->ocd_connect_flags & OBD_CONNECT_AT) && ptlrpc_connect_interpret() 1137 if ((ocd->ocd_connect_flags & OBD_CONNECT_FULL20) && ptlrpc_connect_interpret() 1162 struct obd_connect_data *ocd; ptlrpc_connect_interpret() local 1168 ocd = req_capsule_server_get(&request->rq_pill, ptlrpc_connect_interpret() 1170 if (ocd && ptlrpc_connect_interpret() 1171 (ocd->ocd_connect_flags & OBD_CONNECT_VERSION) && ptlrpc_connect_interpret() 1172 (ocd->ocd_version != LUSTRE_VERSION_CODE)) { ptlrpc_connect_interpret() 1180 OBD_OCD_VERSION_MAJOR(ocd->ocd_version), ptlrpc_connect_interpret() 1181 OBD_OCD_VERSION_MINOR(ocd->ocd_version), ptlrpc_connect_interpret() 1182 OBD_OCD_VERSION_PATCH(ocd->ocd_version), ptlrpc_connect_interpret() 1183 OBD_OCD_VERSION_FIX(ocd->ocd_version), ptlrpc_connect_interpret()
|
H A D | pack_generic.c | 1496 void lustre_swab_connect(struct obd_connect_data *ocd) lustre_swab_connect() argument 1498 __swab64s(&ocd->ocd_connect_flags); lustre_swab_connect() 1499 __swab32s(&ocd->ocd_version); lustre_swab_connect() 1500 __swab32s(&ocd->ocd_grant); lustre_swab_connect() 1501 __swab64s(&ocd->ocd_ibits_known); lustre_swab_connect() 1502 __swab32s(&ocd->ocd_index); lustre_swab_connect() 1503 __swab32s(&ocd->ocd_brw_size); lustre_swab_connect() 1506 __swab16s(&ocd->ocd_grant_extent); lustre_swab_connect() 1507 __swab32s(&ocd->ocd_unused); lustre_swab_connect() 1508 __swab64s(&ocd->ocd_transno); lustre_swab_connect() 1509 __swab32s(&ocd->ocd_group); lustre_swab_connect() 1510 __swab32s(&ocd->ocd_cksum_types); lustre_swab_connect() 1511 __swab32s(&ocd->ocd_instance); lustre_swab_connect() 1516 if (ocd->ocd_connect_flags & OBD_CONNECT_MAX_EASIZE) lustre_swab_connect() 1517 __swab32s(&ocd->ocd_max_easize); lustre_swab_connect() 1518 if (ocd->ocd_connect_flags & OBD_CONNECT_MAXBYTES) lustre_swab_connect() 1519 __swab64s(&ocd->ocd_maxbytes); lustre_swab_connect() 1520 CLASSERT(offsetof(typeof(*ocd), padding1) != 0); lustre_swab_connect() 1521 CLASSERT(offsetof(typeof(*ocd), padding2) != 0); lustre_swab_connect() 1522 CLASSERT(offsetof(typeof(*ocd), padding3) != 0); lustre_swab_connect() 1523 CLASSERT(offsetof(typeof(*ocd), padding4) != 0); lustre_swab_connect() 1524 CLASSERT(offsetof(typeof(*ocd), padding5) != 0); lustre_swab_connect() 1525 CLASSERT(offsetof(typeof(*ocd), padding6) != 0); lustre_swab_connect() 1526 CLASSERT(offsetof(typeof(*ocd), padding7) != 0); lustre_swab_connect() 1527 CLASSERT(offsetof(typeof(*ocd), padding8) != 0); lustre_swab_connect() 1528 CLASSERT(offsetof(typeof(*ocd), padding9) != 0); lustre_swab_connect() 1529 CLASSERT(offsetof(typeof(*ocd), paddingA) != 0); lustre_swab_connect() 1530 CLASSERT(offsetof(typeof(*ocd), paddingB) != 0); lustre_swab_connect() 1531 CLASSERT(offsetof(typeof(*ocd), paddingC) != 0); lustre_swab_connect() 1532 CLASSERT(offsetof(typeof(*ocd), paddingD) != 0); lustre_swab_connect() 1533 CLASSERT(offsetof(typeof(*ocd), paddingE) != 0); lustre_swab_connect() 1534 CLASSERT(offsetof(typeof(*ocd), paddingF) != 0); lustre_swab_connect()
|
/linux-4.4.14/arch/unicore32/kernel/ |
H A D | early_printk.c | 15 #include <mach/ocd.h>
|
/linux-4.4.14/arch/x86/platform/intel-mid/device_libs/ |
H A D | platform_msic_ocd.c | 36 msic_pdata.ocd = &msic_ocd_pdata; msic_ocd_platform_data()
|
/linux-4.4.14/arch/avr32/include/asm/ |
H A D | ptrace.h | 15 #include <asm/ocd.h>
|
H A D | switch_to.h | 17 #include <asm/ocd.h>
|
/linux-4.4.14/arch/xtensa/kernel/ |
H A D | mxhead.S | 38 * by ocd.
|
H A D | head.S | 71 * by ocd. 341 * by ocd.
|
H A D | setup.c | 610 "ocd " c_show()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/ |
H A D | ldlm_lib.c | 495 struct obd_connect_data *ocd; client_connect_import() local 520 ocd = &imp->imp_connect_data; client_connect_import() 522 *ocd = *data; client_connect_import() 534 LASSERTF((ocd->ocd_connect_flags & data->ocd_connect_flags) == client_connect_import() 535 ocd->ocd_connect_flags, "old %#llx, new %#llx\n", client_connect_import() 536 data->ocd_connect_flags, ocd->ocd_connect_flags); client_connect_import() 537 data->ocd_connect_flags = ocd->ocd_connect_flags; client_connect_import()
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/ |
H A D | echo_client.c | 2033 struct obd_connect_data *ocd = NULL; echo_client_setup() local 2054 ocd = kzalloc(sizeof(*ocd), GFP_NOFS); echo_client_setup() 2055 if (!ocd) { echo_client_setup() 2056 CERROR("Can't alloc ocd connecting to %s\n", echo_client_setup() 2061 ocd->ocd_connect_flags = OBD_CONNECT_VERSION | OBD_CONNECT_REQPORTAL | echo_client_setup() 2066 ocd->ocd_brw_size = DT_MAX_BRW_SIZE; echo_client_setup() 2067 ocd->ocd_version = LUSTRE_VERSION_CODE; echo_client_setup() 2068 ocd->ocd_group = FID_SEQ_ECHO; echo_client_setup() 2070 rc = obd_connect(env, &ec->ec_exp, tgt, &echo_uuid, ocd, NULL); echo_client_setup() 2072 kfree(ocd); echo_client_setup()
|
/linux-4.4.14/drivers/mfd/ |
H A D | intel_msic.c | 323 if (pdata->ocd) { intel_msic_init_devices() 324 unsigned gpio = pdata->ocd->gpio; intel_msic_init_devices()
|
/linux-4.4.14/drivers/staging/lustre/lustre/osc/ |
H A D | osc_request.c | 1021 static void osc_init_grant(struct client_obd *cli, struct obd_connect_data *ocd) osc_init_grant() argument 1033 cli->cl_avail_grant = ocd->ocd_grant; osc_init_grant() 1035 cli->cl_avail_grant = ocd->ocd_grant - cli->cl_dirty; osc_init_grant() 1038 CWARN("%s: available grant < 0: avail/ocd/dirty %ld/%u/%ld\n", osc_init_grant() 1040 ocd->ocd_grant, cli->cl_dirty); osc_init_grant() 1043 cli->cl_avail_grant = ocd->ocd_grant; osc_init_grant() 1047 cli->cl_chunkbits = max_t(int, PAGE_CACHE_SHIFT, ocd->ocd_blocksize); osc_init_grant() 1054 if (ocd->ocd_connect_flags & OBD_CONNECT_GRANT_SHRINK && osc_init_grant() 3040 struct obd_connect_data *ocd = &imp->imp_connect_data; osc_import_event() local 3042 if (ocd->ocd_connect_flags & OBD_CONNECT_GRANT) osc_import_event() 3043 osc_init_grant(&obd->u.cli, ocd); osc_import_event() 3046 if (ocd->ocd_connect_flags & OBD_CONNECT_REQPORTAL) osc_import_event()
|
H A D | lproc_osc.c | 545 struct obd_connect_data *ocd = &cli->cl_import->imp_connect_data; max_pages_per_rpc_store() local 560 if (val == 0 || val > ocd->ocd_brw_size >> PAGE_CACHE_SHIFT) { max_pages_per_rpc_store()
|
H A D | osc_lock.c | 956 struct obd_connect_data *ocd; osc_lock_to_lockless() local 962 ocd = &class_exp2cliimp(osc_export(oob))->imp_connect_data; osc_lock_to_lockless() 965 (ocd->ocd_connect_flags & OBD_CONNECT_SRVLOCK); osc_lock_to_lockless() 971 (ocd->ocd_connect_flags & OBD_CONNECT_TRUNCLOCK) && osc_lock_to_lockless()
|
/linux-4.4.14/include/linux/mfd/ |
H A D | intel_msic.h | 418 * @ocd: platform data for the MSIC OCD driver 431 struct intel_msic_ocd_pdata *ocd; member in struct:intel_msic_platform_data
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/ |
H A D | lustre_idl.h | 1203 #define OBD_CONNECT_VERSION 0x20ULL /*Lustre versions in ocd */ 1275 #define OCD_HAS_FLAG(ocd, flg) \ 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, lustre_set_wire_obdo() argument 3276 if (ocd == NULL) lustre_set_wire_obdo() 3279 if (unlikely(!(ocd->ocd_connect_flags & OBD_CONNECT_FID)) && lustre_set_wire_obdo() 3288 static inline void lustre_get_wire_obdo(struct obd_connect_data *ocd, lustre_get_wire_obdo() argument 3303 if (ocd == NULL) lustre_get_wire_obdo() 3306 if (unlikely(!(ocd->ocd_connect_flags & OBD_CONNECT_FID)) && lustre_get_wire_obdo()
|
/linux-4.4.14/drivers/staging/lustre/lustre/mgc/ |
H A D | mgc_request.c | 441 struct obd_connect_data *ocd; lprocfs_mgc_rd_ir_state() local 450 ocd = &imp->imp_connect_data; lprocfs_mgc_rd_ir_state() 453 OCD_HAS_FLAG(ocd, IMP_RECOV) ? "ENABLED" : "DISABLED"); lprocfs_mgc_rd_ir_state()
|
/linux-4.4.14/drivers/usb/serial/ |
H A D | ftdi_sio.c | 1875 * First port on JTAG adaptors such as Olimex arm-usb-ocd or the FIC/OpenMoko
|