qres_gw.h File Reference

Common defines for the US to KS gateway. More...

#include <linux/aquosa/qos_types.h>

Go to the source code of this file.

Data Structures

struct  qres_params_t
 QRES Parameters' specification structure. More...
struct  qres_time_iparams_t
 QRES time info returned by qres_get_exec_time(). More...
struct  qres_attach_iparams_t
struct  qres_iparams_t
 QRES Parameters' internal specification structure. More...
struct  qres_timespec_iparams_t
struct  qres_weight_iparams_t
 Carries weight information for set/get weight. More...

Defines

#define QRES_DEV_NAME   "qosres"
 Name of the QoS Manager device used to * communicate with the kernel module.
#define QRES_MAJOR_NUM   240
 Major number for the QoS Manager device, set * as the first number in the 'local/experimental' * range from Documentation/devices.txt.

Typedefs

typedef struct qres_params_t qres_params_t
 QRES Parameters' specification structure.
typedef struct qres_time_iparams_t qres_time_iparams_t
 QRES time info returned by qres_get_exec_time().
typedef struct
qres_attach_iparams_t 
qres_attach_iparams_t
typedef struct qres_iparams_t qres_iparams_t
 QRES Parameters' internal specification structure.
typedef struct
qres_timespec_iparams_t 
qres_timespec_iparams_t
typedef struct
qres_weight_iparams_t 
qres_weight_iparams_t
 Carries weight information for set/get weight.

Enumerations

enum  qres_op_t {
  QRES_OP_CREATE_SERVER, QRES_OP_DESTROY_SERVER, QRES_OP_ATTACH_TO_SERVER, QRES_OP_DETACH_FROM_SERVER,
  QRES_OP_SET_PARAMS, QRES_OP_GET_PARAMS, QRES_OP_GET_EXEC_TIME, QRES_OP_GET_CURR_BUDGET,
  QRES_OP_GET_SERVER_ID, QRES_OP_GET_NEXT_BUDGET, QRES_OP_GET_APPR_BUDGET, QRES_OP_GET_DEADLINE,
  QRES_OP_SET_WEIGHT, QRES_OP_GET_WEIGHT
}
 

Types of operation that can be requested to the QRES module.

More...

Detailed Description

Common defines for the US to KS gateway.

This file defines the QoS Manager operation codes used to request an operation to the KS running module. See qres_gw_lib.h or qres_gw_lib.c for details.

Definition in file qres_gw.h.


Define Documentation

#define QRES_DEV_NAME   "qosres"

Name of the QoS Manager device used to * communicate with the kernel module.

Definition at line 80 of file qres_gw.h.

Referenced by qres_init_module().

#define QRES_MAJOR_NUM   240

Major number for the QoS Manager device, set * as the first number in the 'local/experimental' * range from Documentation/devices.txt.

Definition at line 85 of file qres_gw.h.

Referenced by qres_init_module().


Typedef Documentation

QRES Parameters' internal specification structure.

Also includes the PID of the affected process, and return parameters from KS to US

typedef struct qres_params_t qres_params_t

QRES Parameters' specification structure.

QRES time info returned by qres_get_exec_time().

Carries weight information for set/get weight.


Enumeration Type Documentation

enum qres_op_t

Types of operation that can be requested to the QRES module.

Enumerator:
QRES_OP_CREATE_SERVER 
QRES_OP_DESTROY_SERVER 
QRES_OP_ATTACH_TO_SERVER 
QRES_OP_DETACH_FROM_SERVER 
QRES_OP_SET_PARAMS 
QRES_OP_GET_PARAMS 
QRES_OP_GET_EXEC_TIME 
QRES_OP_GET_CURR_BUDGET 
QRES_OP_GET_SERVER_ID 
QRES_OP_GET_NEXT_BUDGET 
QRES_OP_GET_APPR_BUDGET 
QRES_OP_GET_DEADLINE 
QRES_OP_SET_WEIGHT 
QRES_OP_GET_WEIGHT 

Definition at line 61 of file qres_gw.h.

Generated on Mon Aug 2 22:39:17 2010 for qosres by  doxygen 1.6.3