Home
last modified time | relevance | path

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

/linux-5.19.10/fs/jfs/
Djfs_types.h59 static inline void PXDlength(pxd_t *pxd, __u32 len) in PXDlength() argument
61 pxd->len_addr = (pxd->len_addr & cpu_to_le32(~0xffffff)) | in PXDlength()
65 static inline void PXDaddress(pxd_t *pxd, __u64 addr) in PXDaddress() argument
67 pxd->len_addr = (pxd->len_addr & cpu_to_le32(0xffffff)) | in PXDaddress()
69 pxd->addr2 = cpu_to_le32(addr & 0xffffffff); in PXDaddress()
73 static inline __u32 lengthPXD(pxd_t *pxd) in lengthPXD() argument
75 return le32_to_cpu((pxd)->len_addr) & 0xffffff; in lengthPXD()
78 static inline __u64 addressPXD(pxd_t *pxd) in addressPXD() argument
80 __u64 n = le32_to_cpu(pxd->len_addr) & ~0xffffff; in addressPXD()
81 return (n << 8) + le32_to_cpu(pxd->addr2); in addressPXD()
[all …]
Djfs_txnmgr.c1427 pxd_t *pxd; in diLog() local
1436 pxd = &lrd->log.redopage.pxd; in diLog()
1444 PXDaddress(pxd, mp->index); in diLog()
1445 PXDlength(pxd, in diLog()
1483 *pxd = pxdlock->pxd; in diLog()
1505 pxd_t *pxd; in dataLog() local
1513 pxd = &lrd->log.redopage.pxd; in dataLog()
1531 PXDaddress(pxd, mp->index); in dataLog()
1532 PXDlength(pxd, mp->logical_size >> tblk->sb->s_blocksize_bits); in dataLog()
1552 pxd_t *pxd; in dtLog() local
[all …]
Djfs_dtree.c578 pxd_t *pxd; in dtSearch() local
778 pxd = (pxd_t *) & p->slot[stbl[index]]; in dtSearch()
779 bn = addressPXD(pxd); in dtSearch()
780 psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize; in dtSearch()
935 pxd_t *pxd; in dtSplitUp() local
981 pxd = &pxdlist.pxd[0]; in dtSplitUp()
982 PXDaddress(pxd, xaddr); in dtSplitUp()
983 PXDlength(pxd, xlen); in dtSplitUp()
1006 pxd = &sp->header.self; in dtSplitUp()
1007 xlen = lengthPXD(pxd); in dtSplitUp()
[all …]
Djfs_logmgr.h222 pxd_t pxd; /* 8: on-disk page pxd */ member
238 pxd_t pxd; /* 8: on-disk page pxd */ member
254 pxd_t pxd; /* 8: pxd */ member
272 pxd_t pxd; /* 8: on-disk page pxd */ member
328 pxd_t pxd; /* 8: on-disk page pxd */ member
Djfs_metapage.h135 #define invalidate_pxd_metapages(ip, pxd) \ argument
136 __invalidate_metapages((ip), addressPXD(&(pxd)), lengthPXD(&(pxd)))
Djfs_xtree.c683 pxd_t *pxd; in xtSplitUp() local
742 pxd = &pxdlist.pxd[0]; in xtSplitUp()
744 for (; nsplit > 0; nsplit--, pxd++) { in xtSplitUp()
747 PXDaddress(pxd, xaddr); in xtSplitUp()
748 PXDlength(pxd, xlen); in xtSplitUp()
949 pxd_t *pxd; in xtSplitPage() local
960 pxd = &pxdlist->pxd[pxdlist->npxd]; in xtSplitPage()
962 rbn = addressPXD(pxd); in xtSplitPage()
965 rc = dquot_alloc_block(ip, lengthPXD(pxd)); in xtSplitPage()
969 quota_allocation += lengthPXD(pxd); in xtSplitPage()
[all …]
Djfs_imap.h35 #define INOPBLK(pxd,ino,l2nbperpg) (addressPXD((pxd)) + \ argument
Djfs_txnmgr.h215 pxd_t pxd; /* 8: */ member
Dnamei.c727 PXDaddress(&pxdlock->pxd, xaddr); in jfs_free_zero_link()
728 PXDlength(&pxdlock->pxd, xlen); in jfs_free_zero_link()
747 PXDaddress(&pxdlock->pxd, xaddr); in jfs_free_zero_link()
748 PXDlength(&pxdlock->pxd, xlen); in jfs_free_zero_link()
Djfs_imap.c1240 pxdlock->pxd = freepxd; in diFree()