Lines Matching refs:fc_frame
64 struct fc_frame { struct
101 static inline void fc_frame_init(struct fc_frame *fp) in fc_frame_init()
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);
116 static inline struct fc_frame *fc_frame_alloc(struct fc_lport *dev, size_t len) in fc_frame_alloc()
118 struct fc_frame *fp; in fc_frame_alloc()
134 static inline void fc_frame_free(struct fc_frame *fp) in fc_frame_free()
139 static inline int fc_frame_is_linear(struct fc_frame *fp) in fc_frame_is_linear()
149 struct fc_frame_header *__fc_frame_header_get(const struct fc_frame *fp) in __fc_frame_header_get()
159 struct fc_frame_header *fc_frame_header_get(const struct fc_frame *fp) in fc_frame_header_get()
168 static inline u32 fc_frame_sid(const struct fc_frame *fp) in fc_frame_sid()
176 static inline u32 fc_frame_did(const struct fc_frame *fp) in fc_frame_did()
191 static inline void *fc_frame_payload_get(const struct fc_frame *fp, in fc_frame_payload_get()
206 static inline u8 fc_frame_payload_op(const struct fc_frame *fp) in fc_frame_payload_op()
220 static inline enum fc_class fc_frame_class(const struct fc_frame *fp) in fc_frame_class()
230 u32 fc_frame_crc_check(struct fc_frame *);
232 static inline u8 fc_frame_rctl(const struct fc_frame *fp) in fc_frame_rctl()
237 static inline bool fc_frame_is_cmd(const struct fc_frame *fp) in fc_frame_is_cmd()
268 static inline void fc_fill_fc_hdr(struct fc_frame *fp, enum fc_rctl r_ctl, in fc_fill_fc_hdr()