Home
last modified time | relevance | path

Searched refs:act (Results 1 – 25 of 65) sorted by relevance

123

/linux-2.4.37.9/drivers/hil/
Dhp_sdc.c176 if (curr->act.semaphore) up(curr->act.semaphore); in hp_sdc_take()
179 if (curr->act.irqhook) in hp_sdc_take()
180 curr->act.irqhook(irq, dev_id, status, data); in hp_sdc_take()
291 if (curr->act.semaphore) in hp_sdc_tasklet()
292 up(curr->act.semaphore); in hp_sdc_tasklet()
298 if (curr->act.irqhook) in hp_sdc_tasklet()
299 curr->act.irqhook(0, 0, 0, 0); in hp_sdc_tasklet()
312 uint8_t act; in hp_sdc_put() local
377 act = curr->seq[idx]; in hp_sdc_put()
381 if (act & HP_SDC_ACT_DEALLOC) kfree(curr); in hp_sdc_put()
[all …]
Dhp_sdc_mlc.c196 if (priv->trans.act.semaphore != &(mlc->csem)) goto poll; in hp_sdc_mlc_cts()
202 priv->trans.act.semaphore = &(mlc->csem); in hp_sdc_mlc_cts()
217 priv->trans.act.semaphore = &(mlc->osem); in hp_sdc_mlc_cts()
253 priv->trans.act.semaphore = &(mlc->osem); in hp_sdc_mlc_out()
291 priv->trans.act.semaphore = &(mlc->osem); in hp_sdc_mlc_out()
326 hp_sdc_mlc_priv.trans.act.semaphore = &(mlc->osem); in hp_sdc_mlc_init()
/linux-2.4.37.9/arch/sparc/kernel/
Dsys_sparc.c372 sparc_sigaction (int sig, const struct old_sigaction *act, in sparc_sigaction() argument
383 if (act) { in sparc_sigaction()
386 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sparc_sigaction()
387 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in sparc_sigaction()
388 __get_user(new_ka.sa.sa_restorer, &act->sa_restorer)) in sparc_sigaction()
390 __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sparc_sigaction()
391 __get_user(mask, &act->sa_mask); in sparc_sigaction()
396 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sparc_sigaction()
416 sys_rt_sigaction(int sig, const struct sigaction *act, struct sigaction *oact, in sys_rt_sigaction() argument
431 if (act) { in sys_rt_sigaction()
[all …]
/linux-2.4.37.9/kernel/
Dacct.c97 int act; in check_free_space() local
110 act = -1; in check_free_space()
112 act = 1; in check_free_space()
114 act = 0; in check_free_space()
122 if (act) in check_free_space()
123 res = act>0; in check_free_space()
128 if (act < 0) { in check_free_space()
133 if (act > 0) { in check_free_space()
/linux-2.4.37.9/drivers/char/ip2/
Dip2trace.c37 struct sigaction act; variable
59 act.sa_handler = quit; in main()
61 sigemptyset(&act.sa_mask); in main()
62 act.sa_flags = 0; in main()
63 act.sa_restorer = NULL; in main()
65 sigaction ( SIGTERM, &act, NULL ); in main()
/linux-2.4.37.9/arch/s390x/kernel/
Dsignal32.c163 sys32_sigaction(int sig, const struct old_sigaction32 *act, in sys32_sigaction() argument
169 if (act) { in sys32_sigaction()
171 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys32_sigaction()
172 __get_user((unsigned long)new_ka.sa.sa_handler, &act->sa_handler) || in sys32_sigaction()
173 __get_user((unsigned long)new_ka.sa.sa_restorer, &act->sa_restorer)) in sys32_sigaction()
175 __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys32_sigaction()
176 __get_user(mask, &act->sa_mask); in sys32_sigaction()
180 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys32_sigaction()
195 do_sigaction(int sig, const struct k_sigaction *act, struct k_sigaction *oact);
198 sys32_rt_sigaction(int sig, const struct sigaction32 *act, in sys32_rt_sigaction() argument
[all …]
Dsignal.c138 sys_sigaction(int sig, const struct old_sigaction *act, in sys_sigaction() argument
144 if (act) { in sys_sigaction()
146 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys_sigaction()
147 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in sys_sigaction()
148 __get_user(new_ka.sa.sa_restorer, &act->sa_restorer)) in sys_sigaction()
150 __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys_sigaction()
151 __get_user(mask, &act->sa_mask); in sys_sigaction()
155 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys_sigaction()
/linux-2.4.37.9/arch/cris/kernel/
Dsignal.c156 sys_sigaction(int sig, const struct old_sigaction *act, in sys_sigaction() argument
162 if (act) { in sys_sigaction()
164 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys_sigaction()
165 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in sys_sigaction()
166 __get_user(new_ka.sa.sa_restorer, &act->sa_restorer)) in sys_sigaction()
168 __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys_sigaction()
169 __get_user(mask, &act->sa_mask); in sys_sigaction()
173 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys_sigaction()
/linux-2.4.37.9/arch/alpha/kernel/
Dsignal.c116 osf_sigaction(int sig, const struct osf_sigaction *act, in osf_sigaction() argument
122 if (act) { in osf_sigaction()
124 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in osf_sigaction()
125 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in osf_sigaction()
126 __get_user(new_ka.sa.sa_flags, &act->sa_flags)) in osf_sigaction()
128 __get_user(mask, &act->sa_mask); in osf_sigaction()
133 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in osf_sigaction()
147 sys_rt_sigaction(int sig, const struct sigaction *act, struct sigaction *oact, in sys_rt_sigaction() argument
157 if (act) { in sys_rt_sigaction()
159 if (copy_from_user(&new_ka.sa, act, sizeof(*act))) in sys_rt_sigaction()
[all …]
/linux-2.4.37.9/arch/mips64/kernel/
Dsignal32.c254 asmlinkage int sys32_sigaction(int sig, const struct sigaction32 *act, in sys32_sigaction() argument
261 if (act) { in sys32_sigaction()
264 if (!access_ok(VERIFY_READ, act, sizeof(*act))) in sys32_sigaction()
267 &act->sa_handler); in sys32_sigaction()
268 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys32_sigaction()
269 err |= __get_user(mask, &act->sa_mask.sig[0]); in sys32_sigaction()
276 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys32_sigaction()
914 asmlinkage int sys32_rt_sigaction(int sig, const struct sigaction32 *act, in sys32_rt_sigaction() argument
925 if (act) { in sys32_rt_sigaction()
928 if (!access_ok(VERIFY_READ, act, sizeof(*act))) in sys32_rt_sigaction()
[all …]
/linux-2.4.37.9/arch/s390/kernel/
Dsignal.c140 sys_sigaction(int sig, const struct old_sigaction *act, in sys_sigaction() argument
146 if (act) { in sys_sigaction()
148 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys_sigaction()
149 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in sys_sigaction()
150 __get_user(new_ka.sa.sa_restorer, &act->sa_restorer)) in sys_sigaction()
152 __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys_sigaction()
153 __get_user(mask, &act->sa_mask); in sys_sigaction()
157 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys_sigaction()
/linux-2.4.37.9/Documentation/
Ddnotify.txt75 struct sigaction act;
78 act.sa_sigaction = handler;
79 sigemptyset(&act.sa_mask);
80 act.sa_flags = SA_SIGINFO;
81 sigaction(SIGRTMIN, &act, NULL);
/linux-2.4.37.9/arch/parisc/kernel/
Dsignal32.c147 sys32_rt_sigaction(int sig, const struct sigaction32 *act, struct sigaction32 *oact, in sys32_rt_sigaction() argument
154 if (act) { in sys32_rt_sigaction()
155 if (copy_from_user(&new_sa32.sa, act, sizeof new_sa32.sa)) in sys32_rt_sigaction()
162 ret = do_sigaction(sig, act ? &new_sa : NULL, oact ? &old_sa : NULL); in sys32_rt_sigaction()
/linux-2.4.37.9/arch/ppc/kernel/
Dsignal.c157 sys_sigaction(int sig, const struct old_sigaction *act, in sys_sigaction() argument
163 if (act) { in sys_sigaction()
165 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys_sigaction()
166 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in sys_sigaction()
167 __get_user(new_ka.sa.sa_restorer, &act->sa_restorer)) in sys_sigaction()
169 __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys_sigaction()
170 __get_user(mask, &act->sa_mask); in sys_sigaction()
174 ret = do_sigaction(sig, (act? &new_ka: NULL), (oact? &old_ka: NULL)); in sys_sigaction()
/linux-2.4.37.9/arch/arm/kernel/
Dsignal.c142 sys_sigaction(int sig, const struct old_sigaction *act, in sys_sigaction() argument
148 if (act) { in sys_sigaction()
150 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys_sigaction()
151 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in sys_sigaction()
152 __get_user(new_ka.sa.sa_restorer, &act->sa_restorer)) in sys_sigaction()
154 __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys_sigaction()
155 __get_user(mask, &act->sa_mask); in sys_sigaction()
159 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys_sigaction()
/linux-2.4.37.9/arch/ppc64/kernel/
Dsignal.c196 sys_sigaction(int sig, const struct old_sigaction *act, in sys_sigaction() argument
202 if (act) { in sys_sigaction()
205 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys_sigaction()
206 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in sys_sigaction()
207 __get_user(new_ka.sa.sa_restorer, &act->sa_restorer)) in sys_sigaction()
209 __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys_sigaction()
210 __get_user(mask, &act->sa_mask); in sys_sigaction()
214 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys_sigaction()
Dsignal32.c139 asmlinkage long sys32_sigaction(int sig, struct old_sigaction32 *act, struct old_sigaction32 *oact) in sys32_sigaction() argument
148 if (act) { in sys32_sigaction()
151 ret = get_user(handler, &act->sa_handler); in sys32_sigaction()
152 ret |= __get_user(restorer, &act->sa_restorer); in sys32_sigaction()
153 ret |= __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys32_sigaction()
154 ret |= __get_user(mask, &act->sa_mask); in sys32_sigaction()
162 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys32_sigaction()
512 asmlinkage long sys32_rt_sigaction(int sig, const struct sigaction32 *act, struct sigaction32 *oact… in sys32_rt_sigaction() argument
523 if (act) { in sys32_rt_sigaction()
524 ret = get_user(handler, &act->sa_handler); in sys32_rt_sigaction()
[all …]
/linux-2.4.37.9/arch/sh/kernel/
Dsignal.c127 sys_sigaction(int sig, const struct old_sigaction *act, in sys_sigaction() argument
133 if (act) { in sys_sigaction()
135 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys_sigaction()
136 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in sys_sigaction()
137 __get_user(new_ka.sa.sa_restorer, &act->sa_restorer)) in sys_sigaction()
139 __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys_sigaction()
140 __get_user(mask, &act->sa_mask); in sys_sigaction()
144 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys_sigaction()
/linux-2.4.37.9/net/802/transit/
Dcompile.awk68 function store( act, ns ){
70 entry[ ++fpe ] = act
/linux-2.4.37.9/arch/ia64/ia32/
Dia32_signal.c526 sys32_rt_sigaction (int sig, struct sigaction32 *act, in sys32_rt_sigaction() argument
537 if (act) { in sys32_rt_sigaction()
538 ret = get_user(handler, &act->sa_handler); in sys32_rt_sigaction()
539 ret |= get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys32_rt_sigaction()
540 ret |= get_user(restorer, &act->sa_restorer); in sys32_rt_sigaction()
541 ret |= copy_from_user(&new_ka.sa.sa_mask, &act->sa_mask, sizeof(sigset32_t)); in sys32_rt_sigaction()
548 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys32_rt_sigaction()
645 sys32_sigaction (int sig, struct old_sigaction32 *act, struct old_sigaction32 *oact) in sys32_sigaction() argument
651 if (act) { in sys32_sigaction()
654 ret = get_user(handler, &act->sa_handler); in sys32_sigaction()
[all …]
/linux-2.4.37.9/arch/sparc64/solaris/
Dsignal.c255 asmlinkage int solaris_sigaction(int sig, u32 act, u32 old) in solaris_sigaction() argument
271 if (act) { in solaris_sigaction()
272 if (get_user (tmp, &((struct sol_sigaction *)A(act))->sa_flags)) in solaris_sigaction()
280 if (get_user (tmp, &((struct sol_sigaction *)A(act))->sa_handler) || in solaris_sigaction()
281 copy_from_user (tmp2, &((struct sol_sigaction *)A(act))->sa_mask, 2*sizeof(u32))) in solaris_sigaction()
288 ret = sys_sigaction(sig, act ? &s : NULL, old ? &s2 : NULL); in solaris_sigaction()
/linux-2.4.37.9/arch/i386/kernel/
Dsignal.c123 sys_sigaction(int sig, const struct old_sigaction *act, in sys_sigaction() argument
129 if (act) { in sys_sigaction()
131 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys_sigaction()
132 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in sys_sigaction()
133 __get_user(new_ka.sa.sa_restorer, &act->sa_restorer)) in sys_sigaction()
135 __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys_sigaction()
136 __get_user(mask, &act->sa_mask); in sys_sigaction()
140 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys_sigaction()
/linux-2.4.37.9/arch/mips/kernel/
Dsignal.c136 asmlinkage int sys_sigaction(int sig, const struct sigaction *act, in sys_sigaction() argument
143 if (act) { in sys_sigaction()
146 if (!access_ok(VERIFY_READ, act, sizeof(*act))) in sys_sigaction()
148 err |= __get_user(new_ka.sa.sa_handler, &act->sa_handler); in sys_sigaction()
149 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys_sigaction()
150 err |= __get_user(mask, &act->sa_mask.sig[0]); in sys_sigaction()
157 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys_sigaction()
/linux-2.4.37.9/arch/sh64/kernel/
Dsignal.c150 sys_sigaction(int sig, const struct old_sigaction *act, in sys_sigaction() argument
156 if (act) { in sys_sigaction()
158 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys_sigaction()
159 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in sys_sigaction()
160 __get_user(new_ka.sa.sa_restorer, &act->sa_restorer)) in sys_sigaction()
162 __get_user(new_ka.sa.sa_flags, &act->sa_flags); in sys_sigaction()
163 __get_user(mask, &act->sa_mask); in sys_sigaction()
167 ret = do_sigaction(sig, act ? &new_ka : NULL, oact ? &old_ka : NULL); in sys_sigaction()
/linux-2.4.37.9/drivers/block/
Dswim3.c234 static void act(struct floppy_state *fs);
357 act(fs); in start_request()
469 static void act(struct floppy_state *fs) in act() function
548 act(fs); in scan_timeout()
576 act(fs); in settle_timeout()
654 act(fs); in swim3_interrupt()
664 act(fs); in swim3_interrupt()
678 act(fs); in swim3_interrupt()
685 act(fs); in swim3_interrupt()
729 act(fs); in swim3_interrupt()
[all …]

123