• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jfs/

Lines Matching defs:lbuf

81  * lbuf's ready to be redriven.  Protected by log_redrive_lock (jfsIO thread)
83 static struct lbuf *log_redrive_list;
137 * lbuf buffer cache (lCache) control
184 static struct lbuf *lbmAllocate(struct jfs_log * log, int);
185 static void lbmFree(struct lbuf * bp);
186 static void lbmfree(struct lbuf * bp);
187 static int lbmRead(struct jfs_log * log, int pn, struct lbuf ** bpp);
188 static void lbmWrite(struct jfs_log * log, struct lbuf * bp, int flag, int cant_block);
189 static void lbmDirectWrite(struct jfs_log * log, struct lbuf * bp, int flag);
190 static int lbmIOWait(struct lbuf * bp, int flag);
192 static void lbmStartIO(struct lbuf * bp);
347 struct lbuf *bp; /* dst log page buffer */
366 bp = (struct lbuf *) log->bp;
442 bp = (struct lbuf *) log->bp;
538 bp = (struct lbuf *) log->bp;
564 struct lbuf *bp;
565 struct lbuf *nextbp;
746 struct lbuf *bp;
775 bp = (struct lbuf *) tblk->bp;
809 static void lmPostGC(struct lbuf * bp)
1269 struct lbuf *bpsuper;
1270 struct lbuf *bp;
1662 struct lbuf *bpsuper;
1663 struct lbuf *bp;
1738 struct lbuf *bpsuper;
1814 struct lbuf *lbuf;
1847 lbuf = kmalloc(sizeof(struct lbuf), GFP_KERNEL);
1848 if (lbuf == NULL) {
1855 lbuf->l_offset = offset;
1856 lbuf->l_ldata = buffer + offset;
1857 lbuf->l_page = page;
1858 lbuf->l_log = log;
1859 init_waitqueue_head(&lbuf->l_ioevent);
1861 lbuf->l_freelist = log->lbuf_free;
1862 log->lbuf_free = lbuf;
1882 struct lbuf *lbuf;
1886 lbuf = log->lbuf_free;
1887 while (lbuf) {
1888 struct lbuf *next = lbuf->l_freelist;
1889 __free_page(lbuf->l_page);
1890 kfree(lbuf);
1891 lbuf = next;
1901 static struct lbuf *lbmAllocate(struct jfs_log * log, int pn)
1903 struct lbuf *bp;
1932 static void lbmFree(struct lbuf * bp)
1943 static void lbmfree(struct lbuf * bp)
1971 static inline void lbmRedrive(struct lbuf *bp)
1987 static int lbmRead(struct jfs_log * log, int pn, struct lbuf ** bpp)
1990 struct lbuf *bp;
2037 static void lbmWrite(struct jfs_log * log, struct lbuf * bp, int flag,
2040 struct lbuf *tail;
2105 static void lbmDirectWrite(struct jfs_log * log, struct lbuf * bp, int flag)
2135 static void lbmStartIO(struct lbuf * bp)
2170 static int lbmIOWait(struct lbuf * bp, int flag)
2199 struct lbuf *bp = bio->bi_private;
2200 struct lbuf *nextbp, *tail;
2345 struct lbuf *bp;
2381 struct lbuf *bp;