Searched refs:bytes_remain (Results 1 – 4 of 4) sorted by relevance
| /linux/sound/drivers/ |
| H A D | pcmtest.c | 287 size_t bytes_remain = runtime->dma_bytes - v_iter->buf_pos; in fill_block_rand_n() local 291 if (v_iter->b_rw <= bytes_remain) { in fill_block_rand_n() 298 bytes_remain / channels); in fill_block_rand_n() 300 (v_iter->b_rw - bytes_remain) / channels); in fill_block_rand_n()
|
| /linux/drivers/crypto/nx/ |
| H A D | nx-common-pseries.c | 919 int bytes_remain = PAGE_SIZE; in nx842_timehist_show() local 940 bytes = snprintf(p, bytes_remain, "%u-%uus:\t%lld\n", in nx842_timehist_show() 943 bytes_remain -= bytes; in nx842_timehist_show() 948 bytes = snprintf(p, bytes_remain, "%uus - :\t%lld\n", in nx842_timehist_show()
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_els.c | 4074 int desc_cnt = 0, bytes_remain; in lpfc_cmpl_els_edc() local 4139 bytes_remain = be32_to_cpu(edc_rsp->desc_list_len) - in lpfc_cmpl_els_edc() 4141 if (bytes_remain <= 0) in lpfc_cmpl_els_edc() 4150 while (bytes_remain) { in lpfc_cmpl_els_edc() 4151 if (bytes_remain < FC_TLV_DESC_HDR_SZ) { in lpfc_cmpl_els_edc() 4162 if (bytes_remain < FC_TLV_DESC_SZ_FROM_LENGTH(tlv) || in lpfc_cmpl_els_edc() 4169 desc_cnt, bytes_remain, in lpfc_cmpl_els_edc() 4188 if (bytes_remain < FC_TLV_DESC_SZ_FROM_LENGTH(tlv) || in lpfc_cmpl_els_edc() 4195 desc_cnt, bytes_remain, in lpfc_cmpl_els_edc() 4229 bytes_remain -= FC_TLV_DESC_SZ_FROM_LENGTH(tlv); in lpfc_cmpl_els_edc() [all …]
|
| /linux/drivers/scsi/ |
| H A D | scsi_transport_fc.c | 898 u32 bytes_remain; in fc_host_fpin_rcv() local 905 bytes_remain = fpin_len - offsetof(struct fc_els_fpin, fpin_desc); in fc_host_fpin_rcv() 906 bytes_remain = min_t(u32, bytes_remain, be32_to_cpu(fpin->desc_len)); in fc_host_fpin_rcv() 908 while (bytes_remain >= FC_TLV_DESC_HDR_SZ && in fc_host_fpin_rcv() 909 bytes_remain >= FC_TLV_DESC_SZ_FROM_LENGTH(tlv)) { in fc_host_fpin_rcv() 925 bytes_remain -= FC_TLV_DESC_SZ_FROM_LENGTH(tlv); in fc_host_fpin_rcv()
|