ZFCP_SG_LIST_ALLOC
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
zfcp_sg_list_alloc - create a scatter-gather list of the specified size
SYNOPSIS
"SYNOPSIS"
int zfcp_sg_list_alloc (struct zfcp_sg_list * sg_list, size_t size);
ARGUMENTS
- sg_list
-
structure describing a scatter gather list
- size
-
size of scatter-gather list
RETURN
0 on success, else -ENOMEM
In sg_list->sg a pointer to the created scatter-gather list is returned,
or NULL if we run out of memory. sg_list->count specifies the number of
elements of the scatter-gather list. The maximum size of a single element
in the scatter-gather list is PAGE_SIZE.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- RETURN
-
This document was created by
man2html,
using the manual pages.
Time: 00:03:03 GMT, October 09, 2005