Lines Matching refs:filp
1033 struct file *filp)
1042 if (filp)
1043 ctx->cred = get_cred(filp->f_cred);
1051 ctx->flock_owner = (fl_owner_t)filp;
1120 void nfs_file_set_open_context(struct file *filp, struct nfs_open_context *ctx)
1122 filp->private_data = get_nfs_open_context(ctx);
1153 void nfs_file_clear_open_context(struct file *filp)
1155 struct nfs_open_context *ctx = nfs_file_open_context(filp);
1167 filp->private_data = NULL;
1175 int nfs_open(struct inode *inode, struct file *filp)
1179 ctx = alloc_nfs_open_context(file_dentry(filp),
1180 flags_to_mode(filp->f_flags), filp);
1183 nfs_file_set_open_context(filp, ctx);
1185 nfs_fscache_open_file(inode, filp);