Lines Matching defs:list
199 struct udmabuf_create_item *list)
217 if (!IS_ALIGNED(list[i].offset, PAGE_SIZE))
219 if (!IS_ALIGNED(list[i].size, PAGE_SIZE))
221 ubuf->pagecount += list[i].size >> PAGE_SHIFT;
239 memfd = fget(list[i].memfd);
252 pgoff = list[i].offset >> PAGE_SHIFT;
253 pgcnt = list[i].size >> PAGE_SHIFT;
297 struct udmabuf_create_item list;
305 list.memfd = create.memfd;
306 list.offset = create.offset;
307 list.size = create.size;
309 return udmabuf_create(filp->private_data, &head, &list);
315 struct udmabuf_create_item *list;
324 list = memdup_user((void __user *)(arg + sizeof(head)), lsize);
325 if (IS_ERR(list))
326 return PTR_ERR(list);
328 ret = udmabuf_create(filp->private_data, &head, list);
329 kfree(list);