Lines Matching refs:ret_len
38 unsigned int payload, ret_len; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local
59 ret_len = cmdhdr->len; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
60 if (ret_len > 0 || len > 0) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
65 if (ret_len > BRCMF_DCMD_MAXLEN) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
66 brcmf_err("oversize return buffer %d\n", ret_len); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
67 ret_len = BRCMF_DCMD_MAXLEN; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
69 payload = max_t(unsigned int, ret_len, len) + 1; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
80 ret_len); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
83 ret_len); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
88 while (ret_len > 0) { in brcmf_cfg80211_vndr_cmds_dcmd_handler()
89 msglen = ret_len > maxmsglen ? maxmsglen : ret_len; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
90 ret_len -= msglen; in brcmf_cfg80211_vndr_cmds_dcmd_handler()