Searched refs:pd_count (Results 1 – 4 of 4) sorted by relevance
440 static int pd_count; /* number of blocks still to do */ variable455 pd_count = blk_rq_cur_sectors(pd_req); in do_pd_io_start()456 if (pd_block + pd_count > get_capacity(pd_req->rq_disk)) in do_pd_io_start()479 pd_count--; in pd_next_buf()485 if (pd_count) in pd_next_buf()489 pd_count = blk_rq_cur_sectors(pd_req); in pd_next_buf()
1517 cmd->pd_count = dev->attr.max_dpp_pds; in ocrdma_mbx_alloc_pd_range()1523 rsp->pd_count) { in ocrdma_mbx_alloc_pd_range()1528 dev->pd_mgr->max_dpp_pd = rsp->pd_count; in ocrdma_mbx_alloc_pd_range()1530 BITS_TO_LONGS(rsp->pd_count) * sizeof(long); in ocrdma_mbx_alloc_pd_range()1541 cmd->pd_count = dev->attr.max_pd - dev->attr.max_dpp_pds; in ocrdma_mbx_alloc_pd_range()1544 if (!status && rsp->pd_count) { in ocrdma_mbx_alloc_pd_range()1547 dev->pd_mgr->max_normal_pd = rsp->pd_count; in ocrdma_mbx_alloc_pd_range()1548 pd_bitmap_size = BITS_TO_LONGS(rsp->pd_count) * sizeof(long); in ocrdma_mbx_alloc_pd_range()1573 cmd->pd_count = dev->pd_mgr->max_normal_pd; in ocrdma_mbx_dealloc_pd_range()1586 cmd->pd_count = dev->pd_mgr->max_dpp_pd; in ocrdma_mbx_dealloc_pd_range()
1403 u32 pd_count; member1410 u32 pd_count; member1421 u32 pd_count; member
345 u16 pd_count; in _ocrdma_pd_mgr_put_bitmap() local348 pd_count = dpp_pool ? dev->pd_mgr->pd_dpp_count : in _ocrdma_pd_mgr_put_bitmap()350 if (pd_count == 0) in _ocrdma_pd_mgr_put_bitmap()