• Home
  • Raw
  • Download

Lines Matching refs:status

65 	acpi_status status;  in acpi_install_notify_handler()  local
77 status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE); in acpi_install_notify_handler()
78 if (ACPI_FAILURE(status)) { in acpi_install_notify_handler()
79 return_ACPI_STATUS(status); in acpi_install_notify_handler()
93 status = AE_ALREADY_EXISTS; in acpi_install_notify_handler()
115 status = AE_TYPE; in acpi_install_notify_handler()
128 status = AE_NO_MEMORY; in acpi_install_notify_handler()
134 status = acpi_ns_attach_object(device, obj_desc, node->type); in acpi_install_notify_handler()
136 if (ACPI_FAILURE(status)) { in acpi_install_notify_handler()
148 status = AE_ALREADY_EXISTS; in acpi_install_notify_handler()
161 status = AE_NO_MEMORY; in acpi_install_notify_handler()
189 return_ACPI_STATUS(status); in acpi_install_notify_handler()
219 acpi_status status = AE_OK; in ACPI_EXPORT_SYMBOL() local
236 status = in ACPI_EXPORT_SYMBOL()
238 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL()
239 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
245 status = AE_NOT_EXIST; in ACPI_EXPORT_SYMBOL()
283 status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE); in ACPI_EXPORT_SYMBOL()
284 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL()
285 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
300 status = AE_NOT_EXIST; in ACPI_EXPORT_SYMBOL()
324 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
328 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
348 acpi_status status; in ACPI_EXPORT_SYMBOL() local
352 status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); in ACPI_EXPORT_SYMBOL()
353 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL()
354 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
360 status = AE_ALREADY_EXISTS; in ACPI_EXPORT_SYMBOL()
370 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
394 acpi_status status; in ACPI_EXPORT_SYMBOL() local
412 status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); in ACPI_EXPORT_SYMBOL()
413 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL()
426 status = AE_ALREADY_EXISTS; in ACPI_EXPORT_SYMBOL()
444 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL()
447 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
468 acpi_status status; in ACPI_EXPORT_SYMBOL() local
476 status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); in ACPI_EXPORT_SYMBOL()
477 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL()
478 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
509 status = AE_NOT_EXIST; in ACPI_EXPORT_SYMBOL()
513 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
536 acpi_status status; in ACPI_EXPORT_SYMBOL() local
546 status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); in ACPI_EXPORT_SYMBOL()
547 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL()
548 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
554 status = AE_ALREADY_EXISTS; in ACPI_EXPORT_SYMBOL()
563 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
587 acpi_status status; in ACPI_EXPORT_SYMBOL() local
597 status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); in ACPI_EXPORT_SYMBOL()
598 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL()
599 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
605 status = AE_ALREADY_EXISTS; in ACPI_EXPORT_SYMBOL()
614 status = acpi_clear_event(event); in ACPI_EXPORT_SYMBOL()
615 if (ACPI_SUCCESS(status)) in ACPI_EXPORT_SYMBOL()
616 status = acpi_enable_event(event, 0); in ACPI_EXPORT_SYMBOL()
617 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL()
635 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
655 acpi_status status = AE_OK; in ACPI_EXPORT_SYMBOL() local
665 status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); in ACPI_EXPORT_SYMBOL()
666 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL()
667 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
672 status = acpi_disable_event(event, 0); in ACPI_EXPORT_SYMBOL()
679 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL()
690 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
724 acpi_status status; in ACPI_EXPORT_SYMBOL() local
735 status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); in ACPI_EXPORT_SYMBOL()
736 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL()
737 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
744 status = AE_NO_MEMORY; in ACPI_EXPORT_SYMBOL()
754 status = AE_BAD_PARAMETER; in ACPI_EXPORT_SYMBOL()
764 status = AE_ALREADY_EXISTS; in ACPI_EXPORT_SYMBOL()
813 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
844 acpi_status status; in acpi_install_gpe_handler() local
848 status = acpi_ev_install_gpe_handler(gpe_device, gpe_number, type, in acpi_install_gpe_handler()
851 return_ACPI_STATUS(status); in acpi_install_gpe_handler()
878 acpi_status status; in ACPI_EXPORT_SYMBOL() local
882 status = acpi_ev_install_gpe_handler(gpe_device, gpe_number, type, in ACPI_EXPORT_SYMBOL()
885 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
910 acpi_status status; in ACPI_EXPORT_SYMBOL() local
921 status = acpi_ut_acquire_mutex(ACPI_MTX_EVENTS); in ACPI_EXPORT_SYMBOL()
922 if (ACPI_FAILURE(status)) { in ACPI_EXPORT_SYMBOL()
923 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
932 status = AE_BAD_PARAMETER; in ACPI_EXPORT_SYMBOL()
942 status = AE_NOT_EXIST; in ACPI_EXPORT_SYMBOL()
949 status = AE_BAD_PARAMETER; in ACPI_EXPORT_SYMBOL()
996 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
1002 return_ACPI_STATUS(status); in ACPI_EXPORT_SYMBOL()
1028 acpi_status status; in ACPI_EXPORT_SYMBOL() local
1038 status = acpi_ex_acquire_mutex_object(timeout, in ACPI_EXPORT_SYMBOL()
1042 if (ACPI_SUCCESS(status)) { in ACPI_EXPORT_SYMBOL()
1050 return (status); in ACPI_EXPORT_SYMBOL()
1068 acpi_status status; in ACPI_EXPORT_SYMBOL() local
1074 status = acpi_ex_release_mutex_object(acpi_gbl_global_lock_mutex); in ACPI_EXPORT_SYMBOL()
1075 return (status); in ACPI_EXPORT_SYMBOL()