Searched refs:bytes_remain (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/sound/drivers/ |
H A D | pcmtest.c | 286 size_t bytes_remain = runtime->dma_bytes - v_iter->buf_pos; in fill_block_rand_n() local 290 if (v_iter->b_rw <= bytes_remain) { in fill_block_rand_n() 297 bytes_remain / channels); in fill_block_rand_n() 299 (v_iter->b_rw - bytes_remain) / channels); in fill_block_rand_n()
|
/openbmc/linux/drivers/crypto/nx/ |
H A D | nx-common-pseries.c | 918 int bytes_remain = PAGE_SIZE; in nx842_timehist_show() local 939 bytes = snprintf(p, bytes_remain, "%u-%uus:\t%lld\n", in nx842_timehist_show() 942 bytes_remain -= bytes; in nx842_timehist_show() 947 bytes = snprintf(p, bytes_remain, "%uus - :\t%lld\n", in nx842_timehist_show()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_els.c | 3989 int desc_cnt = 0, bytes_remain; in lpfc_cmpl_els_edc() local 4051 bytes_remain = be32_to_cpu(edc_rsp->desc_list_len) - in lpfc_cmpl_els_edc() 4053 if (bytes_remain <= 0) in lpfc_cmpl_els_edc() 4062 while (bytes_remain) { in lpfc_cmpl_els_edc() 4063 if (bytes_remain < FC_TLV_DESC_HDR_SZ) { in lpfc_cmpl_els_edc() 4074 if (bytes_remain < FC_TLV_DESC_SZ_FROM_LENGTH(tlv) || in lpfc_cmpl_els_edc() 4081 desc_cnt, bytes_remain, in lpfc_cmpl_els_edc() 4100 if (bytes_remain < FC_TLV_DESC_SZ_FROM_LENGTH(tlv) || in lpfc_cmpl_els_edc() 4107 desc_cnt, bytes_remain, in lpfc_cmpl_els_edc() 4141 bytes_remain -= FC_TLV_DESC_SZ_FROM_LENGTH(tlv); in lpfc_cmpl_els_edc() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_transport_fc.c | 908 u32 bytes_remain; in fc_host_fpin_rcv() local 915 bytes_remain = fpin_len - offsetof(struct fc_els_fpin, fpin_desc); in fc_host_fpin_rcv() 916 bytes_remain = min_t(u32, bytes_remain, be32_to_cpu(fpin->desc_len)); in fc_host_fpin_rcv() 918 while (bytes_remain >= FC_TLV_DESC_HDR_SZ && in fc_host_fpin_rcv() 919 bytes_remain >= FC_TLV_DESC_SZ_FROM_LENGTH(tlv)) { in fc_host_fpin_rcv() 935 bytes_remain -= FC_TLV_DESC_SZ_FROM_LENGTH(tlv); in fc_host_fpin_rcv()
|