Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
page to be flushed.

flush_icache_page - Flush a page from the dcache and invalidate the icache : The VMA the page is part of.

Write a page back from the dcache and invalidate the icache so that we can run code from it that we've just written into it

struct efx_rx_buffer - An Efx RX data buffer : DMA base address of the buffer : The associated socket buffer. Valid iff !( & EFX_RX_BUF_PAGE). Will be NULL if the buffer slot is currently free.

Will be NULL if the buffer slot is currently free. : Buffer length, in bytes. : Flags for buffer and packet state.

: The fsdata (unused)

gfs2_writepage_common - Common bits of writepage

: The writeback control

Returns: 1 if writepage is ok, otherwise an error code or zero if no error.

gfs2_writeback_writepage - Write page for writeback mappings

: The writeback control

gfs2_ordered_writepage - Write page for ordered data files

: The writeback control

__gfs2_jdata_writepage - The core of jdata writepage

: The writeback control

This is shared between writepage and writepages and implements the core of the writepage operation. If a transaction is required then PageChecked will have been set and the transaction will have already been started before this is called.

This is the core of gfs2's readpage. Its used by the internal file reading code as in that case we already hold the glock. Also its called by gfs2_readpage() once the required lock has been granted.

This deals with the locking required. We have to unlock and relock the page in order to get the locking in the right order.

gfs2_stuffed_write_end - Write end for stuffed files : The inode : The buffer_head containing the on-disk inode : The file position : The length of the write : How much was actually copied by the VFS

This copies the data from the page into the inode block after the inode data structure itself.

Returns: errno

: The fsdata (unused in GFS2)

The main write_end function for GFS2. We have a separate one for stuffed files as they are slightly different, otherwise we just put our locking around the VFS provided functions.

Returns: errno

gfs2_set_page_dirty - Page dirtying function

Returns: 1 if it dirtyed the page, or 0 otherwise

gfs2_unstuffer_page - unstuff a stuffed inode into a block cached by a page : the inode : the dinode buffer : the block number that was allocated

Returns: errno

gfs2_unstuff_dinode - Unstuff a dinode when the data has grown too big : The GFS2 inode to unstuff

This routine unstuffs a dinode and returns it to a "normal" state such that the height can be grown in the traditional way.

Returns: errno

gfs2_allocate_page_backing - Use bmap to allocate blocks

We try to allocate all the blocks required for the page in one go. This might fail for various reasons, so we keep trying until all the blocks to back this page are allocated. If some of the blocks are already allocated, thats ok too.

gfs2_page_mkwrite - Make a shared, mmap()ed, page writable : The virtual memory area

When the page becomes writable, we need to ensure that we have blocks allocated on disk to back that page.

gfs2_log_write_page - write one block stored in a page, into the log : The superblock

This writes the first block-sized part of the page into the log. Note that the page must have been allocated from the gfs2_page_pool mempool and that after this has been called, ownership has been transferred and the page may be freed at any time.

struct ttm_bo_kmap_obj

: The current kernel virtual address.

: Type of bo_kmap.

Object describing a kernel mapping. Since a TTM bo may be located in various memory types with various caching policies, the mapping can either be an ioremap, a vmap, a kmap or part of a premapped region.

fscache_end_io - End a retrieval operation on a page : The FS-Cache operation covering the retrieval

: The error code (0 if successful)

Note the end of an operation to retrieve a page, as covered by a particular operation record.

fscache_read_or_alloc_page - Read a page from the cache or allocate a block in which to store it : The cookie representing the cache object

: The callback to invoke when and if the page is filled : An arbitrary piece of data to pass on to end_io_func() : The conditions under which memory allocation should be made

Read a page from the cache, or if that's not possible make a potential one-block reservation in the cache into which the page may be stored once fetched from the server.

If the page is not backed by the cache object, or if it there's some reason it can't be, -ENOBUFS will be returned and nothing more will be done for that page.

