Lines Matching refs:klen
557 int klen, ulen, err; in compat_mc_getsockopt() local
568 klen = ulen + sizeof(*kgf) - sizeof(*gf32); in compat_mc_getsockopt()
570 if (klen < GROUP_FILTER_SIZE(0)) in compat_mc_getsockopt()
574 __put_user(klen, koptlen)) in compat_mc_getsockopt()
578 kgf = compat_alloc_user_space(klen+sizeof(*optlen)); in compat_mc_getsockopt()
595 __get_user(klen, koptlen)) in compat_mc_getsockopt()
598 ulen = klen - (sizeof(*kgf)-sizeof(*gf32)); in compat_mc_getsockopt()
604 if (!access_ok(kgf, klen) || in compat_mc_getsockopt()
616 klen -= GROUP_FILTER_SIZE(0); in compat_mc_getsockopt()
618 if (copylen > klen) in compat_mc_getsockopt()
619 copylen = klen; in compat_mc_getsockopt()