Home
last modified time | relevance | path

Searched refs:bsize (Results 1 – 6 of 6) sorted by relevance

/xnu-11215/libkern/zlib/
H A Dzutil.c243 ulg bsize = (ulg)items*size; in zcalloc() local
248 if (bsize < 65520L) { in zcalloc()
249 buf = farmalloc(bsize); in zcalloc()
252 buf = farmalloc(bsize + 16L); in zcalloc()
/xnu-11215/bsd/miscfs/specfs/
H A Dspec_vnops.c527 size_t bsize, n, on; in spec_read() local
612 bsize = bscale * devBlockSize; in spec_read()
615 on = uio->uio_offset % bsize; in spec_read()
631 n = bsize - buf_resid(bp); in spec_read()
642 if (n + on == bsize) { in spec_read()
670 size_t bsize, n, on; in spec_write() local
759 bsize = bscale * devBlockSize; in spec_write()
764 on = uio->uio_offset % bsize; in spec_write()
778 if (n == bsize && in spec_write()
785 if (n == bsize) { in spec_write()
[all …]
/xnu-11215/bsd/miscfs/bindfs/
H A Dbind_vfsops.c118 uint32_t bsize = BLKDEV_IOSIZE; in bindfs_mount() local
237 bsize = vfa.f_bsize; in bindfs_mount()
270 sp->f_bsize = bsize; in bindfs_mount()
/xnu-11215/bsd/miscfs/nullfs/
H A Dnull_vfsops.c120 uint32_t bsize = BLKDEV_IOSIZE; in nullfs_mount() local
255 bsize = vfa.f_bsize; in nullfs_mount()
288 sp->f_bsize = bsize; in nullfs_mount()
/xnu-11215/iokit/Tests/
H A DTestIOMemoryDescriptor.cpp1076 vm_size_t bsize = 16 * 1024 * 1024; in IOMemoryDescriptorTest() local
1081 kr = mach_vm_allocate_kernel(kernel_map, &data[0], bsize, in IOMemoryDescriptorTest()
1091 for (idx = 0; idx < (bsize / sizeof(uint32_t)); idx++) { in IOMemoryDescriptorTest()
1095 for (srcoffset = 0; srcoffset < bsize; srcoffset = ((srcoffset << 2) + 0x40c)) { in IOMemoryDescriptorTest()
1096 for (srcsize = 4; srcsize < (bsize - srcoffset - 1); srcsize = ((srcsize << 2) + 0x3fc)) { in IOMemoryDescriptorTest()
1206 mach_vm_deallocate(kernel_map, data[0], bsize); in IOMemoryDescriptorTest()
/xnu-11215/tools/lldbmacros/kmemory/
H A Dzone.py177 bsize = blen << 3
187 print(" bitmap : {:#x} ({} bytes)".format(baddr, bsize))
190 baddr, bsize, ' '.join(bitmap)))
192 print(" bitmap : {:#x} ({} bytes) [".format(baddr, bsize))