Searched refs:curcnt (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/scsi/elx/efct/ |
D | efct_lio.c | 439 u32 flags = 0, cnt, curcnt; in efct_lio_write_pending() local 454 curcnt = (ocp->seg_map_cnt - ocp->cur_seg); in efct_lio_write_pending() 455 curcnt = (curcnt < io->sgl_allocated) ? curcnt : io->sgl_allocated; in efct_lio_write_pending() 461 for (cnt = 0; cnt < curcnt; cnt++, sg = sg_next(sg)) { in efct_lio_write_pending() 472 return efct_scsi_recv_wr_data(io, flags, sgl, curcnt, length, in efct_lio_write_pending() 484 uint flags = 0, cnt = 0, curcnt = 0; in efct_lio_queue_data_in() local 510 curcnt = min(ocp->seg_map_cnt - ocp->cur_seg, io->sgl_allocated); in efct_lio_queue_data_in() 512 while (cnt < curcnt) { in efct_lio_queue_data_in() 540 return efct_scsi_send_rd_data(io, flags, sgl, curcnt, length, in efct_lio_queue_data_in()
|
/Linux-v6.1/kernel/ |
D | softirq.c | 223 int curcnt; in __local_bh_enable_ip() local 229 curcnt = __this_cpu_read(softirq_ctrl.cnt); in __local_bh_enable_ip() 235 if (curcnt != cnt) in __local_bh_enable_ip()
|