Lines Matching refs:sc
127 kernel_segment_command_t sc;
130 if (kdc->hoffset + sizeof(sc) > kdc->header_size) {
138 sc.cmd = LC_SEGMENT_KERNEL;
139 sc.cmdsize = sizeof(kernel_segment_command_t);
140 sc.segname[0] = 0;
141 sc.vmaddr = (vm_address_t)start;
142 sc.vmsize = size;
143 sc.fileoff = (vm_address_t)kdc->foffset;
144 sc.filesize = size;
145 sc.maxprot = VM_PROT_READ;
146 sc.initprot = VM_PROT_READ;
147 sc.nsects = 0;
148 sc.flags = 0;
155 if ((ret = kdp_send_crashdump_data (KDP_DATA, NULL, sizeof(kernel_segment_command_t) , (caddr_t) &sc)) < 0) {