Home
last modified time | relevance | path

Searched refs:PSIZE (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/fs/jfs/
Djfs_filsys.h89 #ifdef PSIZE
90 #undef PSIZE
92 #define PSIZE 4096 /* page size (in byte) */ macro
97 #define BPSIZE PSIZE
173 #define SIZE_OF_SUPER PSIZE
178 #define SIZE_OF_AG_TABLE PSIZE
184 #define SIZE_OF_MAP_PAGE PSIZE
Djfs_xtree.c71 (le16_to_cpu((P)->header.maxentry) > (((BN)==0)?XTROOTMAXSLOT:PSIZE>>L2XTSLOTSIZE)))\
310 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtLookupList()
454 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtLookupList()
538 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtSearch()
1073 XT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in xtSplitUp()
1230 rmp = get_metapage(ip, rbn, PSIZE, 1); in xtSplitPage()
1321 XT_GETPAGE(ip, nextbn, mp, PSIZE, p, rc); in xtSplitPage()
1477 rmp = get_metapage(ip, rbn, PSIZE, 1); in xtSplitRoot()
1495 rp->header.maxentry = cpu_to_le16(PSIZE >> L2XTSLOTSIZE); in xtSplitRoot()
1665 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtExtend()
[all …]
Djfs_mount.c333 if (bsize != PSIZE) { in chkSuper()
347 expected_AIM_bytesize = 2 * PSIZE; in chkSuper()
349 expected_AIT_bytesize = 4 * PSIZE; in chkSuper()
389 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
Djfs_dtree.c217 return read_metapage(inode, xaddr, PSIZE, 1); in read_index_page()
236 return get_metapage(inode, xaddr, PSIZE, 1); in get_index_page()
278 page_offset = offset & (PSIZE - 1); in find_index()
407 ip->i_size = PSIZE; in add_index()
438 page_offset = offset & (PSIZE - 1); in add_index()
449 ip->i_size += PSIZE; in add_index()
453 memset(mp->data, 0, PSIZE); /* Just looks better */ in add_index()
1012 if (xsize < PSIZE) { in dtSplitUp()
1117 DT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in dtSplitUp()
1343 rmp = get_metapage(ip, rbn, PSIZE, 1); in dtSplitPage()
[all …]
Djfs_dmap.c213 PSIZE, 0); in dbMount()
316 PSIZE, 0); in dbSync()
407 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbFree()
503 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, in dbUpdatePMap()
836 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbAlloc()
993 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbAllocExact()
1151 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbExtend()
1501 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocAG()
1716 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbFindCtl()
1830 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocCtl()
[all …]
Dxattr.c270 nb = min(PSIZE, nbytes); in ea_write()
302 cp += PSIZE; in ea_write()
407 nb = min(PSIZE, nbytes); in ea_read()
418 cp += PSIZE; in ea_read()
493 if (size > PSIZE) { in ea_get()
Djfs_imap.c147 PSIZE, 0); in diMount()
253 PSIZE, 0); in diSync()
399 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diRead()
487 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diReadSpecial()
555 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diWriteSpecial()
677 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diWrite()
2332 dmp = get_metapage(ipimap, blkno + i, PSIZE, 1); in diNewExt()
2579 mp = get_metapage(ipimap, xaddr, PSIZE, 1); in diNewIAG()
2652 ipimap->i_size += PSIZE; in diNewIAG()
2741 *mpp = read_metapage(ipimap, blkno, PSIZE, 0); in diIAGRead()
[all …]
Dresize.c34 #define BITSPERPAGE (PSIZE << 3)
Dsuper.c348 sb_set_blocksize(sb, PSIZE); in jfs_read_super()
Djfs_metapage.c406 memset(mp->data, 0, PSIZE); in __get_metapage()
Dnamei.c947 int copy_size = min(ssize, PSIZE); in jfs_symlink()
949 mp = get_metapage(ip, xaddr, PSIZE, 1); in jfs_symlink()