As with all the many examples of a hapex legomenon (as in κεφαλίς) we must rely upon extra-biblical literature to see its meaning. BDAG gives this meaning:
diminutive of κεφαλή, literally, 'little head', in our literature,
only once, modeled after the OT (Ezk 2:9) and in a quote from Ps 39:8 [LXX]
κεφαλίδι βιβλίου roll of a book
The Strong' Concordance is also helpful for showing the origin:
literally: little head, then: the knob at the end of the wooden core
of a roll of papyrus, then) a roll, volume, division (of a book).
Note that κεφαλίς (little head) is the diminutive of κεφαλή (head). In Eph 5:23 Jesus is described as κεφαλὴ (head) and NOT κεφαλίς (little head).
The intent of this passage is made clear in Heb 10:5 -
Therefore, when Christ came into the world, He said:
Thus, Jesus quotes Ps 40:6-8 - a Messianic prophecy about (obviously) Jesus. That is, Jesus claims to be the fulfillment of prophecies in the OT, and Torah in particular, about Himself.