• Home
  • Raw
  • Download

Lines Matching refs:oldlen

24 	void __user *oldval, size_t oldlen, void __user *newval, size_t newlen);
922 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_dir() argument
929 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_string() argument
933 if (oldval && oldlen) { in bin_string()
938 result = vfs_read(file, oldval, oldlen, &pos); in bin_string()
972 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_intvec() argument
983 if (oldval && oldlen) { in bin_intvec()
985 size_t length = oldlen / sizeof(*vec); in bin_intvec()
1043 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_ulongvec() argument
1054 if (oldval && oldlen) { in bin_ulongvec()
1056 size_t length = oldlen / sizeof(*vec); in bin_ulongvec()
1114 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_uuid() argument
1119 if (oldval && oldlen) { in bin_uuid()
1143 if (oldlen > 16) in bin_uuid()
1144 oldlen = 16; in bin_uuid()
1147 if (copy_to_user(oldval, uuid, oldlen)) in bin_uuid()
1150 copied = oldlen; in bin_uuid()
1158 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_dn_node_address() argument
1162 if (oldval && oldlen) { in bin_dn_node_address()
1297 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in binary_sysctl() argument
1312 if (oldval && oldlen && newval && newlen) { in binary_sysctl()
1316 } else if (oldval && oldlen) { in binary_sysctl()
1329 result = table->convert(file, oldval, oldlen, newval, newlen); in binary_sysctl()
1342 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in binary_sysctl() argument
1402 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in do_sysctl() argument
1417 return binary_sysctl(name, nlen, oldval, oldlen, newval, newlen); in do_sysctl()
1423 size_t oldlen = 0; in SYSCALL_DEFINE1() local
1432 if (tmp.oldlenp && get_user(oldlen, tmp.oldlenp)) in SYSCALL_DEFINE1()
1435 result = do_sysctl(tmp.name, tmp.nlen, tmp.oldval, oldlen, in SYSCALL_DEFINE1()
1439 oldlen = result; in SYSCALL_DEFINE1()
1443 if (tmp.oldlenp && put_user(oldlen, tmp.oldlenp)) in SYSCALL_DEFINE1()
1466 size_t oldlen = 0; in COMPAT_SYSCALL_DEFINE1() local
1476 if (compat_oldlenp && get_user(oldlen, compat_oldlenp)) in COMPAT_SYSCALL_DEFINE1()
1480 compat_ptr(tmp.oldval), oldlen, in COMPAT_SYSCALL_DEFINE1()
1484 oldlen = result; in COMPAT_SYSCALL_DEFINE1()
1488 if (compat_oldlenp && put_user(oldlen, compat_oldlenp)) in COMPAT_SYSCALL_DEFINE1()