Home
last modified time | relevance | path

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

/fs/jfs/
Djfs_filsys.h94 #ifdef PSIZE
95 #undef PSIZE
97 #define PSIZE 4096 /* page size (in byte) */ macro
102 #define BPSIZE PSIZE
178 #define SIZE_OF_SUPER PSIZE
183 #define SIZE_OF_AG_TABLE PSIZE
189 #define SIZE_OF_MAP_PAGE PSIZE
Djfs_xtree.c75 (((BN) == 0) ? XTROOTMAXSLOT : PSIZE >> L2XTSLOTSIZE))) { \
279 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtSearch()
834 XT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in xtSplitUp()
998 rmp = get_metapage(ip, rbn, PSIZE, 1); in xtSplitPage()
1089 XT_GETPAGE(ip, nextbn, mp, PSIZE, p, rc); in xtSplitPage()
1251 rmp = get_metapage(ip, rbn, PSIZE, 1); in xtSplitRoot()
1276 rp->header.maxentry = cpu_to_le16(PSIZE >> L2XTSLOTSIZE); in xtSplitRoot()
1444 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtExtend()
1460 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtExtend()
1609 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTailgate()
[all …]
Djfs_dtree.c219 return read_metapage(inode, xaddr, PSIZE, 1); in read_index_page()
238 return get_metapage(inode, xaddr, PSIZE, 1); in get_index_page()
280 page_offset = offset & (PSIZE - 1); in find_index()
415 ip->i_size = PSIZE; in add_index()
446 page_offset = offset & (PSIZE - 1); in add_index()
457 ip->i_size += PSIZE; in add_index()
460 memset(mp->data, 0, PSIZE); /* Just looks better */ in add_index()
1021 if (xsize < PSIZE) { in dtSplitUp()
1104 ip->i_size += PSIZE; in dtSplitUp()
1138 DT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in dtSplitUp()
[all …]
Djfs_dmap.c183 PSIZE, 0); in dbMount()
276 PSIZE, 0); in dbSync()
372 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbFree()
465 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, in dbUpdatePMap()
782 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbAlloc()
924 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbAllocExact()
1080 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbExtend()
1423 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocAG()
1745 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbFindCtl()
1859 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocCtl()
[all …]
Djfs_mount.c329 if (bsize != PSIZE) { in chkSuper()
343 expected_AIM_bytesize = 2 * PSIZE; in chkSuper()
345 expected_AIT_bytesize = 4 * PSIZE; in chkSuper()
385 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
Djfs_metapage.c319 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in last_write_complete()
374 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in metapage_writepage()
547 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in metapage_releasepage()
626 if (new && (PSIZE == PAGE_SIZE)) { in __get_metapage()
683 memset(mp->data, 0, PSIZE); in __get_metapage()
793 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in __invalidate_metapages()
Djfs_imap.c128 PSIZE, 0); in diMount()
232 PSIZE, 0); in diSync()
378 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diRead()
458 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diReadSpecial()
535 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diWriteSpecial()
656 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diWrite()
2286 dmp = get_metapage(ipimap, blkno + i, PSIZE, 1); in diNewExt()
2552 ipimap->i_size += PSIZE; in diNewIAG()
2553 inode_add_bytes(ipimap, PSIZE); in diNewIAG()
2556 mp = get_metapage(ipimap, blkno, PSIZE, 0); in diNewIAG()
[all …]
Dxattr.c264 nb = min(PSIZE, nbytes); in ea_write()
296 cp += PSIZE; in ea_write()
404 nb = min(PSIZE, nbytes); in ea_read()
415 cp += PSIZE; in ea_read()
491 if (size > PSIZE) { in ea_get()
Dresize.c32 #define BITSPERPAGE (PSIZE << 3)
Dnamei.c1006 int copy_size = min(ssize, PSIZE); in jfs_symlink()
1008 mp = get_metapage(ip, xaddr, PSIZE, 1); in jfs_symlink()
Dsuper.c529 sb_set_blocksize(sb, PSIZE); in jfs_fill_super()