Home
last modified time | relevance | path

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

/fs/jfs/
Djfs_filsys.h81 #ifdef PSIZE
82 #undef PSIZE
84 #define PSIZE 4096 /* page size (in byte) */ macro
89 #define BPSIZE PSIZE
167 #define SIZE_OF_SUPER PSIZE
172 #define SIZE_OF_AG_TABLE PSIZE
178 #define SIZE_OF_MAP_PAGE PSIZE
Djfs_xtree.c62 (((BN) == 0) ? XTROOTMAXSLOT : PSIZE >> L2XTSLOTSIZE))) { \
266 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtSearch()
821 XT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in xtSplitUp()
985 rmp = get_metapage(ip, rbn, PSIZE, 1); in xtSplitPage()
1076 XT_GETPAGE(ip, nextbn, mp, PSIZE, p, rc); in xtSplitPage()
1238 rmp = get_metapage(ip, rbn, PSIZE, 1); in xtSplitRoot()
1263 rp->header.maxentry = cpu_to_le16(PSIZE >> L2XTSLOTSIZE); in xtSplitRoot()
1431 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtExtend()
1447 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtExtend()
1596 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtTailgate()
[all …]
Djfs_dtree.c206 return read_metapage(inode, xaddr, PSIZE, 1); in read_index_page()
225 return get_metapage(inode, xaddr, PSIZE, 1); in get_index_page()
267 page_offset = offset & (PSIZE - 1); in find_index()
402 ip->i_size = PSIZE; in add_index()
433 page_offset = offset & (PSIZE - 1); in add_index()
444 ip->i_size += PSIZE; in add_index()
447 memset(mp->data, 0, PSIZE); /* Just looks better */ in add_index()
1014 if (xsize < PSIZE) { in dtSplitUp()
1097 ip->i_size += PSIZE; in dtSplitUp()
1131 DT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in dtSplitUp()
[all …]
Djfs_dmap.c171 PSIZE, 0); in dbMount()
300 PSIZE, 0); in dbSync()
396 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbFree()
490 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, in dbUpdatePMap()
807 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbAlloc()
949 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbAllocExact()
1105 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbExtend()
1448 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocAG()
1770 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbFindCtl()
1884 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocCtl()
[all …]
Djfs_mount.c310 if (bsize != PSIZE) { in chkSuper()
324 expected_AIM_bytesize = 2 * PSIZE; in chkSuper()
326 expected_AIT_bytesize = 4 * PSIZE; in chkSuper()
375 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
Djfs_metapage.c306 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in last_write_complete()
361 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in metapage_writepage()
534 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in metapage_releasepage()
613 if (new && (PSIZE == PAGE_SIZE)) { in __get_metapage()
673 memset(mp->data, 0, PSIZE); in __get_metapage()
785 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in __invalidate_metapages()
Djfs_imap.c115 PSIZE, 0); in diMount()
220 PSIZE, 0); in diSync()
366 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diRead()
446 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diReadSpecial()
517 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diWriteSpecial()
638 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diWrite()
2274 dmp = get_metapage(ipimap, blkno + i, PSIZE, 1); in diNewExt()
2540 ipimap->i_size += PSIZE; in diNewIAG()
2541 inode_add_bytes(ipimap, PSIZE); in diNewIAG()
2544 mp = get_metapage(ipimap, blkno, PSIZE, 0); in diNewIAG()
[all …]
Dxattr.c251 nb = min(PSIZE, nbytes); in ea_write()
283 cp += PSIZE; in ea_write()
391 nb = min(PSIZE, nbytes); in ea_read()
402 cp += PSIZE; in ea_read()
478 if (size > PSIZE) { in ea_get()
Dresize.c19 #define BITSPERPAGE (PSIZE << 3)
Dnamei.c994 int copy_size = min(ssize, PSIZE); in jfs_symlink()
996 mp = get_metapage(ip, xaddr, PSIZE, 1); in jfs_symlink()
Dsuper.c532 sb_set_blocksize(sb, PSIZE); in jfs_fill_super()