Searched refs:wmap (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/fs/jfs/
H A Djfs_dmap.c1186 if ((mask & ~le32_to_cpu(dp->wmap[word])) != mask) dbAllocNext()
1297 dbFindBits(le32_to_cpu(dp->wmap[word]), l2nb); dbAllocNear()
2023 blkno += dbFindBits(le32_to_cpu(dp->wmap[leafidx]), l2nb); dbAllocDmapLev()
2223 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) dbAllocBits()
2232 dbMaxBud((u8 *) & dp->wmap[word])); dbAllocBits()
2242 memset(&dp->wmap[word], (int) ONES, nwords * 4); dbAllocBits()
2372 dp->wmap[word] &= dbFreeBits()
2379 dbMaxBud((u8 *) & dp->wmap[word])); dbFreeBits()
2390 memset(&dp->wmap[word], 0, nwords * 4); dbFreeBits()
3077 /* check if the wmap word is all free. if so, the dbMaxBud()
3083 /* check if the wmap word is half free. if so, the dbMaxBud()
3090 * size thru table lookup using quarters of the wmap word. dbMaxBud()
3311 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) dbAllocDmapBU()
3322 memset(&dp->wmap[word], (int) ONES, nwords * 4); dbAllocDmapBU()
3759 memset(&dp->wmap[0], 0, LPERDMAP * 4); dbInitDmap()
3785 dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) dbInitDmap()
3795 memset(&dp->wmap[w], 0, nw * 4); dbInitDmap()
3819 dp->wmap[w] = dp->pmap[w] = cpu_to_le32(ONES >> b); dbInitDmap()
3825 dp->pmap[i] = dp->wmap[i] = cpu_to_le32(ONES); dbInitDmap()
3863 /* init each leaf from corresponding wmap word: dbInitDmapTree()
3869 *cp++ = dbMaxBud((u8 *) & dp->wmap[i]); dbInitDmapTree()
H A Djfs_imap.c931 if (!(le32_to_cpu(iagp->wmap[extno]) & mask)) { diFree()
932 jfs_error(ip->i_sb, "wmap shows inode already free\n"); diFree()
945 bitmap = le32_to_cpu(iagp->wmap[extno]) & ~mask; diFree()
1007 if (iagp->wmap[extno] == cpu_to_le32(ONES)) { diFree()
1016 iagp->wmap[extno] = cpu_to_le32(bitmap); diFree()
1202 iagp->wmap[extno] = 0; diFree()
1437 diFindFree(le32_to_cpu(iagp->wmap[extno]), diAlloc()
1512 rem = diFindFree(le32_to_cpu(iagp->wmap[extno]), diAlloc()
1519 "can't find free bit in wmap\n"); diAlloc()
1845 rem = diFindFree(le32_to_cpu(iagp->wmap[extno]), 0); diAllocIno()
2072 ((le32_to_cpu(iagp->wmap[extno]) & mask) != 0) || diAllocBit()
2085 iagp->wmap[extno] |= cpu_to_le32(mask); diAllocBit()
2091 if (iagp->wmap[extno] == cpu_to_le32(ONES)) { diAllocBit()
2358 iagp->wmap[extno] = cpu_to_le32(HIGHORDER); diNewExt()
2782 if (!(le32_to_cpu(iagp->wmap[extno]) & mask)) { diUpdatePMap()
2784 "inode %ld not marked as allocated in wmap!\n", diUpdatePMap()
2802 if (!(le32_to_cpu(iagp->wmap[extno]) & mask)) { diUpdatePMap()
H A Djfs_imap.h87 __le32 wmap[EXTSPERIAG]; /* 512: working allocation map */ member in struct:iag
H A Djfs_txnmgr.h80 #define COMMIT_WMAP 0x0020 /* update wmap */
H A Djfs_dmap.h166 __le32 wmap[LPERDMAP]; /* 1024: bits of the working map */ member in struct:dmap
H A Djfs_txnmgr.c2313 * update allocation state in pmap (and wmap) and txUpdateMap()
2353 * blocks have been allocated from wmap at alloc time; txUpdateMap()
2360 * blocks will be freed in pmap and then in wmap; txUpdateMap()
2366 * blocks will be freed from wmap at last reference txUpdateMap()
H A Djfs_xtree.c3535 * the child's disk space to be marked available in the wmap, so xtTruncate()

Completed in 274 milliseconds