Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | gru_message_queue_desc |
Macros | |
#define | MQE_OK 0 /* message sent successfully */ |
#define | MQE_CONGESTION 1 /* temporary congestion, try again */ |
#define | MQE_QUEUE_FULL 2 /* queue is full */ |
#define | MQE_UNEXPECTED_CB_ERR 3 /* unexpected CB error */ |
#define | MQE_PAGE_OVERFLOW 10 /* BUG - queue overflowed a page */ |
#define | MQE_BUG_NO_RESOURCES 11 /* BUG - could not alloc GRU cb/dsr */ |
Functions | |
int | gru_create_message_queue (struct gru_message_queue_desc *mqd, void *p, unsigned int bytes, int nasid, int vector, int apicid) |
int | gru_send_message_gpa (struct gru_message_queue_desc *mqd, void *mesg, unsigned int bytes) |
void | gru_free_message (struct gru_message_queue_desc *mqd, void *mesq) |
void * | gru_get_next_message (struct gru_message_queue_desc *mqd) |
int | gru_read_gpa (unsigned long *value, unsigned long gpa) |
int | gru_copy_gpa (unsigned long dest_gpa, unsigned long src_gpa, unsigned int bytes) |
unsigned long | gru_reserve_async_resources (int blade_id, int cbrs, int dsr_bytes, struct completion *cmp) |
void | gru_release_async_resources (unsigned long han) |
void | gru_wait_async_cbr (unsigned long han) |
void | gru_lock_async_resource (unsigned long han, void **cb, void **dsr) |
void | gru_unlock_async_resource (unsigned long han) |
Definition at line 103 of file grukservices.h.
#define MQE_CONGESTION 1 /* temporary congestion, try again */ |
Definition at line 99 of file grukservices.h.
#define MQE_OK 0 /* message sent successfully */ |
Definition at line 98 of file grukservices.h.
Definition at line 102 of file grukservices.h.
Definition at line 100 of file grukservices.h.
#define MQE_UNEXPECTED_CB_ERR 3 /* unexpected CB error */ |
Definition at line 101 of file grukservices.h.
Definition at line 929 of file grukservices.c.
int gru_create_message_queue | ( | struct gru_message_queue_desc * | mqd, |
void * | p, | ||
unsigned int | bytes, | ||
int | nasid, | ||
int | vector, | ||
int | apicid | ||
) |
Definition at line 552 of file grukservices.c.
void gru_free_message | ( | struct gru_message_queue_desc * | mqd, |
void * | mesq | ||
) |
Definition at line 838 of file grukservices.c.
void* gru_get_next_message | ( | struct gru_message_queue_desc * | mqd | ) |
Definition at line 870 of file grukservices.c.
Definition at line 366 of file grukservices.c.
Definition at line 906 of file grukservices.c.
Definition at line 332 of file grukservices.c.
unsigned long gru_reserve_async_resources | ( | int | blade_id, |
int | cbrs, | ||
int | dsr_bytes, | ||
struct completion * | cmp | ||
) |
Definition at line 297 of file grukservices.c.
int gru_send_message_gpa | ( | struct gru_message_queue_desc * | mqd, |
void * | mesg, | ||
unsigned int | bytes | ||
) |
Definition at line 797 of file grukservices.c.
Definition at line 386 of file grukservices.c.
Definition at line 349 of file grukservices.c.