Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/lightnvm/
Dpblk-sysfs.c412 total_buckets += atomic64_read(&pblk->pad_dist[i]); in pblk_sysfs_get_padding_dist()
420 p = bucket_percentage(atomic64_read(&pblk->pad_dist[i]), in pblk_sysfs_get_padding_dist()
542 atomic64_set(&pblk->pad_dist[i], 0); in pblk_sysfs_set_padding_dist()
Dpblk-init.c432 pblk->pad_dist = kcalloc(pblk->min_write_pgs - 1, sizeof(atomic64_t), in pblk_core_init()
434 if (!pblk->pad_dist) in pblk_core_init()
514 kfree(pblk->pad_dist); in pblk_core_init()
537 kfree(pblk->pad_dist); in pblk_core_free()
Dpblk-rb.c625 atomic64_inc(&pblk->pad_dist[pad - 1]); in pblk_rb_read_to_bio()
Dpblk.h640 atomic64_t *pad_dist; /* Padding distribution buckets */ member