Lines Matching defs:olen
698 void *odata, int olen, int flags)
727 printf("%s: send %s [flags 0x%x] olen %d\n",
728 __func__, uath_codename(code), cmd->flags, olen);
735 olen < UATH_MAX_CMDSZ - sizeof(*hdr) + sizeof(uint32_t),
736 ("odata %p olen %u", odata, olen));
737 cmd->olen = olen;
752 } else if (cmd->olen != olen) {
755 code, code, cmd->olen, olen);
765 int ilen, void *odata, int olen, int flags)
769 return uath_cmdsend(sc, code, idata, ilen, odata, olen, flags);
921 uath_get_status(struct uath_softc *sc, uint32_t which, void *odata, int olen)
927 &which, sizeof(which), odata, olen, UATH_CMD_FLAG_MAGIC);
2327 u_int olen;
2343 olen = be32toh(rp[0]);
2345 if (olen == 0) {
2347 olen = sizeof(uint32_t);
2348 /* XXX KASSERT(olen == dlen ) */
2351 olen = 0;
2353 /* NB: cmd->olen validated in uath_cmd */
2354 if (olen > (u_int)cmd->olen) {
2357 "%s: cmd 0x%x olen %u cmd olen %u\n",
2358 __func__, hdr->code, olen,
2359 cmd->olen);
2360 olen = cmd->olen;
2362 if (olen > (u_int)dlen) {
2365 "%s: cmd 0x%x olen %u dlen %u\n",
2366 __func__, hdr->code, olen, dlen);
2367 olen = dlen;
2371 bcopy(&rp[1], cmd->odata, olen);
2372 cmd->olen = olen;
2391 cmd->olen = sizeof(uint32_t);