Searched refs:pd_idx (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/drivers/md/ |
D | raid5.c | 217 if (idx == sh->pd_idx) in raid6_idx_to_slot() 809 while (dd_idx == sh->pd_idx || dd_idx == sh->qd_idx) in stripe_add_to_batch_list() 1356 if (i == sh->qd_idx || i == sh->pd_idx || in set_syndrome_sources() 1549 int count = 0, pd_idx = sh->pd_idx, i; in ops_run_prexor5() local 1553 struct page *xor_dest = xor_srcs[count++] = sh->dev[pd_idx].page; in ops_run_prexor5() 1660 int pd_idx = sh->pd_idx; in ops_complete_reconstruct() local 1677 if (dev->written || i == pd_idx || i == qd_idx) { in ops_complete_reconstruct() 1707 int count, pd_idx = sh->pd_idx, i; in ops_run_reconstruct5() local 1719 if (pd_idx == i) in ops_run_reconstruct5() 1726 set_bit(R5_Discard, &sh->dev[pd_idx].flags); in ops_run_reconstruct5() [all …]
|
D | raid5-cache.c | 392 if (i == sh->pd_idx || i == sh->qd_idx) in r5l_log_stripe() 402 sh->sector, sh->dev[sh->pd_idx].log_checksum, in r5l_log_stripe() 404 r5l_append_payload_page(log, sh->dev[sh->pd_idx].page); in r5l_log_stripe() 408 sh->sector, sh->dev[sh->pd_idx].log_checksum, in r5l_log_stripe() 410 r5l_append_payload_page(log, sh->dev[sh->pd_idx].page); in r5l_log_stripe() 434 if (sh->log_io || !test_bit(R5_Wantwrite, &sh->dev[sh->pd_idx].flags) || in r5l_write_stripe() 880 disk_index = sh->pd_idx; in r5l_recovery_flush_one_stripe()
|
D | raid5.h | 205 short pd_idx; /* parity disk index */ member
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_lan_hmc.c | 307 u32 pd_idx = 0, pd_lmt = 0; in i40e_create_lan_hmc_object() local 354 info->start_idx, info->count, &pd_idx, in i40e_create_lan_hmc_object() 383 pd_idx1 = max(pd_idx, (j * I40E_HMC_MAX_BP_COUNT)); in i40e_create_lan_hmc_object() 431 pd_idx1 = max(pd_idx, in i40e_create_lan_hmc_object() 550 u32 pd_idx, pd_lmt, rel_pd_idx; in i40e_delete_lan_hmc_object() local 597 info->start_idx, info->count, &pd_idx, in i40e_delete_lan_hmc_object() 600 for (j = pd_idx; j < pd_lmt; j++) { in i40e_delete_lan_hmc_object() 1007 u32 pd_idx, pd_lmt, rel_pd_idx; in i40e_hmc_get_object_va() local 1047 &pd_idx, &pd_lmt); in i40e_hmc_get_object_va() 1048 rel_pd_idx = pd_idx % I40E_HMC_PD_CNT_IN_SD; in i40e_hmc_get_object_va()
|
D | i40e_hmc.h | 162 #define I40E_INVALIDATE_PF_HMC_PD(hw, sd_idx, pd_idx) \ argument 165 ((pd_idx) << I40E_PFHMC_PDINV_PMPDIDX_SHIFT)))
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_hmc.h | 162 #define I40E_INVALIDATE_PF_HMC_PD(hw, sd_idx, pd_idx) \ argument 165 ((pd_idx) << I40E_PFHMC_PDINV_PMPDIDX_SHIFT)))
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 387 u16 pd_idx = 0; in ocrdma_get_pd_num() local 394 pd_idx = _ocrdma_pd_mgr_get_bitmap(dev, true); in ocrdma_get_pd_num() 395 pd->id = dev->pd_mgr->pd_dpp_start + pd_idx; in ocrdma_get_pd_num() 396 pd->dpp_page = dev->pd_mgr->dpp_page_index + pd_idx; in ocrdma_get_pd_num() 399 pd_idx = _ocrdma_pd_mgr_get_bitmap(dev, false); in ocrdma_get_pd_num() 400 pd->id = dev->pd_mgr->pd_norm_start + pd_idx; in ocrdma_get_pd_num() 407 pd_idx = _ocrdma_pd_mgr_get_bitmap(dev, false); in ocrdma_get_pd_num() 408 pd->id = dev->pd_mgr->pd_norm_start + pd_idx; in ocrdma_get_pd_num()
|