suspend관련 kernel 수정중 request_suspend_state가 호출되어지는 곳을 찾아보니 kernel/power/main.c의 state_store에서 호출되더군요. state_store가 호출되거나 등록된 곳이 어딘지를 모르겠습니다. static 함수라 다른곳에서 호출되진 못할텐데;; 혹시 찾을 수 있으신분 계실까요?
kernel/power/power.h에
#define power_attr(_name) \ static struct kobj_attribute _name##_attr = { \ .attr = { \ .name = __stringify(_name), \ .mode = 0644, \ }, \ .show = _name##_show, \ .store = _name##_store, \ }
power_attr(state);
생산적인 댓글을 달자
감사합니다^^
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
kernel/power/power.h에
kernel/power/power.h에
이렇게 정의되어있고, kernel/power/main.c에
가 보이네요.
생산적인 댓글을 달자
감사합니다^^
감사합니다^^
댓글 달기