Lines Matching defs:mode
822 * this path. All we need to change is the atime, and this lock mode
980 int mode)
1056 static long __gfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len)
1143 error = fallocate_chunk(inode, offset, max_bytes, mode);
1155 if (!(mode & FALLOC_FL_KEEP_SIZE) && (pos + count) > inode->i_size)
1172 static long gfs2_fallocate(struct file *file, int mode, loff_t offset, loff_t len)
1180 if (mode & ~(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE))
1193 if (!(mode & FALLOC_FL_KEEP_SIZE) &&
1204 if (mode & FALLOC_FL_PUNCH_HOLE) {
1207 ret = __gfs2_fallocate(file, mode, offset, len);