Currently vdev private data osif_priv gets allocation separately and requires to be de-alloc separately. This de-alloc needs to be taken care at different places based on the vdev create failure or whenever vdev is freed. As vdev private data is associated to the vdev and needs to be freed if vdev is not there, it is good to allocate this private data along with vdev so that there is no need to maintain allocation and de-allocation of vdev priv data separately. As part of this change alloc the vdev priv data along with the vdev allocation as a single memory and free of the vdev priv data will be taken care as part of vdev free. Change-Id: I8d4b94cae564c7f2498f7b8cc8aa84a2edd6420d CRs-Fixed: 2634998 |
||
---|---|---|
.. | ||
bmi | ||
cds | ||
dp | ||
hdd | ||
mac | ||
pld | ||
sap | ||
sme | ||
wma |