Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nfsd/nfs4state.c nfs4_get_vfs_file() -> bmap_to_share_mode()

Type Parameter Key Value

fs/nfsd/nfs4state.c nfs4_resolve_deny_conflicts_locked() -> bmap_to_share_mode()

Type Parameter Key Value
PREEMPT_ADD
LOCK2 &fp->fi_lock
TYPE_LOCK (struct nfs4_file)->fi_lock

fs/nfsd/nfs4state.c nfs4_show_open() -> bmap_to_share_mode()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &s->lock
TYPE_LOCK (struct seq_file)->lock

fs/nfsd/nfs4state.c nfs4_show_open() -> bmap_to_share_mode()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &s->lock
TYPE_LOCK (struct seq_file)->lock

fs/nfsd/nfs4state.c recalculate_deny_mode() -> bmap_to_share_mode()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fp->fi_lock
TYPE_LOCK (struct nfs4_file)->fi_lock