Lines Matching refs:cb_hdr
531 SVGACBHeader *cb_hdr = entry->cb_header; in vmw_cmdbuf_work_func() local
533 (entry->cmd + cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
543 (unsigned long) cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
552 (unsigned long) cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
556 new_start_offset = cb_hdr->errorOffset + error_cmd_size; in vmw_cmdbuf_work_func()
558 if (new_start_offset >= cb_hdr->length) { in vmw_cmdbuf_work_func()
565 cb_hdr->ptr.mob.mobOffset += new_start_offset; in vmw_cmdbuf_work_func()
567 cb_hdr->ptr.pa += (u64) new_start_offset; in vmw_cmdbuf_work_func()
570 cb_hdr->length -= new_start_offset; in vmw_cmdbuf_work_func()
571 cb_hdr->errorOffset = 0; in vmw_cmdbuf_work_func()
572 cb_hdr->offset = 0; in vmw_cmdbuf_work_func()
866 SVGACBHeader *cb_hdr; in vmw_cmdbuf_space_pool() local
886 cb_hdr = header->cb_header; in vmw_cmdbuf_space_pool()
890 cb_hdr->flags = SVGA_CB_FLAG_MOB; in vmw_cmdbuf_space_pool()
891 cb_hdr->ptr.mob.mobid = man->cmd_space->resource->start; in vmw_cmdbuf_space_pool()
892 cb_hdr->ptr.mob.mobOffset = offset; in vmw_cmdbuf_space_pool()
894 cb_hdr->ptr.pa = (u64)man->handle + (u64)offset; in vmw_cmdbuf_space_pool()
920 SVGACBHeader *cb_hdr; in vmw_cmdbuf_space_inline() local
932 cb_hdr = &dheader->cb_header; in vmw_cmdbuf_space_inline()
933 header->cb_header = cb_hdr; in vmw_cmdbuf_space_inline()
935 cb_hdr->status = SVGA_CB_STATUS_NONE; in vmw_cmdbuf_space_inline()
936 cb_hdr->flags = SVGA_CB_FLAG_NONE; in vmw_cmdbuf_space_inline()
937 cb_hdr->ptr.pa = (u64)header->handle + in vmw_cmdbuf_space_inline()