Lines Matching full:trim
159 * We only need to trim a buffer when we have multiple windows. Each window has
160 * trim state. We might have trimmed the end of the previous window, leaving the
162 * won't start with a new cookie), or we might need to trim the end of the
165 * window (a window can have one or more cookies). However, when we trim the
166 * last cookie, we keep a pointer to the last cookie in the trim state since we
167 * only need this info when we trim. The pointer to the first cookie in the
171 * If we do trim a cookie, we save away the physical address and size of the
176 * if we happened to trim on a page that uses the copy buffer, and that page
209 * window, and the trim state for the window. For the 32-bit kernel, we keep
232 * need to trim when switching to a new window. This should only be
235 * path to determine if we & or % to calculate the trim.