Lines Matching defs:send_context
98 struct send_context { struct
100 struct hfi1_devdata *dd; /* device */
101 union pio_shadow_ring *sr; /* shadow ring */
102 void __iomem *base_addr; /* start of PIO memory */
103 u32 __percpu *buffers_allocated;/* count of buffers allocated */
104 u32 size; /* context size, in bytes */
106 int node; /* context home node */
107 u32 sr_size; /* size of the shadow ring */
108 u16 flags; /* flags */
109 u8 type; /* context type */
110 u8 sw_index; /* software index number */
111 u8 hw_context; /* hardware context number */
112 u8 group; /* credit return group */
115 spinlock_t alloc_lock ____cacheline_aligned_in_smp;
116 u32 sr_head; /* shadow ring head */
117 unsigned long fill; /* official alloc count */
118 unsigned long alloc_free; /* copy of free (less cache thrash) */
119 u32 fill_wrap; /* tracks fill within ring */
120 u32 credits; /* number of blocks in context */
147 struct send_context *sc; /* allocated working context */ argument