Home
last modified time | relevance | path

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

/linux/fs/jfs/
H A Djfs_dmap.c1143 if ((mask & ~le32_to_cpu(dp->wmap[word])) != mask) in dbAllocNext()
1254 dbFindBits(le32_to_cpu(dp->wmap[word]), l2nb); in dbAllocNear()
1988 blkno += dbFindBits(le32_to_cpu(dp->wmap[leafidx]), l2nb); in dbAllocDmapLev()
2188 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocBits()
2197 dbMaxBud((u8 *)&dp->wmap[word]), false); in dbAllocBits()
2207 memset(&dp->wmap[word], (int) ONES, nwords * 4); in dbAllocBits()
2337 dp->wmap[word] &= in dbFreeBits()
2344 dbMaxBud((u8 *)&dp->wmap[word]), false); in dbFreeBits()
2355 memset(&dp->wmap[word], 0, nwords * 4); in dbFreeBits()
3297 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocDmapBU()
[all …]
H A Djfs_imap.c913 if (!(le32_to_cpu(iagp->wmap[extno]) & mask)) { in diFree()
927 bitmap = le32_to_cpu(iagp->wmap[extno]) & ~mask; in diFree()
989 if (iagp->wmap[extno] == cpu_to_le32(ONES)) { in diFree()
998 iagp->wmap[extno] = cpu_to_le32(bitmap); in diFree()
1184 iagp->wmap[extno] = 0; in diFree()
1422 diFindFree(le32_to_cpu(iagp->wmap[extno]), in diAlloc()
1497 rem = diFindFree(le32_to_cpu(iagp->wmap[extno]), in diAlloc()
1830 rem = diFindFree(le32_to_cpu(iagp->wmap[extno]), 0); in diAllocIno()
2057 ((le32_to_cpu(iagp->wmap[extno]) & mask) != 0) || in diAllocBit()
2070 iagp->wmap[extno] |= cpu_to_le32(mask); in diAllocBit()
[all …]
H A Djfs_imap.h74 __le32 wmap[EXTSPERIAG]; /* 512: working allocation map */ member
H A Djfs_dmap.h153 __le32 wmap[LPERDMAP]; /* 1024: bits of the working map */ member