Lines Matching refs:ports_length
2184 vm_size_t ports_length, names_length;
2225 ports_length = count * sizeof(mach_port_t);
2228 if (ports_length == 0) {
2232 data = kalloc(ports_length);
2246 kfree(data, ports_length);
2252 (void) mach_vm_deallocate(map, addr, (mach_vm_size_t)ports_length);
2277 kfree(data, ports_length);
3357 vm_size_t ports_length, names_length;
3365 ports_length = count * sizeof(mach_port_t);
3368 if (ports_length != 0 && dsc->address != 0) {
3437 kfree(data, ports_length);