Lines Matching defs:mode
198 req->r_args.open.mode = cpu_to_le32(create_mode);
568 struct file *file, umode_t mode,
621 if (S_ISDIR(mode))
622 mode |= S_ISGID;
623 else if ((mode & (S_ISGID | S_IXGRP)) == (S_ISGID | S_IXGRP) &&
626 mode &= ~S_ISGID;
630 in.mode = cpu_to_le32((u32)mode);
688 struct file *file, unsigned flags, umode_t mode)
699 dout("atomic_open %p dentry %p '%pd' %s flags %d mode 0%o\n",
701 d_unhashed(dentry) ? "unhashed" : "hashed", flags, mode);
715 err = ceph_pre_init_acls(dir, &mode, &as_ctx);
718 err = ceph_security_init_secctx(dentry, mode, &as_ctx);
731 req = prepare_open_request(dir->i_sb, flags, mode);
763 file, mode, req,
2076 static long ceph_fallocate(struct file *file, int mode,
2089 if (mode != (FALLOC_FL_KEEP_SIZE | FALLOC_FL_PUNCH_HOLE))