Lines Matching defs:send_context
56 struct send_context { struct
58 struct hfi1_devdata *dd; /* device */
59 union pio_shadow_ring *sr; /* shadow ring */
60 void __iomem *base_addr; /* start of PIO memory */
61 u32 __percpu *buffers_allocated;/* count of buffers allocated */
62 u32 size; /* context size, in bytes */
64 int node; /* context home node */
65 u32 sr_size; /* size of the shadow ring */
66 u16 flags; /* flags */
67 u8 type; /* context type */
68 u8 sw_index; /* software index number */
69 u8 hw_context; /* hardware context number */
70 u8 group; /* credit return group */
73 spinlock_t alloc_lock ____cacheline_aligned_in_smp;
74 u32 sr_head; /* shadow ring head */
75 unsigned long fill; /* official alloc count */
76 unsigned long alloc_free; /* copy of free (less cache thrash) */
77 u32 fill_wrap; /* tracks fill within ring */
78 u32 credits; /* number of blocks in context */
105 struct send_context *sc; /* allocated working context */ argument