Lines Matching refs:check_buf_len
559 static inline bool check_buf_len(int need, int have) in check_buf_len() function
588 if (!check_buf_len(REPLY_ACK_LEN, max_len)) { in pd_build_reply()
595 if (!check_buf_len(REPLY_PDID_LEN, max_len)) { in pd_build_reply()
618 if (!check_buf_len(REPLY_PDCAP_LEN, max_len)) { in pd_build_reply()
638 if (!check_buf_len(REPLY_LSTATR_LEN, max_len)) { in pd_build_reply()
647 if (!check_buf_len(REPLY_RSTATR_LEN, max_len)) { in pd_build_reply()
656 if (!check_buf_len(REPLY_KEYPAD_LEN + event->keypress.length, max_len)) { in pd_build_reply()
671 if (!check_buf_len(REPLY_RAW_LEN + len_bytes, max_len)) { in pd_build_reply()
686 if (!check_buf_len(REPLY_FMT_LEN + event->cardread.length, max_len)) { in pd_build_reply()
698 if (!check_buf_len(REPLY_COM_LEN, max_len)) { in pd_build_reply()
726 if (!check_buf_len(REPLY_NAK_LEN, max_len)) { in pd_build_reply()
738 if (!check_buf_len(REPLY_CCRYPT_LEN, max_len)) { in pd_build_reply()
758 if (!check_buf_len(REPLY_RMAC_I_LEN, max_len)) { in pd_build_reply()
796 if (!check_buf_len(REPLY_NAK_LEN, max_len)) { in pd_build_reply()