Lines Matching defs:usize
8255 unsigned int usize)
8259 if (!access_ok(uattr, usize))
8265 * If usize == ksize then we just copy everything to user-space and all is good.
8267 * If usize < ksize then we only copy as much as user-space has space for,
8270 * If usize > ksize then user-space is using a newer version of the ABI,
8275 kattr->size = min(usize, ksize);
8287 * @usize: sizeof(attr) for fwd/bwd comp.
8291 unsigned int, usize, unsigned int, flags)
8297 if (!uattr || pid < 0 || usize > PAGE_SIZE ||
8298 usize < SCHED_ATTR_SIZE_VER0 || flags)
8327 return sched_attr_copy_to_user(uattr, &kattr, usize);