xad 202 fs/jfs/inode.c xad_t xad; xad 226 fs/jfs/inode.c XADoffset(&xad, lblock64); xad 227 fs/jfs/inode.c XADlength(&xad, xlen); xad 228 fs/jfs/inode.c XADaddress(&xad, xaddr); xad 237 fs/jfs/inode.c rc = extRecord(ip, &xad); xad 254 fs/jfs/inode.c if ((rc = extHint(ip, lblock64 << ip->i_sb->s_blocksize_bits, &xad))) xad 256 fs/jfs/inode.c rc = extAlloc(ip, xlen, lblock64, &xad, false); xad 261 fs/jfs/inode.c map_bh(bh_result, ip->i_sb, addressXAD(&xad)); xad 262 fs/jfs/inode.c bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits; xad 675 fs/jfs/jfs_imap.c xad_t *xad; xad 691 fs/jfs/jfs_imap.c memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], xad 696 fs/jfs/jfs_imap.c xad = &xp->xad[XTENTRYSTART]; xad 698 fs/jfs/jfs_imap.c n < le16_to_cpu(xp->header.nextindex); n++, xad++) xad 699 fs/jfs/jfs_imap.c if (xad->flag & (XAD_NEW | XAD_EXTENDED)) xad 700 fs/jfs/jfs_imap.c xad->flag &= ~(XAD_NEW | XAD_EXTENDED); xad 718 fs/jfs/jfs_imap.c xad_t *xad; xad 727 fs/jfs/jfs_imap.c memcpy(&xp->xad[lv->offset], &p->xad[lv->offset], xad 732 fs/jfs/jfs_imap.c xad = &xp->xad[XTENTRYSTART]; xad 734 fs/jfs/jfs_imap.c n < le16_to_cpu(xp->header.nextindex); n++, xad++) xad 735 fs/jfs/jfs_imap.c if (xad->flag & (XAD_NEW | XAD_EXTENDED)) xad 736 fs/jfs/jfs_imap.c xad->flag &= ~(XAD_NEW | XAD_EXTENDED); xad 139 fs/jfs/jfs_metapage.h #define invalidate_xad_metapages(ip, xad) \ xad 140 fs/jfs/jfs_metapage.h __invalidate_metapages((ip), addressXAD(&(xad)), lengthXAD(&(xad))) xad 1773 fs/jfs/jfs_txnmgr.c PXDaddress(pxd, addressXAD(&p->xad[lwm + i])); xad 1774 fs/jfs/jfs_txnmgr.c PXDlength(pxd, lengthXAD(&p->xad[lwm + i])); xad 1775 fs/jfs/jfs_txnmgr.c p->xad[lwm + i].flag &= xad 1785 fs/jfs/jfs_txnmgr.c xadlock->xdlist = &p->xad[lwm]; xad 1877 fs/jfs/jfs_txnmgr.c addressXAD(&p->xad[XTENTRYSTART + i])); xad 1879 fs/jfs/jfs_txnmgr.c lengthXAD(&p->xad[XTENTRYSTART + i])); xad 1888 fs/jfs/jfs_txnmgr.c xadlock->xdlist = &p->xad[XTENTRYSTART]; xad 2012 fs/jfs/jfs_txnmgr.c xadlock->xdlist = &p->xad[lwm]; xad 2052 fs/jfs/jfs_txnmgr.c xadlock->xdlist = &p->xad[next]; xad 2428 fs/jfs/jfs_txnmgr.c xad_t *xad; xad 2441 fs/jfs/jfs_txnmgr.c xad = xadlistlock->xdlist; xad 2442 fs/jfs/jfs_txnmgr.c for (n = 0; n < xadlistlock->count; n++, xad++) { xad 2443 fs/jfs/jfs_txnmgr.c if (xad->flag & (XAD_NEW | XAD_EXTENDED)) { xad 2444 fs/jfs/jfs_txnmgr.c xaddr = addressXAD(xad); xad 2445 fs/jfs/jfs_txnmgr.c xlen = lengthXAD(xad); xad 2448 fs/jfs/jfs_txnmgr.c xad->flag &= ~(XAD_NEW | XAD_EXTENDED); xad 2486 fs/jfs/jfs_txnmgr.c xad_t *xad; xad 2503 fs/jfs/jfs_txnmgr.c xad = xadlistlock->xdlist; xad 2504 fs/jfs/jfs_txnmgr.c for (n = 0; n < xadlistlock->count; n++, xad++) { xad 2505 fs/jfs/jfs_txnmgr.c if (!(xad->flag & XAD_NEW)) { xad 2506 fs/jfs/jfs_txnmgr.c xaddr = addressXAD(xad); xad 2507 fs/jfs/jfs_txnmgr.c xlen = lengthXAD(xad); xad 2543 fs/jfs/jfs_txnmgr.c xad = xadlistlock->xdlist; xad 2544 fs/jfs/jfs_txnmgr.c for (n = 0; n < xadlistlock->count; n++, xad++) { xad 2545 fs/jfs/jfs_txnmgr.c xaddr = addressXAD(xad); xad 2546 fs/jfs/jfs_txnmgr.c xlen = lengthXAD(xad); xad 2548 fs/jfs/jfs_txnmgr.c xad->flag = 0; xad 122 fs/jfs/jfs_xtree.c xad_t * xad, xad 143 fs/jfs/jfs_xtree.c xad_t *xad; xad 190 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 191 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad); xad 192 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad); xad 194 fs/jfs/jfs_xtree.c xaddr = addressXAD(xad); xad 197 fs/jfs/jfs_xtree.c *pflag = xad->flag; xad 235 fs/jfs/jfs_xtree.c xad_t *xad; xad 281 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 282 fs/jfs/jfs_xtree.c t64 = offsetXAD(xad); xad 283 fs/jfs/jfs_xtree.c if (xoff < t64 + lengthXAD(xad)) { xad 297 fs/jfs/jfs_xtree.c xad++; xad 298 fs/jfs/jfs_xtree.c t64 = offsetXAD(xad); xad 299 fs/jfs/jfs_xtree.c if (xoff < t64 + lengthXAD(xad)) { xad 371 fs/jfs/jfs_xtree.c XT_CMP(cmp, xoff, &p->xad[index], t64); xad 413 fs/jfs/jfs_xtree.c next = offsetXAD(&p->xad[index + 1]); xad 430 fs/jfs/jfs_xtree.c next = offsetXAD(&p->xad[base]); xad 497 fs/jfs/jfs_xtree.c bn = addressXAD(&p->xad[index]); xad 536 fs/jfs/jfs_xtree.c xad_t *xad; xad 572 fs/jfs/jfs_xtree.c xad = &p->xad[index - 1]; xad 573 fs/jfs/jfs_xtree.c hint = addressXAD(xad) + lengthXAD(xad) - 1; xad 629 fs/jfs/jfs_xtree.c memmove(&p->xad[index + 1], &p->xad[index], xad 633 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 634 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); xad 689 fs/jfs/jfs_xtree.c xad_t *xad; xad 719 fs/jfs/jfs_xtree.c memmove(&sp->xad[skip + 1], &sp->xad[skip], xad 723 fs/jfs/jfs_xtree.c xad = &sp->xad[skip]; xad 724 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, split->flag, split->off, split->len, xad 845 fs/jfs/jfs_xtree.c split->off = offsetXAD(&rcp->xad[XTENTRYSTART]); xad 886 fs/jfs/jfs_xtree.c memmove(&sp->xad[skip + 1], &sp->xad[skip], xad 891 fs/jfs/jfs_xtree.c xad = &sp->xad[skip]; xad 892 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, XAD_NEW, xad 893 fs/jfs/jfs_xtree.c offsetXAD(&rcp->xad[XTENTRYSTART]), xad 958 fs/jfs/jfs_xtree.c xad_t *xad; xad 1050 fs/jfs/jfs_xtree.c xad = &rp->xad[XTENTRYSTART]; xad 1051 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, split->flag, split->off, split->len, xad 1112 fs/jfs/jfs_xtree.c memmove(&rp->xad[XTENTRYSTART], &sp->xad[middle], xad 1117 fs/jfs/jfs_xtree.c memmove(&sp->xad[skip + 1], &sp->xad[skip], xad 1121 fs/jfs/jfs_xtree.c xad = &sp->xad[skip]; xad 1122 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, split->flag, split->off, split->len, xad 1141 fs/jfs/jfs_xtree.c memmove(&rp->xad[XTENTRYSTART], &sp->xad[middle], xad 1146 fs/jfs/jfs_xtree.c xad = &rp->xad[n]; xad 1147 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, split->flag, split->off, split->len, xad 1152 fs/jfs/jfs_xtree.c memmove(&rp->xad[n + 1], &sp->xad[skip], xad 1220 fs/jfs/jfs_xtree.c xad_t *xad; xad 1273 fs/jfs/jfs_xtree.c memmove(&rp->xad[XTENTRYSTART], &sp->xad[XTENTRYSTART], xad 1283 fs/jfs/jfs_xtree.c memmove(&rp->xad[skip + 1], &rp->xad[skip], xad 1286 fs/jfs/jfs_xtree.c xad = &rp->xad[skip]; xad 1287 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, split->flag, split->off, split->len, split->addr); xad 1314 fs/jfs/jfs_xtree.c xad = &sp->xad[XTENTRYSTART]; xad 1315 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, XAD_NEW, 0, JFS_SBI(ip->i_sb)->nbperpage, rbn); xad 1360 fs/jfs/jfs_xtree.c xad_t *xad; xad 1381 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 1382 fs/jfs/jfs_xtree.c if ((offsetXAD(xad) + lengthXAD(xad)) != xoff) { xad 1400 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad) + xlen; xad 1408 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad) + MAXXLEN; xad 1409 fs/jfs/jfs_xtree.c xaddr = addressXAD(xad) + MAXXLEN; xad 1442 fs/jfs/jfs_xtree.c xad = &p->xad[XTENTRYSTART]; xad 1443 fs/jfs/jfs_xtree.c bn = addressXAD(xad); xad 1463 fs/jfs/jfs_xtree.c xad = &p->xad[index + 1]; xad 1464 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, XAD_NEW, xoff, len, xaddr); xad 1471 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 1478 fs/jfs/jfs_xtree.c XADlength(xad, xlen); xad 1479 fs/jfs/jfs_xtree.c if (!(xad->flag & XAD_NEW)) xad 1480 fs/jfs/jfs_xtree.c xad->flag |= XAD_EXTENDED; xad 1523 fs/jfs/jfs_xtree.c xad_t *xad; xad 1565 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 1570 fs/jfs/jfs_xtree.c if ((llen = xoff - offsetXAD(xad)) == 0) xad 1607 fs/jfs/jfs_xtree.c xad = &p->xad[XTENTRYSTART]; xad 1608 fs/jfs/jfs_xtree.c bn = addressXAD(xad); xad 1628 fs/jfs/jfs_xtree.c xad = &p->xad[index + 1]; xad 1629 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, XAD_NEW, xoff, xlen, xaddr); xad 1636 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 1643 fs/jfs/jfs_xtree.c rlen = lengthXAD(xad) - llen; xad 1644 fs/jfs/jfs_xtree.c if (!(xad->flag & XAD_NEW)) { xad 1650 fs/jfs/jfs_xtree.c PXDaddress(&pxdlock->pxd, addressXAD(xad) + llen); xad 1656 fs/jfs/jfs_xtree.c dbFree(ip, addressXAD(xad) + llen, (s64) rlen); xad 1660 fs/jfs/jfs_xtree.c XADlength(xad, llen); xad 1663 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, XAD_NEW, xoff, xlen, xaddr); xad 1702 fs/jfs/jfs_xtree.c xad_t *xad, *lxad, *rxad; xad 1737 fs/jfs/jfs_xtree.c xad = &p->xad[index0]; xad 1738 fs/jfs/jfs_xtree.c xflag = xad->flag; xad 1739 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad); xad 1740 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad); xad 1741 fs/jfs/jfs_xtree.c xaddr = addressXAD(xad); xad 1766 fs/jfs/jfs_xtree.c *xad = *nxad; xad 1767 fs/jfs/jfs_xtree.c xad->flag = xflag & ~XAD_NOTRECORDED; xad 1787 fs/jfs/jfs_xtree.c lxad = &p->xad[index - 1]; xad 1807 fs/jfs/jfs_xtree.c XADoffset(xad, xoff + nxlen); xad 1808 fs/jfs/jfs_xtree.c XADlength(xad, xlen - nxlen); xad 1809 fs/jfs/jfs_xtree.c XADaddress(xad, xaddr + nxlen); xad 1815 fs/jfs/jfs_xtree.c memmove(&p->xad[index], &p->xad[index + 1], xad 1839 fs/jfs/jfs_xtree.c *xad = *nxad; xad 1840 fs/jfs/jfs_xtree.c xad->flag = xflag & ~XAD_NOTRECORDED; xad 1858 fs/jfs/jfs_xtree.c rxad = &p->xad[index + 1]; xad 1879 fs/jfs/jfs_xtree.c XADlength(xad, xlen - nxlen); xad 1883 fs/jfs/jfs_xtree.c memmove(&p->xad[index], &p->xad[index + 1], xad 1911 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 1912 fs/jfs/jfs_xtree.c XADlength(xad, nxoff - xoff); xad 1940 fs/jfs/jfs_xtree.c xad = &p->xad[XTENTRYSTART]; xad 1941 fs/jfs/jfs_xtree.c bn = addressXAD(xad); xad 1968 fs/jfs/jfs_xtree.c memmove(&p->xad[newindex + 1], &p->xad[newindex], xad 1972 fs/jfs/jfs_xtree.c xad = &p->xad[newindex]; xad 1973 fs/jfs/jfs_xtree.c *xad = *nxad; xad 1974 fs/jfs/jfs_xtree.c xad->flag = xflag & ~XAD_NOTRECORDED; xad 2058 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 2059 fs/jfs/jfs_xtree.c *xad = *nxad; xad 2060 fs/jfs/jfs_xtree.c xad->flag = xflag & ~XAD_NOTRECORDED; xad 2094 fs/jfs/jfs_xtree.c xad = &p->xad[XTENTRYSTART]; xad 2095 fs/jfs/jfs_xtree.c bn = addressXAD(xad); xad 2112 fs/jfs/jfs_xtree.c memmove(&p->xad[newindex + 1], &p->xad[newindex], xad 2116 fs/jfs/jfs_xtree.c xad = &p->xad[newindex]; xad 2117 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); xad 2169 fs/jfs/jfs_xtree.c xad_t *xad; xad 2288 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 2289 fs/jfs/jfs_xtree.c XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); xad 2376 fs/jfs/jfs_xtree.c memmove(&p->xad[index], &p->xad[index + 1], xad 2514 fs/jfs/jfs_xtree.c memmove(&p->xad[index], &p->xad[index + 1], xad 2556 fs/jfs/jfs_xtree.c xad_t *xad; xad 2603 fs/jfs/jfs_xtree.c xad = &pp->xad[index]; xad 2604 fs/jfs/jfs_xtree.c if (addressXAD(xad) != oxaddr || lengthXAD(xad) != xlen) { xad 2625 fs/jfs/jfs_xtree.c xad = &pp->xad[index]; xad 2636 fs/jfs/jfs_xtree.c if (xad->flag & XAD_NOTRECORDED) xad 2845 fs/jfs/jfs_xtree.c xad = &pp->xad[index]; xad 2846 fs/jfs/jfs_xtree.c xad->flag |= XAD_NEW; xad 2847 fs/jfs/jfs_xtree.c XADaddress(xad, nxaddr); xad 2878 fs/jfs/jfs_xtree.c static int xtSearchNode(struct inode *ip, xad_t * xad, /* required XAD entry */ xad 2894 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad); xad 2895 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad); xad 2896 fs/jfs/jfs_xtree.c xaddr = addressXAD(xad); xad 2932 fs/jfs/jfs_xtree.c XT_CMP(cmp, xoff, &p->xad[index], t64); xad 2939 fs/jfs/jfs_xtree.c if (xaddr == addressXAD(&p->xad[index]) && xad 2940 fs/jfs/jfs_xtree.c xoff == offsetXAD(&p->xad[index])) { xad 2977 fs/jfs/jfs_xtree.c bn = addressXAD(&p->xad[index]); xad 3157 fs/jfs/jfs_xtree.c xad_t *xad; xad 3265 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 3266 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad); xad 3267 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad); xad 3295 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 3296 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad); xad 3297 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad); xad 3298 fs/jfs/jfs_xtree.c xaddr = addressXAD(xad); xad 3306 fs/jfs/jfs_xtree.c invalidate_xad_metapages(ip, *xad); xad 3348 fs/jfs/jfs_xtree.c XADlength(xad, len); xad 3394 fs/jfs/jfs_xtree.c xadlock.xdlist = &p->xad[nextindex]; xad 3425 fs/jfs/jfs_xtree.c xadlock.xdlist = &p->xad[XTENTRYSTART]; xad 3499 fs/jfs/jfs_xtree.c xadlock.xdlist = &p->xad[index + 1]; xad 3517 fs/jfs/jfs_xtree.c nfreed += lengthXAD(&p->xad[index]); xad 3571 fs/jfs/jfs_xtree.c xadlock.xdlist = &p->xad[XTENTRYSTART]; xad 3646 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 3647 fs/jfs/jfs_xtree.c bn = addressXAD(xad); xad 3718 fs/jfs/jfs_xtree.c xad_t *xad; xad 3775 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 3776 fs/jfs/jfs_xtree.c xoff = offsetXAD(xad); xad 3777 fs/jfs/jfs_xtree.c xlen = lengthXAD(xad); xad 3846 fs/jfs/jfs_xtree.c xad = &p->xad[index]; xad 3847 fs/jfs/jfs_xtree.c bn = addressXAD(xad); xad 32 fs/jfs/jfs_xtree.h #define XADoffset(xad, offset64)\ xad 34 fs/jfs/jfs_xtree.h (xad)->off1 = ((u64)offset64) >> 32;\ xad 35 fs/jfs/jfs_xtree.h (xad)->off2 = __cpu_to_le32((offset64) & 0xffffffff);\ xad 37 fs/jfs/jfs_xtree.h #define XADaddress(xad, address64) PXDaddress(&(xad)->loc, address64) xad 38 fs/jfs/jfs_xtree.h #define XADlength(xad, length32) PXDlength(&(xad)->loc, length32) xad 41 fs/jfs/jfs_xtree.h #define offsetXAD(xad)\ xad 42 fs/jfs/jfs_xtree.h ( ((s64)((xad)->off1)) << 32 | __le32_to_cpu((xad)->off2)) xad 43 fs/jfs/jfs_xtree.h #define addressXAD(xad) addressPXD(&(xad)->loc) xad 44 fs/jfs/jfs_xtree.h #define lengthXAD(xad) lengthPXD(&(xad)->loc) xad 50 fs/jfs/jfs_xtree.h xad_t *xad; xad 85 fs/jfs/jfs_xtree.h xad_t xad[XTROOTMAXSLOT]; /* 16 * maxentry: xad array */ xad 102 fs/jfs/jfs_xtree.h extern int xtUpdate(tid_t tid, struct inode *ip, struct xad *nxad);