Lines Matching refs:trim
266 int trim = msg->sg.size - len;
269 if (trim <= 0) {
270 WARN_ON(trim < 0);
277 trim >= msg->sg.data[i].length) {
278 trim -= msg->sg.data[i].length;
281 if (!trim)
285 msg->sg.data[i].length -= trim;
286 sk_mem_uncharge(sk, trim);
294 /* If we trim data a full sg elem before curr pointer update
360 /* Revert iov_iter updates, msg will need to use 'trim' later if it
379 /* This is possible if a trim operation shrunk the buffer */