Searched refs:check_buf_len (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.6.0/subsys/mgmt/osdp/src/ |
D | osdp_cp.c | 117 static inline bool check_buf_len(int need, int have) in check_buf_len() function 143 if (!check_buf_len(CMD_POLL_LEN, max_len)) { in cp_build_command() 149 if (!check_buf_len(CMD_LSTAT_LEN, max_len)) { in cp_build_command() 155 if (!check_buf_len(CMD_ISTAT_LEN, max_len)) { in cp_build_command() 161 if (!check_buf_len(CMD_OSTAT_LEN, max_len)) { in cp_build_command() 167 if (!check_buf_len(CMD_RSTAT_LEN, max_len)) { in cp_build_command() 173 if (!check_buf_len(CMD_ID_LEN, max_len)) { in cp_build_command() 180 if (!check_buf_len(CMD_CAP_LEN, max_len)) { in cp_build_command() 187 if (!check_buf_len(CMD_DIAG_LEN, max_len)) { in cp_build_command() 194 if (!check_buf_len(CMD_OUT_LEN, max_len)) { in cp_build_command() [all …]
|
D | osdp_pd.c | 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() [all …]
|