Lines Matching refs:truncate
187 * "save unlink" removal, or if file has both unlink and truncate
190 * protects truncate), so there left no items to make truncate
237 int truncate;
309 truncate = 1;
311 truncate = 0;
335 if (!truncate && inode->i_nlink) {
347 if (truncate && S_ISDIR(inode->i_mode)) {
349 * We got a truncate request for a dir which
351 * execute unfinished truncate request then boot
356 "impossible truncate on a "
360 truncate = 0;
365 if (truncate) {
369 * not completed truncate found. New size was
378 retval = remove_save_link(inode, truncate);
430 struct inode *inode, int truncate)
441 RFALSE(truncate &&
445 RFALSE(!truncate &&
454 if (!truncate) {
464 /* truncate */
467 "Adding a truncate savelink for "
501 if (truncate)
510 int remove_save_link(struct inode *inode, int truncate)
524 if (!truncate) {
530 /* truncate */
535 if ((truncate &&
537 (!truncate &&
541 if (!truncate) {