Home
last modified time | relevance | path

Searched refs:sizes (Results 1 – 2 of 2) sorted by relevance

/samples/seccomp/
Duser-trap.c291 struct seccomp_notif_sizes sizes; in main() local
293 if (seccomp(SECCOMP_GET_NOTIF_SIZES, 0, &sizes) < 0) { in main()
298 req = malloc(sizes.seccomp_notif); in main()
302 resp = malloc(sizes.seccomp_notif_resp); in main()
305 memset(resp, 0, sizes.seccomp_notif_resp); in main()
308 memset(req, 0, sizes.seccomp_notif); in main()
/samples/v4l/
Dv4l2-pci-skeleton.c167 unsigned int sizes[], struct device *alloc_devs[]) in queue_setup() argument
186 return sizes[0] < skel->format.sizeimage ? -EINVAL : 0; in queue_setup()
188 sizes[0] = skel->format.sizeimage; in queue_setup()