Lines Matching defs:appending
85 * appending data). Ensure that the remainder is zeroed out.
224 int err, appending = !!(pos + len > inode->i_size);
238 if (appending)
239 /* We are appending data, budget for inode change */
287 if (appending) {
313 * @appending: non-zero if the page is appended
317 * this is appending, whether the page is dirty or not, and so on. This
318 * function leaves the @ui->ui_mutex locked in case of appending. Returns zero
322 struct ubifs_inode *ui, int appending)
327 if (!appending)
329 * The page is dirty and we are not appending, which
337 * The page is dirty and we are appending, so the inode
348 * The page is dirty, we are appending, the inode is clean, so
370 if (appending) {
375 * it as dirty because we are appending. This
425 int err, appending = !!(pos + len > inode->i_size);
464 err = allocate_budget(c, page, ui, appending);
480 if (appending) {
493 * with @ui->ui_mutex locked if we are appending pages, and unlocked
506 * @appending: non-zero if the page is appended
509 * @ui->ui_mutex in case of appending.
512 struct ubifs_inode *ui, int appending)
514 if (appending) {
535 int appending = !!(end_pos > inode->i_size);
552 cancel_budget(c, page, ui, appending);
572 if (appending) {