Lines Matching defs:ct_hdr
363 if (gid_pn_rsp->ct_hdr.ct_cmd != cpu_to_be16(FC_FS_ACC))
375 static void zfcp_fc_ct_ns_init(struct fc_ct_hdr *ct_hdr, u16 cmd, u16 mr_size)
377 ct_hdr->ct_rev = FC_CT_REV;
378 ct_hdr->ct_fs_type = FC_FST_DIR;
379 ct_hdr->ct_fs_subtype = FC_NS_SUBTYPE;
380 ct_hdr->ct_cmd = cpu_to_be16(cmd);
381 ct_hdr->ct_mr_size = cpu_to_be16(mr_size / 4);
402 zfcp_fc_ct_ns_init(&gid_pn_req->ct_hdr,
700 zfcp_fc_ct_ns_init(&req->ct_hdr, FC_NS_GPN_FT, max_bytes);
855 zfcp_fc_ct_ns_init(&gspn_req->ct_hdr, FC_NS_GSPN_ID,
900 zfcp_fc_ct_ns_init(&rspn_req->ct_hdr, FC_NS_RSPN_ID,