Home
last modified time | relevance | path

Searched refs:wmap (Results 1 – 4 of 4) sorted by relevance

/fs/jfs/
Djfs_dmap.c1183 if ((mask & ~le32_to_cpu(dp->wmap[word])) != mask) in dbAllocNext()
1295 dbFindBits(le32_to_cpu(dp->wmap[word]), l2nb); in dbAllocNear()
1916 blkno += dbFindBits(le32_to_cpu(dp->wmap[leafidx]), l2nb); in dbAllocDmapLev()
2116 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocBits()
2125 dbMaxBud((u8 *) & dp->wmap[word])); in dbAllocBits()
2135 memset(&dp->wmap[word], (int) ONES, nwords * 4); in dbAllocBits()
2265 dp->wmap[word] &= in dbFreeBits()
2272 dbMaxBud((u8 *) & dp->wmap[word])); in dbFreeBits()
2283 memset(&dp->wmap[word], 0, nwords * 4); in dbFreeBits()
3209 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocDmapBU()
[all …]
Djfs_imap.c935 if (!(le32_to_cpu(iagp->wmap[extno]) & mask)) { in diFree()
950 bitmap = le32_to_cpu(iagp->wmap[extno]) & ~mask; in diFree()
1012 if (iagp->wmap[extno] == cpu_to_le32(ONES)) { in diFree()
1021 iagp->wmap[extno] = cpu_to_le32(bitmap); in diFree()
1207 iagp->wmap[extno] = 0; in diFree()
1443 diFindFree(le32_to_cpu(iagp->wmap[extno]), in diAlloc()
1518 rem = diFindFree(le32_to_cpu(iagp->wmap[extno]), in diAlloc()
1853 rem = diFindFree(le32_to_cpu(iagp->wmap[extno]), 0); in diAllocIno()
2081 ((le32_to_cpu(iagp->wmap[extno]) & mask) != 0) || in diAllocBit()
2095 iagp->wmap[extno] |= cpu_to_le32(mask); in diAllocBit()
[all …]
Djfs_imap.h87 __le32 wmap[EXTSPERIAG]; /* 512: working allocation map */ member
Djfs_dmap.h166 __le32 wmap[LPERDMAP]; /* 1024: bits of the working map */ member