Joel Sherrill commented: 
https://gitlab.rtems.org/rtems/programs/gsoc/-/issues/15#note_122596


@gedare linked to one of the macros involved above. None of them include 
BLOCK_SIZE which explains why your search failed. Here's a bit of a roadmap to 
the code.

- 
[IMFS_MEMFILE_DEFAULT_BYTES_PER_BLOCK](https://docs.rtems.org/doxygen/main/group__IMFS.html#gae516a81a3c6a2b16c5063c2885be9dc5)
 is the default value
- 
[CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK](https://docs.rtems.org/docs/main/c-user/config/filesystem.html#configure-imfs-memfile-bytes-per-block)

These are used to set the variable `imfs_memfile_bytes_per_block` with this 
code [confdefs 
code](https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/cpukit/include/rtems/confdefs/libio.h?ref_type=heads#L178)

I see two tests which exercise CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK

```
$ grep -r CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK
psxtests/psximfs01/init.c:#define CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK 16
psxtests/psximfs02/init.c:#define CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK   
MEMFILE_BYTES_PER_BLOCK
```

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/programs/gsoc/-/issues/15#note_122596
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to