Lines Matching refs:kdata
167 struct __user_cap_data_struct kdata[_KERNEL_CAPABILITY_U32S]; in SYSCALL_DEFINE2() local
171 kdata[i].effective = pE.cap[i]; in SYSCALL_DEFINE2()
172 kdata[i].permitted = pP.cap[i]; in SYSCALL_DEFINE2()
173 kdata[i].inheritable = pI.cap[i]; in SYSCALL_DEFINE2()
195 if (copy_to_user(dataptr, kdata, tocopy in SYSCALL_DEFINE2()
224 struct __user_cap_data_struct kdata[_KERNEL_CAPABILITY_U32S]; in SYSCALL_DEFINE2() local
243 if (copybytes > sizeof(kdata)) in SYSCALL_DEFINE2()
246 if (copy_from_user(&kdata, data, copybytes)) in SYSCALL_DEFINE2()
250 effective.cap[i] = kdata[i].effective; in SYSCALL_DEFINE2()
251 permitted.cap[i] = kdata[i].permitted; in SYSCALL_DEFINE2()
252 inheritable.cap[i] = kdata[i].inheritable; in SYSCALL_DEFINE2()