Searched refs:xad (Results 1 – 6 of 6) sorted by relevance
/fs/jfs/ |
D | jfs_xtree.h | 31 typedef struct xad { struct 47 #define XADoffset(xad, offset64)\ argument 49 (xad)->off1 = ((u64)offset64) >> 32;\ 50 (xad)->off2 = __cpu_to_le32((offset64) & 0xffffffff);\ 52 #define XADaddress(xad, address64)\ argument 54 (xad)->addr1 = ((u64)address64) >> 32;\ 55 (xad)->addr2 = __cpu_to_le32((address64) & 0xffffffff);\ 57 #define XADlength(xad, length32) (xad)->len = __cpu_to_le24(length32) argument 60 #define offsetXAD(xad)\ argument 61 ( ((s64)((xad)->off1)) << 32 | __le32_to_cpu((xad)->off2)) [all …]
|
D | jfs_xtree.c | 134 xad_t * xad, 155 xad_t *xad; in xtLookup() local 202 xad = &p->xad[index]; in xtLookup() 203 xoff = offsetXAD(xad); in xtLookup() 204 xlen = lengthXAD(xad); in xtLookup() 206 xaddr = addressXAD(xad); in xtLookup() 209 *pflag = xad->flag; in xtLookup() 247 xad_t *xad; in xtSearch() local 293 xad = &p->xad[index]; in xtSearch() 294 t64 = offsetXAD(xad); in xtSearch() [all …]
|
D | inode.c | 200 xad_t xad; in jfs_get_block() local 224 XADoffset(&xad, lblock64); in jfs_get_block() 225 XADlength(&xad, xlen); in jfs_get_block() 226 XADaddress(&xad, xaddr); in jfs_get_block() 235 rc = extRecord(ip, &xad); in jfs_get_block() 252 if ((rc = extHint(ip, lblock64 << ip->i_sb->s_blocksize_bits, &xad))) in jfs_get_block() 254 rc = extAlloc(ip, xlen, lblock64, &xad, false); in jfs_get_block() 259 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); in jfs_get_block() 260 bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits; in jfs_get_block()
|
D | jfs_txnmgr.c | 1787 PXDaddress(pxd, addressXAD(&p->xad[lwm + i])); in xtLog() 1788 PXDlength(pxd, lengthXAD(&p->xad[lwm + i])); in xtLog() 1789 p->xad[lwm + i].flag &= in xtLog() 1799 xadlock->xdlist = &p->xad[lwm]; in xtLog() 1891 addressXAD(&p->xad[XTENTRYSTART + i])); in xtLog() 1893 lengthXAD(&p->xad[XTENTRYSTART + i])); in xtLog() 1902 xadlock->xdlist = &p->xad[XTENTRYSTART]; in xtLog() 2027 xadlock->xdlist = &p->xad[lwm]; in xtLog() 2068 xadlock->xdlist = &p->xad[next]; in xtLog() 2445 xad_t *xad; in txAllocPMap() local [all …]
|
D | jfs_metapage.h | 152 #define invalidate_xad_metapages(ip, xad) \ argument 153 __invalidate_metapages((ip), addressXAD(&(xad)), lengthXAD(&(xad)))
|
D | jfs_imap.c | 695 xad_t *xad; in diWrite() local 711 memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], in diWrite() 716 xad = &xp->xad[XTENTRYSTART]; in diWrite() 718 n < le16_to_cpu(xp->header.nextindex); n++, xad++) in diWrite() 719 if (xad->flag & (XAD_NEW | XAD_EXTENDED)) in diWrite() 720 xad->flag &= ~(XAD_NEW | XAD_EXTENDED); in diWrite() 738 xad_t *xad; in diWrite() local 747 memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], in diWrite() 752 xad = &xp->xad[XTENTRYSTART]; in diWrite() 754 n < le16_to_cpu(xp->header.nextindex); n++, xad++) in diWrite() [all …]
|