Home
last modified time | relevance | path

Searched refs:XCOPY_NAA_IEEE_REGEX_LEN (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/target/
H A Dtarget_core_xcopy.h7 #define XCOPY_NAA_IEEE_REGEX_LEN 16 macro
26 unsigned char src_tid_wwn[XCOPY_NAA_IEEE_REGEX_LEN];
28 unsigned char dst_tid_wwn[XCOPY_NAA_IEEE_REGEX_LEN];
29 unsigned char local_dev_wwn[XCOPY_NAA_IEEE_REGEX_LEN];
H A Dtarget_core_xcopy.c46 unsigned char tmp_dev_wwn[XCOPY_NAA_IEEE_REGEX_LEN]; in target_xcopy_locate_se_dev_e4_iter()
54 memset(&tmp_dev_wwn[0], 0, XCOPY_NAA_IEEE_REGEX_LEN); in target_xcopy_locate_se_dev_e4_iter()
57 rc = memcmp(&tmp_dev_wwn[0], dev_wwn, XCOPY_NAA_IEEE_REGEX_LEN); in target_xcopy_locate_se_dev_e4_iter()
60 XCOPY_NAA_IEEE_REGEX_LEN, tmp_dev_wwn); in target_xcopy_locate_se_dev_e4_iter()
83 XCOPY_NAA_IEEE_REGEX_LEN, dev_wwn); in target_xcopy_locate_se_dev_e4()
147 if (desig_len != XCOPY_NAA_IEEE_REGEX_LEN) { in target_xcopy_parse_tiddesc_e4()
168 memcpy(&xop->src_tid_wwn[0], &desc[8], XCOPY_NAA_IEEE_REGEX_LEN); in target_xcopy_parse_tiddesc_e4()
173 XCOPY_NAA_IEEE_REGEX_LEN)) { in target_xcopy_parse_tiddesc_e4()
182 memcpy(&xop->dst_tid_wwn[0], &desc[8], XCOPY_NAA_IEEE_REGEX_LEN); in target_xcopy_parse_tiddesc_e4()
190 XCOPY_NAA_IEEE_REGEX_LEN)) { in target_xcopy_parse_tiddesc_e4()
[all …]