Lines Matching defs:appending
85 * appending data). Ensure that the remainder is zeroed out.
225 int err, appending = !!(pos + len > inode->i_size);
239 if (appending)
240 /* We are appending data, budget for inode change */
288 if (appending) {
314 * @appending: non-zero if the page is appended
318 * this is appending, whether the page is dirty or not, and so on. This
319 * function leaves the @ui->ui_mutex locked in case of appending. Returns zero
323 struct ubifs_inode *ui, int appending)
328 if (!appending)
330 * The page is dirty and we are not appending, which
338 * The page is dirty and we are appending, so the inode
349 * The page is dirty, we are appending, the inode is clean, so
371 if (appending) {
376 * it as dirty because we are appending. This
426 int err, appending = !!(pos + len > inode->i_size);
465 err = allocate_budget(c, page, ui, appending);
481 if (appending) {
494 * with @ui->ui_mutex locked if we are appending pages, and unlocked
507 * @appending: non-zero if the page is appended
510 * @ui->ui_mutex in case of appending.
513 struct ubifs_inode *ui, int appending)
515 if (appending) {
536 int appending = !!(end_pos > inode->i_size);
553 cancel_budget(c, page, ui, appending);
573 if (appending) {