Replace two helper functions, nvme_bdev_first_ctrlr() and nvme_bdev_next_ctrlr() by an new helper function nvme_ctrlr_for_each(). This will make us easier to guard data structure correctly in the following patches. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ibd81286e454fd6127fd150a7d48d8381bd1b89d3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8721 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
sock | ||
Makefile |