liblustre


Data Structures

struct  cfs_rcu_head
struct  iattr
struct  lustre_intent_data
struct  lookup_intent
struct  dentry
struct  vfsmount
struct  signal
struct  task_struct
struct  liblustre_wait_callback
struct  nfs_lock_info
struct  file_lock
struct  posix_acl_entry
struct  posix_acl
struct  xattr_acl_entry
struct  xattr_acl_header

Defines

#define KERNEL_VERSION(a, b, c)   ((a)*100+(b)*10+c)
#define LINUX_VERSION_CODE   KERNEL_VERSION(2,6,5)
#define page_private(page)   ((page)->private)
#define set_page_private(page, v)   ((page)->private = (v))
#define EXPORT_SYMBOL(S)
#define min(x, y)   ((x)<(y) ? (x) : (y))
#define max(x, y)   ((x)>(y) ? (x) : (y))
#define min_t(type, x, y)   ({ type __x = (x); type __y = (y); __x < __y ? __x: __y; })
#define max_t(type, x, y)   ({ type __x = (x); type __y = (y); __x > __y ? __x: __y; })
#define simple_strtol   strtol
#define ERESTARTSYS   ERESTART
#define CFS_HZ   1
#define cfs_num_physpages   (256 * 1024)
#define CFS_NUM_CACHEPAGES   cfs_num_physpages
#define ATTR_MODE   0x0001
#define ATTR_UID   0x0002
#define ATTR_GID   0x0004
#define ATTR_SIZE   0x0008
#define ATTR_ATIME   0x0010
#define ATTR_MTIME   0x0020
#define ATTR_CTIME   0x0040
#define ATTR_ATIME_SET   0x0080
#define ATTR_MTIME_SET   0x0100
#define ATTR_FORCE   0x0200
#define ATTR_ATTR_FLAG   0x0400
#define ATTR_RAW   0x0800
#define ATTR_FROM_OPEN   0x1000
#define ATTR_CTIME_SET   0x2000
#define ATTR_BLOCKS   0x4000
#define ATTR_KILL_SUID   0
#define ATTR_KILL_SGID   0
#define ll_iattr   iattr
#define IT_OPEN   0x0001
#define IT_CREAT   0x0002
#define IT_READDIR   0x0004
#define IT_GETATTR   0x0008
#define IT_LOOKUP   0x0010
#define IT_UNLINK   0x0020
#define IT_GETXATTR   0x0040
#define IT_EXEC   0x0080
#define IT_PIN   0x0100
#define IT_FL_LOCKED   0x0001
#define IT_FL_FOLLOWED   0x0002
#define INTENT_MAGIC   0x19620323
#define cfs_current()   current
#define cfs_curproc_pid()   (current->pid)
#define cfs_curproc_comm()   (current->comm)
#define cfs_curproc_fsuid()   (current->fsuid)
#define cfs_curproc_fsgid()   (current->fsgid)
#define cfs_set_current_state(foo)   do { current->state = foo; } while (0)
#define cfs_wait_event_interruptible(wq, condition, ret)
#define cfs_lock_kernel()   do {} while (0)
#define cfs_unlock_kernel()   do {} while (0)
#define daemonize(l)   do {} while (0)
#define sigfillset(l)   do {} while (0)
#define recalc_sigpending(l)   do {} while (0)
#define USERMODEHELPER(path, argv, envp)   (0)
#define SIGNAL_MASK_ASSERT()
#define CFS_KERN_INFO
#define jiffies
#define get_jiffies_64()   (__u64)jiffies
#define likely(exp)   (exp)
#define unlikely(exp)   (exp)
#define cfs_might_sleep()
#define might_sleep_if(c)
#define smp_mb()
#define libcfs_memory_pressure_get()   (0)
#define libcfs_memory_pressure_put()   do {} while (0)
#define libcfs_memory_pressure_clr()   do {} while (0)
#define cfs_flock_type(fl)   ((fl)->fl_type)
#define cfs_flock_set_type(fl, type)   do { (fl)->fl_type = (type); } while(0)
#define cfs_flock_pid(fl)   ((fl)->fl_pid)
#define cfs_flock_set_pid(fl, pid)   do { (fl)->fl_pid = (pid); } while(0)
#define cfs_flock_start(fl)   ((fl)->fl_start)
#define cfs_flock_set_start(fl, start)   do { (fl)->fl_start = (start); } while(0)
#define cfs_flock_end(fl)   ((fl)->fl_end)
#define cfs_flock_set_end(fl, end)   do { (fl)->fl_end = (end); } while(0)
#define INT_LIMIT(x)   (~((x)1 << (sizeof(x)*8 - 1)))
#define OFFSET_MAX   INT_LIMIT(loff_t)
#define FL_POSIX   1
#define FL_SLEEP   128
#define QUOTA_OK   0
#define NO_QUOTA   1
#define ENOTSUPP   ENOTSUP

Typedefs

typedef cfs_rcu_head cfs_rcu_head_t
typedef __u64 kdev_t
typedef task_struct cfs_task_t
typedef _cap_struct * cap_t
typedef int cap_value_t
typedef file_lock cfs_flock_t
typedef int mm_segment_t

Enumerations

enum  cap_flag_t { CAP_EFFECTIVE = 0, CAP_PERMITTED = 1, CAP_INHERITABLE = 2 }
enum  cap_flag_value_t { CAP_CLEAR = 0, CAP_SET = 1 }
enum  { KERNEL_DS, USER_DS }

Functions

void * inter_module_get (char *arg)
int init_obdclass (void)
int ptlrpc_init (void)
int ldlm_init (void)
int osc_init (void)
int lov_init (void)
int mdc_init (void)
int lmv_init (void)
int mgc_init (void)
int echo_client_init (void)
void cfs_get_random_bytes (void *ptr, int size)
int cfs_curproc_is_in_groups (gid_t gid)
cap_t cap_get_proc (void)
int cap_get_flag (cap_t, cap_value_t, cap_flag_t, cap_flag_value_t *)
void * liblustre_register_wait_callback (const char *name, int(*fn)(void *arg), void *arg)
void liblustre_deregister_wait_callback (void *notifier)
int liblustre_wait_event (int timeout)
void * liblustre_register_idle_callback (const char *name, int(*fn)(void *arg), void *arg)
void liblustre_deregister_idle_callback (void *notifier)
void liblustre_wait_idle (void)

Variables

task_struct * current

Define Documentation

#define cfs_wait_event_interruptible ( wq,
condition,
ret   ) 

Value:

{                                                                       \
        struct l_wait_info lwi;                                         \
        int timeout = 100000000;/* for ever */                          \
        int ret;                                                        \
                                                                        \
        lwi = LWI_TIMEOUT(timeout, NULL, NULL);                         \
        ret = l_wait_event(NULL, condition, &lwi);                      \
                                                                        \
        ret;                                                            \
}

#define jiffies

Value:

({                                              \
        unsigned long _ret = 0;                 \
        struct timeval tv;                      \
        if (gettimeofday(&tv, NULL) == 0)       \
                _ret = tv.tv_sec;               \
        _ret;                                   \
})


Generated on Mon Apr 12 04:18:21 2010 for Lustre 1.10.0.40-0-g9a80ff7 by doxygen 1.4.7

Contact | About Sun | News | Employment | Privacy | Terms of Use | Trademarks | (C) 2008 Sun Microsystems, Inc.