Home
last modified time | relevance | path

Searched refs:metapage (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/fs/jfs/
Djfs_metapage.c45 static struct metapage **hash_table = NULL;
49 static inline int metapage_locked(struct metapage *mp) in metapage_locked()
54 static inline int trylock_metapage(struct metapage *mp) in trylock_metapage()
59 static inline void unlock_metapage(struct metapage *mp) in unlock_metapage()
65 static void __lock_metapage(struct metapage *mp) in __lock_metapage()
85 static inline void lock_metapage(struct metapage *mp) in lock_metapage()
98 static struct metapage *reserved_metapages[METAPOOL_MIN_PAGES];
104 struct metapage *mp = (struct metapage *)foo; in init_once()
126 static struct metapage *alloc_metapage(int *dropped_lock, int no_wait) in alloc_metapage()
128 struct metapage *new; in alloc_metapage()
[all …]
Djfs_metapage.h24 struct metapage { struct
38 struct metapage *hash_prev; argument
39 struct metapage *hash_next; /* Also used for free list */ argument
72 extern struct metapage *__get_metapage(struct inode *inode,
82 extern void release_metapage(struct metapage *);
83 extern void hold_metapage(struct metapage *, int);
85 static inline void write_metapage(struct metapage *mp) in write_metapage()
91 static inline void flush_metapage(struct metapage *mp) in flush_metapage()
97 static inline void discard_metapage(struct metapage *mp) in discard_metapage()
Djfs_dtree.c114 struct metapage *mp;
154 struct metapage ** rmpp, dtpage_t ** rpp, pxd_t * rxdp);
160 struct dtsplit * split, struct metapage ** rmpp);
162 static int dtDeleteUp(tid_t tid, struct inode *ip, struct metapage * fmp,
206 static struct metapage *read_index_page(struct inode *inode, s64 blkno) in read_index_page()
225 static struct metapage *get_index_page(struct inode *inode, s64 blkno) in get_index_page()
248 struct metapage ** mp, s64 *lblock) in find_index()
302 static inline void lock_index(tid_t tid, struct inode *ip, struct metapage * mp, in lock_index()
342 struct metapage *mp; in add_index()
493 struct metapage *mp = 0; in free_index()
[all …]
Djfs_xtree.c88 struct metapage *mp;
121 struct metapage ** rmpp, s64 * rbnp);
124 struct xtsplit * split, struct metapage ** rmpp);
127 static int xtDeleteUp(tid_t tid, struct inode *ip, struct metapage * fmp,
157 struct metapage *mp; in xtLookup()
255 struct metapage *mp; in xtLookupList()
506 struct metapage *mp; /* page buffer */ in xtSearch()
787 struct metapage *mp; /* meta-page buffer */ in xtInsert()
930 struct metapage *smp; in xtSplitUp()
932 struct metapage *rmp; in xtSplitUp()
[all …]
Djfs_btree.h71 MP = (struct metapage *)&JFS_IP(IP)->bxflag;\
115 struct metapage *mp; /* 4/8: */
Djfs_imap.c83 static int diNewIAG(struct inomap *, int *, int, struct metapage **);
86 static int diIAGRead(struct inomap * imap, int, struct metapage **);
129 struct metapage *mp; in diMount()
244 struct metapage *mp; in diSync()
332 struct metapage *mp; in diRead()
456 struct metapage *mp; in diReadSpecial()
541 struct metapage *mp; in diWriteSpecial()
629 struct metapage *mp; in diWrite()
900 struct metapage *mp, *amp, *bmp, *cmp, *dmp; in diFree()
1386 struct metapage *mp; in diAlloc()
[all …]
Djfs_txnmgr.h100 struct metapage *mp; /* 4/8: object page buffer locked */
284 extern struct tlock *txLock(tid_t tid, struct inode *ip, struct metapage *mp,
Djfs_txnmgr.c187 static void LogSyncRelease(struct metapage * mp);
557 struct tlock *txLock(tid_t tid, struct inode *ip, struct metapage * mp, in txLock()
794 dump_mem("mp", mp, sizeof(struct metapage)); in txLock()
827 struct metapage *mp; in txRelease()
863 struct metapage *mp; in txUnlock()
1378 struct metapage *mp; in diLog()
1492 struct metapage *mp; in dataLog()
1539 struct metapage *mp; in dtLog()
1645 struct metapage *mp; in xtLog()
2158 struct metapage *mp; in txForce()
[all …]
Djfs_dmap.c199 struct metapage *mp; in dbMount()
307 struct metapage *mp; in dbSync()
375 struct metapage *mp; in dbFree()
471 struct metapage *mp; in dbUpdatePMap()
748 struct metapage *mp; in dbAlloc()
969 struct metapage *mp; in dbAllocExact()
1101 struct metapage *mp; in dbExtend()
1445 struct metapage *mp; in dbAllocAG()
1704 struct metapage *mp; in dbFindCtl()
1821 struct metapage *mp; in dbAllocCtl()
[all …]
Dxattr.c70 struct metapage *mp; /* metapage containing ea list */
240 struct metapage *mp; in ea_write()
378 struct metapage *mp; in ea_read()
Dnamei.c850 struct metapage *mp; in jfs_symlink()
1188 (struct metapage *) &JFS_IP(old_ip)->bxflag, in jfs_rename()
Djfs_logmgr.c222 struct metapage *mp = NULL; in lmLog()