Lines Matching refs:cb_hdr
529 SVGACBHeader *cb_hdr = entry->cb_header; in vmw_cmdbuf_work_func() local
531 (entry->cmd + cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
542 (unsigned long) cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
550 (unsigned long) cb_hdr->errorOffset); in vmw_cmdbuf_work_func()
554 new_start_offset = cb_hdr->errorOffset + error_cmd_size; in vmw_cmdbuf_work_func()
556 if (new_start_offset >= cb_hdr->length) { in vmw_cmdbuf_work_func()
563 cb_hdr->ptr.mob.mobOffset += new_start_offset; in vmw_cmdbuf_work_func()
565 cb_hdr->ptr.pa += (u64) new_start_offset; in vmw_cmdbuf_work_func()
568 cb_hdr->length -= new_start_offset; in vmw_cmdbuf_work_func()
569 cb_hdr->errorOffset = 0; in vmw_cmdbuf_work_func()
570 cb_hdr->offset = 0; in vmw_cmdbuf_work_func()
864 SVGACBHeader *cb_hdr; in vmw_cmdbuf_space_pool() local
884 cb_hdr = header->cb_header; in vmw_cmdbuf_space_pool()
888 cb_hdr->flags = SVGA_CB_FLAG_MOB; in vmw_cmdbuf_space_pool()
889 cb_hdr->ptr.mob.mobid = man->cmd_space->mem.start; in vmw_cmdbuf_space_pool()
890 cb_hdr->ptr.mob.mobOffset = offset; in vmw_cmdbuf_space_pool()
892 cb_hdr->ptr.pa = (u64)man->handle + (u64)offset; in vmw_cmdbuf_space_pool()
918 SVGACBHeader *cb_hdr; in vmw_cmdbuf_space_inline() local
930 cb_hdr = &dheader->cb_header; in vmw_cmdbuf_space_inline()
931 header->cb_header = cb_hdr; in vmw_cmdbuf_space_inline()
933 cb_hdr->status = SVGA_CB_STATUS_NONE; in vmw_cmdbuf_space_inline()
934 cb_hdr->flags = SVGA_CB_FLAG_NONE; in vmw_cmdbuf_space_inline()
935 cb_hdr->ptr.pa = (u64)header->handle + in vmw_cmdbuf_space_inline()