Lines Matching defs:mode
193 req->r_args.open.mode = cpu_to_le32(create_mode);
614 struct file *file, umode_t mode,
663 if (S_ISDIR(mode))
664 mode |= S_ISGID;
668 in.mode = cpu_to_le32((u32)mode);
731 struct file *file, unsigned flags, umode_t mode)
743 dout("atomic_open %p dentry %p '%pd' %s flags %d mode 0%o\n",
745 d_unhashed(dentry) ? "unhashed" : "hashed", flags, mode);
764 new_inode = ceph_new_inode(dir, dentry, &mode, &as_ctx);
779 req = prepare_open_request(dir->i_sb, flags, mode);
836 mode, req,
2552 static long ceph_fallocate(struct file *file, int mode,
2565 dout("%s %p %llx.%llx mode %x, offset %llu length %llu\n", __func__,
2566 inode, ceph_vinop(inode), mode, offset, length);
2568 if (mode != (FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE))