Lines Matching refs:br_info
614 struct oplock_break_info *br_info = work->request_buf; in __smb2_oplock_break_noti() local
618 fp = ksmbd_lookup_durable_fd(br_info->fid); in __smb2_oplock_break_noti()
647 if (!br_info->open_trunc && in __smb2_oplock_break_noti()
648 (br_info->level == SMB2_OPLOCK_LEVEL_BATCH || in __smb2_oplock_break_noti()
649 br_info->level == SMB2_OPLOCK_LEVEL_EXCLUSIVE)) in __smb2_oplock_break_noti()
688 struct oplock_break_info *br_info; in smb2_oplock_break_noti() local
695 br_info = kmalloc(sizeof(struct oplock_break_info), GFP_KERNEL); in smb2_oplock_break_noti()
696 if (!br_info) { in smb2_oplock_break_noti()
701 br_info->level = opinfo->level; in smb2_oplock_break_noti()
702 br_info->fid = opinfo->fid; in smb2_oplock_break_noti()
703 br_info->open_trunc = opinfo->open_trunc; in smb2_oplock_break_noti()
705 work->request_buf = (char *)br_info; in smb2_oplock_break_noti()
732 struct lease_break_info *br_info = work->request_buf; in __smb2_lease_break_noti() local
759 rsp->Epoch = br_info->epoch; in __smb2_lease_break_noti()
762 if (br_info->curr_state & (SMB2_LEASE_WRITE_CACHING_LE | in __smb2_lease_break_noti()
766 memcpy(rsp->LeaseKey, br_info->lease_key, SMB2_LEASE_KEY_SIZE); in __smb2_lease_break_noti()
767 rsp->CurrentLeaseState = br_info->curr_state; in __smb2_lease_break_noti()
768 rsp->NewLeaseState = br_info->new_state; in __smb2_lease_break_noti()
800 struct lease_break_info *br_info; in smb2_lease_break_noti() local
807 br_info = kmalloc(sizeof(struct lease_break_info), GFP_KERNEL); in smb2_lease_break_noti()
808 if (!br_info) { in smb2_lease_break_noti()
813 br_info->curr_state = lease->state; in smb2_lease_break_noti()
814 br_info->new_state = lease->new_state; in smb2_lease_break_noti()
816 br_info->epoch = cpu_to_le16(++lease->epoch); in smb2_lease_break_noti()
818 br_info->epoch = 0; in smb2_lease_break_noti()
819 memcpy(br_info->lease_key, lease->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_lease_break_noti()
821 work->request_buf = (char *)br_info; in smb2_lease_break_noti()