Home
last modified time | relevance | path

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

/Linux-v6.6/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_mount.c314 if (bsize != PSIZE) { in chkSuper()
327 expected_AIM_bytesize = 2 * PSIZE; in chkSuper()
329 expected_AIT_bytesize = 4 * PSIZE; in chkSuper()
378 sbi->nbperpage = PSIZE >> sbi->l2bsize; in chkSuper()
Djfs_dmap.c171 PSIZE, 0); in dbMount()
293 PSIZE, 0); in dbSync()
389 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbFree()
483 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, in dbUpdatePMap()
800 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbAlloc()
1030 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbExtend()
1373 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocAG()
1695 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbFindCtl()
1809 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocCtl()
1836 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()
813 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in __invalidate_metapages()
Djfs_imap.c113 PSIZE, 0); in diMount()
218 PSIZE, 0); in diSync()
364 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diRead()
444 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diReadSpecial()
515 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diWriteSpecial()
636 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diWrite()
2266 dmp = get_metapage(ipimap, blkno + i, PSIZE, 1); in diNewExt()
2532 ipimap->i_size += PSIZE; in diNewIAG()
2533 inode_add_bytes(ipimap, PSIZE); in diNewIAG()
2536 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.c995 u32 copy_size = min_t(u32, ssize, PSIZE); in jfs_symlink()
997 mp = get_metapage(ip, xaddr, PSIZE, 1); in jfs_symlink()
Dsuper.c527 sb_set_blocksize(sb, PSIZE); in jfs_fill_super()