Logo Search packages:      
Sourcecode: linux-2.6 version File versions

associated page buffer, if any.

struct efx_rx_buffer - An Efx RX data buffer : DMA base address of the buffer : The associated socket buffer, if any. If both this and page are NULL, the buffer slot is currently free.

If both this and skb are NULL, the buffer slot is currently free. : Pointer to ethernet header : Buffer length, in bytes. : DMA address to unmap

: The fsdata (unused)

This is where we encrypt the data and pass the encrypted data to the lower filesystem. In OpenPGP-compatible mode, we operate on entire underlying packets.

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_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.

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

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

Generated by  Doxygen 1.6.0   Back to index