Searched refs:nodesize (Results 1 - 4 of 4) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_btreeio.c612 hfs_create_attr_btree(struct hfsmount *hfsmp, u_int32_t nodesize, u_int32_t nodecnt) argument
675 cfork.cf_clump = nodesize * nodecnt;
688 btcb->nodeSize = nodesize;
712 result = ExtendBTreeFile(vp, nodesize, cfork.cf_clump);
716 btcb->totalNodes = VTOF(vp)->ff_size / nodesize;
731 bytes_per_map_record = nodesize - sizeof(BTNodeDescriptor) - 2*sizeof(u_int16_t) - 2;
732 temp = 8 * (nodesize - sizeof(BTNodeDescriptor)
748 bp = buf_getblk(vp, 0, nodesize, 0, 0, BLK_META);
762 if (buf_size(bp) != nodesize)
765 bzero(buffer, nodesize);
[all...]
H A Dhfs_btreeio.h53 int hfs_create_attr_btree(struct hfsmount *hfsmp, u_int32_t nodesize, u_int32_t nodecnt);
H A Dhfs_hotfiles.c1786 hfc_btree_create(struct hfsmount *hfsmp, unsigned int nodesize, unsigned int entries) argument
1848 if (VTOF(vp)->ff_size < nodesize) {
1865 if (kmem_alloc(kernel_map, (vm_offset_t *)&buffer, nodesize)) {
1869 bzero(buffer, nodesize);
1872 entirespernode = (nodesize - sizeof(BTNodeDescriptor) - 2) /
1876 filesize = nodecnt * nodesize;
1883 index[(nodesize / 2) - 1] = SWAP_BE16 (offset);
1887 bthp->nodeSize = SWAP_BE16 (nodesize);
1888 bthp->totalNodes = SWAP_BE32 (filesize / nodesize);
1895 index[(nodesize /
[all...]
H A Dhfs_xattr.c92 static int getnodecount(struct hfsmount *hfsmp, size_t nodesize);
2154 getnodecount(struct hfsmount *hfsmp, size_t nodesize) argument
2173 return (MAX(2, (int)(calcbytes / nodesize)));
2186 size_t nodesize = ATTRIBUTE_FILE_NODE_SIZE; local
2192 nodesize = btinfo.nodeSize;
2195 maxsize = nodesize;

Completed in 39 milliseconds