Home
last modified time | relevance | path

Searched refs:lun_offset (Results 1 – 4 of 4) sorted by relevance

/drivers/nvme/host/
Dlightnvm.c137 __u8 lun_offset; member
271 dst->lun_offset = src->lun_offset; in nvme_nvm_set_addr_12()
278 dst->lun_mask = ((1ULL << dst->lun_len) - 1) << dst->lun_offset; in nvme_nvm_set_addr_12()
385 dst->lun_offset = dst->chk_offset + dst->chk_len; in nvme_nvm_set_addr_20()
386 dst->ch_offset = dst->lun_offset + dst->lun_len; in nvme_nvm_set_addr_20()
389 dst->lun_mask = ((1ULL << dst->lun_len) - 1) << dst->lun_offset; in nvme_nvm_set_addr_20()
1024 ppaf->lun_offset, ppaf->lun_len, in nvm_dev_attr_show_ppaf()
/drivers/lightnvm/
Dpblk-sysfs.c128 ppaf->lun_offset, ppaf->lun_len, in pblk_sysfs_ppaf()
137 gppaf->lun_offset, gppaf->lun_len, in pblk_sysfs_ppaf()
149 ppaf->lun_offset, ppaf->lun_len, in pblk_sysfs_ppaf()
156 gppaf->lun_offset, gppaf->lun_len, in pblk_sysfs_ppaf()
Dpblk-init.c230 dst->lun_offset = dst->ch_offset + dst->ch_len; in pblk_set_addrf_12()
231 dst->pg_offset = dst->lun_offset + dst->lun_len; in pblk_set_addrf_12()
237 dst->lun_mask = ((1ULL << dst->lun_len) - 1) << dst->lun_offset; in pblk_set_addrf_12()
256 adst->lun_offset = adst->ch_offset + adst->ch_len; in pblk_set_addrf_20()
257 adst->chk_offset = adst->lun_offset + adst->lun_len; in pblk_set_addrf_20()
261 adst->lun_mask = ((1ULL << adst->lun_len) - 1) << adst->lun_offset; in pblk_set_addrf_20()
Dpblk.h989 ppa.g.lun = (paddr & ppaf->lun_mask) >> ppaf->lun_offset; in addr_to_gen_ppa()
1046 paddr |= (u64)p.g.lun << ppaf->lun_offset; in pblk_dev_ppa_to_line_addr()