1 .TH llapi_layout_comp_extent_get 3 "2017 Apr 7" "Lustre User API"
3 llapi_layout_comp_extent_get, llapi_layout_comp_extent_set \- get or set the
4 extent of a layout component.
7 .B #include <lustre/lustreapi.h>
9 .BI "int llapi_layout_comp_extent_get(const struct llapi_layout *" layout ",
10 .BI " uint64_t *" start ", uint64_t *" end );
12 .BI "int llapi_layout_comp_extent_set(const struct llapi_layout *" layout ",
13 .BI " uint64_t " start ", uint64_t "end );
17 The extent [start, end) defines the range of a layout component.
19 .BR llapi_layout_comp_extent_get (3)
20 gets the extent of the current component of
27 .BR llapi_layout_comp_extent_set (3)
28 sets the extent [\fIstart\fR, \fIend\fR) to the current component of
32 .B llapi_layout_comp_extent_get()
34 .B llapi_layout_comp_extent_set()
35 return 0 on success, or -1 if an error occurred (in which case, errno is
40 An invalid argument was specified.
42 .BR llapi_layout_alloc (3),
43 .BR llapi_layout_file_open (3),