Searched refs:pd_count (Results 1 – 6 of 6) sorted by relevance
481 static int pd_count; /* number of blocks still to do */ variable494 pd_count = blk_rq_cur_sectors(pd_req); in do_pd_io_start()495 if (pd_block + pd_count > get_capacity(pd_req->rq_disk)) in do_pd_io_start()519 pd_count--; in pd_next_buf()525 if (pd_count) in pd_next_buf()531 pd_count = 0; in pd_next_buf()534 pd_count = blk_rq_cur_sectors(pd_req); in pd_next_buf()538 return !pd_count; in pd_next_buf()
326 size_t pd_count) in q6v5_pds_enable() argument331 for (i = 0; i < pd_count; i++) { in q6v5_pds_enable()350 size_t pd_count) in q6v5_pds_disable() argument354 for (i = 0; i < pd_count; i++) { in q6v5_pds_disable()1301 size_t pd_count) in q6v5_pds_detach() argument1305 for (i = 0; i < pd_count; i++) in q6v5_pds_detach()
1520 cmd->pd_count = dev->attr.max_dpp_pds; in ocrdma_mbx_alloc_pd_range()1526 rsp->pd_count) { in ocrdma_mbx_alloc_pd_range()1531 dev->pd_mgr->max_dpp_pd = rsp->pd_count; in ocrdma_mbx_alloc_pd_range()1533 BITS_TO_LONGS(rsp->pd_count) * sizeof(long); in ocrdma_mbx_alloc_pd_range()1544 cmd->pd_count = dev->attr.max_pd - dev->attr.max_dpp_pds; in ocrdma_mbx_alloc_pd_range()1547 if (!status && rsp->pd_count) { in ocrdma_mbx_alloc_pd_range()1550 dev->pd_mgr->max_normal_pd = rsp->pd_count; in ocrdma_mbx_alloc_pd_range()1551 pd_bitmap_size = BITS_TO_LONGS(rsp->pd_count) * sizeof(long); in ocrdma_mbx_alloc_pd_range()1576 cmd->pd_count = dev->pd_mgr->max_normal_pd; in ocrdma_mbx_dealloc_pd_range()1589 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
281 u16 pd_count; in _ocrdma_pd_mgr_put_bitmap() local284 pd_count = dpp_pool ? dev->pd_mgr->pd_dpp_count : in _ocrdma_pd_mgr_put_bitmap()286 if (pd_count == 0) in _ocrdma_pd_mgr_put_bitmap()
447 u64 pd_count; member