Home
last modified time | relevance | path

Searched refs:cur_cnt (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/scsi/csiostor/
H A Dcsio_init.c699 int cur_cnt = 0, ii; in csio_lnodes_block_request() local
712 lnode_list[cur_cnt++] = sln; in csio_lnodes_block_request()
716 lnode_list[cur_cnt++] = (struct csio_lnode *) cur_cln; in csio_lnodes_block_request()
720 for (ii = 0; ii < cur_cnt; ii++) { in csio_lnodes_block_request()
738 int cur_cnt = 0, ii; in csio_lnodes_unblock_request() local
751 lnode_list[cur_cnt++] = sln; in csio_lnodes_unblock_request()
755 lnode_list[cur_cnt++] = (struct csio_lnode *) cur_cln; in csio_lnodes_unblock_request()
759 for (ii = 0; ii < cur_cnt; ii++) { in csio_lnodes_unblock_request()
776 int cur_cnt = 0, ii; in csio_lnodes_block_by_port() local
792 lnode_list[cur_cnt++] = sln; in csio_lnodes_block_by_port()
[all …]
/linux/tools/lib/bpf/
H A Dlibbpf_internal.h300 size_t cur_cnt, size_t max_cnt, size_t add_cnt);
H A Dbtf.c203 size_t cur_cnt, size_t max_cnt, size_t add_cnt) in libbpf_add_mem() argument
208 if (cur_cnt + add_cnt <= *cap_cnt) in libbpf_add_mem()
209 return *data + cur_cnt * elem_sz; in libbpf_add_mem()
212 if (cur_cnt + add_cnt > max_cnt) in libbpf_add_mem()
221 if (new_cnt < cur_cnt + add_cnt) /* also ensure we have enough memory */ in libbpf_add_mem()
222 new_cnt = cur_cnt + add_cnt; in libbpf_add_mem()
233 return new_data + cur_cnt * elem_sz; in libbpf_add_mem()
/linux/sound/hda/codecs/
H A Dca0132.c2729 unsigned int cur_cnt; in dsp_dma_setup()
2784 cur_cnt = (count - 1) << DSPDMAC_XFRCNT_CCNT_LOBIT; in dsp_dma_setup()
2786 xfr_cnt = base_cnt | cur_cnt;
2709 unsigned int cur_cnt; dsp_dma_setup() local