Searched refs:num_lun (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | core.c | 27 int num_lun; member 113 for (j = 0; j < ch_map->num_lun; j++) { in nvm_remove_tgt_dev() 115 int lunid = (ch * dev->geo.num_lun) + lun; in nvm_remove_tgt_dev() 140 int num_lun = lun_end - lun_begin + 1; in nvm_create_tgt_dev() local 141 int luns_left = num_lun; in nvm_create_tgt_dev() 142 int num_ch = num_lun / dev->geo.num_lun; in nvm_create_tgt_dev() 143 int num_ch_mod = num_lun % dev->geo.num_lun; in nvm_create_tgt_dev() 144 int bch = lun_begin / dev->geo.num_lun; in nvm_create_tgt_dev() 145 int blun = lun_begin % dev->geo.num_lun; in nvm_create_tgt_dev() 161 luns = kcalloc(num_lun, sizeof(struct ppa_addr), GFP_KERNEL); in nvm_create_tgt_dev() [all …]
|
D | pblk-init.c | 215 power_len = get_count_order(geo->num_lun); in pblk_set_addrf_12() 216 if (1 << power_len != geo->num_lun) { in pblk_set_addrf_12() 250 adst->lun_len = get_count_order(geo->num_lun); in pblk_set_addrf_20() 266 udst->lun_stripe = geo->num_lun; in pblk_set_addrf_20() 599 if (geo->num_lun < 0) { in pblk_luns_init() 613 int lunid = lun_raw + ch * geo->num_lun; in pblk_luns_init()
|
D | pblk-core.c | 157 int ch_off = ppa.m.grp * geo->num_chk * geo->num_lun; in pblk_chunk_get_off() 1938 int num_lun = geo->all_luns; in pblk_up_rq() local 1941 while ((bit = find_next_bit(lun_bitmap, num_lun, bit + 1)) < num_lun) { in pblk_up_rq()
|
D | pblk.h | 1243 ppa->g.lun < geo->num_lun && in pblk_boundary_ppa_checks() 1252 ppa->m.pu < geo->num_lun && in pblk_boundary_ppa_checks()
|
/kernel/linux/linux-5.10/drivers/nvme/host/ |
D | lightnvm.c | 113 __u8 num_lun; member 309 geo->num_lun = src->num_lun; in nvme_nvm_setup_12() 310 geo->all_luns = geo->num_ch * geo->num_lun; in nvme_nvm_setup_12() 404 geo->num_lun = le16_to_cpu(id->num_pu); in nvme_nvm_setup_20() 405 geo->all_luns = geo->num_ch * geo->num_lun; in nvme_nvm_setup_20() 585 log_pos += ppa.m.grp * geo->num_lun * geo->num_chk; in nvme_nvm_get_chk_meta() 1060 return scnprintf(page, PAGE_SIZE, "%u\n", geo->num_lun); in nvm_dev_attr_show_12() 1110 return scnprintf(page, PAGE_SIZE, "%u\n", geo->num_lun); in nvm_dev_attr_show_20()
|
/kernel/linux/linux-5.10/include/linux/ |
D | lightnvm.h | 343 int num_lun; /* per channel */ member
|