Home
last modified time | relevance | path

Searched refs:brk_opinfo (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/smb/server/
H A Doplock.c868 static int oplock_break(struct oplock_info *brk_opinfo, int req_op_level, in oplock_break() argument
876 brk_opinfo->level); in oplock_break()
878 if (brk_opinfo->is_lease) { in oplock_break()
879 struct lease *lease = brk_opinfo->o_lease; in oplock_break()
881 atomic_inc(&brk_opinfo->breaking_cnt); in oplock_break()
882 err = oplock_break_pending(brk_opinfo, req_op_level); in oplock_break()
886 if (brk_opinfo->open_trunc) { in oplock_break()
919 brk_opinfo->op_state = OPLOCK_ACK_WAIT; in oplock_break()
921 atomic_dec(&brk_opinfo->breaking_cnt); in oplock_break()
923 err = oplock_break_pending(brk_opinfo, req_op_level); in oplock_break()
[all …]