Lines Matching refs:fc_frame

39  * The fc_frame interface is used to pass frame data between functions.
64 struct fc_frame {
83 * Get fc_frame pointer for an skb that's already been imported.
101 static inline void fc_frame_init(struct fc_frame *fp)
109 struct fc_frame *fc_frame_alloc_fill(struct fc_lport *, size_t payload_len);
110 struct fc_frame *_fc_frame_alloc(size_t payload_len);
113 * Allocate fc_frame structure and buffer. Set the initial length to
116 static inline struct fc_frame *fc_frame_alloc(struct fc_lport *dev, size_t len)
118 struct fc_frame *fp;
132 * Free the fc_frame structure and buffer.
134 static inline void fc_frame_free(struct fc_frame *fp)
139 static inline int fc_frame_is_linear(struct fc_frame *fp)
145 * Get frame header from message in fc_frame structure.
149 struct fc_frame_header *__fc_frame_header_get(const struct fc_frame *fp)
155 * Get frame header from message in fc_frame structure.
159 struct fc_frame_header *fc_frame_header_get(const struct fc_frame *fp)
168 static inline u32 fc_frame_sid(const struct fc_frame *fp)
176 static inline u32 fc_frame_did(const struct fc_frame *fp)
182 * Get frame payload from message in fc_frame structure.
191 static inline void *fc_frame_payload_get(const struct fc_frame *fp,
202 * Get frame payload opcode (first byte) from message in fc_frame structure.
206 static inline u8 fc_frame_payload_op(const struct fc_frame *fp)
220 static inline enum fc_class fc_frame_class(const struct fc_frame *fp)
230 u32 fc_frame_crc_check(struct fc_frame *);
232 static inline u8 fc_frame_rctl(const struct fc_frame *fp)
237 static inline bool fc_frame_is_cmd(const struct fc_frame *fp)