Home
last modified time | relevance | path

Searched refs:emeta_len (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/lightnvm/
Dpblk-init.c636 lm->emeta_len[1] = lm->emeta_sec[1] * geo->csecs; in calc_emeta_len()
642 lm->emeta_len[2] = lm->emeta_sec[2] * geo->csecs; in calc_emeta_len()
646 lm->emeta_len[3] = lm->emeta_sec[3] * geo->csecs; in calc_emeta_len()
650 return (lm->emeta_len[1] + lm->emeta_len[2] + lm->emeta_len[3]); in calc_emeta_len()
898 emeta->buf = kvmalloc(lm->emeta_len[0], GFP_KERNEL); in pblk_line_mg_init()
943 unsigned int smeta_len, emeta_len; in pblk_line_meta_init() local
975 lm->emeta_len[0] = lm->emeta_sec[0] * geo->csecs; in pblk_line_meta_init()
977 emeta_len = calc_emeta_len(pblk); in pblk_line_meta_init()
978 if (emeta_len > lm->emeta_len[0]) { in pblk_line_meta_init()
Dpblk.h544 unsigned int emeta_len[4]; /* Lengths for emeta: member
947 return ((void *)emeta + pblk->lm.emeta_len[1]); in emeta_to_lbas()
952 return (emeta_to_lbas(pblk, emeta) + pblk->lm.emeta_len[2]); in emeta_to_vsc()
1180 lm->emeta_len[0] - in pblk_calc_emeta_crc()
Dpblk-gc.c136 unsigned int lba_list_size = lm->emeta_len[2]; in get_lba_list_from_emeta()
140 emeta_buf = kvmalloc(lm->emeta_len[0], GFP_KERNEL); in get_lba_list_from_emeta()
Dpblk-write.c408 if (emeta->mem >= lm->emeta_len[0]) in pblk_submit_meta_io()
482 if (meta_line->emeta->mem >= lm->emeta_len[0]) { in pblk_should_submit_meta_io()
Dpblk-core.c942 memset(line->emeta->buf, 0, lm->emeta_len[0]); in pblk_line_setup_metadata()
1481 while (emeta->mem < lm->emeta_len[0]) { in pblk_line_close_meta_sync()
1838 unsigned int lba_list_size = lm->emeta_len[2]; in pblk_save_lba_list()
Dpblk-sysfs.c321 lm->emeta_len[0], lm->emeta_sec[0], in pblk_sysfs_lines_info()
Dpblk-recovery.c761 memset(line->emeta->buf, 0, lm->emeta_len[0]); in pblk_recov_l2p()