Home
last modified time | relevance | path

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

/Linux-v6.1/fs/ksmbd/
Doplock.c866 static int oplock_break(struct oplock_info *brk_opinfo, int req_op_level) in oplock_break() argument
873 brk_opinfo->level); in oplock_break()
875 if (brk_opinfo->is_lease) { in oplock_break()
876 struct lease *lease = brk_opinfo->o_lease; in oplock_break()
878 atomic_inc(&brk_opinfo->breaking_cnt); in oplock_break()
880 err = oplock_break_pending(brk_opinfo, req_op_level); in oplock_break()
884 if (brk_opinfo->open_trunc) { in oplock_break()
910 brk_opinfo->op_state = OPLOCK_ACK_WAIT; in oplock_break()
912 atomic_dec(&brk_opinfo->breaking_cnt); in oplock_break()
914 err = oplock_break_pending(brk_opinfo, req_op_level); in oplock_break()
[all …]