Searched refs:ocdb (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/include/scsi/
H A Dosd_sec.h34 /* Conditionally sign the CDB according to security setting in ocdb
36 void osd_sec_sign_cdb(struct osd_cdb *ocdb, const u8 *cap_key);
H A Dosd_protocol.h257 static inline struct osd_cdb_head *osd_cdb_head(struct osd_cdb *ocdb) osd_cdb_head() argument
259 return (struct osd_cdb_head *)ocdb->buff; osd_cdb_head()
/linux-4.1.27/drivers/scsi/osd/
H A Dosd_initiator.c372 struct osd_cdb *ocdb = &or->cdb; _osd_req_sec_params() local
375 return (struct osd_security_parameters *)&ocdb->v1.sec_params; _osd_req_sec_params()
377 return (struct osd_security_parameters *)&ocdb->v2.sec_params; _osd_req_sec_params()
594 struct osdv1_cdb *ocdb = &or->cdb.v1; _osdv1_req_encode_common() local
606 ocdb->h.varlen_cdb.opcode = VARIABLE_LENGTH_CMD; _osdv1_req_encode_common()
607 ocdb->h.varlen_cdb.additional_cdb_length = OSD_ADDITIONAL_CDB_LENGTH; _osdv1_req_encode_common()
608 ocdb->h.varlen_cdb.service_action = act; _osdv1_req_encode_common()
610 ocdb->h.partition = cpu_to_be64(obj->partition); _osdv1_req_encode_common()
611 ocdb->h.object = cpu_to_be64(obj->id); _osdv1_req_encode_common()
612 ocdb->h.v1.length = cpu_to_be64(len); _osdv1_req_encode_common()
613 ocdb->h.v1.start_address = cpu_to_be64(offset); _osdv1_req_encode_common()
619 struct osdv2_cdb *ocdb = &or->cdb.v2; _osdv2_req_encode_common() local
623 ocdb->h.varlen_cdb.opcode = VARIABLE_LENGTH_CMD; _osdv2_req_encode_common()
624 ocdb->h.varlen_cdb.additional_cdb_length = OSD_ADDITIONAL_CDB_LENGTH; _osdv2_req_encode_common()
625 ocdb->h.varlen_cdb.service_action = act; _osdv2_req_encode_common()
627 ocdb->h.partition = cpu_to_be64(obj->partition); _osdv2_req_encode_common()
628 ocdb->h.object = cpu_to_be64(obj->id); _osdv2_req_encode_common()
629 ocdb->h.v2.length = cpu_to_be64(len); _osdv2_req_encode_common()
630 ocdb->h.v2.start_address = cpu_to_be64(offset); _osdv2_req_encode_common()
665 struct osd_cdb_head *ocdb = osd_cdb_head(&or->cdb); _osd_req_encode_flush() local
667 ocdb->command_specific_options = op; _osd_req_encode_flush()
2022 void osd_sec_sign_cdb(struct osd_cdb *ocdb __unused, const u8 *cap_key __unused) osd_sec_sign_cdb()

Completed in 96 milliseconds