Home
last modified time | relevance | path

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

/Linux-v6.6/fs/jfs/
Djfs_dmap.c1136 if ((mask & ~le32_to_cpu(dp->wmap[word])) != mask) in dbAllocNext()
1247 dbFindBits(le32_to_cpu(dp->wmap[word]), l2nb); in dbAllocNear()
1976 blkno += dbFindBits(le32_to_cpu(dp->wmap[leafidx]), l2nb); in dbAllocDmapLev()
2176 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocBits()
2185 dbMaxBud((u8 *) & dp->wmap[word])); in dbAllocBits()
2195 memset(&dp->wmap[word], (int) ONES, nwords * 4); in dbAllocBits()
2325 dp->wmap[word] &= in dbFreeBits()
2332 dbMaxBud((u8 *) & dp->wmap[word])); in dbFreeBits()
2343 memset(&dp->wmap[word], 0, nwords * 4); in dbFreeBits()
3268 dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) in dbAllocDmapBU()
[all …]
Djfs_imap.c910 if (!(le32_to_cpu(iagp->wmap[extno]) & mask)) { in diFree()
924 bitmap = le32_to_cpu(iagp->wmap[extno]) & ~mask; in diFree()
986 if (iagp->wmap[extno] == cpu_to_le32(ONES)) { in diFree()
995 iagp->wmap[extno] = cpu_to_le32(bitmap); in diFree()
1181 iagp->wmap[extno] = 0; in diFree()
1416 diFindFree(le32_to_cpu(iagp->wmap[extno]), in diAlloc()
1491 rem = diFindFree(le32_to_cpu(iagp->wmap[extno]), in diAlloc()
1824 rem = diFindFree(le32_to_cpu(iagp->wmap[extno]), 0); in diAllocIno()
2051 ((le32_to_cpu(iagp->wmap[extno]) & mask) != 0) || in diAllocBit()
2064 iagp->wmap[extno] |= cpu_to_le32(mask); in diAllocBit()
[all …]
Djfs_imap.h74 __le32 wmap[EXTSPERIAG]; /* 512: working allocation map */ member
Djfs_dmap.h153 __le32 wmap[LPERDMAP]; /* 1024: bits of the working map */ member