numam-spdk/test/unit/lib/ftl
Konrad Sztyber 87731e1105 lib/ftl: write buffer entry address calculation
Two functions were added:
 - ftl_get_addr_from_entry() returning an address pointing at a given
   entry
 - and it's inverse, ftl_get_entry_from_addr(), returning a write buffer
   entry for a given address

Change-Id: Iea1e2e59f240f50183fdb549280a0f0b722efbef
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/906
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-03-02 10:27:06 +00:00
..
common lib/ftl: allocate separate memory for IO channels 2020-03-02 10:27:06 +00:00
ftl_band.c lib/ftl: Change "lbk" name to "block" 2020-01-17 08:59:08 +00:00
ftl_io.c lib/ftl: write buffer entry address calculation 2020-03-02 10:27:06 +00:00
ftl_md lib/ftl: Change "lbk" name to "block" 2020-01-17 08:59:08 +00:00
ftl_ppa lib/ftl: Represent ftl_addr just with the offset value 2020-01-17 08:59:08 +00:00
ftl_reloc.c lib/ftl: use iovecs instead of single data pointer 2020-02-20 09:53:03 +00:00
ftl_rwb.c lib/ftl: Replace ftl_ppa struct with ftl_addr 2020-01-10 08:42:51 +00:00
ftl_wptr lib/ftl: allocate separate memory for IO channels 2020-03-02 10:27:06 +00:00
Makefile lib/ftl: allow parent/child relations between IOs 2019-04-24 21:57:06 +00:00