Lines Matching defs:truncate
116 "save unlink" removal, or if file has both unlink and truncate
119 protects truncate), so there left no items to make truncate
157 int truncate;
226 truncate = 1;
228 truncate = 0;
250 if (!truncate && inode->i_nlink) {
260 if (truncate && S_ISDIR(inode->i_mode)) {
261 /* We got a truncate request for a dir which is impossible.
262 The only imaginable way is to execute unfinished truncate request
266 "impossible truncate on a "
270 truncate = 0;
275 if (truncate) {
278 /* not completed truncate found. New size was committed together
286 retval = remove_save_link(inode, truncate);
334 struct inode *inode, int truncate)
345 RFALSE(truncate &&
349 RFALSE(!truncate &&
358 if (!truncate) {
368 /* truncate */
371 "Adding a truncate savelink for "
405 if (truncate)
414 int remove_save_link(struct inode *inode, int truncate)
428 if (!truncate) {
434 /* truncate */
439 if ((truncate &&
441 (!truncate &&
445 if (!truncate) {