Home
last modified time | relevance | path

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

/linux-6.1.9/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.c310 if (bsize != PSIZE) { in chkSuper()
323 expected_AIM_bytesize = 2 * PSIZE; in chkSuper()
325 expected_AIT_bytesize = 4 * PSIZE; in chkSuper()
374 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
Djfs_dmap.c171 PSIZE, 0); in dbMount()
285 PSIZE, 0); in dbSync()
381 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbFree()
475 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, in dbUpdatePMap()
792 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbAlloc()
1022 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbExtend()
1365 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocAG()
1687 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbFindCtl()
1801 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocCtl()
1828 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocCtl()
[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_xtree.c62 (((BN) == 0) ? XTROOTMAXSLOT : PSIZE >> L2XTSLOTSIZE))) { \
255 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtSearch()
810 XT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in xtSplitUp()
974 rmp = get_metapage(ip, rbn, PSIZE, 1); in xtSplitPage()
1065 XT_GETPAGE(ip, nextbn, mp, PSIZE, p, rc); in xtSplitPage()
1227 rmp = get_metapage(ip, rbn, PSIZE, 1); in xtSplitRoot()
1252 rp->header.maxentry = cpu_to_le16(PSIZE >> L2XTSLOTSIZE); in xtSplitRoot()
1420 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtExtend()
1436 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtExtend()
1714 XT_GETPAGE(ip, bn, mp, PSIZE, p, rc); in xtUpdate()
[all …]
Djfs_metapage.c307 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in last_write_complete()
362 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in metapage_writepage()
533 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in metapage_release_folio()
612 if (new && (PSIZE == PAGE_SIZE)) { in __get_metapage()
672 memset(mp->data, 0, PSIZE); in __get_metapage()
784 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in __invalidate_metapages()
Djfs_imap.c113 PSIZE, 0); in diMount()
217 PSIZE, 0); in diSync()
363 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diRead()
443 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diReadSpecial()
514 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diWriteSpecial()
635 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diWrite()
2265 dmp = get_metapage(ipimap, blkno + i, PSIZE, 1); in diNewExt()
2531 ipimap->i_size += PSIZE; in diNewIAG()
2532 inode_add_bytes(ipimap, PSIZE); in diNewIAG()
2535 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.c20 #define BITSPERPAGE (PSIZE << 3)
Dnamei.c990 int copy_size = min(ssize, PSIZE); in jfs_symlink()
992 mp = get_metapage(ip, xaddr, PSIZE, 1); in jfs_symlink()
Dsuper.c527 sb_set_blocksize(sb, PSIZE); in jfs_fill_super()