struct arbelprm_rc_send_wqe rc
int printf(const char *fmt,...)
Write a formatted string to the console.
int parse_timeout(char *text, unsigned long *value)
Parse timeout value (in ms)
int parse_options(int argc, char **argv, struct command_descriptor *cmd, void *opts)
Parse command-line options.
static struct command_descriptor sync_cmd
"sync" command descriptor
struct command sync_command __command
Sync commands.
static struct option_descriptor sync_opts[]
"sync" option list
Parse command-line options.
int sync(unsigned long timeout)
Wait for pending operations to complete.
char * strerror(int errno)
Retrieve string representation of error number.
Command line option parsing.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
unsigned long timeout
Timeout.
const char * name
Name of the command.
static int sync_exec(int argc, char **argv)
"sync" command
Wait for pending operations to complete.
#define OPTION_DESC(_longopt, _shortopt, _has_arg, _struct, _field, _parse)
Construct option descriptor.
Option requires an argument.
A command-line option descriptor.
#define COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage)
Construct command descriptor.
static union @438 opts
"cert<xxx>" option list
#define NULL
NULL pointer (VOID *)