Home
last modified time | relevance | path

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

/fs/jfs/
Djfs_xtree.c135 s64 xaddr; in xtLookup() local
183 xaddr = addressXAD(xad); in xtLookup()
187 *paddr = xaddr + (lstart - xoff); in xtLookup()
518 s64 xaddr, hint; in xtInsert() local
559 if ((xaddr = *xaddrp) == 0) { in xtInsert()
567 if ((rc = dbAlloc(ip, hint, (s64) xlen, &xaddr))) { in xtInsert()
591 split.addr = xaddr; in xtInsert()
596 dbFree(ip, xaddr, (s64) xlen); in xtInsert()
602 *xaddrp = xaddr; in xtInsert()
623 XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); in xtInsert()
[all …]
Djfs_extent.c73 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local
105 xaddr = hint + nxlen; in extAlloc()
142 if (xaddr && xaddr == nxaddr) in extAlloc()
198 s64 xaddr; in extHint() local
215 rc = xtLookup(ip, prev, nbperpage, &xflag, &xaddr, &xlen, 0); in extHint()
222 XADaddress(xp, xaddr); in extHint()
Djfs_txnmgr.c2397 s64 xaddr; in txAllocPMap() local
2412 xaddr = addressXAD(xad); in txAllocPMap()
2414 dbUpdatePMap(ipbmap, false, xaddr, in txAllocPMap()
2418 (ulong) xaddr, xlen); in txAllocPMap()
2423 xaddr = addressPXD(&pxdlock->pxd); in txAllocPMap()
2425 dbUpdatePMap(ipbmap, false, xaddr, (s64) xlen, tblk); in txAllocPMap()
2426 jfs_info("allocPMap: xaddr:0x%lx xlen:%d", (ulong) xaddr, xlen); in txAllocPMap()
2432 xaddr = addressPXD(pxd); in txAllocPMap()
2434 dbUpdatePMap(ipbmap, false, xaddr, (s64) xlen, in txAllocPMap()
2437 (ulong) xaddr, xlen); in txAllocPMap()
[all …]
Dinode.c205 s64 xaddr; in jfs_get_block() local
218 (!xtLookup(ip, lblock64, xlen, &xflag, &xaddr, &xlen, 0)) && in jfs_get_block()
219 xaddr) { in jfs_get_block()
229 XADaddress(&xad, xaddr); in jfs_get_block()
236 map_bh(bh_result, ip->i_sb, xaddr); in jfs_get_block()
Djfs_dtree.c198 s64 xaddr; in read_index_page() local
202 rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1); in read_index_page()
203 if (rc || (xaddr == 0)) in read_index_page()
206 return read_metapage(inode, xaddr, PSIZE, 1); in read_index_page()
217 s64 xaddr; in get_index_page() local
221 rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1); in get_index_page()
222 if (rc || (xaddr == 0)) in get_index_page()
225 return get_metapage(inode, xaddr, PSIZE, 1); in get_index_page()
335 s64 xaddr; in add_index() local
374 if (dbAlloc(ip, 0, sbi->nbperpage, &xaddr)) { in add_index()
[all …]
Dnamei.c715 s64 xaddr = addressDXD(&JFS_IP(ip)->ea); in jfs_free_zero_link() local
727 PXDaddress(&pxdlock->pxd, xaddr); in jfs_free_zero_link()
736 s64 xaddr = addressDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link() local
747 PXDaddress(&pxdlock->pxd, xaddr); in jfs_free_zero_link()
889 s64 xaddr; in jfs_symlink() local
986 xaddr = 0; in jfs_symlink()
988 if ((rc = xtInsert(tid, ip, 0, 0, xlen, &xaddr, 0))) { in jfs_symlink()
997 mp = get_metapage(ip, xaddr, PSIZE, 1); in jfs_symlink()
1009 xaddr += JFS_SBI(sb)->nbperpage; in jfs_symlink()
Dresize.c62 s64 XAddress, XSize, nblocks, xoff, xaddr, t64; in jfs_extendfs() local
383 xaddr = XAddress; in jfs_extendfs()
387 if ((rc = xtAppend(tid, ipbmap, 0, xoff, nblocks, &xlen, &xaddr, 0))) { in jfs_extendfs()
Djfs_metapage.c240 s64 xaddr; in metapage_get_blocks() local
250 rc = xtLookup(inode, (s64)lblock, *len, &xflag, &xaddr, len, 0); in metapage_get_blocks()
252 lblock = (sector_t)xaddr; in metapage_get_blocks()
Djfs_imap.c2446 s64 xaddr = 0; in diNewIAG() local
2507 if ((rc = dbAlloc(ipimap, 0, (s64) xlen, &xaddr))) { in diNewIAG()
2523 xtInsert(tid, ipimap, 0, blkno, xlen, &xaddr, 0))) { in diNewIAG()
2529 dbFree(ipimap, xaddr, (s64) xlen); in diNewIAG()
2594 duplicateIXtree(sb, blkno, xlen, &xaddr); in diNewIAG()
2980 int xlen, s64 *xaddr) in duplicateIXtree() argument
3007 if (xtInsert(tid, ip, 0, blkno, xlen, xaddr, 0)) { in duplicateIXtree()
/fs/
Dbinfmt_elf_fdpic.c1126 unsigned long xaddr = maddr + phdr->p_filesz + excess1; in elf_fdpic_map_file_by_direct_mmap() local
1130 xmaddr = vm_mmap(NULL, xaddr, excess - excess1, in elf_fdpic_map_file_by_direct_mmap()
1135 loop, xaddr, excess - excess1, prot, flags, in elf_fdpic_map_file_by_direct_mmap()
1138 if (xmaddr != xaddr) in elf_fdpic_map_file_by_direct_mmap()