Home
last modified time | relevance | path

Searched refs:fio_net_cmd (Results 1 – 5 of 5) sorted by relevance

/external/fio/
Dserver.h18 struct fio_net_cmd { struct
72 FIO_NET_CMD_CRC_SZ = sizeof(struct fio_net_cmd) -
204 extern void fio_net_cmd_crc(struct fio_net_cmd *);
205 extern void fio_net_cmd_crc_pdu(struct fio_net_cmd *, const void *);
206 extern struct fio_net_cmd *fio_net_recv_cmd(int sk);
217 static inline void __fio_init_net_cmd(struct fio_net_cmd *cmd, uint16_t opcode, in __fio_init_net_cmd()
229 static inline void fio_init_net_cmd(struct fio_net_cmd *cmd, uint16_t opcode, in fio_init_net_cmd()
Dclient.c28 static void handle_du(struct fio_client *client, struct fio_net_cmd *cmd);
29 static void handle_ts(struct fio_client *client, struct fio_net_cmd *cmd);
30 static void handle_gs(struct fio_client *client, struct fio_net_cmd *cmd);
31 static void handle_probe(struct fio_client *client, struct fio_net_cmd *cmd);
32 static void handle_text(struct fio_client *client, struct fio_net_cmd *cmd);
33 static void handle_stop(struct fio_client *client, struct fio_net_cmd *cmd);
34 static void handle_start(struct fio_client *client, struct fio_net_cmd *cmd);
924 static void handle_ts(struct fio_client *client, struct fio_net_cmd *cmd) in handle_ts()
957 static void handle_gs(struct fio_client *client, struct fio_net_cmd *cmd) in handle_gs()
964 static void handle_text(struct fio_client *client, struct fio_net_cmd *cmd) in handle_text()
[all …]
Dserver.c154 assert(len <= sizeof(struct fio_net_cmd) + FIO_SERVER_MAX_FRAGMENT_PDU); in fio_send_data()
184 static int verify_convert_cmd(struct fio_net_cmd *cmd) in verify_convert_cmd()
223 struct fio_net_cmd *fio_net_recv_cmd(int sk) in fio_net_recv_cmd()
225 struct fio_net_cmd cmd, *tmp, *cmdret = NULL; in fio_net_recv_cmd()
351 void fio_net_cmd_crc_pdu(struct fio_net_cmd *cmd, const void *pdu) in fio_net_cmd_crc_pdu()
361 void fio_net_cmd_crc(struct fio_net_cmd *cmd) in fio_net_cmd_crc()
369 struct fio_net_cmd *cmd = NULL; in fio_net_send_cmd()
420 struct fio_net_cmd cmd; in fio_net_send_simple_stack_cmd()
461 static int fio_net_send_ack(int sk, struct fio_net_cmd *cmd, int error, in fio_net_send_ack()
567 static int handle_load_file_cmd(struct fio_net_cmd *cmd) in handle_load_file_cmd()
[all …]
Dclient.h11 struct fio_net_cmd;
77 typedef void (client_cmd_op)(struct fio_client *, struct fio_net_cmd *);
Dgclient.c114 static void gfio_text_op(struct fio_client *client, struct fio_net_cmd *cmd) in gfio_text_op()
263 static void gfio_disk_util_op(struct fio_client *client, struct fio_net_cmd *cmd) in gfio_disk_util_op()
289 struct fio_net_cmd *cmd) in gfio_thread_status_op()
312 struct fio_net_cmd *cmd) in gfio_group_stats_op()
535 static void gfio_probe_op(struct fio_client *client, struct fio_net_cmd *cmd)
568 static void gfio_quit_op(struct fio_client *client, struct fio_net_cmd *cmd)
590 static void gfio_add_job_op(struct fio_client *client, struct fio_net_cmd *cmd)
638 struct fio_net_cmd *cmd)
663 static void gfio_client_stop(struct fio_client *client, struct fio_net_cmd *cmd)
677 static void gfio_client_start(struct fio_client *client, struct fio_net_cmd *cmd)
[all …]