Lines Matching defs:rvt_dev_info
339 struct rvt_dev_info { struct
340 struct ib_device ibdev; /* Keep this first. Nothing above here */
354 struct rvt_driver_params dparms;
357 const struct rvt_operation_params *post_parms;
359 struct rvt_mregion __rcu *dma_mr;
360 struct rvt_lkey_table lkey_table;
363 struct rvt_driver_provided driver_f;
366 int n_pds_allocated;
367 spinlock_t n_pds_lock; /* Protect pd allocated count */
369 int n_ahs_allocated;
370 spinlock_t n_ahs_lock; /* Protect ah allocated count */
372 u32 n_srqs_allocated;
373 spinlock_t n_srqs_lock; /* Protect srqs allocated count */
375 int flags;
376 struct rvt_ibport **ports;
379 struct rvt_qp_ibdev *qp_dev;
380 u32 n_qps_allocated; /* number of QPs allocated for device */
381 u32 n_rc_qps; /* number of RC QPs allocated for device */
382 u32 busy_jiffies; /* timeout scaling based on RC QP count */
383 spinlock_t n_qps_lock; /* protect qps, rc qps and busy jiffy counts */
386 struct list_head pending_mmaps;
387 spinlock_t mmap_offset_lock; /* protect mmap_offset */
388 u32 mmap_offset;
412 static inline struct rvt_dev_info *ib_to_rvt(struct ib_device *ibdev) in ib_to_rvt() argument