Lines Matching defs:appending
85 * appending data). Ensure that the remainder is zeroed out.
212 int err, appending = !!(pos + len > inode->i_size);
226 if (appending)
227 /* We are appending data, budget for inode change */
276 if (appending) {
302 * @appending: non-zero if the page is appended
306 * this is appending, whether the page is dirty or not, and so on. This
307 * function leaves the @ui->ui_mutex locked in case of appending.
312 struct ubifs_inode *ui, int appending)
317 if (!appending)
319 * The folio is dirty and we are not appending, which
327 * The page is dirty and we are appending, so the inode
338 * The page is dirty, we are appending, the inode is clean, so
360 if (appending) {
365 * it as dirty because we are appending. This
416 int err, appending = !!(pos + len > inode->i_size);
456 err = allocate_budget(c, folio, ui, appending);
472 if (appending) {
485 * with @ui->ui_mutex locked if we are appending pages, and unlocked
497 * @appending: non-zero if the page is appended
500 * @ui->ui_mutex in case of appending.
503 struct ubifs_inode *ui, int appending)
505 if (appending) {
527 int appending = !!(end_pos > inode->i_size);
544 cancel_budget(c, folio, ui, appending);
564 if (appending) {