| /linux/fs/jfs/ |
| H A D | jfs_filsys.h | 82 #ifdef PSIZE 83 #undef PSIZE 85 #define PSIZE 4096 /* page size (in byte) */ macro 90 #define BPSIZE PSIZE 168 #define SIZE_OF_SUPER PSIZE 173 #define SIZE_OF_AG_TABLE PSIZE 179 #define SIZE_OF_MAP_PAGE PSIZE
|
| H A D | jfs_mount.c | 314 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()
|
| H A D | jfs_dmap.c | 171 PSIZE, 0); in dbMount() 289 PSIZE, 0); in dbSync() 385 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbFree() 479 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, in dbUpdatePMap() 796 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbAlloc() 1026 mp = read_metapage(ipbmap, lblkno, PSIZE, 0); in dbExtend() 1369 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocAG() 1699 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbFindCtl() 1813 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocCtl() 1845 mp = read_metapage(bmp->db_ipbmap, lblkno, PSIZE, 0); in dbAllocCtl() [all …]
|
| H A D | jfs_dtree.c | 207 return read_metapage(inode, xaddr, PSIZE, 1); in read_index_page() 226 return get_metapage(inode, xaddr, PSIZE, 1); in get_index_page() 268 page_offset = offset & (PSIZE - 1); in find_index() 403 ip->i_size = PSIZE; in add_index() 434 page_offset = offset & (PSIZE - 1); in add_index() 445 ip->i_size += PSIZE; in add_index() 448 memset(mp->data, 0, PSIZE); /* Just looks better */ in add_index() 1017 if (xsize < PSIZE) { in dtSplitUp() 1100 ip->i_size += PSIZE; in dtSplitUp() 1134 DT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in dtSplitUp() [all …]
|
| H A D | jfs_metapage.c | 398 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in last_write_complete() 449 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in metapage_write_folio() 618 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in metapage_release_folio() 721 if (new && (PSIZE == PAGE_SIZE)) { in __get_metapage() 781 memset(mp->data, 0, PSIZE); in __get_metapage() 919 for (offset = 0; offset < PAGE_SIZE; offset += PSIZE) { in __invalidate_metapages()
|
| H A D | jfs_imap.c | 113 PSIZE, 0); in diMount() 218 PSIZE, 0); in diSync() 367 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diRead() 447 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diReadSpecial() 518 mp = read_metapage(ip, address << sbi->l2nbperpage, PSIZE, 1); in diWriteSpecial() 639 mp = read_metapage(ipimap, pageno << sbi->l2nbperpage, PSIZE, 1); in diWrite() 2275 dmp = get_metapage(ipimap, blkno + i, PSIZE, 1); in diNewExt() 2541 ipimap->i_size += PSIZE; in diNewIAG() 2542 inode_add_bytes(ipimap, PSIZE); in diNewIAG() 2545 mp = get_metapage(ipimap, blkno, PSIZE, 0); in diNewIAG() [all …]
|
| H A D | xattr.c | 251 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() 480 if (size > PSIZE) { in ea_get()
|
| H A D | resize.c | 20 #define BITSPERPAGE (PSIZE << 3)
|
| H A D | jfs_xtree.c | 116 BT_GETPAGE(ip, bn, *mp, xtpage_t, PSIZE, p, rc, i_xtroot); in xt_getpage() 124 ((bn == 0) ? XTROOTMAXSLOT : PSIZE >> L2XTSLOTSIZE))) { in xt_getpage() 989 rmp = get_metapage(ip, rbn, PSIZE, 1); in xtSplitPage() 1242 rmp = get_metapage(ip, rbn, PSIZE, 1); in xtSplitRoot() 1267 rp->header.maxentry = cpu_to_le16(PSIZE >> L2XTSLOTSIZE); in xtSplitRoot()
|
| H A D | namei.c | 997 u32 copy_size = min_t(u32, ssize, PSIZE); in jfs_symlink() 999 mp = get_metapage(ip, xaddr, PSIZE, 1); in jfs_symlink()
|
| H A D | super.c | 494 sb_set_blocksize(sb, PSIZE); in jfs_fill_super()
|