Lines Matching defs:req
58 /* Possible values of req->state. */
64 /* Possible values of req->flags. */
114 TW_VOID (*tw_cli_callback)(struct tw_cli_req_context *req);
147 TW_UINT8 *internal_req_data;/* internal req data buf */
149 req data buf */
256 tw_cli_req_q_insert_head(struct tw_cli_req_context *req, TW_UINT8 q_type)
258 struct tw_cli_ctlr_context *ctlr = req->ctlr;
261 TW_CL_Q_INSERT_HEAD(&(ctlr->req_q_head[q_type]), &(req->link));
270 tw_cli_req_q_insert_tail(struct tw_cli_req_context *req, TW_UINT8 q_type)
272 struct tw_cli_ctlr_context *ctlr = req->ctlr;
275 TW_CL_Q_INSERT_TAIL(&(ctlr->req_q_head[q_type]), &(req->link));
286 struct tw_cli_req_context *req = TW_CL_NULL;
292 req = TW_CL_STRUCT_HEAD(link,
294 TW_CL_Q_REMOVE_ITEM(&(ctlr->req_q_head[q_type]), &(req->link));
298 return(req);
305 tw_cli_req_q_remove_item(struct tw_cli_req_context *req, TW_UINT8 q_type)
307 struct tw_cli_ctlr_context *ctlr = req->ctlr;
310 TW_CL_Q_REMOVE_ITEM(&(ctlr->req_q_head[q_type]), &(req->link));