Searched hist:"91 a42c5becb685e1ae73554726906dfe74a8afdd" (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_pool.h | diff 91a42c5becb685e1ae73554726906dfe74a8afdd Thu Dec 17 00:15:48 CET 2020 Bob Pearson <rpearsonhpe@gmail.com> RDMA/rxe: Make add/drop key/index APIs type safe
Replace 'void *' parameters with 'struct rxe_pool_entry *' and use a macro to allow: rxe_add_index, rxe_drop_index, rxe_add_key, rxe_drop_key and rxe_add_to_pool APIs to be type safe against changing the position of pelem in the objects.
Link: https://lore.kernel.org/r/20201216231550.27224-6-rpearson@hpe.com Signed-off-by: Bob Pearson <rpearson@hpe.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
|
H A D | rxe_pool.c | diff 91a42c5becb685e1ae73554726906dfe74a8afdd Thu Dec 17 00:15:48 CET 2020 Bob Pearson <rpearsonhpe@gmail.com> RDMA/rxe: Make add/drop key/index APIs type safe
Replace 'void *' parameters with 'struct rxe_pool_entry *' and use a macro to allow: rxe_add_index, rxe_drop_index, rxe_add_key, rxe_drop_key and rxe_add_to_pool APIs to be type safe against changing the position of pelem in the objects.
Link: https://lore.kernel.org/r/20201216231550.27224-6-rpearson@hpe.com Signed-off-by: Bob Pearson <rpearson@hpe.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
|
H A D | rxe_verbs.c | diff 91a42c5becb685e1ae73554726906dfe74a8afdd Thu Dec 17 00:15:48 CET 2020 Bob Pearson <rpearsonhpe@gmail.com> RDMA/rxe: Make add/drop key/index APIs type safe
Replace 'void *' parameters with 'struct rxe_pool_entry *' and use a macro to allow: rxe_add_index, rxe_drop_index, rxe_add_key, rxe_drop_key and rxe_add_to_pool APIs to be type safe against changing the position of pelem in the objects.
Link: https://lore.kernel.org/r/20201216231550.27224-6-rpearson@hpe.com Signed-off-by: Bob Pearson <rpearson@hpe.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
|