Lines Matching defs:inode

2477 static struct nfs4_client *get_nfsdfs_clp(struct inode *inode)
2480 nc = get_nfsdfs_client(inode);
2510 struct inode *inode = file_inode(m->file);
2514 clp = get_nfsdfs_clp(inode);
2593 struct inode *inode = file_inode(f->nf_file);
2596 MAJOR(inode->i_sb->s_dev),
2597 MINOR(inode->i_sb->s_dev),
2598 inode->i_ino);
2775 static int client_states_open(struct inode *inode, struct file *file)
2781 clp = get_nfsdfs_clp(inode);
2793 static int client_opens_release(struct inode *inode, struct file *file)
2800 return seq_release(inode, file);
4715 struct inode *inode = d_inode(fhp->fh_dentry);
4720 list = rhltable_lookup(&nfs4_file_rhltable, &inode,
4735 * On hash insertion, identify entries with the same inode but
4739 * inode->i_lock prevents racing insertions from adding an entry
4740 * for the same inode/fhp pair twice.
4745 struct inode *inode = d_inode(fhp->fh_dentry);
4753 spin_lock(&inode->i_lock);
4755 list = rhltable_lookup(&nfs4_file_rhltable, &inode,
4777 spin_unlock(&inode->i_lock);
4811 static bool nfsd4_deleg_present(const struct inode *inode)
4813 struct file_lock_context *ctx = locks_inode_context(inode);
4821 * @inode: in-core inode of the file being waited for
4830 bool nfsd_wait_for_delegreturn(struct svc_rqst *rqstp, struct inode *inode)
4834 timeo = wait_var_event_timeout(inode, !nfsd4_deleg_present(inode),
4836 trace_nfsd_delegret_wakeup(rqstp, inode, timeo);
4850 * already holding inode->i_lock.
5354 struct inode *ino = file_inode(f);
5445 struct inode *inode = file_inode(nf->nf_file);
5448 (inode->i_mode & (S_ISUID|S_ISGID)))
7334 struct nfs4_file *fp, struct inode *inode,
7381 struct inode *inode, struct nfs4_ol_stateid *ost,
7402 lst = init_lock_stateid(openlockstateid(ns), lo, fi, inode, ost);
7440 struct inode *inode = d_inode(cstate->current_fh.fh_dentry);
7459 lst = find_or_create_lock_stateid(lo, fi, inode, ost, new);
7715 struct inode *inode;
7721 inode = fhp->fh_dentry->d_inode;
7722 inode_lock(inode); /* to block new leases till after test_lock: */
7723 err = nfserrno(nfsd_open_break_lease(inode, NFSD_MAY_READ));
7730 inode_unlock(inode);
7893 struct inode *inode;
7904 inode = file_inode(nf->nf_file);
7905 flctx = locks_inode_context(inode);
8090 * the inode cached. This becomes an obvious problem the first time a
8091 * client's inode cache approaches the size of the server's total memory.
8102 * is for a different inode), a delegation could take about 1.5K,
8408 * @inode: file to be checked for a conflict
8425 nfsd4_deleg_getattr_conflict(struct svc_rqst *rqstp, struct inode *inode)
8432 ctx = locks_inode_context(inode);
8443 * on this inode
8458 status = nfserrno(nfsd_open_break_lease(inode, NFSD_MAY_READ));
8460 !nfsd_wait_for_delegreturn(rqstp, inode))