Lines Matching refs:fmode_t
1285 static fmode_t _nfs4_ctx_to_accessmode(const struct nfs_open_context *ctx) in _nfs4_ctx_to_accessmode()
1290 static fmode_t _nfs4_ctx_to_openmode(const struct nfs_open_context *ctx) in _nfs4_ctx_to_openmode()
1292 fmode_t ret = ctx->mode & (FMODE_READ|FMODE_WRITE); in _nfs4_ctx_to_openmode()
1299 fmode_t fmode, int openflags) in nfs4_map_atomic_open_share()
1352 struct nfs4_state_owner *sp, fmode_t fmode, int flags, in nfs4_opendata_alloc()
1481 fmode_t fmode) in nfs4_mode_match_open_stateid()
1495 static int can_open_cached(struct nfs4_state *state, fmode_t mode, in can_open_cached()
1526 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated()
1548 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode) in update_open_stateflags()
1639 nfs4_stateid *stateid, fmode_t fmode) in nfs_clear_open_stateid_locked()
1672 nfs4_stateid *stateid, fmode_t fmode) in nfs_clear_open_stateid()
1743 fmode_t fmode, in nfs_state_set_open_stateid()
1776 fmode_t fmode) in nfs_state_set_delegation()
1799 fmode_t fmode) in update_open_stateid()
1870 static void nfs4_return_incompatible_delegation(struct inode *inode, fmode_t fmode) in nfs4_return_incompatible_delegation()
1890 fmode_t fmode = opendata->o_arg.fmode; in nfs4_try_open_cached()
2087 nfs4_state_find_open_context_mode(struct nfs4_state *state, fmode_t mode) in nfs4_state_find_open_context_mode()
2136 fmode_t fmode) in nfs4_open_recover_helper()
2200 fmode_t delegation_type = 0; in _nfs4_do_open_reclaim()
2635 struct nfs4_state *state, fmode_t fmode) in nfs4_opendata_access()
3044 fmode_t acc_mode = _nfs4_ctx_to_accessmode(ctx); in _nfs4_open_and_get_state()
3136 fmode_t fmode = _nfs4_ctx_to_openmode(ctx); in _nfs4_do_open()
5380 fmode_t fmode) in nfs4_set_rw_stateid()
5389 fmode_t fmode) in nfs4_stateid_is_current()
7604 fmode_t type = arg == F_RDLCK ? FMODE_READ : FMODE_WRITE; in nfs4_add_lease()