Lines Matching defs:sgc
53 static u32 esas2r_disc_get_phys_addr(struct esas2r_sg_context *sgc, u64 *addr);
888 struct esas2r_sg_context sgc;
896 sgc.cur_offset = NULL;
897 sgc.get_phys_addr = (PGETPHYSADDR)esas2r_disc_get_phys_addr;
898 sgc.length = offsetof(struct atto_ioctl, data)
901 esas2r_sgc_init(&sgc, a, rq, rq->vrq->ioctl.sge);
903 esas2r_build_ioctl_req(a, rq, sgc.length, VDA_IOCTL_HBA);
905 if (!esas2r_build_sg_list(a, rq, &sgc)) {
1030 static u32 esas2r_disc_get_phys_addr(struct esas2r_sg_context *sgc, u64 *addr)
1032 struct esas2r_adapter *a = sgc->adapter;
1034 if (sgc->length > ESAS2R_DISC_BUF_LEN)
1040 return sgc->length;