stress-ng  0.13.05
About: stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.
  Fossies Dox: stress-ng-0.13.05.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

stress-dev.c File Reference
#include "stress-ng.h"
Include dependency graph for stress-dev.c:

Go to the source code of this file.


static int stress_set_dev_file (const char *opt)


static const stress_help_t help []
static const stress_opt_set_func_t opt_set_funcs []
stressor_info_t stress_dev_info

Function Documentation

◆ stress_set_dev_file()

static int stress_set_dev_file ( const char *  opt)

Definition at line 34 of file stress-dev.c.

References stress_set_setting(), and TYPE_ID_STR.

Variable Documentation

◆ help

const stress_help_t help[]
Initial value:
= {
{ NULL, "dev N", "start N device entry thrashing stressors" },
{ NULL, "dev-ops N", "stop after N device thrashing bogo ops" },
{ NULL, "dev-file name","specify the /dev/ file to exercise" },

Definition at line 27 of file stress-dev.c.

◆ opt_set_funcs

const stress_opt_set_func_t opt_set_funcs[]
Initial value:
= {
{ 0, NULL },
static int stress_set_dev_file(const char *opt)
Definition: stress-dev.c:34
@ OPT_dev_file
Definition: stress-ng.h:2920

Definition at line 39 of file stress-dev.c.

◆ stress_dev_info

stressor_info_t stress_dev_info
Initial value:
= {
.class = (1UL << 11 ) | (1UL << 8 ) ,
.opt_set_funcs = opt_set_funcs,
.help = help
int stress_not_implemented(const stress_args_t *args)
Definition: core-helper.c:1635
static const stress_opt_set_func_t opt_set_funcs[]
Definition: stress-dev.c:39
static const stress_help_t help[]
Definition: stress-dev.c:27

Definition at line 3731 of file stress-dev.c.