ReactOS 0.4.15-dev-8636-g945e856
|
#include <stdio.h>
#include "nfs41_ops.h"
#include "nfs41_callback.h"
#include "util.h"
#include "daemon_debug.h"
Go to the source code of this file.
Classes | |
struct | pnfs_layout_list |
struct | layout_recall |
Macros | |
#define | FLLVL 2 /* dprintf level for file layout logging */ |
#define | state_entry(pos) list_container(pos, pnfs_layout_state, entry) |
#define | layout_entry(pos) list_container(pos, pnfs_layout, entry) |
#define | file_layout_entry(pos) list_container(pos, pnfs_file_layout, layout.entry) |
#define | recall_entry(pos) list_container(pos, struct layout_recall, layout.entry) |
#define file_layout_entry | ( | pos | ) | list_container(pos, pnfs_file_layout, layout.entry) |
Definition at line 41 of file pnfs_layout.c.
Definition at line 30 of file pnfs_layout.c.
#define layout_entry | ( | pos | ) | list_container(pos, pnfs_layout, entry) |
Definition at line 40 of file pnfs_layout.c.
#define recall_entry | ( | pos | ) | list_container(pos, struct layout_recall, layout.entry) |
Definition at line 872 of file pnfs_layout.c.
#define state_entry | ( | pos | ) | list_container(pos, pnfs_layout_state, entry) |
Definition at line 39 of file pnfs_layout.c.
|
static |
|
static |
Definition at line 575 of file pnfs_layout.c.
Referenced by device_fetch().
|
static |
Definition at line 596 of file pnfs_layout.c.
Referenced by pnfs_layout_state_prepare().
|
static |
Definition at line 553 of file pnfs_layout.c.
Referenced by pnfs_layout_state_prepare().
|
static |
Definition at line 418 of file pnfs_layout.c.
Referenced by layout_fetch().
|
static |
Definition at line 67 of file pnfs_layout.c.
Referenced by layout_allocate_copy(), layout_recall_range(), layout_state_free_layouts(), layout_state_merge(), and layout_update_range().
|
static |
Definition at line 1032 of file pnfs_layout.c.
Referenced by file_layout_recall_all(), file_layout_recall_file(), and file_layout_recall_fsid().
|
static |
Definition at line 1147 of file pnfs_layout.c.
Referenced by pnfs_file_layout_recall().
|
static |
Definition at line 1085 of file pnfs_layout.c.
Referenced by pnfs_file_layout_recall().
|
static |
Definition at line 1114 of file pnfs_layout.c.
Referenced by pnfs_file_layout_recall().
|
static |
Definition at line 765 of file pnfs_layout.c.
Referenced by pnfs_layout_state_close().
|
static |
Definition at line 628 of file pnfs_layout.c.
Referenced by pnfs_layout_state_open().
|
static |
Definition at line 1107 of file pnfs_layout.c.
Referenced by file_layout_recall_fsid().
|
static |
Definition at line 885 of file pnfs_layout.c.
Referenced by layout_recall_range().
|
static |
Definition at line 477 of file pnfs_layout.c.
Referenced by pnfs_layout_state_prepare().
|
static |
Definition at line 101 of file pnfs_layout.c.
Referenced by layout_entry_find().
|
static |
Definition at line 112 of file pnfs_layout.c.
Referenced by file_layout_recall_file(), layout_state_find_and_delete(), and layout_state_find_or_create().
|
static |
Definition at line 504 of file pnfs_layout.c.
Referenced by pnfs_layout_state_prepare().
|
static |
|
static |
Definition at line 251 of file pnfs_layout.c.
Referenced by layout_state_merge().
|
static |
Definition at line 317 of file pnfs_layout.c.
Referenced by layout_recall_range(), and layout_update_range().
|
static |
Definition at line 874 of file pnfs_layout.c.
Referenced by layout_recall_range(), and pnfs_layout_recall_status().
|
static |
Definition at line 975 of file pnfs_layout.c.
Referenced by file_layout_recall().
|
static |
Definition at line 992 of file pnfs_layout.c.
Referenced by file_layout_recall(), and pnfs_layout_recall_fenced().
|
static |
Definition at line 916 of file pnfs_layout.c.
Referenced by file_layout_recall(), and layout_state_deferred_recalls().
|
static |
Definition at line 758 of file pnfs_layout.c.
Referenced by file_layout_return().
|
static |
Definition at line 227 of file pnfs_layout.c.
Referenced by layout_update_range().
|
static |
Definition at line 43 of file pnfs_layout.c.
Referenced by layout_state_find_or_create().
|
static |
Definition at line 960 of file pnfs_layout.c.
Referenced by pnfs_layout_io_finished().
|
static |
Definition at line 194 of file pnfs_layout.c.
Referenced by pnfs_layout_state_close().
|
static |
Definition at line 154 of file pnfs_layout.c.
Referenced by pnfs_layout_state_open().
|
static |
Definition at line 93 of file pnfs_layout.c.
Referenced by layout_state_find_and_delete(), and pnfs_layout_list_free().
|
static |
Definition at line 75 of file pnfs_layout.c.
Referenced by file_layout_return(), and layout_state_free().
|
static |
|
static |
Definition at line 286 of file pnfs_layout.c.
Referenced by layout_update_range(), and pnfs_layout_io_finished().
|
static |
Definition at line 393 of file pnfs_layout.c.
Referenced by file_layout_fetch().
|
static |
Definition at line 341 of file pnfs_layout.c.
Referenced by layout_update().
|
static |
Definition at line 374 of file pnfs_layout.c.
Referenced by layout_update().
|
static |
Definition at line 637 of file pnfs_layout.c.
Referenced by pnfs_layout_state_open().
enum pnfs_status pnfs_file_layout_recall | ( | IN nfs41_client * | client, |
IN const struct cb_layoutrecall_args * | recall | ||
) |
Definition at line 1171 of file pnfs_layout.c.
void pnfs_layout_io_finished | ( | IN pnfs_layout_state * | state | ) |
Definition at line 1267 of file pnfs_layout.c.
Referenced by pattern_free().
void pnfs_layout_io_start | ( | IN pnfs_layout_state * | state | ) |
Definition at line 1257 of file pnfs_layout.c.
Referenced by pattern_init().
enum pnfs_status pnfs_layout_list_create | ( | OUT struct pnfs_layout_list ** | layouts_out | ) |
Definition at line 121 of file pnfs_layout.c.
Referenced by pnfs_client_init().
void pnfs_layout_list_free | ( | IN struct pnfs_layout_list * | layouts | ) |
Definition at line 139 of file pnfs_layout.c.
Referenced by nfs41_client_free(), and pnfs_client_init().
void pnfs_layout_recall_fenced | ( | IN pnfs_layout_state * | state, |
IN const pnfs_layout * | layout | ||
) |
Definition at line 1233 of file pnfs_layout.c.
Referenced by map_ds_error().
enum pnfs_status pnfs_layout_recall_status | ( | IN const pnfs_layout_state * | state, |
IN const pnfs_layout * | layout | ||
) |
Definition at line 1211 of file pnfs_layout.c.
Referenced by thread_next_unit().
void pnfs_layout_state_close | ( | IN nfs41_session * | session, |
IN nfs41_open_state * | state, | ||
IN bool_t | remove | ||
) |
Definition at line 830 of file pnfs_layout.c.
enum pnfs_status pnfs_layout_state_open | ( | IN nfs41_open_state * | state, |
OUT pnfs_layout_state ** | layout_out | ||
) |
Definition at line 653 of file pnfs_layout.c.
enum pnfs_status pnfs_layout_state_prepare | ( | IN pnfs_layout_state * | state, |
IN nfs41_session * | session, | ||
IN nfs41_path_fh * | meta_file, | ||
IN stateid_arg * | stateid, | ||
IN enum pnfs_iomode | iomode, | ||
IN uint64_t | offset, | ||
IN uint64_t | length | ||
) |
Definition at line 706 of file pnfs_layout.c.
|
static |
Definition at line 220 of file pnfs_layout.c.
Referenced by layout_merge_segments(), layout_sanity_check(), write_range_tfs(), and write_remoting_arg().