Home
last modified time | relevance | path

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

/kernel/
Dcapability.c82 static int cap_validate_magic(cap_user_header_t header, unsigned *tocopy) in cap_validate_magic() argument
92 *tocopy = _LINUX_CAPABILITY_U32S_1; in cap_validate_magic()
98 *tocopy = _LINUX_CAPABILITY_U32S_3; in cap_validate_magic()
152 unsigned tocopy; in SYSCALL_DEFINE2() local
155 ret = cap_validate_magic(header, &tocopy); in SYSCALL_DEFINE2()
170 for (i = 0; i < tocopy; i++) { in SYSCALL_DEFINE2()
195 if (copy_to_user(dataptr, kdata, tocopy in SYSCALL_DEFINE2()
225 unsigned i, tocopy, copybytes; in SYSCALL_DEFINE2() local
231 ret = cap_validate_magic(header, &tocopy); in SYSCALL_DEFINE2()
242 copybytes = tocopy * sizeof(struct __user_cap_data_struct); in SYSCALL_DEFINE2()
[all …]