Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 649) sorted by relevance

12345678910>>...26

/linux-3.4.99/kernel/irq/
Dhandle.c45 static void warn_no_thread(unsigned int irq, struct irqaction *action) in warn_no_thread() argument
47 if (test_and_set_bit(IRQTF_WARNED, &action->thread_flags)) in warn_no_thread()
51 "but no thread function available.", irq, action->name); in warn_no_thread()
54 static void irq_wake_thread(struct irq_desc *desc, struct irqaction *action) in irq_wake_thread() argument
61 if (action->thread->flags & PF_EXITING) in irq_wake_thread()
68 if (test_and_set_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in irq_wake_thread()
116 desc->threads_oneshot |= action->thread_mask; in irq_wake_thread()
129 wake_up_process(action->thread); in irq_wake_thread()
133 handle_irq_event_percpu(struct irq_desc *desc, struct irqaction *action) in handle_irq_event_percpu() argument
141 trace_irq_handler_entry(irq, action); in handle_irq_event_percpu()
[all …]
Dspurious.c53 return !irqd_irq_disabled(&desc->irq_data) && desc->action; in irq_wait_for_poll()
66 struct irqaction *action; in try_one_irq() local
85 action = desc->action; in try_one_irq()
86 if (!action || !(action->flags & IRQF_SHARED) || in try_one_irq()
87 (action->flags & __IRQF_TIMER)) in try_one_irq()
106 action = desc->action; in try_one_irq()
107 } while ((desc->istate & IRQS_PENDING) && action); in try_one_irq()
190 struct irqaction *action; in __report_bad_irq() local
210 action = desc->action; in __report_bad_irq()
211 while (action) { in __report_bad_irq()
[all …]
Dmanage.c105 struct irqaction *action = desc->action; in irq_set_thread_affinity() local
107 while (action) { in irq_set_thread_affinity()
108 if (action->thread) in irq_set_thread_affinity()
109 set_bit(IRQTF_AFFINITY, &action->thread_flags); in irq_set_thread_affinity()
110 action = action->next; in irq_set_thread_affinity()
354 if (!desc->action || (desc->action->flags & IRQF_NO_SUSPEND)) in __disable_irq()
415 if (!desc->action) in __enable_irq()
417 if (!(desc->action->flags & IRQF_FORCE_RESUME)) in __enable_irq()
549 if (!desc->action || in can_request_irq()
550 irqflags & desc->action->flags & IRQF_SHARED) in can_request_irq()
[all …]
Dproc.c274 struct irqaction *action; in name_unique() local
279 for (action = desc->action ; action; action = action->next) { in name_unique()
280 if ((action != new_action) && action->name && in name_unique()
281 !strcmp(new_action->name, action->name)) { in name_unique()
290 void register_handler_proc(unsigned int irq, struct irqaction *action) in register_handler_proc() argument
295 if (!desc->dir || action->dir || !action->name || in register_handler_proc()
296 !name_unique(irq, action)) in register_handler_proc()
300 snprintf(name, MAX_NAMELEN, "%s", action->name); in register_handler_proc()
303 action->dir = proc_mkdir(name, desc->dir); in register_handler_proc()
367 void unregister_handler_proc(unsigned int irq, struct irqaction *action) in unregister_handler_proc() argument
[all …]
/linux-3.4.99/arch/ia64/xen/
Dirq_xen.c83 struct irqaction *action; member
147 struct irqaction *action, int save) in __xen_register_percpu_irq() argument
156 "%s%d", action->name, cpu); in __xen_register_percpu_irq()
158 action->handler, action->flags, in __xen_register_percpu_irq()
159 per_cpu(xen_timer_name, cpu), action->dev_id); in __xen_register_percpu_irq()
165 "%s%d", action->name, cpu); in __xen_register_percpu_irq()
167 action->handler, action->flags, in __xen_register_percpu_irq()
168 per_cpu(xen_resched_name, cpu), action->dev_id); in __xen_register_percpu_irq()
174 "%s%d", action->name, cpu); in __xen_register_percpu_irq()
176 action->handler, action->flags, in __xen_register_percpu_irq()
[all …]
/linux-3.4.99/net/mac80211/
Dspectmgmt.c47 skb_put(skb, 1 + sizeof(msr_report->u.action.u.measurement)); in ieee80211_send_refuse_measurement_request()
48 msr_report->u.action.category = WLAN_CATEGORY_SPECTRUM_MGMT; in ieee80211_send_refuse_measurement_request()
49 msr_report->u.action.u.measurement.action_code = in ieee80211_send_refuse_measurement_request()
51 msr_report->u.action.u.measurement.dialog_token = dialog_token; in ieee80211_send_refuse_measurement_request()
53 msr_report->u.action.u.measurement.element_id = WLAN_EID_MEASURE_REPORT; in ieee80211_send_refuse_measurement_request()
54 msr_report->u.action.u.measurement.length = in ieee80211_send_refuse_measurement_request()
57 memset(&msr_report->u.action.u.measurement.msr_elem, 0, in ieee80211_send_refuse_measurement_request()
59 msr_report->u.action.u.measurement.msr_elem.token = request_ie->token; in ieee80211_send_refuse_measurement_request()
60 msr_report->u.action.u.measurement.msr_elem.mode |= in ieee80211_send_refuse_measurement_request()
62 msr_report->u.action.u.measurement.msr_elem.type = request_ie->type; in ieee80211_send_refuse_measurement_request()
[all …]
/linux-3.4.99/arch/blackfin/kernel/
Dirqchip.c39 struct irqaction *action; in show_interrupts() local
46 action = desc->action; in show_interrupts()
47 if (!action) in show_interrupts()
53 seq_printf(p, " %s", action->name); in show_interrupts()
54 for (action = action->next; action; action = action->next) in show_interrupts()
55 seq_printf(p, " %s", action->name); in show_interrupts()
/linux-3.4.99/drivers/net/wireless/libertas/
Dhost.h398 __le16 action; member
444 __le16 action; member
495 __le16 action; member
501 __le16 action; member
545 __le16 action; member
558 __le16 action; member
567 __le16 action; member
578 __le16 action; member
585 __le16 action; member
594 __le16 action; member
[all …]
/linux-3.4.99/arch/mips/sibyte/sb1250/
Dsmp.c69 static void sb1250_send_ipi_single(int cpu, unsigned int action) in sb1250_send_ipi_single() argument
71 __raw_writeq((((u64)action) << 48), mailbox_set_regs[cpu]); in sb1250_send_ipi_single()
75 unsigned int action) in sb1250_send_ipi_mask() argument
80 sb1250_send_ipi_single(i, action); in sb1250_send_ipi_mask()
171 unsigned int action; in sb1250_mailbox_interrupt() local
175 action = (____raw_readq(mailbox_regs[cpu]) >> 48) & 0xffff; in sb1250_mailbox_interrupt()
178 ____raw_writeq(((u64)action) << 48, mailbox_clear_regs[cpu]); in sb1250_mailbox_interrupt()
180 if (action & SMP_RESCHEDULE_YOURSELF) in sb1250_mailbox_interrupt()
183 if (action & SMP_CALL_FUNCTION) in sb1250_mailbox_interrupt()
/linux-3.4.99/include/trace/events/
Dsunrpc.h66 TP_PROTO(const struct rpc_clnt *clnt, const struct rpc_task *task, const void *action),
68 TP_ARGS(clnt, task, action),
73 __field(const void *, action)
82 __entry->action = action;
94 __entry->action
100 TP_PROTO(const struct rpc_clnt *clnt, const struct rpc_task *task, const void *action),
102 TP_ARGS(clnt, task, action)
108 TP_PROTO(const struct rpc_clnt *clnt, const struct rpc_task *task, const void *action),
110 TP_ARGS(clnt, task, action)
116 TP_PROTO(const struct rpc_clnt *clnt, const struct rpc_task *task, const void *action),
[all …]
Dirq.h39 TP_PROTO(int irq, struct irqaction *action),
41 TP_ARGS(irq, action),
45 __string( name, action->name )
50 __assign_str(name, action->name);
69 TP_PROTO(int irq, struct irqaction *action, int ret),
71 TP_ARGS(irq, action, ret),
/linux-3.4.99/drivers/isdn/pcbit/
Dedss1.c269 struct fsm_entry *action; in pcbit_fsm_event() local
275 for (action = fsm_table; action->init != 0xff; action++) in pcbit_fsm_event()
276 if (action->init == chan->fsm_state && action->event == event) in pcbit_fsm_event()
279 if (action->init == 0xff) { in pcbit_fsm_event()
292 chan->fsm_state = action->final; in pcbit_fsm_event()
294 pcbit_state_change(dev, chan, action->init, event, action->final); in pcbit_fsm_event()
310 if (action->callb) in pcbit_fsm_event()
311 action->callb(dev, chan, data); in pcbit_fsm_event()
/linux-3.4.99/arch/mips/sibyte/bcm1480/
Dsmp.c81 static void bcm1480_send_ipi_single(int cpu, unsigned int action) in bcm1480_send_ipi_single() argument
83 __raw_writeq((((u64)action)<< 48), mailbox_0_set_regs[cpu]); in bcm1480_send_ipi_single()
87 unsigned int action) in bcm1480_send_ipi_mask() argument
92 bcm1480_send_ipi_single(i, action); in bcm1480_send_ipi_mask()
183 unsigned int action; in bcm1480_mailbox_interrupt() local
187 action = (__raw_readq(mailbox_0_regs[cpu]) >> 48) & 0xffff; in bcm1480_mailbox_interrupt()
190 __raw_writeq(((u64)action)<<48, mailbox_0_clear_regs[cpu]); in bcm1480_mailbox_interrupt()
192 if (action & SMP_RESCHEDULE_YOURSELF) in bcm1480_mailbox_interrupt()
195 if (action & SMP_CALL_FUNCTION) in bcm1480_mailbox_interrupt()
/linux-3.4.99/arch/mips/kernel/
Dsmp-bmips.c53 static void bmips_send_ipi_single(int cpu, unsigned int action);
234 static void bmips_send_ipi_single(int cpu, unsigned int action) in bmips_send_ipi_single() argument
236 write_c0_brcm_action(ACTION_SET_IPI(cpu, action == SMP_CALL_FUNCTION)); in bmips_send_ipi_single()
241 int action = irq - IPI0_IRQ; in bmips_ipi_interrupt() local
243 write_c0_brcm_action(ACTION_CLR_IPI(smp_processor_id(), action)); in bmips_ipi_interrupt()
245 if (action == 0) in bmips_ipi_interrupt()
268 static void bmips_send_ipi_single(int cpu, unsigned int action) in bmips_send_ipi_single() argument
274 per_cpu(ipi_action_mask, cpu) |= action; in bmips_send_ipi_single()
282 int action, cpu = irq - IPI0_IRQ; in bmips_ipi_interrupt() local
285 action = __get_cpu_var(ipi_action_mask); in bmips_ipi_interrupt()
[all …]
/linux-3.4.99/arch/x86/kernel/
Dnmi.c110 static int __setup_nmi(unsigned int type, struct nmiaction *action) in __setup_nmi() argument
128 if (action->flags & NMI_FLAG_FIRST) in __setup_nmi()
129 list_add_rcu(&action->list, &desc->head); in __setup_nmi()
131 list_add_tail_rcu(&action->list, &desc->head); in __setup_nmi()
166 struct nmiaction *action; in register_nmi_handler() local
172 action = kzalloc(sizeof(struct nmiaction), GFP_KERNEL); in register_nmi_handler()
173 if (!action) in register_nmi_handler()
176 action->handler = handler; in register_nmi_handler()
177 action->flags = nmiflags; in register_nmi_handler()
178 action->name = kstrndup(devname, NMI_MAX_NAMELEN, GFP_KERNEL); in register_nmi_handler()
[all …]
/linux-3.4.99/arch/parisc/kernel/
Dirq.c173 struct irqaction *action; in show_interrupts() local
176 action = desc->action; in show_interrupts()
177 if (!action) in show_interrupts()
189 seq_printf(p, " %s", action->name); in show_interrupts()
191 while ((action = action->next)) in show_interrupts()
192 seq_printf(p, ", %s", action->name); in show_interrupts()
194 for ( ;action; action = action->next) { in show_interrupts()
197 min = max = action->cr16_hist[0]; in show_interrupts()
200 int hist = action->cr16_hist[k]; in show_interrupts()
212 seq_printf(p, " %s[%d/%d/%d]", action->name, in show_interrupts()
/linux-3.4.99/arch/mips/dec/
Dkn02xa-berr.c61 int action = MIPS_BE_FATAL; in dec_kn02xa_be_backend() local
83 action = MIPS_BE_FIXUP; in dec_kn02xa_be_backend()
85 if (action != MIPS_BE_FIXUP) in dec_kn02xa_be_backend()
89 if (action != MIPS_BE_FIXUP && address < 0x10000000) in dec_kn02xa_be_backend()
98 return action; in dec_kn02xa_be_backend()
109 int action = dec_kn02xa_be_backend(regs, 0, 1); in dec_kn02xa_be_interrupt() local
111 if (action == MIPS_BE_DISCARD) in dec_kn02xa_be_interrupt()
Decc-berr.c66 int action = MIPS_BE_FATAL; in dec_ecc_be_backend() local
77 return action; in dec_ecc_be_backend()
100 action = MIPS_BE_FIXUP; in dec_ecc_be_backend()
153 action = MIPS_BE_DISCARD; in dec_ecc_be_backend()
186 if (action != MIPS_BE_FIXUP) in dec_ecc_be_backend()
190 if (action != MIPS_BE_FIXUP && erraddr & KN0X_EAR_ECCERR) in dec_ecc_be_backend()
193 return action; in dec_ecc_be_backend()
205 int action = dec_ecc_be_backend(regs, 0, 1); in dec_ecc_be_interrupt() local
207 if (action == MIPS_BE_DISCARD) in dec_ecc_be_interrupt()
/linux-3.4.99/arch/um/os-Linux/
Dsignal.c180 struct sigaction action; in set_handler() local
184 action.sa_sigaction = hard_handler; in set_handler()
187 sigemptyset(&action.sa_mask); in set_handler()
188 sigaddset(&action.sa_mask, SIGVTALRM); in set_handler()
189 sigaddset(&action.sa_mask, SIGIO); in set_handler()
190 sigaddset(&action.sa_mask, SIGWINCH); in set_handler()
195 if (sigismember(&action.sa_mask, sig)) in set_handler()
198 action.sa_flags = flags; in set_handler()
199 action.sa_restorer = NULL; in set_handler()
200 if (sigaction(sig, &action, NULL) < 0) in set_handler()
/linux-3.4.99/arch/mips/cavium-octeon/
Dsmp.c37 uint64_t action; in mailbox_interrupt() local
40 action = cvmx_read_csr(CVMX_CIU_MBOX_CLRX(coreid)) & 0xffff; in mailbox_interrupt()
43 cvmx_write_csr(CVMX_CIU_MBOX_CLRX(coreid), action); in mailbox_interrupt()
45 if (action & SMP_CALL_FUNCTION) in mailbox_interrupt()
47 if (action & SMP_RESCHEDULE_YOURSELF) in mailbox_interrupt()
51 if (action & SMP_ICACHE_FLUSH) in mailbox_interrupt()
61 void octeon_send_ipi_single(int cpu, unsigned int action) in octeon_send_ipi_single() argument
68 cvmx_write_csr(CVMX_CIU_MBOX_SETX(coreid), action); in octeon_send_ipi_single()
72 unsigned int action) in octeon_send_ipi_mask() argument
77 octeon_send_ipi_single(i, action); in octeon_send_ipi_mask()
[all …]
/linux-3.4.99/fs/btrfs/
Ddelayed-ref.c327 if (update->action != existing->action) { in update_existing_ref()
427 int action, int is_data) in add_delayed_ref_head() argument
439 if (action == BTRFS_UPDATE_DELAYED_HEAD) in add_delayed_ref_head()
441 else if (action == BTRFS_DROP_DELAYED_REF) in add_delayed_ref_head()
455 if (action == BTRFS_ADD_DELAYED_EXTENT) in add_delayed_ref_head()
468 ref->action = 0; in add_delayed_ref_head()
480 trace_btrfs_delayed_ref_head(ref, head_ref, action); in add_delayed_ref_head()
506 u64 ref_root, int level, int action, in add_delayed_tree_ref() argument
514 if (action == BTRFS_ADD_DELAYED_EXTENT) in add_delayed_tree_ref()
515 action = BTRFS_ADD_DELAYED_REF; in add_delayed_tree_ref()
[all …]
/linux-3.4.99/security/integrity/ima/
Dima_policy.c37 enum ima_action action; member
61 {.action = DONT_MEASURE,.fsmagic = PROC_SUPER_MAGIC,.flags = IMA_FSMAGIC},
62 {.action = DONT_MEASURE,.fsmagic = SYSFS_MAGIC,.flags = IMA_FSMAGIC},
63 {.action = DONT_MEASURE,.fsmagic = DEBUGFS_MAGIC,.flags = IMA_FSMAGIC},
64 {.action = DONT_MEASURE,.fsmagic = TMPFS_MAGIC,.flags = IMA_FSMAGIC},
65 {.action = DONT_MEASURE,.fsmagic = SECURITYFS_MAGIC,.flags = IMA_FSMAGIC},
66 {.action = DONT_MEASURE,.fsmagic = SELINUX_MAGIC,.flags = IMA_FSMAGIC},
67 {.action = MEASURE,.func = FILE_MMAP,.mask = MAY_EXEC,
69 {.action = MEASURE,.func = BPRM_CHECK,.mask = MAY_EXEC,
71 {.action = MEASURE,.func = FILE_CHECK,.mask = MAY_READ,.uid = 0,
[all …]
/linux-3.4.99/drivers/net/wireless/iwlwifi/
Diwl-agn-rs.c1305 tbl->action = 0; in rs_switch_to_mimo2()
1361 tbl->action = 0; in rs_switch_to_mimo3()
1410 tbl->action = 0; in rs_switch_to_siso()
1464 if (tbl->action == IWL_LEGACY_SWITCH_ANTENNA2) in rs_move_legacy_other()
1465 tbl->action = IWL_LEGACY_SWITCH_SISO; in rs_move_legacy_other()
1472 if (tbl->action >= IWL_LEGACY_SWITCH_ANTENNA2 && in rs_move_legacy_other()
1473 tbl->action != IWL_LEGACY_SWITCH_SISO) in rs_move_legacy_other()
1474 tbl->action = IWL_LEGACY_SWITCH_SISO; in rs_move_legacy_other()
1483 tbl->action = IWL_LEGACY_SWITCH_ANTENNA1; in rs_move_legacy_other()
1485 tbl->action > IWL_LEGACY_SWITCH_SISO) in rs_move_legacy_other()
[all …]
/linux-3.4.99/drivers/i2c/busses/
Di2c-mv64xxx.c86 u32 action; member
138 drv_data->action = MV64XXX_I2C_ACTION_SEND_STOP; in mv64xxx_i2c_fsm()
147 drv_data->action = MV64XXX_I2C_ACTION_SEND_ADDR_1; in mv64xxx_i2c_fsm()
154 drv_data->action = MV64XXX_I2C_ACTION_SEND_ADDR_2; in mv64xxx_i2c_fsm()
166 drv_data->action = MV64XXX_I2C_ACTION_SEND_STOP; in mv64xxx_i2c_fsm()
169 drv_data->action = in mv64xxx_i2c_fsm()
175 drv_data->action = MV64XXX_I2C_ACTION_SEND_DATA; in mv64xxx_i2c_fsm()
185 drv_data->action = MV64XXX_I2C_ACTION_SEND_ADDR_2; in mv64xxx_i2c_fsm()
193 drv_data->action = MV64XXX_I2C_ACTION_SEND_STOP; in mv64xxx_i2c_fsm()
200 drv_data->action = MV64XXX_I2C_ACTION_CONTINUE; in mv64xxx_i2c_fsm()
[all …]
/linux-3.4.99/lib/
Dkobject_uevent.c66 enum kobject_action action; in kobject_action_type() local
75 for (action = 0; action < ARRAY_SIZE(kobject_actions); action++) { in kobject_action_type()
76 if (strncmp(kobject_actions[action], buf, count) != 0) in kobject_action_type()
78 if (kobject_actions[action][count] != '\0') in kobject_action_type()
80 *type = action; in kobject_action_type()
131 int kobject_uevent_env(struct kobject *kobj, enum kobject_action action, in kobject_uevent_env() argument
135 const char *action_string = kobject_actions[action]; in kobject_uevent_env()
242 if (action == KOBJ_ADD) in kobject_uevent_env()
244 else if (action == KOBJ_REMOVE) in kobject_uevent_env()
331 int kobject_uevent(struct kobject *kobj, enum kobject_action action) in kobject_uevent() argument
[all …]

12345678910>>...26