Lines Matching refs:ct_hdr
363 if (gid_pn_rsp->ct_hdr.ct_cmd != cpu_to_be16(FC_FS_ACC)) in zfcp_fc_ns_gid_pn_eval()
375 static void zfcp_fc_ct_ns_init(struct fc_ct_hdr *ct_hdr, u16 cmd, u16 mr_size) in zfcp_fc_ct_ns_init() argument
377 ct_hdr->ct_rev = FC_CT_REV; in zfcp_fc_ct_ns_init()
378 ct_hdr->ct_fs_type = FC_FST_DIR; in zfcp_fc_ct_ns_init()
379 ct_hdr->ct_fs_subtype = FC_NS_SUBTYPE; in zfcp_fc_ct_ns_init()
380 ct_hdr->ct_cmd = cpu_to_be16(cmd); in zfcp_fc_ct_ns_init()
381 ct_hdr->ct_mr_size = cpu_to_be16(mr_size / 4); in zfcp_fc_ct_ns_init()
402 zfcp_fc_ct_ns_init(&gid_pn_req->ct_hdr, in zfcp_fc_ns_gid_pn_request()
658 zfcp_fc_ct_ns_init(&req->ct_hdr, FC_NS_GPN_FT, max_bytes); in zfcp_fc_send_gpn_ft()
813 zfcp_fc_ct_ns_init(&gspn_req->ct_hdr, FC_NS_GSPN_ID, in zfcp_fc_gspn()
858 zfcp_fc_ct_ns_init(&rspn_req->ct_hdr, FC_NS_RSPN_ID, in zfcp_fc_rspn()