Lines Matching refs:sr
1858 struct sioc_sg_req6 sr; in ip6mr_ioctl() local
1892 if (copy_from_user(&sr, arg, sizeof(sr))) in ip6mr_ioctl()
1896 c = ip6mr_cache_find(mrt, &sr.src.sin6_addr, &sr.grp.sin6_addr); in ip6mr_ioctl()
1898 sr.pktcnt = c->_c.mfc_un.res.pkt; in ip6mr_ioctl()
1899 sr.bytecnt = c->_c.mfc_un.res.bytes; in ip6mr_ioctl()
1900 sr.wrong_if = c->_c.mfc_un.res.wrong_if; in ip6mr_ioctl()
1903 if (copy_to_user(arg, &sr, sizeof(sr))) in ip6mr_ioctl()
1933 struct compat_sioc_sg_req6 sr; in ip6mr_compat_ioctl() local
1967 if (copy_from_user(&sr, arg, sizeof(sr))) in ip6mr_compat_ioctl()
1971 c = ip6mr_cache_find(mrt, &sr.src.sin6_addr, &sr.grp.sin6_addr); in ip6mr_compat_ioctl()
1973 sr.pktcnt = c->_c.mfc_un.res.pkt; in ip6mr_compat_ioctl()
1974 sr.bytecnt = c->_c.mfc_un.res.bytes; in ip6mr_compat_ioctl()
1975 sr.wrong_if = c->_c.mfc_un.res.wrong_if; in ip6mr_compat_ioctl()
1978 if (copy_to_user(arg, &sr, sizeof(sr))) in ip6mr_compat_ioctl()