Searched refs:blks (Results 1 – 7 of 7) sorted by relevance
/drivers/scsi/fnic/ |
D | vnic_wq.c | 32 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); in vnic_wq_alloc_bufs() local 36 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs() 44 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs()
|
D | vnic_rq.c | 32 unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count); in vnic_rq_alloc_bufs() local 36 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs() 44 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs()
|
/drivers/net/ethernet/cisco/enic/ |
D | vnic_wq.c | 35 unsigned int blks = VNIC_WQ_BUF_BLKS_NEEDED(count); in vnic_wq_alloc_bufs() local 39 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs() 45 for (i = 0; i < blks; i++) { in vnic_wq_alloc_bufs()
|
D | vnic_rq.c | 35 unsigned int blks = VNIC_RQ_BUF_BLKS_NEEDED(count); in vnic_rq_alloc_bufs() local 39 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs() 45 for (i = 0; i < blks; i++) { in vnic_rq_alloc_bufs()
|
/drivers/scsi/ |
D | st.c | 692 int transfer, blks; in st_flush_write_buffer() local 712 blks = transfer / STp->block_size; in st_flush_write_buffer() 713 cmd[2] = blks >> 16; in st_flush_write_buffer() 714 cmd[3] = blks >> 8; in st_flush_write_buffer() 715 cmd[4] = blks; in st_flush_write_buffer() 736 STps->drv_block += blks; in st_flush_write_buffer() 746 STps->drv_block += blks; in st_flush_write_buffer() 1562 ssize_t i, do_count, blks, transfer; in st_write() local 1701 blks = transfer = do_count; in st_write() 1704 blks = STbp->buffer_bytes; in st_write() [all …]
|
D | osst.c | 3052 int offset, transfer, blks = 0; in osst_flush_write_buffer() local 3091 blks = (offset + STp->block_size - 1) / STp->block_size; in osst_flush_write_buffer() 3111 name, blks, STp->frame_seq_number, in osst_flush_write_buffer() 3112 STp->logical_blk_num - blks, STp->logical_blk_num - 1); in osst_flush_write_buffer() 3115 STp->logical_blk_num - blks, STp->block_size, blks); in osst_flush_write_buffer() 3123 STp->logical_blk_num++, 0, blks=1); in osst_flush_write_buffer() 3126 osst_init_aux(STp, OS_FRAME_TYPE_HEADER, 0, 0, 0, blks=0); in osst_flush_write_buffer() 3134 name, offset, transfer, blks); in osst_flush_write_buffer() 3246 int blks; in osst_write_frame() local 3281 blks = STp->buffer->buffer_bytes / STp->block_size; in osst_write_frame() [all …]
|
/drivers/net/ethernet/broadcom/ |
D | cnic.c | 1144 int total_mem, blks, i; in cnic_alloc_bnx2x_context() local 1147 blks = total_mem / ctx_blk_size; in cnic_alloc_bnx2x_context() 1149 blks++; in cnic_alloc_bnx2x_context() 1151 if (blks > cp->ethdev->ctx_tbl_len) in cnic_alloc_bnx2x_context() 1154 cp->ctx_arr = kcalloc(blks, sizeof(struct cnic_ctx), GFP_KERNEL); in cnic_alloc_bnx2x_context() 1158 cp->ctx_blks = blks; in cnic_alloc_bnx2x_context() 1167 for (i = 0; i < blks; i++) { in cnic_alloc_bnx2x_context()
|