Lines Matching refs:work
154 int ksmbd_conn_write(struct ksmbd_work *work);
161 void ksmbd_conn_enqueue_request(struct ksmbd_work *work);
162 int ksmbd_conn_try_dequeue_request(struct ksmbd_work *work);
174 static inline bool ksmbd_conn_good(struct ksmbd_work *work) in ksmbd_conn_good() argument
176 return work->conn->status == KSMBD_SESS_GOOD; in ksmbd_conn_good()
179 static inline bool ksmbd_conn_need_negotiate(struct ksmbd_work *work) in ksmbd_conn_need_negotiate() argument
181 return work->conn->status == KSMBD_SESS_NEED_NEGOTIATE; in ksmbd_conn_need_negotiate()
184 static inline bool ksmbd_conn_need_reconnect(struct ksmbd_work *work) in ksmbd_conn_need_reconnect() argument
186 return work->conn->status == KSMBD_SESS_NEED_RECONNECT; in ksmbd_conn_need_reconnect()
189 static inline bool ksmbd_conn_exiting(struct ksmbd_work *work) in ksmbd_conn_exiting() argument
191 return work->conn->status == KSMBD_SESS_EXITING; in ksmbd_conn_exiting()
194 static inline void ksmbd_conn_set_good(struct ksmbd_work *work) in ksmbd_conn_set_good() argument
196 work->conn->status = KSMBD_SESS_GOOD; in ksmbd_conn_set_good()
199 static inline void ksmbd_conn_set_need_negotiate(struct ksmbd_work *work) in ksmbd_conn_set_need_negotiate() argument
201 work->conn->status = KSMBD_SESS_NEED_NEGOTIATE; in ksmbd_conn_set_need_negotiate()
204 static inline void ksmbd_conn_set_need_reconnect(struct ksmbd_work *work) in ksmbd_conn_set_need_reconnect() argument
206 work->conn->status = KSMBD_SESS_NEED_RECONNECT; in ksmbd_conn_set_need_reconnect()
209 static inline void ksmbd_conn_set_exiting(struct ksmbd_work *work) in ksmbd_conn_set_exiting() argument
211 work->conn->status = KSMBD_SESS_EXITING; in ksmbd_conn_set_exiting()