Searched refs:drv_struct (Results 1 – 2 of 2) sorted by relevance
| /linux/include/linux/ |
| H A D | cache_coherency.h | 51 #define cache_coherency_ops_instance_alloc(ops, drv_struct, member) \ argument 54 ((drv_struct *)NULL)->member)); \ 55 static_assert(offsetof(drv_struct, member) == 0); \ 56 (drv_struct *)_cache_coherency_ops_instance_alloc(ops, \ 57 sizeof(drv_struct)); \
|
| /linux/include/rdma/ |
| H A D | ib_verbs.h | 2324 #define INIT_RDMA_OBJ_SIZE(ib_struct, drv_struct, member) \ argument 2326 (sizeof(struct drv_struct) + \ 2327 BUILD_BUG_ON_ZERO(offsetof(struct drv_struct, member)) + \ 2329 !__same_type(((struct drv_struct *)NULL)->member, \ 2952 #define ib_alloc_device(drv_struct, member) \ argument 2953 container_of(_ib_alloc_device(sizeof(struct drv_struct) + \ 2955 struct drv_struct, member)), \ 2957 struct drv_struct, member) 2959 #define ib_alloc_device_with_net(drv_struct, member, net) \ argument 2960 container_of(_ib_alloc_device(sizeof(struct drv_struct) + \ [all …]
|