Home
last modified time | relevance | path

Searched refs:cmd_len (Results 1 – 25 of 32) sorted by relevance

12

/trueos/crypto/heimdal/appl/rsh/
HDrsh.c241 size_t cmd_len, in send_krb5_auth() argument
372 if (net_write (s, cmd, cmd_len) != cmd_len) { in send_krb5_auth()
409 size_t cmd_len, in send_broken_auth() argument
424 if (net_write (s, cmd, cmd_len) != cmd_len) { in send_broken_auth()
434 const char *cmd, size_t cmd_len, in proto() argument
438 const char *local_user, size_t cmd_len, in proto()
541 cmd_len, cmd)) { in proto()
642 size_t cmd_len) in doit_broken() argument
699 cmd, cmd_len, in doit_broken()
712 size_t cmd_len, in doit() argument
[all …]
/trueos/sys/dev/usb/storage/
HDumass.c307 uint8_t cmd_len);
387 uint8_t cmd_len; /* bytes */ member
1318 if (sc->sc_transfer.cmd_len > sizeof(sc->cbw.CBWCDB)) { in umass_t_bbb_command_callback()
1319 sc->sc_transfer.cmd_len = sizeof(sc->cbw.CBWCDB); in umass_t_bbb_command_callback()
1322 sc->cbw.bCDBLength = sc->sc_transfer.cmd_len; in umass_t_bbb_command_callback()
1326 sc->sc_transfer.cmd_len); in umass_t_bbb_command_callback()
1330 sc->sc_transfer.cmd_len, 0, in umass_t_bbb_command_callback()
1332 sc->sc_transfer.cmd_len); in umass_t_bbb_command_callback()
1818 req.wLength[0] = sc->sc_transfer.cmd_len; in umass_t_cbi_command_callback()
1825 sc->sc_transfer.cmd_len); in umass_t_cbi_command_callback()
[all …]
HDustorage_fs.c200 uint8_t cmd_len; member
567 sc->sc_transfer.cmd_len = sc->sc_cbw->bCDBLength; in ustorage_fs_t_bbb_command_callback()
568 if ((sc->sc_transfer.cmd_len > sizeof(sc->sc_cbw->CBWCDB)) || in ustorage_fs_t_bbb_command_callback()
569 (sc->sc_transfer.cmd_len == 0)) { in ustorage_fs_t_bbb_command_callback()
572 sc->sc_transfer.cmd_len); in ustorage_fs_t_bbb_command_callback()
1538 if (min_cmd_size > sc->sc_transfer.cmd_len) { in ustorage_fs_check_cmd()
1540 min_cmd_size, sc->sc_transfer.cmd_len); in ustorage_fs_check_cmd()
1947 error = ustorage_fs_check_cmd(sc, sc->sc_transfer.cmd_len, in ustorage_fs_do_cmd()
/trueos/contrib/unbound/util/
HDtube.c158 if(tube->cmd_read < sizeof(tube->cmd_len)) { in tube_handle_listen()
160 r = read(c->fd, ((uint8_t*)&tube->cmd_len) + tube->cmd_read, in tube_handle_listen()
161 sizeof(tube->cmd_len) - tube->cmd_read); in tube_handle_listen()
178 if(tube->cmd_read < sizeof(tube->cmd_len)) { in tube_handle_listen()
182 tube->cmd_msg = (uint8_t*)calloc(1, tube->cmd_len); in tube_handle_listen()
190 r = read(c->fd, tube->cmd_msg+tube->cmd_read-sizeof(tube->cmd_len), in tube_handle_listen()
191 tube->cmd_len - (tube->cmd_read - sizeof(tube->cmd_len))); in tube_handle_listen()
208 if(tube->cmd_read < sizeof(tube->cmd_len) + tube->cmd_len) { in tube_handle_listen()
215 (*tube->listen_cb)(tube, tube->cmd_msg, tube->cmd_len, in tube_handle_listen()
HDtube.h80 uint32_t cmd_len; member
/trueos/sys/netpfil/ipfw/
HDip_fw_sockopt.c536 if (rule->act_ofs >= rule->cmd_len) { in check_ipfw_struct()
538 rule->act_ofs, rule->cmd_len - 1); in check_ipfw_struct()
545 for (l = rule->cmd_len, cmd = rule->cmd ; in check_ipfw_struct()
848 uint16_t cmd_len; /* # of 32-bit words in cmd */ member
867 ((struct ip_fw7 *)(rule))->cmd_len * 4 - 4)
1360 rule7->cmd_len = tmp->cmd_len; in convert_rule_to_7()
1364 rule7->cmd_len = tmp->cmd_len; in convert_rule_to_7()
1370 for (ll = tmp->cmd_len, ccmd = tmp->cmd, dst = rule7->cmd ; in convert_rule_to_7()
1411 for (ll = tmp->cmd_len, ccmd = tmp->cmd, dst = rule->cmd ; in convert_rule_to_8()
1433 rule->cmd_len = tmp->cmd_len; in convert_rule_to_8()
[all …]
HDip_fw2.c1291 for (l = f->cmd_len, cmd = f->cmd ; l > 0 ; in ipfw_chk()
2106 l = f->cmd_len - f->act_ofs; in ipfw_chk()
2175 l = f->cmd_len; in ipfw_chk()
2270 l = f->cmd_len; in ipfw_chk()
2656 rule->cmd_len = 1; in vnet_ipfw_init()
/trueos/contrib/wpa/src/common/
HDwpa_ctrl.c370 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, in wpa_ctrl_request() argument
385 _cmd_len = os_strlen(ctrl->cookie) + 1 + cmd_len; in wpa_ctrl_request()
394 os_memcpy(pos, cmd, cmd_len); in wpa_ctrl_request()
399 _cmd_len = cmd_len; in wpa_ctrl_request()
607 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, in wpa_ctrl_request() argument
614 if (!WriteFile(ctrl->pipe, cmd, cmd_len, &written, NULL)) in wpa_ctrl_request()
HDwpa_ctrl.h222 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len,
/trueos/contrib/wpa/wpa_supplicant/
HDwpa_priv.c460 size_t cmd_len; in wpa_priv_receive() local
481 cmd_len = res - sizeof(int); in wpa_priv_receive()
491 wpa_priv_cmd_scan(iface, cmd_buf, cmd_len); in wpa_priv_receive()
497 wpa_priv_cmd_associate(iface, cmd_buf, cmd_len); in wpa_priv_receive()
506 wpa_priv_cmd_set_key(iface, cmd_buf, cmd_len); in wpa_priv_receive()
512 wpa_priv_cmd_l2_register(iface, &from, cmd_buf, cmd_len); in wpa_priv_receive()
521 wpa_priv_cmd_l2_send(iface, &from, cmd_buf, cmd_len); in wpa_priv_receive()
525 if (pos + cmd_len >= buf + sizeof(buf)) in wpa_priv_receive()
527 pos[cmd_len] = '\0'; in wpa_priv_receive()
/trueos/sys/dev/usb/
HDusb_msctest.c164 uint8_t cmd_len; /* bytes */ member
321 sc->cbw->bCDBLength = sc->cmd_len; in bbb_command_callback()
534 void *data_ptr, size_t data_len, void *cmd_ptr, size_t cmd_len, in bbb_command_start() argument
545 sc->cmd_len = cmd_len; in bbb_command_start()
547 memcpy(&sc->cbw->CBWCDB, cmd_ptr, cmd_len); in bbb_command_start()
548 DPRINTFN(1, "SCSI cmd = %*D\n", (int)cmd_len, (char *)sc->cbw->CBWCDB, ":"); in bbb_command_start()
/trueos/sys/cam/scsi/
HDscsi_sg.h40 u_char cmd_len; member
65 u_char cmd_len; member
HDscsi_sg.c535 if (req->cmd_len > IOCDBLEN) { in sgioctl()
549 req->cmd_len); in sgioctl()
579 req->cmd_len, in sgioctl()
/trueos/sys/xen/interface/io/
HDvscsiif.h60 uint8_t cmd_len; member
/trueos/sys/netinet/
HDip_fw.h504 uint16_t cmd_len; /* # of 32-bit words in cmd */ member
523 ((struct ip_fw *)(rule))->cmd_len * 4 - 4)
/trueos/sys/netinet/libalias/
HDalias_proxy.c549 int cmd_len; in LibAliasProxyRule() local
572 cmd_len = strlen(cmd); in LibAliasProxyRule()
573 if (cmd_len > (int)(sizeof(buffer) - 1)) { in LibAliasProxyRule()
/trueos/sys/dev/aha/
HDaha.c788 hccb->cmd_len = csio->cdb_len; in ahaaction()
789 if (hccb->cmd_len > sizeof(hccb->scsi_cdb)) { in ahaaction()
799 hccb->scsi_cdb, hccb->cmd_len); in ahaaction()
809 hccb->scsi_cdb, hccb->cmd_len); in ahaaction()
837 hccb->cmd_len = 0; in ahaaction()
1235 accb->hccb.cmd_len, in ahadone()
HDahareg.h273 uint8_t cmd_len; /* 2 */ member
/trueos/sys/dev/aic/
HDaicvar.h57 u_int8_t cmd_len; member
HDaic.c136 scb->cmd_len = ccb->csio.cdb_len; in aic_action()
1019 scb->cmd_len = sizeof(sense_cmd); in aic_cmd()
1027 aic_outsw(aic, DMADATA, (u_int16_t *)scb->cmd_ptr, scb->cmd_len >> 1); in aic_cmd()
/trueos/contrib/tcsh/
HDtc.func.c1282 size_t cmd_len; in insert() local
1286 cmd_len = Strlen(pl->word); in insert()
1287 cmd = xcalloc(1, (cmd_len + 1) * sizeof(Char)); in insert()
1317 now->word = xcalloc(1, (cmd_len + p_len + 4) * sizeof(Char)); in insert()
1335 bcmd = xcalloc(1, (cmd_len + 2) * sizeof(Char)); in insert()
1347 now->word = xcalloc(1, (cmd_len + 2) * sizeof(Char)); in insert()
/trueos/sys/compat/freebsd32/
HDfreebsd32_ioctl.c360 CP(io32, io, cmd_len); in freebsd32_ioctl_sg()
386 CP(io, io32, cmd_len); in freebsd32_ioctl_sg()
/trueos/sys/dev/buslogic/
HDbt.c1168 hccb->cmd_len = csio->cdb_len; in btaction()
1169 if (hccb->cmd_len > sizeof(hccb->scsi_cdb)) { in btaction()
1187 hccb->scsi_cdb, hccb->cmd_len); in btaction()
1197 hccb->scsi_cdb, hccb->cmd_len); in btaction()
1230 hccb->cmd_len = 0; in btaction()
HDbtreg.h556 u_int8_t cmd_len; member
/trueos/sys/dev/pdq/
HDpdq.c369 size_t cmd_len; member
479 cmdlen = PDQ_ROUNDUP(pdq_cmd_info[op].cmd_len, PDQ_CMD_RX_ALIGNMENT); in pdq_queue_commands()

12