Lines Matching refs:gf32

594 		struct compat_group_filter __user *gf32 = (void *)optval;  in compat_mc_setsockopt()  local
598 if (!access_ok(VERIFY_READ, gf32, __COMPAT_GF0_SIZE) || in compat_mc_setsockopt()
599 __get_user(interface, &gf32->gf_interface) || in compat_mc_setsockopt()
600 __get_user(fmode, &gf32->gf_fmode) || in compat_mc_setsockopt()
601 __get_user(numsrc, &gf32->gf_numsrc)) in compat_mc_setsockopt()
612 copy_in_user(&kgf->gf_group, &gf32->gf_group, in compat_mc_setsockopt()
614 (numsrc && copy_in_user(kgf->gf_slist, gf32->gf_slist, in compat_mc_setsockopt()
632 struct compat_group_filter __user *gf32 = (void *)optval; in compat_mc_getsockopt() local
647 klen = ulen + sizeof(*kgf) - sizeof(*gf32); in compat_mc_getsockopt()
659 if (!access_ok(VERIFY_READ, gf32, __COMPAT_GF0_SIZE) || in compat_mc_getsockopt()
660 __get_user(interface, &gf32->gf_interface) || in compat_mc_getsockopt()
661 __get_user(fmode, &gf32->gf_fmode) || in compat_mc_getsockopt()
662 __get_user(numsrc, &gf32->gf_numsrc) || in compat_mc_getsockopt()
666 copy_in_user(&kgf->gf_group, &gf32->gf_group, sizeof(kgf->gf_group))) in compat_mc_getsockopt()
677 ulen = klen - (sizeof(*kgf)-sizeof(*gf32)); in compat_mc_getsockopt()
684 !access_ok(VERIFY_WRITE, gf32, ulen) || in compat_mc_getsockopt()
688 __put_user(interface, &gf32->gf_interface) || in compat_mc_getsockopt()
689 __put_user(fmode, &gf32->gf_fmode) || in compat_mc_getsockopt()
690 __put_user(numsrc, &gf32->gf_numsrc)) in compat_mc_getsockopt()
696 copylen = numsrc * sizeof(gf32->gf_slist[0]); in compat_mc_getsockopt()
699 if (copy_in_user(gf32->gf_slist, kgf->gf_slist, copylen)) in compat_mc_getsockopt()