Searched refs:buf_left (Results 1 – 3 of 3) sorted by relevance
412 u32 buf_left; in mhi_ep_read_channel() local415 buf_left = len; in mhi_ep_read_channel()429 tr_len = min(buf_left, mhi_chan->tre_bytes_left); in mhi_ep_read_channel()435 tr_len = min(buf_left, mhi_chan->tre_size); in mhi_ep_read_channel()439 write_offset = len - buf_left; in mhi_ep_read_channel()462 buf_left -= tr_len; in mhi_ep_read_channel()471 } while (buf_left && !tr_done); in mhi_ep_read_channel()556 u32 buf_left, read_offset; in mhi_ep_queue_skb() local562 buf_left = skb->len; in mhi_ep_queue_skb()584 tr_len = min(buf_left, tre_len); in mhi_ep_queue_skb()[all …]
2526 u16 buf_left, type, len; in mwifiex_ret_802_11_scan_ext() local2537 buf_left = le16_to_cpu(resp->size) - (sizeof(*ext_scan_resp) + S_DS_GEN); in mwifiex_ret_802_11_scan_ext()2539 while (buf_left >= sizeof(struct mwifiex_ie_types_header)) { in mwifiex_ret_802_11_scan_ext()2543 if (buf_left < (sizeof(struct mwifiex_ie_types_header) + len)) { in mwifiex_ret_802_11_scan_ext()2558 buf_left -= len + sizeof(struct mwifiex_ie_types_header); in mwifiex_ret_802_11_scan_ext()
3599 size_t buf_left = sg_buf_end_offset - sg_buf_offset; in binder_transaction() local3602 if (bp->length > buf_left) { in binder_transaction()