MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / ResolveInodeBlockGroup

Method ResolveInodeBlockGroup

Kernel/include/fs/ext2.h:263–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261 }
262
263 inline uint32_t ResolveInodeBlockGroup(uint32_t inode){
264 return (inode - 1) / super.inodesPerGroup;
265 }
266
267 inline uint32_t ResolveInodeBlockGroupIndex(uint32_t inode){
268 return (inode - 1) % super.inodesPerGroup;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected