Lines Matching defs:copy
752 * When reusing framents, copy some data to the head to simplify
1793 unsigned int copy;
1819 copy = min_t(unsigned int, attr_remaining, iedatalen);
1820 if (copy && desired_attr) {
1821 desired_len += copy;
1823 memcpy(out, iedata, min(bufsize, copy));
1824 out += min(bufsize, copy);
1825 bufsize -= min(bufsize, copy);
1829 if (copy == attr_remaining)
1833 attr_remaining -= copy;
1837 iedatalen -= copy;
1838 iedata += copy;
1851 copy = min_t(unsigned int, attr_len, iedatalen);
1854 desired_len += copy;
1856 memcpy(out, iedata, min(bufsize, copy));
1857 out += min(bufsize, copy);
1858 bufsize -= min(bufsize, copy);
1861 if (copy == attr_len)
1865 iedata += copy;
1866 iedatalen -= copy;
1867 attr_remaining = attr_len - copy;