Else, if that page is backed by the cache, a read will be initiated directly to the netfs's page and 0 will be returned by this function. The end_io_func() callback will be invoked when the operation terminates on a completion or failure. Note that the callback may be invoked before the return.

Else, if the page is unbacked, -ENODATA is returned and a block may have been allocated in the cache.

See Documentation/filesystems/caching/netfs-api.txt for a complete description.

fscache_alloc_page - Allocate a block in which to store a page : The cookie representing the cache object

: The conditions under which memory allocation should be made

Request Allocation a block in the cache in which to store a netfs page without retrieving any contents from the cache.

If the page is not backed by a file then -ENOBUFS will be returned and nothing more will be done, and no reservation will be made.

Else, a block will be allocated if one wasn't already, and 0 will be returned

See Documentation/filesystems/caching/netfs-api.txt for a complete description.

fscache_write_page - Request storage of a page in the cache : The cookie representing the cache object

: The conditions under which memory allocation should be made

Request the contents of the netfs page be written into the cache. This request may be ignored if no cache block is currently allocated, in which case it will return -ENOBUFS.

If a cache block was already allocated, a write will be initiated and 0 will be returned. The PG_fscache_write page bit is set immediately and will then be cleared at the completion of the write to indicate the success or failure of the operation. Note that the completion may happen before the return.

See Documentation/filesystems/caching/netfs-api.txt for a complete description.

fscache_uncache_page - Indicate that caching is no longer required on a page : The cookie representing the cache object

Tell the cache that we no longer want a page to be cached and that it should remove any knowledge of the netfs page it may have.

Note that this cannot cancel any outstanding I/O operations between this page and the cache.

See Documentation/filesystems/caching/netfs-api.txt for a complete description.

fscache_check_page_write - Ask if a page is being writing to the cache : The cookie representing the cache object

Ask the cache if a page is being written to the cache.

See Documentation/filesystems/caching/netfs-api.txt for a complete description.

fscache_wait_on_page_write - Wait for a page to complete writing to the cache : The cookie representing the cache object

Ask the cache to wake us up when a page is no longer being written to the cache.

See Documentation/filesystems/caching/netfs-api.txt for a complete description.

fscache_maybe_release_page - Consider releasing a page, cancelling a store : The cookie representing the cache object

: The gfp flags passed to releasepage()

Consider releasing a page for the vmscan algorithm, on behalf of the netfs's releasepage() call. A storage request on the page may cancelled if it is not currently being processed.

The function returns true if the page no longer has a storage request on it, and false if a storage request is left in place. If true is returned, the page will have been passed to fscache_uncache_page(). If false is returned the page cannot be freed yet.

page_has_private - Determine if page has private stuff

Determine if a page has private stuff, indicating that release routines should be invoked upon it.

sg_assign_page - Assign a given page to an SG entry : SG entry

Description: Assign page to sg entry. Also see sg_set_page(), the most commonly used variant.

sg_set_page - Set sg entry to point at given page : SG entry

: Length of data : Offset into page

Description: Use this function to set an sg entry pointing at a page, never assign the page directly. We encode sg table information in the lower bits of the page pointer. See sg_page() for looking up the page belonging to an sg entry.

ib_dma_map_page - Map a physical page to DMA address : The device for which the dma_addr is to be created

: The offset within the page : The size of the region in bytes : The direction of the DMA

struct fcoe_percpu_s - The context for FCoE receive thread(s) : The thread context : The queue of pending packets to process

: The offset into the CRC page pointing to available memory for a new trailer

ring_buffer_page_len - the size of data on the page.

Returns the amount of data on the page, including buffer page header.

get_pageblock_flags_group - Return the requested group of flags for the pageblock_nr_pages block of pages

: The first bit of interest to retrieve : The last bit of interest returns pageblock_bits flags

set_pageblock_flags_group - Set the requested group of flags for a pageblock_nr_pages block of pages

: The first bit of interest : The last bit of interest : The flags to set