ssh_packet
static int ssh_ptl_tx_packet(struct ssh_ptl *ptl, struct ssh_packet *packet)
struct ssh_packet *packet;
static struct ssh_packet *ssh_ptl_ack_pop(struct ssh_ptl *ptl, u8 seq_id)
struct ssh_packet *packet = ERR_PTR(-ENOENT);
struct ssh_packet *p, *n;
static void ssh_ptl_wait_until_transmitted(struct ssh_packet *packet)
struct ssh_packet *p;
int ssh_ptl_submit(struct ssh_ptl *ptl, struct ssh_packet *p)
static int __ssh_ptl_resubmit(struct ssh_packet *packet)
struct ssh_packet *p;
void ssh_ptl_cancel(struct ssh_packet *p)
static ktime_t ssh_packet_get_expiration(struct ssh_packet *p, ktime_t timeout)
struct ssh_packet *p, *n;
struct ssh_packet *packet;
struct ssh_packet *packet;
struct ssh_packet *p, *n;
static bool __ssh_ptl_should_drop_ack_packet(struct ssh_packet *packet)
static bool __ssh_ptl_should_drop_nak_packet(struct ssh_packet *packet)
static bool __ssh_ptl_should_drop_dsq_packet(struct ssh_packet *packet)
static bool ssh_ptl_should_drop_packet(struct ssh_packet *packet)
static int ssh_ptl_write_buf(struct ssh_ptl *ptl, struct ssh_packet *packet,
static void ssh_ptl_tx_inject_invalid_data(struct ssh_packet *packet)
static inline bool ssh_ptl_should_drop_packet(struct ssh_packet *packet)
struct ssh_packet *packet,
static inline void ssh_ptl_tx_inject_invalid_data(struct ssh_packet *packet)
struct ssh_packet *p = container_of(kref, struct ssh_packet, refcnt);
struct ssh_packet *ssh_packet_get(struct ssh_packet *packet)
void ssh_packet_put(struct ssh_packet *packet)
static u8 ssh_packet_get_seq(struct ssh_packet *packet)
void ssh_packet_init(struct ssh_packet *packet, unsigned long type,
const unsigned int size = sizeof(struct ssh_packet) + SSH_MSG_LEN_CTRL;
const unsigned int align = __alignof__(struct ssh_packet);
static int ssh_ctrl_packet_alloc(struct ssh_packet **packet,
static void ssh_ctrl_packet_free(struct ssh_packet *p)
static void ssh_packet_next_try(struct ssh_packet *p)
static struct list_head *__ssh_ptl_queue_find_entrypoint(struct ssh_packet *p)
struct ssh_packet *q;
q = list_entry(head, struct ssh_packet, queue_node);
q = list_entry(head, struct ssh_packet, queue_node);
static int __ssh_ptl_queue_push(struct ssh_packet *packet)
static int ssh_ptl_queue_push(struct ssh_packet *packet)
static void ssh_ptl_queue_remove(struct ssh_packet *packet)
static void ssh_ptl_pending_push(struct ssh_packet *p)
static void ssh_ptl_pending_remove(struct ssh_packet *packet)
static void __ssh_ptl_complete(struct ssh_packet *p, int status)
static void ssh_ptl_remove_and_complete(struct ssh_packet *p, int status)
static bool ssh_ptl_tx_can_process(struct ssh_packet *packet)
static struct ssh_packet *ssh_ptl_tx_pop(struct ssh_ptl *ptl)
struct ssh_packet *packet = ERR_PTR(-ENOENT);
struct ssh_packet *p, *n;
static struct ssh_packet *ssh_ptl_tx_next(struct ssh_ptl *ptl)
struct ssh_packet *p;
static void ssh_ptl_tx_compl_success(struct ssh_packet *packet)
static void ssh_ptl_tx_compl_error(struct ssh_packet *packet, int status)
int ssh_ptl_submit(struct ssh_ptl *ptl, struct ssh_packet *p);
void ssh_ptl_cancel(struct ssh_packet *p);
void ssh_packet_init(struct ssh_packet *packet, unsigned long type,
static void ssh_rtl_packet_callback(struct ssh_packet *p, int status)
static void ssh_rtl_packet_release(struct ssh_packet *p)
static inline u16 ssam_trace_get_packet_seq(const struct ssh_packet *p)
static inline u32 ssam_trace_get_request_id(const struct ssh_packet *p)
static inline u32 ssam_trace_get_request_tid(const struct ssh_packet *p)
static inline u32 ssam_trace_get_request_sid(const struct ssh_packet *p)
static inline u32 ssam_trace_get_request_tc(const struct ssh_packet *p)
TP_PROTO(const struct ssh_packet *packet),
TP_PROTO(const struct ssh_packet *packet), \
TP_PROTO(const struct ssh_packet *packet, int status),
TP_PROTO(const struct ssh_packet *packet, int status), \
const struct ssh_packet *p = &request->packet;
const struct ssh_packet *p = &request->packet;
struct ssh_packet;
void (*release)(struct ssh_packet *p);
void (*complete)(struct ssh_packet *p, int status);
struct ssh_packet *ssh_packet_get(struct ssh_packet *p);
void ssh_packet_put(struct ssh_packet *p);
static inline void ssh_packet_set_data(struct ssh_packet *p, u8 *ptr, size_t len)
struct ssh_packet packet;
static inline struct ssh_request *to_ssh_request(struct ssh_packet *p)