Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
fuse_req Struct Reference

#include <fuse_i.h>

Data Fields

struct list_head list
 
struct list_head intr_entry
 
atomic_t count
 
u64 intr_unique
 
unsigned isreply:1
 
unsigned force:1
 
unsigned aborted:1
 
unsigned background:1
 
unsigned interrupted:1
 
unsigned locked:1
 
unsigned waiting:1
 
enum fuse_req_state state
 
struct fuse_in in
 
struct fuse_out out
 
wait_queue_head_t waitq
 
union {
   struct {
      union {
         struct fuse_release_in   in
 
         struct work_struct   work
 
      } 
 
      struct path   path
 
   }   release
 
   struct fuse_init_in   init_in
 
   struct fuse_init_out   init_out
 
   struct cuse_init_in   cuse_init_in
 
   struct {
      struct fuse_read_in   in
 
      u64   attr_ver
 
   }   read
 
   struct {
      struct fuse_write_in   in
 
      struct fuse_write_out   out
 
   }   write
 
   struct fuse_notify_retrieve_in   retrieve_in
 
   struct fuse_lk_in   lk_in
 
misc
 
struct pagepages [FUSE_MAX_PAGES_PER_REQ]
 
unsigned num_pages
 
unsigned page_offset
 
struct fuse_fileff
 
struct inodeinode
 
struct list_head writepages_entry
 
void(* end )(struct fuse_conn *, struct fuse_req *)
 
struct filestolen_file
 

Detailed Description

A request to the client

Definition at line 216 of file fuse_i.h.

Field Documentation

unsigned aborted

The request was aborted

Definition at line 243 of file fuse_i.h.

u64 attr_ver

Definition at line 283 of file fuse_i.h.

unsigned background

Request is sent in the background

Definition at line 246 of file fuse_i.h.

atomic_t count

refcount

Definition at line 225 of file fuse_i.h.

Definition at line 280 of file fuse_i.h.

Request completion callback

Definition at line 312 of file fuse_i.h.

File used in the request (or NULL)

Definition at line 303 of file fuse_i.h.

unsigned force

Force sending of the request even if interrupted

Definition at line 240 of file fuse_i.h.

The request input

Definition at line 261 of file fuse_i.h.

Definition at line 273 of file fuse_i.h.

Definition at line 282 of file fuse_i.h.

Definition at line 286 of file fuse_i.h.

Definition at line 278 of file fuse_i.h.

Definition at line 279 of file fuse_i.h.

Inode used in the request or NULL

Definition at line 306 of file fuse_i.h.

unsigned interrupted

The request has been interrupted

Definition at line 249 of file fuse_i.h.

struct list_head intr_entry

Entry on the interrupts list

Definition at line 222 of file fuse_i.h.

u64 intr_unique

Unique ID for the interrupt request

Definition at line 228 of file fuse_i.h.

unsigned isreply

True if the request has reply

Definition at line 237 of file fuse_i.h.

This can be on either pending processing or io lists in fuse_conn

Definition at line 219 of file fuse_i.h.

Definition at line 290 of file fuse_i.h.

unsigned locked

Data is being copied to/from the request

Definition at line 252 of file fuse_i.h.

union { ... } misc
unsigned num_pages

number of pages in vector

Definition at line 297 of file fuse_i.h.

The request output

Definition at line 264 of file fuse_i.h.

Definition at line 287 of file fuse_i.h.

unsigned page_offset

offset of data on first page

Definition at line 300 of file fuse_i.h.

page vector

Definition at line 294 of file fuse_i.h.

Definition at line 276 of file fuse_i.h.

struct { ... } read
struct { ... } release

Definition at line 289 of file fuse_i.h.

State of the request

Definition at line 258 of file fuse_i.h.

struct file* stolen_file

Request is stolen from fuse_file->reserved_req

Definition at line 315 of file fuse_i.h.

unsigned waiting

Request is counted as "waiting"

Definition at line 255 of file fuse_i.h.

Used to wake up the task waiting for completion of request

Definition at line 267 of file fuse_i.h.

Definition at line 274 of file fuse_i.h.

struct { ... } write
struct list_head writepages_entry

Link on fi->writepages

Definition at line 309 of file fuse_i.h.


The documentation for this struct was generated from the following file: