Lines Matching defs:result
227 int result = 0;
230 result = strnlen(identPlusVers, KMOD_MAX_NAME - 1);
231 identPlusVers[result++] = '\t'; // increment for real char
232 identPlusVers[result] = '\0'; // don't increment for nul char
233 result = strlcat(identPlusVers, kmod_info->version, KMOD_MAX_NAME);
235 return result;
258 uint32_t result = 0;
334 result = list_size - (*list_length_ptr + 1);
338 return result;
647 kern_return_t result;
677 result = kmod_queue_cmd((vm_address_t)data, size);
679 return result;
684 kern_return_t result;
696 result = kmod_queue_cmd((vm_address_t)data, cmd_size);
698 return result;
1219 kern_return_t result;
1241 result = kmod_get_kext_uuid(kext_id, data, dataCount);
1245 return result;
1287 kern_return_t result = KERN_FAILURE;
1321 result = KERN_INVALID_ARGUMENT;
1329 result = KERN_MEMORY_FAILURE;
1511 result = vm_map_copyin(kernel_map,
1516 if (result != KERN_SUCCESS) {
1527 return result;
1542 kern_return_t result = KERN_FAILURE;
1567 result = KERN_SUCCESS;
1574 result = KERN_MEMORY_FAILURE;
1615 result = KERN_SUCCESS;
1618 if (!keepsyms && result == KERN_SUCCESS) {
1622 return result;
1634 kern_return_t result = KERN_FAILURE;
1649 result = KERN_INVALID_ARGUMENT;
1672 result = kmem_alloc(kernel_map, (vm_offset_t *)&uuid_data,
1674 if (result != KERN_SUCCESS) {
1675 result = KERN_RESOURCE_SHORTAGE;
1681 result = vm_map_copyin(kernel_map, (vm_offset_t)uuid_data,
1684 if (result == KERN_SUCCESS) {
1687 result = KERN_RESOURCE_SHORTAGE;
1698 return result;