Lines Matching defs:sz
362 int sz = validate_cmd(buffer[i]);
363 if (sz == 0 || i + sz > dwords)
365 i += sz;
455 if (cmd->sz & 0x3) {
472 ret = i915_emit_cmds(dev, cmdbuf, cmd->sz / 4);
688 DRM_DEBUG_DRIVER("i915 cmdbuffer, buf %p sz %d cliprects %d\n",
689 (void *)cmdbuf->buf, cmdbuf->sz, cmdbuf->num_cliprects);
699 batch_data = kmalloc(cmdbuf->sz, GFP_KERNEL);
703 ret = copy_from_user(batch_data, cmdbuf->buf, cmdbuf->sz);
740 kfree(batch_data, cmdbuf->sz);