/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/macintosh/ |
H A D | via-macii.c | 87 static int macii_send_request(struct adb_request *req, int sync); 88 static int macii_write(struct adb_request *req); 113 static unsigned char *reply_ptr; /* next byte in reply_buf or req->reply */ 114 static int reading_reply; /* store reply in reply_buf else req->reply */ 115 static int data_index; /* index of the next byte to send from req->data */ 116 static int reply_len; /* number of bytes received in reply_buf or req->reply */ 124 static int request_is_queued(struct adb_request *req) { argument 130 if (cur == req) { 206 static struct adb_request req; local 216 BUG_ON(request_is_queued(&req)); 235 macii_send_request(struct adb_request *req, int sync) argument 257 macii_write(struct adb_request *req) argument 283 static struct adb_request req; local 328 static struct adb_request req; local 345 struct adb_request *req; local 391 struct adb_request *req; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/macintosh/ |
H A D | via-macii.c | 87 static int macii_send_request(struct adb_request *req, int sync); 88 static int macii_write(struct adb_request *req); 113 static unsigned char *reply_ptr; /* next byte in reply_buf or req->reply */ 114 static int reading_reply; /* store reply in reply_buf else req->reply */ 115 static int data_index; /* index of the next byte to send from req->data */ 116 static int reply_len; /* number of bytes received in reply_buf or req->reply */ 124 static int request_is_queued(struct adb_request *req) { argument 130 if (cur == req) { 206 static struct adb_request req; local 216 BUG_ON(request_is_queued(&req)); 235 macii_send_request(struct adb_request *req, int sync) argument 257 macii_write(struct adb_request *req) argument 283 static struct adb_request req; local 328 static struct adb_request req; local 345 struct adb_request *req; local 391 struct adb_request *req; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/curl-7.21.7/tests/server/ |
H A D | rtspd.c | 123 static int ProcessRequest(struct httprequest *req); 314 static int ProcessRequest(struct httprequest *req) argument 316 char *line=&req->reqbuf[req->checkindex]; 328 req->testno, line); 332 if((req->testno == DOCNUMBER_NOTHING) && 343 req->protocol = RPROT_HTTP; 346 req->protocol = RPROT_RTSP; 349 req->protocol = RPROT_NONE; 354 req 759 get_request(curl_socket_t sock, struct httprequest *req) argument 870 send_doc(curl_socket_t sock, struct httprequest *req) argument 1180 struct httprequest req; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/curl-7.21.7/tests/server/ |
H A D | rtspd.c | 123 static int ProcessRequest(struct httprequest *req); 314 static int ProcessRequest(struct httprequest *req) argument 316 char *line=&req->reqbuf[req->checkindex]; 328 req->testno, line); 332 if((req->testno == DOCNUMBER_NOTHING) && 343 req->protocol = RPROT_HTTP; 346 req->protocol = RPROT_RTSP; 349 req->protocol = RPROT_NONE; 354 req 759 get_request(curl_socket_t sock, struct httprequest *req) argument 870 send_doc(curl_socket_t sock, struct httprequest *req) argument 1180 struct httprequest req; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/curl-7.21.7/tests/server/ |
H A D | rtspd.c | 123 static int ProcessRequest(struct httprequest *req); 314 static int ProcessRequest(struct httprequest *req) argument 316 char *line=&req->reqbuf[req->checkindex]; 328 req->testno, line); 332 if((req->testno == DOCNUMBER_NOTHING) && 343 req->protocol = RPROT_HTTP; 346 req->protocol = RPROT_RTSP; 349 req->protocol = RPROT_NONE; 354 req 759 get_request(curl_socket_t sock, struct httprequest *req) argument 870 send_doc(curl_socket_t sock, struct httprequest *req) argument 1180 struct httprequest req; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/libcli/smb2/ |
H A D | transport.c | 135 struct smb2_request *req = transport->pending_recv; local 136 req->state = SMB2_REQUEST_ERROR; 137 req->status = status; 138 DLIST_REMOVE(transport->pending_recv, req); 139 if (req->async.fn) { 140 req->async.fn(req); 245 struct smb2_request *req = NULL; local 281 for (req=transport->pending_recv; req; re 413 struct smb2_request *req = talloc_get_type(private_data, struct smb2_request); local 429 smb2_request_destructor(struct smb2_request *req) argument 461 smb2_transport_send(struct smb2_request *req) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/libcli/smb2/ |
H A D | transport.c | 135 struct smb2_request *req = transport->pending_recv; local 136 req->state = SMB2_REQUEST_ERROR; 137 req->status = status; 138 DLIST_REMOVE(transport->pending_recv, req); 139 if (req->async.fn) { 140 req->async.fn(req); 245 struct smb2_request *req = NULL; local 281 for (req=transport->pending_recv; req; re 413 struct smb2_request *req = talloc_get_type(private_data, struct smb2_request); local 429 smb2_request_destructor(struct smb2_request *req) argument 461 smb2_transport_send(struct smb2_request *req) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/libcli/smb2/ |
H A D | transport.c | 135 struct smb2_request *req = transport->pending_recv; local 136 req->state = SMB2_REQUEST_ERROR; 137 req->status = status; 138 DLIST_REMOVE(transport->pending_recv, req); 139 if (req->async.fn) { 140 req->async.fn(req); 245 struct smb2_request *req = NULL; local 281 for (req=transport->pending_recv; req; re 413 struct smb2_request *req = talloc_get_type(private_data, struct smb2_request); local 429 smb2_request_destructor(struct smb2_request *req) argument 461 smb2_transport_send(struct smb2_request *req) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/hspot/dsp/ |
H A D | _dsp.c | 45 reqT *req = (reqT *)reqData; local 51 memcpy(rspData, req->data, sizeof(req->data)); 79 reqT req; local 82 req.handler = processReqEvent; 84 req.data[i] = i; 93 TEST(dspRequest(dsp(), testContext, sizeof(req), (uint8 *)&req), 97 memset(req.data, i, sizeof(req [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/winbindd/ |
H A D | wb_lookupuseraliases.c | 38 struct tevent_req *req, *subreq; local 41 req = tevent_req_create(mem_ctx, &state, 43 if (req == NULL) { 51 if (tevent_req_nomem(subreq, req)) { 52 return tevent_req_post(req, ev); 54 tevent_req_set_callback(subreq, wb_lookupuseraliases_done, req); 55 return req; 60 struct tevent_req *req = tevent_req_callback_data( local 63 req, struct wb_lookupuseraliases_state); 69 tevent_req_nterror(req, statu 79 wb_lookupuseraliases_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, uint32_t *num_aliases, uint32_t **aliases) argument [all...] |
H A D | winbindd_getsidaliases.c | 36 struct tevent_req *req, *subreq; local 42 req = tevent_req_create(mem_ctx, &state, 44 if (req == NULL) { 56 tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER); 57 return tevent_req_post(req, ev); 64 tevent_req_nterror(req, NT_STATUS_NO_SUCH_DOMAIN); 65 return tevent_req_post(req, ev); 76 tevent_req_nterror(req, NT_STATUS_INVALID_PARAMETER); 77 return tevent_req_post(req, ev); 81 if (tevent_req_nomem(subreq, req)) { 90 struct tevent_req *req = tevent_req_callback_data( local 106 winbindd_getsidaliases_recv(struct tevent_req *req, struct winbindd_response *response) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/winbindd/ |
H A D | wb_lookupuseraliases.c | 38 struct tevent_req *req, *subreq; local 41 req = tevent_req_create(mem_ctx, &state, 43 if (req == NULL) { 51 if (tevent_req_nomem(subreq, req)) { 52 return tevent_req_post(req, ev); 54 tevent_req_set_callback(subreq, wb_lookupuseraliases_done, req); 55 return req; 60 struct tevent_req *req = tevent_req_callback_data( local 63 req, struct wb_lookupuseraliases_state); 69 tevent_req_nterror(req, statu 79 wb_lookupuseraliases_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, uint32_t *num_aliases, uint32_t **aliases) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/smb_server/smb/ |
H A D | search.c | 32 struct smbsrv_request *req; member in struct:search_state 40 static bool find_fill_info(struct smbsrv_request *req, argument 45 if (req->out.data_size + 43 > req_max_data(req)) { 49 req_grow_data(req, req->out.data_size + 43); 50 p = req->out.data + req->out.data_size - 43; 58 srv_push_dos_date(req->smb_conn, p, 22, file->search.write_time); 72 return find_fill_info(state->req, fil 80 struct smbsrv_request *req; local 95 struct smbsrv_request *req; local 108 smbsrv_reply_search(struct smbsrv_request *req) argument 212 struct smbsrv_request *req; local 228 smbsrv_reply_fclose(struct smbsrv_request *req) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/smb_server/smb/ |
H A D | search.c | 32 struct smbsrv_request *req; member in struct:search_state 40 static bool find_fill_info(struct smbsrv_request *req, argument 45 if (req->out.data_size + 43 > req_max_data(req)) { 49 req_grow_data(req, req->out.data_size + 43); 50 p = req->out.data + req->out.data_size - 43; 58 srv_push_dos_date(req->smb_conn, p, 22, file->search.write_time); 72 return find_fill_info(state->req, fil 80 struct smbsrv_request *req; local 95 struct smbsrv_request *req; local 108 smbsrv_reply_search(struct smbsrv_request *req) argument 212 struct smbsrv_request *req; local 228 smbsrv_reply_fclose(struct smbsrv_request *req) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/smb_server/smb/ |
H A D | search.c | 32 struct smbsrv_request *req; member in struct:search_state 40 static bool find_fill_info(struct smbsrv_request *req, argument 45 if (req->out.data_size + 43 > req_max_data(req)) { 49 req_grow_data(req, req->out.data_size + 43); 50 p = req->out.data + req->out.data_size - 43; 58 srv_push_dos_date(req->smb_conn, p, 22, file->search.write_time); 72 return find_fill_info(state->req, fil 80 struct smbsrv_request *req; local 95 struct smbsrv_request *req; local 108 smbsrv_reply_search(struct smbsrv_request *req) argument 212 struct smbsrv_request *req; local 228 smbsrv_reply_fclose(struct smbsrv_request *req) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/winbindd/ |
H A D | wb_lookupuseraliases.c | 38 struct tevent_req *req, *subreq; local 41 req = tevent_req_create(mem_ctx, &state, 43 if (req == NULL) { 51 if (tevent_req_nomem(subreq, req)) { 52 return tevent_req_post(req, ev); 54 tevent_req_set_callback(subreq, wb_lookupuseraliases_done, req); 55 return req; 60 struct tevent_req *req = tevent_req_callback_data( local 63 req, struct wb_lookupuseraliases_state); 69 tevent_req_nterror(req, statu 79 wb_lookupuseraliases_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, uint32_t *num_aliases, uint32_t **aliases) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/nsswitch/libwbclient/ |
H A D | wb_reqtrans.c | 53 struct tevent_req *req, *subreq; local 56 req = tevent_req_create(mem_ctx, &state, struct req_read_state); 57 if (req == NULL) { 63 if (tevent_req_nomem(subreq, req)) { 64 return tevent_req_post(req, ev); 66 tevent_req_set_callback(subreq, wb_req_read_done, req); 67 return req; 74 struct winbindd_request *req = (struct winbindd_request *)buf; local 77 if (req->length != sizeof(struct winbindd_request)) { 80 (int)req 104 struct tevent_req *req = tevent_req_callback_data( local 129 wb_req_read_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct winbindd_request **preq, int *err) argument 154 struct tevent_req *req, *subreq; local 182 struct tevent_req *req = tevent_req_callback_data( local 197 wb_req_write_recv(struct tevent_req *req, int *err) argument 219 struct tevent_req *req, *subreq; local 253 struct tevent_req *req = tevent_req_callback_data( local 278 wb_resp_read_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct winbindd_response **presp, int *err) argument 303 struct tevent_req *req, *subreq; local 332 struct tevent_req *req = tevent_req_callback_data( local 347 wb_resp_write_recv(struct tevent_req *req, int *err) argument 372 struct tevent_req *req, *subreq; local 396 struct tevent_req *req = tevent_req_callback_data( local 418 struct tevent_req *req = tevent_req_callback_data( local 435 wb_simple_trans_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct winbindd_response **presponse, int *err) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/nsswitch/libwbclient/ |
H A D | wb_reqtrans.c | 53 struct tevent_req *req, *subreq; local 56 req = tevent_req_create(mem_ctx, &state, struct req_read_state); 57 if (req == NULL) { 63 if (tevent_req_nomem(subreq, req)) { 64 return tevent_req_post(req, ev); 66 tevent_req_set_callback(subreq, wb_req_read_done, req); 67 return req; 74 struct winbindd_request *req = (struct winbindd_request *)buf; local 77 if (req->length != sizeof(struct winbindd_request)) { 80 (int)req 104 struct tevent_req *req = tevent_req_callback_data( local 129 wb_req_read_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct winbindd_request **preq, int *err) argument 154 struct tevent_req *req, *subreq; local 182 struct tevent_req *req = tevent_req_callback_data( local 197 wb_req_write_recv(struct tevent_req *req, int *err) argument 219 struct tevent_req *req, *subreq; local 253 struct tevent_req *req = tevent_req_callback_data( local 278 wb_resp_read_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct winbindd_response **presp, int *err) argument 303 struct tevent_req *req, *subreq; local 332 struct tevent_req *req = tevent_req_callback_data( local 347 wb_resp_write_recv(struct tevent_req *req, int *err) argument 372 struct tevent_req *req, *subreq; local 396 struct tevent_req *req = tevent_req_callback_data( local 418 struct tevent_req *req = tevent_req_callback_data( local 435 wb_simple_trans_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct winbindd_response **presponse, int *err) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/nsswitch/libwbclient/ |
H A D | wb_reqtrans.c | 53 struct tevent_req *req, *subreq; local 56 req = tevent_req_create(mem_ctx, &state, struct req_read_state); 57 if (req == NULL) { 63 if (tevent_req_nomem(subreq, req)) { 64 return tevent_req_post(req, ev); 66 tevent_req_set_callback(subreq, wb_req_read_done, req); 67 return req; 74 struct winbindd_request *req = (struct winbindd_request *)buf; local 77 if (req->length != sizeof(struct winbindd_request)) { 80 (int)req 104 struct tevent_req *req = tevent_req_callback_data( local 129 wb_req_read_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct winbindd_request **preq, int *err) argument 154 struct tevent_req *req, *subreq; local 182 struct tevent_req *req = tevent_req_callback_data( local 197 wb_req_write_recv(struct tevent_req *req, int *err) argument 219 struct tevent_req *req, *subreq; local 253 struct tevent_req *req = tevent_req_callback_data( local 278 wb_resp_read_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct winbindd_response **presp, int *err) argument 303 struct tevent_req *req, *subreq; local 332 struct tevent_req *req = tevent_req_callback_data( local 347 wb_resp_write_recv(struct tevent_req *req, int *err) argument 372 struct tevent_req *req, *subreq; local 396 struct tevent_req *req = tevent_req_callback_data( local 418 struct tevent_req *req = tevent_req_callback_data( local 435 wb_simple_trans_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct winbindd_response **presponse, int *err) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/neon/src/ |
H A D | ne_request.h | 55 void ne_set_request_body_buffer(ne_request *req, const char *buffer, 60 void ne_set_request_body_fd(ne_request *req, int fd, 83 void ne_set_request_body_provider(ne_request *req, ne_off_t length, 97 typedef int (*ne_accept_response)(void *userdata, ne_request *req, 102 int ne_accept_2xx(void *userdata, ne_request *req, const ne_status *st); 106 int ne_accept_always(void *userdata, ne_request *req, const ne_status *st); 126 void ne_add_response_body_reader(ne_request *req, ne_accept_response accpt, 133 const char *ne_get_response_header(ne_request *req, const char *name); 146 void *ne_response_header_iterate(ne_request *req, void *cursor, 150 void ne_add_request_header(ne_request *req, cons [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/neon/src/ |
H A D | ne_request.h | 55 void ne_set_request_body_buffer(ne_request *req, const char *buffer, 60 void ne_set_request_body_fd(ne_request *req, int fd, 83 void ne_set_request_body_provider(ne_request *req, ne_off_t length, 97 typedef int (*ne_accept_response)(void *userdata, ne_request *req, 102 int ne_accept_2xx(void *userdata, ne_request *req, const ne_status *st); 106 int ne_accept_always(void *userdata, ne_request *req, const ne_status *st); 126 void ne_add_response_body_reader(ne_request *req, ne_accept_response accpt, 133 const char *ne_get_response_header(ne_request *req, const char *name); 146 void *ne_response_header_iterate(ne_request *req, void *cursor, 150 void ne_add_request_header(ne_request *req, cons [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/neon/src/ |
H A D | ne_request.h | 55 void ne_set_request_body_buffer(ne_request *req, const char *buffer, 60 void ne_set_request_body_fd(ne_request *req, int fd, 83 void ne_set_request_body_provider(ne_request *req, ne_off_t length, 97 typedef int (*ne_accept_response)(void *userdata, ne_request *req, 102 int ne_accept_2xx(void *userdata, ne_request *req, const ne_status *st); 106 int ne_accept_always(void *userdata, ne_request *req, const ne_status *st); 126 void ne_add_response_body_reader(ne_request *req, ne_accept_response accpt, 133 const char *ne_get_response_header(ne_request *req, const char *name); 146 void *ne_response_header_iterate(ne_request *req, void *cursor, 150 void ne_add_request_header(ne_request *req, cons [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/media/dvb/dvb-usb/ |
H A D | ec168.c | 34 static int ec168_rw_udev(struct usb_device *udev, struct ec168_req *req) argument 39 u8 buf[req->size]; 41 switch (req->cmd) { 47 request = req->cmd; 51 request = req->cmd; 70 err("unknown command:%02x", req->cmd); 77 memcpy(buf, req->data, req->size); 86 ret = usb_control_msg(udev, pipe, request, requesttype, req->value, 87 req 107 ec168_ctrl_msg(struct dvb_usb_device *d, struct ec168_req *req) argument 117 struct ec168_req req; local 225 struct ec168_req req = {STREAMING_CTRL, 0x7f01, 0x0202, 0, NULL}; local 237 struct ec168_req req = {DOWNLOAD_FIRMWARE, 0, 0, 0, NULL}; local 297 struct ec168_req req = {GET_CONFIG, 0, 1, sizeof(reply), &reply}; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/media/dvb/dvb-usb/ |
H A D | ec168.c | 34 static int ec168_rw_udev(struct usb_device *udev, struct ec168_req *req) argument 39 u8 buf[req->size]; 41 switch (req->cmd) { 47 request = req->cmd; 51 request = req->cmd; 70 err("unknown command:%02x", req->cmd); 77 memcpy(buf, req->data, req->size); 86 ret = usb_control_msg(udev, pipe, request, requesttype, req->value, 87 req 107 ec168_ctrl_msg(struct dvb_usb_device *d, struct ec168_req *req) argument 117 struct ec168_req req; local 225 struct ec168_req req = {STREAMING_CTRL, 0x7f01, 0x0202, 0, NULL}; local 237 struct ec168_req req = {DOWNLOAD_FIRMWARE, 0, 0, 0, NULL}; local 297 struct ec168_req req = {GET_CONFIG, 0, 1, sizeof(reply), &reply}; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/smbd/ |
H A D | smb2_close.c | 25 static NTSTATUS smbd_smb2_close(struct smbd_smb2_request *req, 29 NTSTATUS smbd_smb2_request_process_close(struct smbd_smb2_request *req) argument 33 int i = req->current_idx; 43 inhdr = (const uint8_t *)req->in.vector[i+0].iov_base; 44 if (req->in.vector[i+1].iov_len != (expected_body_size & 0xFFFFFFFE)) { 45 return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER); 48 inbody = (const uint8_t *)req->in.vector[i+1].iov_base; 52 return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER); 59 if (req->compat_chain_fsp) { 62 return smbd_smb2_request_error(req, NT_STATUS_FILE_CLOSE 93 smbd_smb2_close(struct smbd_smb2_request *req, uint16_t in_flags, uint64_t in_file_id_volatile) argument [all...] |