Lines Matching refs:sr
1589 struct sioc_sg_req sr; in ipmr_ioctl() local
1623 if (copy_from_user(&sr, arg, sizeof(sr))) in ipmr_ioctl()
1627 c = ipmr_cache_find(mrt, sr.src.s_addr, sr.grp.s_addr); in ipmr_ioctl()
1629 sr.pktcnt = c->_c.mfc_un.res.pkt; in ipmr_ioctl()
1630 sr.bytecnt = c->_c.mfc_un.res.bytes; in ipmr_ioctl()
1631 sr.wrong_if = c->_c.mfc_un.res.wrong_if; in ipmr_ioctl()
1634 if (copy_to_user(arg, &sr, sizeof(sr))) in ipmr_ioctl()
1664 struct compat_sioc_sg_req sr; in ipmr_compat_ioctl() local
1698 if (copy_from_user(&sr, arg, sizeof(sr))) in ipmr_compat_ioctl()
1702 c = ipmr_cache_find(mrt, sr.src.s_addr, sr.grp.s_addr); in ipmr_compat_ioctl()
1704 sr.pktcnt = c->_c.mfc_un.res.pkt; in ipmr_compat_ioctl()
1705 sr.bytecnt = c->_c.mfc_un.res.bytes; in ipmr_compat_ioctl()
1706 sr.wrong_if = c->_c.mfc_un.res.wrong_if; in ipmr_compat_ioctl()
1709 if (copy_to_user(arg, &sr, sizeof(sr))) in ipmr_compat_ioctl()