Searched refs:calc_len (Results 1 – 2 of 2) sorted by relevance
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_cmds_basic2.c | 588 int bd_len, calc_len, offset; in sg_mode_page_offset() local 594 calc_len = resp[0] + 1; in sg_mode_page_offset() 600 calc_len = sg_get_unaligned_be16(resp) + 2; in sg_mode_page_offset() 605 if ((offset + 2) > calc_len) { in sg_mode_page_offset() 609 offset, calc_len, bd_len); in sg_mode_page_offset() 632 int calc_len; in sg_msense_calc_length() local 639 calc_len = resp[0] + 1; in sg_msense_calc_length() 643 calc_len = sg_get_unaligned_be16(resp + 0) + 2; in sg_msense_calc_length() 647 return calc_len; in sg_msense_calc_length() 676 int k, n, res, offset, calc_len, xfer_len; in sg_get_mode_page_controls() local [all …]
|
/external/wpa_supplicant_8/src/pae/ |
D | ieee802_1x_kay.c | 3404 size_t calc_len; in kay_l2_receive() local 3417 calc_len = sizeof(*eth_hdr) + sizeof(*eapol_hdr) + in kay_l2_receive() 3419 if (len < calc_len) { in kay_l2_receive() 3422 (unsigned long) calc_len, in kay_l2_receive() 3426 if (len > calc_len) { in kay_l2_receive() 3429 &buf[calc_len], len - calc_len); in kay_l2_receive() 3430 len = calc_len; in kay_l2_receive()
|