Searched refs:opinfo (Results 1 – 4 of 4) sorted by relevance
56 struct oplock_info *opinfo; in lease_break_in_progress() local60 list_for_each_entry(opinfo, &lease->open_list, lease_entry) { in lease_break_in_progress()61 if (opinfo->op_state == OPLOCK_ACK_WAIT) { in lease_break_in_progress()83 struct oplock_info *opinfo; in alloc_opinfo() local85 opinfo = kzalloc_obj(struct oplock_info, KSMBD_DEFAULT_GFP); in alloc_opinfo()86 if (!opinfo) in alloc_opinfo()89 opinfo->sess = sess; in alloc_opinfo()90 opinfo->conn = ksmbd_conn_get(work->conn); in alloc_opinfo()91 opinfo->level = SMB2_OPLOCK_LEVEL_NONE; in alloc_opinfo()92 opinfo->op_state = OPLOCK_STATE_NONE; in alloc_opinfo()[all …]
108 int opinfo_write_to_read(struct oplock_info *opinfo);109 int opinfo_read_handle_to_read(struct oplock_info *opinfo);110 int opinfo_write_to_none(struct oplock_info *opinfo);111 int opinfo_read_to_none(struct oplock_info *opinfo);115 void opinfo_put(struct oplock_info *opinfo);122 int lease_read_to_write(struct oplock_info *opinfo);
122 struct oplock_info *opinfo; in proc_show_files() local132 opinfo = rcu_dereference(fp->f_opinfo); in proc_show_files()133 if (opinfo) { in proc_show_files()139 if (opinfo->is_lease) { in proc_show_files()142 level = le32_to_cpu(opinfo->o_lease->state); in proc_show_files()146 level = opinfo->level; in proc_show_files()1036 struct oplock_info *opinfo; in ksmbd_close_fd_app_instance_id() local1043 opinfo = opinfo_get(fp); in ksmbd_close_fd_app_instance_id()1044 if (!opinfo) in ksmbd_close_fd_app_instance_id()1048 if (!opinfo->conn) { in ksmbd_close_fd_app_instance_id()[all …]
3698 struct oplock_info *opinfo; in smb2_check_durable_replay() local3710 opinfo = opinfo_get(fp); in smb2_check_durable_replay()3711 if (!opinfo) in smb2_check_durable_replay()3714 if (opinfo->sess && opinfo->sess->id != work->sess->id) { in smb2_check_durable_replay()3719 if (opinfo->is_lease) { in smb2_check_durable_replay()3721 memcmp(opinfo->o_lease->lease_key, lc->lease_key, in smb2_check_durable_replay()3732 if (fp->is_durable && opinfo->level != SMB2_OPLOCK_LEVEL_BATCH) in smb2_check_durable_replay()3736 opinfo_put(opinfo); in smb2_check_durable_replay()4140 struct oplock_info *opinfo; in smb2_open() local5112 opinfo = opinfo_get(fp); in smb2_open()[all …]