Searched refs:opinfo (Results 1 – 3 of 3) sorted by relevance
35 struct oplock_info *opinfo; in alloc_opinfo() local37 opinfo = kzalloc(sizeof(struct oplock_info), GFP_KERNEL); in alloc_opinfo()38 if (!opinfo) in alloc_opinfo()41 opinfo->sess = sess; in alloc_opinfo()42 opinfo->conn = conn; in alloc_opinfo()43 opinfo->level = SMB2_OPLOCK_LEVEL_NONE; in alloc_opinfo()44 opinfo->op_state = OPLOCK_STATE_NONE; in alloc_opinfo()45 opinfo->pending_break = 0; in alloc_opinfo()46 opinfo->fid = id; in alloc_opinfo()47 opinfo->Tid = Tid; in alloc_opinfo()[all …]
100 int opinfo_write_to_read(struct oplock_info *opinfo);101 int opinfo_read_handle_to_read(struct oplock_info *opinfo);102 int opinfo_write_to_none(struct oplock_info *opinfo);103 int opinfo_read_to_none(struct oplock_info *opinfo);107 void opinfo_put(struct oplock_info *opinfo);113 int lease_read_to_write(struct oplock_info *opinfo);
2656 struct oplock_info *opinfo; in smb2_open() local3299 opinfo = rcu_dereference(fp->f_opinfo); in smb2_open()3300 rsp->OplockLevel = opinfo != NULL ? opinfo->level : 0; in smb2_open()3326 if (opinfo && opinfo->is_lease) { in smb2_open()3330 name, opinfo->o_lease->state); in smb2_open()3335 create_lease_buf(rsp->Buffer, opinfo->o_lease); in smb2_open()7970 struct oplock_info *opinfo = NULL; in smb20_oplock_break_ack() local7992 opinfo = opinfo_get(fp); in smb20_oplock_break_ack()7993 if (!opinfo) { in smb20_oplock_break_ack()8001 if (opinfo->level == SMB2_OPLOCK_LEVEL_NONE) { in smb20_oplock_break_ack()[all …]