Searched refs:emeta_len (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/lightnvm/ |
D | pblk-init.c | 636 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()
|
D | pblk.h | 544 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()
|
D | pblk-gc.c | 136 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()
|
D | pblk-write.c | 408 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()
|
D | pblk-core.c | 942 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()
|
D | pblk-sysfs.c | 321 lm->emeta_len[0], lm->emeta_sec[0], in pblk_sysfs_lines_info()
|
D | pblk-recovery.c | 761 memset(line->emeta->buf, 0, lm->emeta_len[0]); in pblk_recov_l2p()
|