/arch/sparc/kernel/ |
D | sun4d_smp.c | 195 struct sun4d_ipi_work *work; in smp4d_ipi_init() local 200 work = &per_cpu(sun4d_ipi_work, cpu); in smp4d_ipi_init() 201 work->single = work->msk = work->resched = 0; in smp4d_ipi_init() 207 struct sun4d_ipi_work *work = this_cpu_ptr(&sun4d_ipi_work); in sun4d_ipi_interrupt() local 209 if (work->single) { in sun4d_ipi_interrupt() 210 work->single = 0; in sun4d_ipi_interrupt() 213 if (work->msk) { in sun4d_ipi_interrupt() 214 work->msk = 0; in sun4d_ipi_interrupt() 217 if (work->resched) { in sun4d_ipi_interrupt() 218 work->resched = 0; in sun4d_ipi_interrupt() [all …]
|
D | leon_smp.c | 276 struct leon_ipi_work *work; in leon_ipi_init() local 299 work = &per_cpu(leon_ipi_work, cpu); in leon_ipi_init() 300 work->single = work->msk = work->resched = 0; in leon_ipi_init() 313 struct leon_ipi_work *work = &per_cpu(leon_ipi_work, cpu); in leon_ipi_single() local 316 work->single = 1; in leon_ipi_single() 324 struct leon_ipi_work *work = &per_cpu(leon_ipi_work, cpu); in leon_ipi_mask_one() local 327 work->msk = 1; in leon_ipi_mask_one() 335 struct leon_ipi_work *work = &per_cpu(leon_ipi_work, cpu); in leon_ipi_resched() local 338 work->resched = 1; in leon_ipi_resched() 346 struct leon_ipi_work *work = this_cpu_ptr(&leon_ipi_work); in leonsmp_ipi_interrupt() local [all …]
|
/arch/powerpc/platforms/cell/ |
D | cpufreq_spudemand.c | 38 struct delayed_work work; member 58 static void spu_gov_work(struct work_struct *work) in spu_gov_work() argument 64 info = container_of(work, struct spu_gov_info_struct, work.work); in spu_gov_work() 73 schedule_delayed_work_on(info->policy->cpu, &info->work, delay); in spu_gov_work() 79 INIT_DEFERRABLE_WORK(&info->work, spu_gov_work); in spu_gov_init_work() 80 schedule_delayed_work_on(info->policy->cpu, &info->work, delay); in spu_gov_init_work() 85 cancel_delayed_work_sync(&info->work); in spu_gov_cancel_work()
|
/arch/mips/include/asm/octeon/ |
D | cvmx-wqe.h | 598 static inline int cvmx_wqe_get_port(cvmx_wqe_t *work) in cvmx_wqe_get_port() argument 603 port = work->word2.s_cn68xx.port; in cvmx_wqe_get_port() 605 port = work->word1.cn38xx.ipprt; in cvmx_wqe_get_port() 610 static inline void cvmx_wqe_set_port(cvmx_wqe_t *work, int port) in cvmx_wqe_set_port() argument 613 work->word2.s_cn68xx.port = port; in cvmx_wqe_set_port() 615 work->word1.cn38xx.ipprt = port; in cvmx_wqe_set_port() 618 static inline int cvmx_wqe_get_grp(cvmx_wqe_t *work) in cvmx_wqe_get_grp() argument 623 grp = work->word1.cn68xx.grp; in cvmx_wqe_get_grp() 625 grp = work->word1.cn38xx.grp; in cvmx_wqe_get_grp() 630 static inline void cvmx_wqe_set_grp(cvmx_wqe_t *work, int grp) in cvmx_wqe_set_grp() argument [all …]
|
D | cvmx-helper-util.h | 53 extern int cvmx_helper_dump_packet(cvmx_wqe_t *work); 149 static inline void cvmx_helper_free_packet_data(cvmx_wqe_t *work) in cvmx_helper_free_packet_data() argument 156 number_buffers = work->word2.s.bufs; in cvmx_helper_free_packet_data() 159 buffer_ptr = work->packet_ptr; in cvmx_helper_free_packet_data() 170 if (cvmx_ptr_to_phys(work) == start_of_buffer) { in cvmx_helper_free_packet_data()
|
/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper-util.c | 89 int cvmx_helper_dump_packet(cvmx_wqe_t *work) in cvmx_helper_dump_packet() argument 98 cvmx_dprintf("Packet Length: %u\n", work->word1.len); in cvmx_helper_dump_packet() 99 cvmx_dprintf(" Input Port: %u\n", cvmx_wqe_get_port(work)); in cvmx_helper_dump_packet() 100 cvmx_dprintf(" QoS: %u\n", cvmx_wqe_get_qos(work)); in cvmx_helper_dump_packet() 101 cvmx_dprintf(" Buffers: %u\n", work->word2.s.bufs); in cvmx_helper_dump_packet() 103 if (work->word2.s.bufs == 0) { in cvmx_helper_dump_packet() 109 buffer_ptr.s.addr = cvmx_ptr_to_phys(work->packet_data); in cvmx_helper_dump_packet() 110 if (likely(!work->word2.s.not_IP)) { in cvmx_helper_dump_packet() 115 work->word2.s.ip_offset; in cvmx_helper_dump_packet() 116 buffer_ptr.s.addr += (work->word2.s.is_v6 ^ 1) << 2; in cvmx_helper_dump_packet() [all …]
|
/arch/sh/drivers/ |
D | push-switch.c | 33 schedule_work(&psw->work); in switch_timer() 36 static void switch_work_handler(struct work_struct *work) in switch_work_handler() argument 38 struct push_switch *psw = container_of(work, struct push_switch, work); in switch_work_handler() 80 INIT_WORK(&psw->work, switch_work_handler); in switch_drv_probe() 110 flush_work(&psw->work); in switch_drv_remove()
|
/arch/powerpc/platforms/pseries/ |
D | dlpar.c | 33 struct work_struct work; member 379 static void pseries_hp_work_fn(struct work_struct *work) in pseries_hp_work_fn() argument 382 container_of(work, struct pseries_hp_work, work); in pseries_hp_work_fn() 393 kfree((void *)work); in pseries_hp_work_fn() 399 struct pseries_hp_work *work; in queue_hotplug_event() local 406 work = kmalloc(sizeof(struct pseries_hp_work), GFP_KERNEL); in queue_hotplug_event() 407 if (work) { in queue_hotplug_event() 408 INIT_WORK((struct work_struct *)work, pseries_hp_work_fn); in queue_hotplug_event() 409 work->errlog = hp_errlog_copy; in queue_hotplug_event() 410 work->hp_completion = hotplug_done; in queue_hotplug_event() [all …]
|
/arch/powerpc/platforms/powermac/ |
D | backlight.c | 22 static void pmac_backlight_key_worker(struct work_struct *work); 23 static void pmac_backlight_set_legacy_worker(struct work_struct *work); 100 static void pmac_backlight_key_worker(struct work_struct *work) in pmac_backlight_key_worker() argument 167 static void pmac_backlight_set_legacy_worker(struct work_struct *work) in pmac_backlight_set_legacy_worker() argument
|
/arch/alpha/include/asm/ |
D | core_t2.h | 492 unsigned long r0, r1, work; in t2_readq() local 496 work = (addr << 5) + T2_SPARSE_MEM + 0x18; in t2_readq() 497 r0 = *(vuip)(work); in t2_readq() 498 r1 = *(vuip)(work + (4 << 5)); in t2_readq() 540 unsigned long work; in t2_writeq() local 544 work = (addr << 5) + T2_SPARSE_MEM + 0x18; in t2_writeq() 545 *(vuip)work = b; in t2_writeq() 546 *(vuip)(work + (4 << 5)) = b >> 32; in t2_writeq()
|
/arch/m68k/hp300/ |
D | README.hp300 | 7 work now but I've only tried 16MB and 12MB. 10 combination seems to work for me. Your mileage may vary.
|
/arch/x86/entry/ |
D | common.c | 71 u32 work; in syscall_trace_enter() local 76 work = ACCESS_ONCE(ti->flags) & _TIF_WORK_SYSCALL_ENTRY; in syscall_trace_enter() 78 if (unlikely(work & _TIF_SYSCALL_EMU)) in syscall_trace_enter() 81 if ((emulated || (work & _TIF_SYSCALL_TRACE)) && in syscall_trace_enter() 92 if (work & _TIF_SECCOMP) { in syscall_trace_enter()
|
/arch/arm/kernel/ |
D | entry-v7m.S | 56 @ Check for any pending work if returning to user 66 beq 2f @ no work pending
|
/arch/powerpc/sysdev/ |
D | pmi.c | 50 struct work_struct work; member 96 schedule_work(&data->work); in pmi_irq_handler() 112 static void pmi_notify_handlers(struct work_struct *work) in pmi_notify_handlers() argument 156 INIT_WORK(&data->work, pmi_notify_handlers); in pmi_of_probe()
|
/arch/sh/include/asm/ |
D | push-switch.h | 15 struct work_struct work; member
|
/arch/mn10300/mm/ |
D | Kconfig.cache | 113 icache using the cache tag registers to make breakpoints work. 122 icache using automatic purge registers to make breakpoints work. 131 tag registers to make breakpoints work. 140 purge registers to make breakpoints work. 147 invalidate the icache to make breakpoints work.
|
/arch/mips/kernel/ |
D | entry.S | 56 LONG_L a2, TI_FLAGS($28) # current->work 90 LONG_L a2, TI_FLAGS($28) # current->work 148 andi t0, a2, _TIF_WORK_MASK # is there any work to be done
|
/arch/x86/kernel/ |
D | hpet.c | 695 struct delayed_work work; member 705 hpet_work = container_of(w, struct hpet_work_struct, work.work); in hpet_work() 716 struct hpet_work_struct work; in hpet_cpuhp_online() local 718 INIT_DELAYED_WORK_ONSTACK(&work.work, hpet_work); in hpet_cpuhp_online() 719 init_completion(&work.complete); in hpet_cpuhp_online() 721 schedule_delayed_work_on(cpu, &work.work, 0); in hpet_cpuhp_online() 722 wait_for_completion(&work.complete); in hpet_cpuhp_online() 723 destroy_delayed_work_on_stack(&work.work); in hpet_cpuhp_online()
|
/arch/tile/kernel/ |
D | ptrace.c | 256 u32 work = ACCESS_ONCE(current_thread_info()->flags); in do_syscall_trace_enter() local 258 if ((work & _TIF_SYSCALL_TRACE) && in do_syscall_trace_enter() 267 if (work & _TIF_SYSCALL_TRACEPOINT) in do_syscall_trace_enter()
|
/arch/mips/include/asm/mach-loongson64/ |
D | loongson_hwmon.h | 52 struct delayed_work work; member
|
/arch/m32r/kernel/ |
D | entry.S | 216 and3 r4, r9, #_TIF_ALLWORK_MASK ; current->work 221 # perform work that needs to be done immediately before resumption
|
/arch/um/drivers/ |
D | line.c | 602 struct work_struct work; member 605 static void __free_winch(struct work_struct *work) in __free_winch() argument 607 struct winch *winch = container_of(work, struct winch, work); in __free_winch() 624 __free_winch(&winch->work); in free_winch() 648 INIT_WORK(&winch->work, __free_winch); in winch_interrupt() 649 schedule_work(&winch->work); in winch_interrupt()
|
/arch/um/include/shared/ |
D | net_kern.h | 29 struct work_struct work; member
|
/arch/powerpc/platforms/powernv/ |
D | opal-irqchip.c | 45 static void opal_handle_irq_work(struct irq_work *work); 144 static void opal_handle_irq_work(struct irq_work *work) in opal_handle_irq_work() argument
|
/arch/mips/loongson64/lemote-2f/ |
D | pm.c | 88 static void yeeloong_lid_update_task(struct work_struct *work) in yeeloong_lid_update_task() argument
|