Lines Matching defs:ubuf
234 static inline int put_sigset(const sigset_t *kbuf, compat_sigset_t __user *ubuf)
238 if (!access_ok(VERIFY_WRITE, ubuf, sizeof(*ubuf)))
245 err |= __put_user(kbuf->sig[1] >> 32, &ubuf->sig[3]);
246 err |= __put_user(kbuf->sig[1] & 0xffffffff, &ubuf->sig[2]);
248 err |= __put_user(kbuf->sig[0] >> 32, &ubuf->sig[1]);
249 err |= __put_user(kbuf->sig[0] & 0xffffffff, &ubuf->sig[0]);
255 static inline int get_sigset(sigset_t *kbuf, const compat_sigset_t __user *ubuf)
260 if (!access_ok(VERIFY_READ, ubuf, sizeof(*ubuf)))
267 err |= __get_user(sig[3], &ubuf->sig[3]);
268 err |= __get_user(sig[2], &ubuf->sig[2]);
271 err |= __get_user(sig[1], &ubuf->sig[1]);
272 err |= __get_user(sig[0], &ubuf->sig[0]);