xad 187 fs/jfs/inode.c xad_t xad; xad 211 fs/jfs/inode.c XADoffset(&xad, lblock64); xad 212 fs/jfs/inode.c XADlength(&xad, xlen); xad 213 fs/jfs/inode.c XADaddress(&xad, xaddr); xad 222 fs/jfs/inode.c rc = extRecord(ip, &xad); xad 239 fs/jfs/inode.c if ((rc = extHint(ip, lblock64 << ip->i_sb->s_blocksize_bits, &xad))) xad 241 fs/jfs/inode.c rc = extAlloc(ip, xlen, lblock64, &xad, false); xad 246 fs/jfs/inode.c map_bh(bh_result, ip->i_sb, addressXAD(&xad)); xad 247 fs/jfs/inode.c bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits; xad 394 fs/jfs/jfs_extent.c xadl.xad = xp; xad 694 fs/jfs/jfs_imap.c xad_t *xad; xad 710 fs/jfs/jfs_imap.c memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], xad 715 fs/jfs/jfs_imap.c xad = &xp->xad[XTENTRYSTART]; xad 717 fs/jfs/jfs_imap.c n < le16_to_cpu(xp->header.nextindex); n++, xad++) xad 718 fs/jfs/jfs_imap.c if (xad->flag & (XAD_NEW | XAD_EXTENDED)) xad 719 fs/jfs/jfs_imap.c xad->flag &= ~(XAD_NEW | XAD_EXTENDED); xad 737 fs/jfs/jfs_imap.c xad_t *xad; xad 746 fs/jfs/jfs_imap.c memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], xad 751 fs/jfs/jfs_imap.c xad = &xp->xad[XTENTRYSTART]; xad 753 fs/jfs/jfs_imap.c n < le16_to_cpu(xp->header.nextindex); n++, xad++) xad 754 fs/jfs/jfs_imap.c if (xad->flag & (XAD_NEW | XAD_EXTENDED)) xad 755 fs/jfs/jfs_imap.c xad->flag &= ~(XAD_NEW | XAD_EXTENDED); xad 153 fs/jfs/jfs_metapage.h __invalidate_metapages((ip), addressXAD(&(xad)), lengthXAD(&(xad))) xad 1788 fs/jfs/jfs_txnmgr.c PXDaddress(pxd, addressXAD(&p->xad[lwm + i])); xad 1789 fs/jfs/jfs_txnmgr.c PXDlength(pxd, lengthXAD(&p->xad[lwm + i])); xad 1790 fs/jfs/jfs_txnmgr.c p->xad[lwm + i].flag &= xad 1800 fs/jfs/jfs_txnmgr.c xadlock->xdlist = &p->xad[lwm]; xad 1892 fs/jfs/jfs_txnmgr.c addressXAD(&p->xad[XTENTRYSTART + i])); xad 1894 fs/jfs/jfs_txnmgr.c lengthXAD(&p->xad[XTENTRYSTART + i])); xad 1903 fs/jfs/jfs_txnmgr.c xadlock->xdlist = &p->xad[XTENTRYSTART]; xad 2028 fs/jfs/jfs_txnmgr.c xadlock->xdlist = &p->xad[lwm]; xad 2069 fs/jfs/jfs_txnmgr.c xadlock->xdlist = &p->xad[next]; xad 2446 fs/jfs/jfs_txnmgr.c xad_t *xad; xad 2459 fs/jfs/jfs_txnmgr.c xad = xadlistlock->xdlist; xad 2460 fs/jfs/jfs_txnmgr.c for (n = 0; n < xadlistlock->count; n++, xad++) { xad 2461 fs/jfs/jfs_txnmgr.c if (xad->flag & (XAD_NEW | XAD_EXTENDED)) { xad 2462 fs/jfs/jfs_txnmgr.c xaddr = addressXAD(xad); xad 2463 fs/jfs/jfs_txnmgr.c xlen = lengthXAD(xad); xad 2466 fs/jfs/jfs_txnmgr.c xad->flag &= ~(XAD_NEW | XAD_EXTENDED); xad 2504 fs/jfs/jfs_txnmgr.c xad_t *xad; xad 2521 fs/jfs/jfs_txnmgr.c xad = xadlistlock->xdlist; xad 2522 fs/jfs/jfs_txnmgr.c for (n = 0; n < xadlistlock->count; n++, xad++) { xad 2523 fs/jfs/jfs_txnmgr.c if (!(xad->flag & XAD_NEW)) { xad 2524 fs/jfs/jfs_txnmgr.c xaddr = addressXAD(xad); xad 2525 fs/jfs/jfs_txnmgr.c xlen = lengthXAD(xad); xad 2562 fs/jfs/jfs_txnmgr.c xad = xadlistlock->xdlist; xad 2563 fs/jfs/jfs_txnmgr.c for (n = 0; n < xadlistlock->count; n++, xad++) { xad 2564 fs/jfs/jfs_txnmgr.c xaddr = addressXAD(xad); xad 2565 fs/jfs/jfs_txnmgr.c xlen = lengthXAD(xad); xad 2567 fs/jfs/jfs_txnmgr.c xad->flag = 0; xad 155 fs/jfs/jfs_xtree.c xad_t *xad; xad 205 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 206 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad); xad 207 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad); xad 209 fs/jfs/jfs_xtree.c xaddr = addressXAD(xad); xad 212 fs/jfs/jfs_xtree.c *pflag = xad->flag; xad 258 fs/jfs/jfs_xtree.c xad_t *xad, *pxd; xad 266 fs/jfs/jfs_xtree.c pxd = xadlist->xad; xad 316 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 322 fs/jfs/jfs_xtree.c xstart = offsetXAD(xad); xad 323 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad); xad 325 fs/jfs/jfs_xtree.c xaddr = addressXAD(xad); xad 390 fs/jfs/jfs_xtree.c xad++; xad 403 fs/jfs/jfs_xtree.c XT_PUTENTRY(pxd, xad->flag, pstart, plen, paddr); xad 458 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 461 fs/jfs/jfs_xtree.c xad++; xad 508 fs/jfs/jfs_xtree.c xad_t *xad; xad 554 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 555 fs/jfs/jfs_xtree.c t64 = offsetXAD(xad); xad 556 fs/jfs/jfs_xtree.c if (xoff < t64 + lengthXAD(xad)) { xad 570 fs/jfs/jfs_xtree.c xad++; xad 571 fs/jfs/jfs_xtree.c t64 = offsetXAD(xad); xad 572 fs/jfs/jfs_xtree.c if (xoff < t64 + lengthXAD(xad)) { xad 644 fs/jfs/jfs_xtree.c XT_CMP(cmp, xoff, &p->xad[index], t64); xad 686 fs/jfs/jfs_xtree.c next = offsetXAD(&p->xad[index + 1]); xad 703 fs/jfs/jfs_xtree.c next = offsetXAD(&p->xad[base]); xad 770 fs/jfs/jfs_xtree.c bn = addressXAD(&p->xad[index]); xad 809 fs/jfs/jfs_xtree.c xad_t *xad; xad 845 fs/jfs/jfs_xtree.c xad = &p->xad[index - 1]; xad 846 fs/jfs/jfs_xtree.c hint = addressXAD(xad) + lengthXAD(xad) - 1; xad 902 fs/jfs/jfs_xtree.c memmove(&p->xad[index + 1], &p->xad[index], xad 906 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 907 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); xad 962 fs/jfs/jfs_xtree.c xad_t *xad; xad 992 fs/jfs/jfs_xtree.c memmove(&sp->xad[skip + 1], &sp->xad[skip], xad 996 fs/jfs/jfs_xtree.c xad = &sp->xad[skip]; xad 997 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, split->flag, split->off, split->len, xad 1118 fs/jfs/jfs_xtree.c split->off = offsetXAD(&rcp->xad[XTENTRYSTART]); xad 1159 fs/jfs/jfs_xtree.c memmove(&sp->xad[skip + 1], &sp->xad[skip], xad 1164 fs/jfs/jfs_xtree.c xad = &sp->xad[skip]; xad 1165 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, XAD_NEW, xad 1166 fs/jfs/jfs_xtree.c offsetXAD(&rcp->xad[XTENTRYSTART]), xad 1231 fs/jfs/jfs_xtree.c xad_t *xad; xad 1324 fs/jfs/jfs_xtree.c xad = &rp->xad[XTENTRYSTART]; xad 1325 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, split->flag, split->off, split->len, xad 1386 fs/jfs/jfs_xtree.c memmove(&rp->xad[XTENTRYSTART], &sp->xad[middle], xad 1391 fs/jfs/jfs_xtree.c memmove(&sp->xad[skip + 1], &sp->xad[skip], xad 1395 fs/jfs/jfs_xtree.c xad = &sp->xad[skip]; xad 1396 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, split->flag, split->off, split->len, xad 1415 fs/jfs/jfs_xtree.c memmove(&rp->xad[XTENTRYSTART], &sp->xad[middle], xad 1420 fs/jfs/jfs_xtree.c xad = &rp->xad[n]; xad 1421 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, split->flag, split->off, split->len, xad 1426 fs/jfs/jfs_xtree.c memmove(&rp->xad[n + 1], &sp->xad[skip], xad 1494 fs/jfs/jfs_xtree.c xad_t *xad; xad 1545 fs/jfs/jfs_xtree.c memmove(&rp->xad[XTENTRYSTART], &sp->xad[XTENTRYSTART], xad 1555 fs/jfs/jfs_xtree.c memmove(&rp->xad[skip + 1], &rp->xad[skip], xad 1558 fs/jfs/jfs_xtree.c xad = &rp->xad[skip]; xad 1559 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, split->flag, split->off, split->len, split->addr); xad 1586 fs/jfs/jfs_xtree.c xad = &sp->xad[XTENTRYSTART]; xad 1587 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, XAD_NEW, 0, JFS_SBI(ip->i_sb)->nbperpage, rbn); xad 1632 fs/jfs/jfs_xtree.c xad_t *xad; xad 1653 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 1654 fs/jfs/jfs_xtree.c if ((offsetXAD(xad) + lengthXAD(xad)) != xoff) { xad 1672 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad) + xlen; xad 1680 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad) + MAXXLEN; xad 1681 fs/jfs/jfs_xtree.c xaddr = addressXAD(xad) + MAXXLEN; xad 1714 fs/jfs/jfs_xtree.c xad = &p->xad[XTENTRYSTART]; xad 1715 fs/jfs/jfs_xtree.c bn = addressXAD(xad); xad 1735 fs/jfs/jfs_xtree.c xad = &p->xad[index + 1]; xad 1736 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, XAD_NEW, xoff, len, xaddr); xad 1743 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 1750 fs/jfs/jfs_xtree.c XADlength(xad, xlen); xad 1751 fs/jfs/jfs_xtree.c if (!(xad->flag & XAD_NEW)) xad 1752 fs/jfs/jfs_xtree.c xad->flag |= XAD_EXTENDED; xad 1795 fs/jfs/jfs_xtree.c xad_t *xad; xad 1838 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 1843 fs/jfs/jfs_xtree.c if ((llen = xoff - offsetXAD(xad)) == 0) xad 1880 fs/jfs/jfs_xtree.c xad = &p->xad[XTENTRYSTART]; xad 1881 fs/jfs/jfs_xtree.c bn = addressXAD(xad); xad 1901 fs/jfs/jfs_xtree.c xad = &p->xad[index + 1]; xad 1902 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, XAD_NEW, xoff, xlen, xaddr); xad 1909 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 1916 fs/jfs/jfs_xtree.c rlen = lengthXAD(xad) - llen; xad 1917 fs/jfs/jfs_xtree.c if (!(xad->flag & XAD_NEW)) { xad 1923 fs/jfs/jfs_xtree.c PXDaddress(&pxdlock->pxd, addressXAD(xad) + llen); xad 1929 fs/jfs/jfs_xtree.c dbFree(ip, addressXAD(xad) + llen, (s64) rlen); xad 1933 fs/jfs/jfs_xtree.c XADlength(xad, llen); xad 1936 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, XAD_NEW, xoff, xlen, xaddr); xad 1975 fs/jfs/jfs_xtree.c xad_t *xad, *lxad, *rxad; xad 2010 fs/jfs/jfs_xtree.c xad = &p->xad[index0]; xad 2011 fs/jfs/jfs_xtree.c xflag = xad->flag; xad 2012 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad); xad 2013 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad); xad 2014 fs/jfs/jfs_xtree.c xaddr = addressXAD(xad); xad 2039 fs/jfs/jfs_xtree.c *xad = *nxad; xad 2040 fs/jfs/jfs_xtree.c xad->flag = xflag & ~XAD_NOTRECORDED; xad 2060 fs/jfs/jfs_xtree.c lxad = &p->xad[index - 1]; xad 2080 fs/jfs/jfs_xtree.c XADoffset(xad, xoff + nxlen); xad 2081 fs/jfs/jfs_xtree.c XADlength(xad, xlen - nxlen); xad 2082 fs/jfs/jfs_xtree.c XADaddress(xad, xaddr + nxlen); xad 2088 fs/jfs/jfs_xtree.c memmove(&p->xad[index], &p->xad[index + 1], xad 2112 fs/jfs/jfs_xtree.c *xad = *nxad; xad 2113 fs/jfs/jfs_xtree.c xad->flag = xflag & ~XAD_NOTRECORDED; xad 2131 fs/jfs/jfs_xtree.c rxad = &p->xad[index + 1]; xad 2152 fs/jfs/jfs_xtree.c XADlength(xad, xlen - nxlen); xad 2156 fs/jfs/jfs_xtree.c memmove(&p->xad[index], &p->xad[index + 1], xad 2184 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 2185 fs/jfs/jfs_xtree.c XADlength(xad, nxoff - xoff); xad 2213 fs/jfs/jfs_xtree.c xad = &p->xad[XTENTRYSTART]; xad 2214 fs/jfs/jfs_xtree.c bn = addressXAD(xad); xad 2241 fs/jfs/jfs_xtree.c memmove(&p->xad[newindex + 1], &p->xad[newindex], xad 2245 fs/jfs/jfs_xtree.c xad = &p->xad[newindex]; xad 2246 fs/jfs/jfs_xtree.c *xad = *nxad; xad 2247 fs/jfs/jfs_xtree.c xad->flag = xflag & ~XAD_NOTRECORDED; xad 2332 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 2333 fs/jfs/jfs_xtree.c *xad = *nxad; xad 2334 fs/jfs/jfs_xtree.c xad->flag = xflag & ~XAD_NOTRECORDED; xad 2368 fs/jfs/jfs_xtree.c xad = &p->xad[XTENTRYSTART]; xad 2369 fs/jfs/jfs_xtree.c bn = addressXAD(xad); xad 2386 fs/jfs/jfs_xtree.c memmove(&p->xad[newindex + 1], &p->xad[newindex], xad 2390 fs/jfs/jfs_xtree.c xad = &p->xad[newindex]; xad 2391 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); xad 2443 fs/jfs/jfs_xtree.c xad_t *xad; xad 2562 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 2563 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); xad 2650 fs/jfs/jfs_xtree.c memmove(&p->xad[index], &p->xad[index + 1], xad 2788 fs/jfs/jfs_xtree.c memmove(&p->xad[index], &p->xad[index + 1], xad 2830 fs/jfs/jfs_xtree.c xad_t *xad; xad 2877 fs/jfs/jfs_xtree.c xad = &pp->xad[index]; xad 2878 fs/jfs/jfs_xtree.c if (addressXAD(xad) != oxaddr || lengthXAD(xad) != xlen) { xad 2899 fs/jfs/jfs_xtree.c xad = &pp->xad[index]; xad 2910 fs/jfs/jfs_xtree.c if (xad->flag & XAD_NOTRECORDED) xad 3119 fs/jfs/jfs_xtree.c xad = &pp->xad[index]; xad 3120 fs/jfs/jfs_xtree.c xad->flag |= XAD_NEW; xad 3121 fs/jfs/jfs_xtree.c XADaddress(xad, nxaddr); xad 3168 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad); xad 3169 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad); xad 3170 fs/jfs/jfs_xtree.c xaddr = addressXAD(xad); xad 3206 fs/jfs/jfs_xtree.c XT_CMP(cmp, xoff, &p->xad[index], t64); xad 3213 fs/jfs/jfs_xtree.c if (xaddr == addressXAD(&p->xad[index]) && xad 3214 fs/jfs/jfs_xtree.c xoff == offsetXAD(&p->xad[index])) { xad 3251 fs/jfs/jfs_xtree.c bn = addressXAD(&p->xad[index]); xad 3431 fs/jfs/jfs_xtree.c xad_t *xad; xad 3539 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 3540 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad); xad 3541 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad); xad 3569 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 3570 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad); xad 3571 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad); xad 3572 fs/jfs/jfs_xtree.c xaddr = addressXAD(xad); xad 3580 fs/jfs/jfs_xtree.c invalidate_xad_metapages(ip, *xad); xad 3622 fs/jfs/jfs_xtree.c XADlength(xad, len); xad 3668 fs/jfs/jfs_xtree.c xadlock.xdlist = &p->xad[nextindex]; xad 3699 fs/jfs/jfs_xtree.c xadlock.xdlist = &p->xad[XTENTRYSTART]; xad 3773 fs/jfs/jfs_xtree.c xadlock.xdlist = &p->xad[index + 1]; xad 3791 fs/jfs/jfs_xtree.c nfreed += lengthXAD(&p->xad[index]); xad 3845 fs/jfs/jfs_xtree.c xadlock.xdlist = &p->xad[XTENTRYSTART]; xad 3920 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 3921 fs/jfs/jfs_xtree.c bn = addressXAD(xad); xad 3992 fs/jfs/jfs_xtree.c xad_t *xad; xad 4050 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 4051 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad); xad 4052 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad); xad 4121 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 4122 fs/jfs/jfs_xtree.c bn = addressXAD(xad); xad 49 fs/jfs/jfs_xtree.h (xad)->off1 = ((u64)offset64) >> 32;\ xad 50 fs/jfs/jfs_xtree.h (xad)->off2 = __cpu_to_le32((offset64) & 0xffffffff);\ xad 54 fs/jfs/jfs_xtree.h (xad)->addr1 = ((u64)address64) >> 32;\ xad 55 fs/jfs/jfs_xtree.h (xad)->addr2 = __cpu_to_le32((address64) & 0xffffffff);\ xad 57 fs/jfs/jfs_xtree.h #define XADlength(xad, length32) (xad)->len = __cpu_to_le24(length32) xad 61 fs/jfs/jfs_xtree.h ( ((s64)((xad)->off1)) << 32 | __le32_to_cpu((xad)->off2)) xad 63 fs/jfs/jfs_xtree.h ( ((s64)((xad)->addr1)) << 32 | __le32_to_cpu((xad)->addr2)) xad 64 fs/jfs/jfs_xtree.h #define lengthXAD(xad) __le24_to_cpu((xad)->len) xad 70 fs/jfs/jfs_xtree.h xad_t *xad; xad 105 fs/jfs/jfs_xtree.h xad_t xad[XTROOTMAXSLOT]; /* 16 * maxentry: xad array */