Home
last modified time | relevance | path

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

/Linux-v5.4/fs/jfs/
Djfs_filsys.h81 #ifdef PSIZE
82 #undef PSIZE
84 #define PSIZE 4096 /* page size (in byte) */ macro
89 #define BPSIZE PSIZE
165 #define SIZE_OF_SUPER PSIZE
170 #define SIZE_OF_AG_TABLE PSIZE
176 #define SIZE_OF_MAP_PAGE PSIZE
Djfs_mount.c316 if (bsize != PSIZE) { in chkSuper()
330 expected_AIM_bytesize = 2 * PSIZE; in chkSuper()
332 expected_AIT_bytesize = 4 * PSIZE; in chkSuper()
372 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
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()
1009 if (xsize < PSIZE) { in dtSplitUp()
1092 ip->i_size += PSIZE; in dtSplitUp()
1126 DT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in dtSplitUp()
[all …]
Djfs_dmap.c170 PSIZE, 0); in dbMount()
263 PSIZE, 0); in dbSync()
359 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbFree()
452 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, in dbUpdatePMap()
769 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbAlloc()
911 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbAllocExact()
1067 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbExtend()
1410 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocAG()
1732 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbFindCtl()
1846 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocCtl()
[all …]
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()
219 PSIZE, 0); in diSync()
365 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diRead()
445 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diReadSpecial()
516 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diWriteSpecial()
637 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diWrite()
2267 dmp = get_metapage(ipimap, blkno + i, PSIZE, 1); in diNewExt()
2533 ipimap->i_size += PSIZE; in diNewIAG()
2534 inode_add_bytes(ipimap, PSIZE); in diNewIAG()
2537 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.c989 int copy_size = min(ssize, PSIZE); in jfs_symlink()
991 mp = get_metapage(ip, xaddr, PSIZE, 1); in jfs_symlink()
Dsuper.c532 sb_set_blocksize(sb, PSIZE); in jfs_fill_super()