[RFC 6/6] drivers: staging: ion: add ION_IOC_TAG ioctl

Hillf Danton hillf.zj at alibaba-inc.com
Wed Oct 12 03:29:23 UTC 2016


On Wednesday, October 12, 2016 7:50 AM Ruchi Kandoi wrote:
> +/**
> + * struct ion_fd_data - metadata passed from userspace for a handle

s/fd/tag/ ?

> + * @handle:	a handle
> + * @tag: a string describing the buffer
> + *
> + * For ION_IOC_TAG userspace populates the handle field with
> + * the handle returned from ion alloc and type contains the memtrack_type which
> + * accurately describes the usage for the memory.
> + */
> +struct ion_tag_data {
> +	ion_user_handle_t handle;
> +	char tag[ION_MAX_TAG_LEN];
> +};
> +



More information about the devel mailing list