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

#include <loop.h>

Data Fields

int lo_number
 
int lo_refcnt
 
loff_t lo_offset
 
loff_t lo_sizelimit
 
int lo_flags
 
int(* transfer )(struct loop_device *, int cmd, struct page *raw_page, unsigned raw_off, struct page *loop_page, unsigned loop_off, int size, sector_t real_block)
 
char lo_file_name [LO_NAME_SIZE]
 
char lo_crypt_name [LO_NAME_SIZE]
 
char lo_encrypt_key [LO_KEY_SIZE]
 
int lo_encrypt_key_size
 
struct loop_func_tablelo_encryption
 
__u32 lo_init [2]
 
kuid_t lo_key_owner
 
int(* ioctl )(struct loop_device *, int cmd, unsigned long arg)
 
struct filelo_backing_file
 
struct block_devicelo_device
 
unsigned lo_blocksize
 
voidkey_data
 
gfp_t old_gfp_mask
 
spinlock_t lo_lock
 
struct bio_list lo_bio_list
 
int lo_state
 
struct mutex lo_ctl_mutex
 
struct task_structlo_thread
 
wait_queue_head_t lo_event
 
struct request_queuelo_queue
 
struct gendisk * lo_disk
 

Detailed Description

Definition at line 27 of file loop.h.

Field Documentation

int(* ioctl)(struct loop_device *, int cmd, unsigned long arg)

Definition at line 44 of file loop.h.

void* key_data

Definition at line 50 of file loop.h.

struct file* lo_backing_file

Definition at line 47 of file loop.h.

struct bio_list lo_bio_list

Definition at line 55 of file loop.h.

unsigned lo_blocksize

Definition at line 49 of file loop.h.

char lo_crypt_name[LO_NAME_SIZE]

Definition at line 38 of file loop.h.

struct mutex lo_ctl_mutex

Definition at line 57 of file loop.h.

struct block_device* lo_device

Definition at line 48 of file loop.h.

struct gendisk* lo_disk

Definition at line 62 of file loop.h.

char lo_encrypt_key[LO_KEY_SIZE]

Definition at line 39 of file loop.h.

int lo_encrypt_key_size

Definition at line 40 of file loop.h.

struct loop_func_table* lo_encryption

Definition at line 41 of file loop.h.

Definition at line 59 of file loop.h.

char lo_file_name[LO_NAME_SIZE]

Definition at line 37 of file loop.h.

int lo_flags

Definition at line 32 of file loop.h.

__u32 lo_init[2]

Definition at line 42 of file loop.h.

kuid_t lo_key_owner

Definition at line 43 of file loop.h.

spinlock_t lo_lock

Definition at line 54 of file loop.h.

int lo_number

Definition at line 28 of file loop.h.

loff_t lo_offset

Definition at line 30 of file loop.h.

struct request_queue* lo_queue

Definition at line 61 of file loop.h.

int lo_refcnt

Definition at line 29 of file loop.h.

loff_t lo_sizelimit

Definition at line 31 of file loop.h.

int lo_state

Definition at line 56 of file loop.h.

struct task_struct* lo_thread

Definition at line 58 of file loop.h.

gfp_t old_gfp_mask

Definition at line 52 of file loop.h.

int(* transfer)(struct loop_device *, int cmd, struct page *raw_page, unsigned raw_off, struct page *loop_page, unsigned loop_off, int size, sector_t real_block)

Definition at line 33 of file loop.h.


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