Home
last modified time | relevance | path

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

/fs/jfs/
Djfs_extent.c76 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local
108 xaddr = hint + nxlen; in extAlloc()
145 if (xaddr && xaddr == nxaddr) in extAlloc()
205 s64 xaddr, xlen, nxaddr, delta, xoff; in extRealloc() local
221 xaddr = addressXAD(xp); in extRealloc()
243 if ((rc = extBrealloc(ip, xaddr, xlen, &nxlen, &nxaddr))) in extRealloc()
285 if (xaddr == nxaddr) { in extRealloc()
288 dbFree(ip, xaddr + xlen, delta); in extRealloc()
312 xaddr = nxaddr + ntail; in extRealloc()
314 &xaddr, 0)) { in extRealloc()
[all …]
Djfs_xtree.c146 s64 xaddr; in xtLookup() local
194 xaddr = addressXAD(xad); in xtLookup()
198 *paddr = xaddr + (lstart - xoff); in xtLookup()
529 s64 xaddr, hint; in xtInsert() local
570 if ((xaddr = *xaddrp) == 0) { in xtInsert()
578 if ((rc = dbAlloc(ip, hint, (s64) xlen, &xaddr))) { in xtInsert()
602 split.addr = xaddr; in xtInsert()
607 dbFree(ip, xaddr, (s64) xlen); in xtInsert()
613 *xaddrp = xaddr; in xtInsert()
634 XT_PUTENTRY(xad, xflag, xoff, xlen, xaddr); in xtInsert()
[all …]
Djfs_txnmgr.c2429 s64 xaddr; in txAllocPMap() local
2444 xaddr = addressXAD(xad); in txAllocPMap()
2446 dbUpdatePMap(ipbmap, false, xaddr, in txAllocPMap()
2450 (ulong) xaddr, xlen); in txAllocPMap()
2455 xaddr = addressPXD(&pxdlock->pxd); in txAllocPMap()
2457 dbUpdatePMap(ipbmap, false, xaddr, (s64) xlen, tblk); in txAllocPMap()
2458 jfs_info("allocPMap: xaddr:0x%lx xlen:%d", (ulong) xaddr, xlen); in txAllocPMap()
2464 xaddr = addressPXD(pxd); in txAllocPMap()
2466 dbUpdatePMap(ipbmap, false, xaddr, (s64) xlen, in txAllocPMap()
2469 (ulong) xaddr, xlen); in txAllocPMap()
[all …]
Dinode.c203 s64 xaddr; in jfs_get_block() local
216 (!xtLookup(ip, lblock64, xlen, &xflag, &xaddr, &xlen, 0)) && in jfs_get_block()
217 xaddr) { in jfs_get_block()
228 XADaddress(&xad, xaddr); in jfs_get_block()
243 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.c714 s64 xaddr = addressDXD(&JFS_IP(ip)->ea); in jfs_free_zero_link() local
726 PXDaddress(&pxdlock->pxd, xaddr); in jfs_free_zero_link()
735 s64 xaddr = addressDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link() local
746 PXDaddress(&pxdlock->pxd, xaddr); in jfs_free_zero_link()
883 s64 xaddr; in jfs_symlink() local
980 xaddr = 0; in jfs_symlink()
982 if ((rc = xtInsert(tid, ip, 0, 0, xlen, &xaddr, 0))) { in jfs_symlink()
991 mp = get_metapage(ip, xaddr, PSIZE, 1); in jfs_symlink()
1003 xaddr += JFS_SBI(sb)->nbperpage; in jfs_symlink()
Dresize.c61 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_xtree.h100 s64 xoff, int xlen, s64 xaddr, int flag);
Djfs_metapage.c239 s64 xaddr; in metapage_get_blocks() local
249 rc = xtLookup(inode, (s64)lblock, *len, &xflag, &xaddr, len, 0); in metapage_get_blocks()
251 lblock = (sector_t)xaddr; in metapage_get_blocks()
Djfs_imap.c2441 s64 xaddr = 0; in diNewIAG() local
2502 if ((rc = dbAlloc(ipimap, 0, (s64) xlen, &xaddr))) { in diNewIAG()
2518 xtInsert(tid, ipimap, 0, blkno, xlen, &xaddr, 0))) { in diNewIAG()
2524 dbFree(ipimap, xaddr, (s64) xlen); in diNewIAG()
2589 duplicateIXtree(sb, blkno, xlen, &xaddr); in diNewIAG()
2975 int xlen, s64 *xaddr) in duplicateIXtree() argument
3002 if (xtInsert(tid, ip, 0, blkno, xlen, xaddr, 0)) { in duplicateIXtree()
/fs/
Dbinfmt_elf_fdpic.c1124 unsigned long xaddr = maddr + phdr->p_filesz + excess1; in elf_fdpic_map_file_by_direct_mmap() local
1128 xmaddr = vm_mmap(NULL, xaddr, excess - excess1, in elf_fdpic_map_file_by_direct_mmap()
1133 loop, xaddr, excess - excess1, prot, flags, in elf_fdpic_map_file_by_direct_mmap()
1136 if (xmaddr != xaddr) in elf_fdpic_map_file_by_direct_mmap()