• Home
  • Raw
  • Download

Lines Matching refs:open_flags

1471 static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags, stru…  in create_nfs_open_context()  argument
1473 return alloc_nfs_open_context(dentry, flags_to_mode(open_flags), filp); in create_nfs_open_context()
1484 struct file *file, unsigned open_flags, in nfs_finish_open() argument
1501 struct file *file, unsigned open_flags, in nfs_atomic_open() argument
1519 err = nfs_check_flags(open_flags); in nfs_atomic_open()
1524 if ((open_flags & O_DIRECTORY)) { in nfs_atomic_open()
1540 if (open_flags & O_CREAT) { in nfs_atomic_open()
1549 if (open_flags & O_TRUNC) { in nfs_atomic_open()
1554 if (!(open_flags & O_CREAT) && !d_in_lookup(dentry)) { in nfs_atomic_open()
1565 ctx = create_nfs_open_context(dentry, open_flags, file); in nfs_atomic_open()
1570 trace_nfs_atomic_open_enter(dir, ctx, open_flags); in nfs_atomic_open()
1571 inode = NFS_PROTO(dir)->open_context(dir, ctx, open_flags, &attr, opened); in nfs_atomic_open()
1574 trace_nfs_atomic_open_exit(dir, ctx, open_flags, err); in nfs_atomic_open()
1586 if (!(open_flags & O_NOFOLLOW)) in nfs_atomic_open()
1596 err = nfs_finish_open(ctx, ctx->dentry, file, open_flags, opened); in nfs_atomic_open()
1597 trace_nfs_atomic_open_exit(dir, ctx, open_flags, err); in nfs_atomic_open()
1728 int open_flags = excl ? O_CREAT | O_EXCL : O_CREAT; in nfs_create() local
1737 trace_nfs_create_enter(dir, dentry, open_flags); in nfs_create()
1738 error = NFS_PROTO(dir)->create(dir, dentry, &attr, open_flags); in nfs_create()
1739 trace_nfs_create_exit(dir, dentry, open_flags, error); in nfs_create()