num_lun 27 drivers/lightnvm/core.c int num_lun; num_lun 113 drivers/lightnvm/core.c for (j = 0; j < ch_map->num_lun; j++) { num_lun 115 drivers/lightnvm/core.c int lunid = (ch * dev->geo.num_lun) + lun; num_lun 140 drivers/lightnvm/core.c int num_lun = lun_end - lun_begin + 1; num_lun 141 drivers/lightnvm/core.c int luns_left = num_lun; num_lun 142 drivers/lightnvm/core.c int num_ch = num_lun / dev->geo.num_lun; num_lun 143 drivers/lightnvm/core.c int num_ch_mod = num_lun % dev->geo.num_lun; num_lun 144 drivers/lightnvm/core.c int bch = lun_begin / dev->geo.num_lun; num_lun 145 drivers/lightnvm/core.c int blun = lun_begin % dev->geo.num_lun; num_lun 161 drivers/lightnvm/core.c luns = kcalloc(num_lun, sizeof(struct ppa_addr), GFP_KERNEL); num_lun 165 drivers/lightnvm/core.c prev_num_lun = (luns_left > dev->geo.num_lun) ? num_lun 166 drivers/lightnvm/core.c dev->geo.num_lun : luns_left; num_lun 172 drivers/lightnvm/core.c int luns_in_chnl = (luns_left > dev->geo.num_lun) ? num_lun 173 drivers/lightnvm/core.c dev->geo.num_lun : luns_left; num_lun 179 drivers/lightnvm/core.c ch_map->num_lun = luns_in_chnl; num_lun 212 drivers/lightnvm/core.c tgt_dev->geo.num_lun = (lun_balanced) ? prev_num_lun : -1; num_lun 213 drivers/lightnvm/core.c tgt_dev->geo.all_luns = num_lun; num_lun 214 drivers/lightnvm/core.c tgt_dev->geo.all_chunks = num_lun * dev->geo.num_chk; num_lun 219 drivers/lightnvm/core.c tgt_dev->geo.total_secs = num_lun * sec_per_lun; num_lun 527 drivers/lightnvm/core.c int luns_in_chnl = dev->geo.num_lun; num_lun 532 drivers/lightnvm/core.c ch_rmap->num_lun = luns_in_chnl; num_lun 1027 drivers/lightnvm/core.c for (lun = ppa.g.lun; lun < geo->num_lun; lun++) { num_lun 157 drivers/lightnvm/pblk-core.c int ch_off = ppa.m.grp * geo->num_chk * geo->num_lun; num_lun 1938 drivers/lightnvm/pblk-core.c int num_lun = geo->all_luns; num_lun 1941 drivers/lightnvm/pblk-core.c while ((bit = find_next_bit(lun_bitmap, num_lun, bit + 1)) < num_lun) { num_lun 210 drivers/lightnvm/pblk-init.c power_len = get_count_order(geo->num_lun); num_lun 211 drivers/lightnvm/pblk-init.c if (1 << power_len != geo->num_lun) { num_lun 245 drivers/lightnvm/pblk-init.c adst->lun_len = get_count_order(geo->num_lun); num_lun 261 drivers/lightnvm/pblk-init.c udst->lun_stripe = geo->num_lun; num_lun 594 drivers/lightnvm/pblk-init.c if (geo->num_lun < 0) { num_lun 608 drivers/lightnvm/pblk-init.c int lunid = lun_raw + ch * geo->num_lun; num_lun 1243 drivers/lightnvm/pblk.h ppa->g.lun < geo->num_lun && num_lun 1252 drivers/lightnvm/pblk.h ppa->m.pu < geo->num_lun && num_lun 113 drivers/nvme/host/lightnvm.c __u8 num_lun; num_lun 309 drivers/nvme/host/lightnvm.c geo->num_lun = src->num_lun; num_lun 310 drivers/nvme/host/lightnvm.c geo->all_luns = geo->num_ch * geo->num_lun; num_lun 404 drivers/nvme/host/lightnvm.c geo->num_lun = le16_to_cpu(id->num_pu); num_lun 405 drivers/nvme/host/lightnvm.c geo->all_luns = geo->num_ch * geo->num_lun; num_lun 585 drivers/nvme/host/lightnvm.c log_pos += ppa.m.grp * geo->num_lun * geo->num_chk; num_lun 1057 drivers/nvme/host/lightnvm.c return scnprintf(page, PAGE_SIZE, "%u\n", geo->num_lun); num_lun 1107 drivers/nvme/host/lightnvm.c return scnprintf(page, PAGE_SIZE, "%u\n", geo->num_lun); num_lun 343 include/linux/lightnvm.h int num_lun; /* per channel */