Lines Matching refs:cb_hdr
530 SVGACBHeader *cb_hdr = entry->cb_header; in vmw_cmdbuf_work_func() local
532 (entry->cmd + cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
542 (unsigned long) cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
551 (unsigned long) cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
555 new_start_offset = cb_hdr->errorOffset + error_cmd_size; in vmw_cmdbuf_work_func()
557 if (new_start_offset >= cb_hdr->length) { in vmw_cmdbuf_work_func()
564 cb_hdr->ptr.mob.mobOffset += new_start_offset; in vmw_cmdbuf_work_func()
566 cb_hdr->ptr.pa += (u64) new_start_offset; in vmw_cmdbuf_work_func()
569 cb_hdr->length -= new_start_offset; in vmw_cmdbuf_work_func()
570 cb_hdr->errorOffset = 0; in vmw_cmdbuf_work_func()
571 cb_hdr->offset = 0; in vmw_cmdbuf_work_func()
865 SVGACBHeader *cb_hdr; in vmw_cmdbuf_space_pool() local
885 cb_hdr = header->cb_header; in vmw_cmdbuf_space_pool()
889 cb_hdr->flags = SVGA_CB_FLAG_MOB; in vmw_cmdbuf_space_pool()
890 cb_hdr->ptr.mob.mobid = man->cmd_space->tbo.resource->start; in vmw_cmdbuf_space_pool()
891 cb_hdr->ptr.mob.mobOffset = offset; in vmw_cmdbuf_space_pool()
893 cb_hdr->ptr.pa = (u64)man->handle + (u64)offset; in vmw_cmdbuf_space_pool()
919 SVGACBHeader *cb_hdr; in vmw_cmdbuf_space_inline() local
931 cb_hdr = &dheader->cb_header; in vmw_cmdbuf_space_inline()
932 header->cb_header = cb_hdr; in vmw_cmdbuf_space_inline()
934 cb_hdr->status = SVGA_CB_STATUS_NONE; in vmw_cmdbuf_space_inline()
935 cb_hdr->flags = SVGA_CB_FLAG_NONE; in vmw_cmdbuf_space_inline()
936 cb_hdr->ptr.pa = (u64)header->handle + in vmw_cmdbuf_space_inline()