Searched refs:uaddrf (Results 1 – 2 of 2) sorted by relevance
605 struct pblk_addrf uaddrf; /* Unaligned address format */ member994 struct pblk_addrf *uaddrf = &pblk->uaddrf; in addr_to_gen_ppa() local1001 paddr = div_u64_rem(paddr, uaddrf->sec_stripe, &secs); in addr_to_gen_ppa()1004 paddr = div_u64_rem(paddr, uaddrf->ch_stripe, &chnls); in addr_to_gen_ppa()1007 paddr = div_u64_rem(paddr, uaddrf->lun_stripe, &luns); in addr_to_gen_ppa()1010 ppa.m.sec += uaddrf->sec_stripe * paddr; in addr_to_gen_ppa()1051 struct pblk_addrf *uaddrf = &pblk->uaddrf; in pblk_dev_ppa_to_line_addr() local1055 paddr = (u64)p.m.grp * uaddrf->sec_stripe; in pblk_dev_ppa_to_line_addr()1056 paddr += (u64)p.m.pu * uaddrf->sec_lun_stripe; in pblk_dev_ppa_to_line_addr()1058 secs = div_u64_rem(secs, uaddrf->sec_stripe, &sec_stripe); in pblk_dev_ppa_to_line_addr()[all …]
293 &pblk->uaddrf); in pblk_set_addrf()