Home
last modified time | relevance | path

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

/fs/jfs/
Djfs_types.h72 static inline void PXDlength(pxd_t *pxd, __u32 len) in PXDlength() argument
74 pxd->len_addr = (pxd->len_addr & cpu_to_le32(~0xffffff)) | in PXDlength()
78 static inline void PXDaddress(pxd_t *pxd, __u64 addr) in PXDaddress() argument
80 pxd->len_addr = (pxd->len_addr & cpu_to_le32(0xffffff)) | in PXDaddress()
82 pxd->addr2 = cpu_to_le32(addr & 0xffffffff); in PXDaddress()
86 static inline __u32 lengthPXD(pxd_t *pxd) in lengthPXD() argument
88 return le32_to_cpu((pxd)->len_addr) & 0xffffff; in lengthPXD()
91 static inline __u64 addressPXD(pxd_t *pxd) in addressPXD() argument
93 __u64 n = le32_to_cpu(pxd->len_addr) & ~0xffffff; in addressPXD()
94 return (n << 8) + le32_to_cpu(pxd->addr2); in addressPXD()
[all …]
Djfs_txnmgr.c1443 pxd_t *pxd; in diLog() local
1452 pxd = &lrd->log.redopage.pxd; in diLog()
1460 PXDaddress(pxd, mp->index); in diLog()
1461 PXDlength(pxd, in diLog()
1499 *pxd = pxdlock->pxd; in diLog()
1533 lrd->log.updatemap.pxd = pxdlock->pxd; in diLog()
1555 pxd_t *pxd; in dataLog() local
1563 pxd = &lrd->log.redopage.pxd; in dataLog()
1581 PXDaddress(pxd, mp->index); in dataLog()
1582 PXDlength(pxd, mp->logical_size >> tblk->sb->s_blocksize_bits); in dataLog()
[all …]
Djfs_dtree.c591 pxd_t *pxd; in dtSearch() local
790 pxd = (pxd_t *) & p->slot[stbl[index]]; in dtSearch()
791 bn = addressPXD(pxd); in dtSearch()
792 psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize; in dtSearch()
947 pxd_t *pxd; in dtSplitUp() local
993 pxd = &pxdlist.pxd[0]; in dtSplitUp()
994 PXDaddress(pxd, xaddr); in dtSplitUp()
995 PXDlength(pxd, xlen); in dtSplitUp()
1018 pxd = &sp->header.self; in dtSplitUp()
1019 xlen = lengthPXD(pxd); in dtSplitUp()
[all …]
Djfs_logmgr.h235 pxd_t pxd; /* 8: on-disk page pxd */ member
251 pxd_t pxd; /* 8: on-disk page pxd */ member
267 pxd_t pxd; /* 8: pxd */ member
285 pxd_t pxd; /* 8: on-disk page pxd */ member
341 pxd_t pxd; /* 8: on-disk page pxd */ member
Djfs_xtree.c707 pxd_t *pxd; in xtSplitUp() local
766 pxd = &pxdlist.pxd[0]; in xtSplitUp()
768 for (; nsplit > 0; nsplit--, pxd++) { in xtSplitUp()
771 PXDaddress(pxd, xaddr); in xtSplitUp()
772 PXDlength(pxd, xlen); in xtSplitUp()
973 pxd_t *pxd; in xtSplitPage() local
984 pxd = &pxdlist->pxd[pxdlist->npxd]; in xtSplitPage()
986 rbn = addressPXD(pxd); in xtSplitPage()
989 rc = dquot_alloc_block(ip, lengthPXD(pxd)); in xtSplitPage()
993 quota_allocation += lengthPXD(pxd); in xtSplitPage()
[all …]
Djfs_metapage.h147 #define invalidate_pxd_metapages(ip, pxd) \ argument
148 __invalidate_metapages((ip), addressPXD(&(pxd)), lengthPXD(&(pxd)))
Djfs_imap.h48 #define INOPBLK(pxd,ino,l2nbperpg) (addressPXD((pxd)) + \ argument
Djfs_txnmgr.h228 pxd_t pxd; /* 8: */ member
Dnamei.c743 PXDaddress(&pxdlock->pxd, xaddr); in jfs_free_zero_link()
744 PXDlength(&pxdlock->pxd, xlen); in jfs_free_zero_link()
763 PXDaddress(&pxdlock->pxd, xaddr); in jfs_free_zero_link()
764 PXDlength(&pxdlock->pxd, xlen); in jfs_free_zero_link()
Djfs_logmgr.c408 p = (caddr_t) & inlinelock->pxd; in lmWriteRecord()
Djfs_imap.c1261 pxdlock->pxd = freepxd; in diFree()