Home
last modified time | relevance | path

Searched refs:work (Results 1 – 25 of 186) sorted by relevance

12345678

/arch/sparc/kernel/
Dsun4d_smp.c196 struct sun4d_ipi_work *work; in smp4d_ipi_init() local
201 work = &per_cpu(sun4d_ipi_work, cpu); in smp4d_ipi_init()
202 work->single = work->msk = work->resched = 0; in smp4d_ipi_init()
208 struct sun4d_ipi_work *work = this_cpu_ptr(&sun4d_ipi_work); in sun4d_ipi_interrupt() local
210 if (work->single) { in sun4d_ipi_interrupt()
211 work->single = 0; in sun4d_ipi_interrupt()
214 if (work->msk) { in sun4d_ipi_interrupt()
215 work->msk = 0; in sun4d_ipi_interrupt()
218 if (work->resched) { in sun4d_ipi_interrupt()
219 work->resched = 0; in sun4d_ipi_interrupt()
[all …]
Dleon_smp.c275 struct leon_ipi_work *work; in leon_ipi_init() local
298 work = &per_cpu(leon_ipi_work, cpu); in leon_ipi_init()
299 work->single = work->msk = work->resched = 0; in leon_ipi_init()
312 struct leon_ipi_work *work = &per_cpu(leon_ipi_work, cpu); in leon_ipi_single() local
315 work->single = 1; in leon_ipi_single()
323 struct leon_ipi_work *work = &per_cpu(leon_ipi_work, cpu); in leon_ipi_mask_one() local
326 work->msk = 1; in leon_ipi_mask_one()
334 struct leon_ipi_work *work = &per_cpu(leon_ipi_work, cpu); in leon_ipi_resched() local
337 work->resched = 1; in leon_ipi_resched()
345 struct leon_ipi_work *work = this_cpu_ptr(&leon_ipi_work); in leonsmp_ipi_interrupt() local
[all …]
/arch/powerpc/platforms/cell/
Dcpufreq_spudemand.c26 struct delayed_work work; member
46 static void spu_gov_work(struct work_struct *work) in spu_gov_work() argument
52 info = container_of(work, struct spu_gov_info_struct, work.work); in spu_gov_work()
61 schedule_delayed_work_on(info->policy->cpu, &info->work, delay); in spu_gov_work()
67 INIT_DEFERRABLE_WORK(&info->work, spu_gov_work); in spu_gov_init_work()
68 schedule_delayed_work_on(info->policy->cpu, &info->work, delay); in spu_gov_init_work()
73 cancel_delayed_work_sync(&info->work); in spu_gov_cancel_work()
/arch/mips/include/asm/octeon/
Dcvmx-wqe.h598 static inline int cvmx_wqe_get_port(struct cvmx_wqe *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(struct cvmx_wqe *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(struct cvmx_wqe *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(struct cvmx_wqe *work, int grp) in cvmx_wqe_set_grp() argument
[all …]
Dcvmx-helper-util.h126 static inline void cvmx_helper_free_packet_data(struct cvmx_wqe *work) in cvmx_helper_free_packet_data() argument
133 number_buffers = work->word2.s.bufs; in cvmx_helper_free_packet_data()
136 buffer_ptr = work->packet_ptr; in cvmx_helper_free_packet_data()
147 if (cvmx_ptr_to_phys(work) == start_of_buffer) { in cvmx_helper_free_packet_data()
/arch/sh/drivers/
Dpush-switch.c30 schedule_work(&psw->work); in switch_timer()
33 static void switch_work_handler(struct work_struct *work) in switch_work_handler() argument
35 struct push_switch *psw = container_of(work, struct push_switch, work); in switch_work_handler()
77 INIT_WORK(&psw->work, switch_work_handler); in switch_drv_probe()
104 flush_work(&psw->work); in switch_drv_remove()
/arch/powerpc/platforms/pseries/
Ddlpar.c30 struct work_struct work; member
373 static void pseries_hp_work_fn(struct work_struct *work) in pseries_hp_work_fn() argument
376 container_of(work, struct pseries_hp_work, work); in pseries_hp_work_fn()
381 kfree((void *)work); in pseries_hp_work_fn()
386 struct pseries_hp_work *work; in queue_hotplug_event() local
393 work = kmalloc(sizeof(struct pseries_hp_work), GFP_ATOMIC); in queue_hotplug_event()
394 if (work) { in queue_hotplug_event()
395 INIT_WORK((struct work_struct *)work, pseries_hp_work_fn); in queue_hotplug_event()
396 work->errlog = hp_errlog_copy; in queue_hotplug_event()
397 queue_work(pseries_hp_wq, (struct work_struct *)work); in queue_hotplug_event()
/arch/powerpc/platforms/powermac/
Dbacklight.c23 static void pmac_backlight_key_worker(struct work_struct *work);
24 static void pmac_backlight_set_legacy_worker(struct work_struct *work);
101 static void pmac_backlight_key_worker(struct work_struct *work) in pmac_backlight_key_worker() argument
168 static void pmac_backlight_set_legacy_worker(struct work_struct *work) in pmac_backlight_set_legacy_worker() argument
/arch/alpha/include/asm/
Dcore_t2.h493 unsigned long r0, r1, work; in t2_readq() local
497 work = (addr << 5) + T2_SPARSE_MEM + 0x18; in t2_readq()
498 r0 = *(vuip)(work); in t2_readq()
499 r1 = *(vuip)(work + (4 << 5)); in t2_readq()
541 unsigned long work; in t2_writeq() local
545 work = (addr << 5) + T2_SPARSE_MEM + 0x18; in t2_writeq()
546 *(vuip)work = b; in t2_writeq()
547 *(vuip)(work + (4 << 5)) = b >> 32; in t2_writeq()
/arch/m68k/hp300/
DREADME.hp3007 work now but I've only tried 16MB and 12MB.
10 combination seems to work for me. Your mileage may vary.
/arch/arm/kernel/
Dentry-v7m.S53 @ Check for any pending work if returning to user
63 beq 2f @ no work pending
/arch/arm/mach-s3c/
Dirq-s3c24xx-fiq.S51 subsne pc, lr, #4 @@ return, still have work to do
77 subsne pc, lr, #4 @@ return, still have work to do
101 subsne pc, lr, #4 @@ return, still have work to do
/arch/powerpc/sysdev/
Dpmi.c37 struct work_struct work; member
83 schedule_work(&data->work); in pmi_irq_handler()
99 static void pmi_notify_handlers(struct work_struct *work) in pmi_notify_handlers() argument
143 INIT_WORK(&data->work, pmi_notify_handlers); in pmi_of_probe()
/arch/mips/kernel/
Dentry.S51 LONG_L a2, TI_FLAGS($28) # current->work
88 LONG_L a2, TI_FLAGS($28) # current->work
133 andi t0, a2, _TIF_WORK_MASK # is there any work to be done
/arch/sh/include/asm/
Dpush-switch.h16 struct work_struct work; member
/arch/x86/kernel/cpu/resctrl/
Dmonitor.c473 void cqm_handle_limbo(struct work_struct *work) in cqm_handle_limbo() argument
483 d = container_of(work, struct rdt_domain, cqm_limbo.work); in cqm_handle_limbo()
504 void mbm_handle_overflow(struct work_struct *work) in mbm_handle_overflow() argument
519 d = container_of(work, struct rdt_domain, mbm_over.work); in mbm_handle_overflow()
/arch/um/drivers/
Dline.c590 struct work_struct work; member
593 static void __free_winch(struct work_struct *work) in __free_winch() argument
595 struct winch *winch = container_of(work, struct winch, work); in __free_winch()
612 __free_winch(&winch->work); in free_winch()
636 INIT_WORK(&winch->work, __free_winch); in winch_interrupt()
637 schedule_work(&winch->work); in winch_interrupt()
/arch/mips/include/asm/mach-loongson64/
Dloongson_hwmon.h53 struct delayed_work work; member
/arch/powerpc/kernel/
Dmce.c37 static void machine_check_process_queued_event(struct irq_work *work);
38 static void machine_check_ue_irq_work(struct irq_work *work);
40 static void machine_process_ue_event(struct work_struct *work);
224 static void machine_check_ue_irq_work(struct irq_work *work) in machine_check_ue_irq_work() argument
287 static void machine_process_ue_event(struct work_struct *work) in machine_process_ue_event() argument
330 static void machine_check_process_queued_event(struct irq_work *work) in machine_check_process_queued_event() argument
Dtau_6xx.c161 static void tau_work_func(struct work_struct *work) in tau_work_func() argument
166 queue_work(tau_workq, work); in tau_work_func()
/arch/um/include/shared/
Dnet_kern.h29 struct work_struct work; member
/arch/x86/boot/
Dsetup.ld63 /* Necessary for the very-old-loader check to work... */
/arch/mips/loongson2ef/lemote-2f/
Dpm.c84 static void yeeloong_lid_update_task(struct work_struct *work) in yeeloong_lid_update_task() argument
/arch/mips/cavium-octeon/executive/
Dcvmx-helper.c787 struct cvmx_wqe *work; in __cvmx_helper_errata_fix_ipd_ptr_alignment() local
923 work = cvmx_pow_work_request_sync(CVMX_POW_WAIT); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
925 } while ((work == NULL) && (retry_cnt > 0)); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
932 if (work) in __cvmx_helper_errata_fix_ipd_ptr_alignment()
933 cvmx_helper_free_packet_data(work); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
/arch/alpha/lib/
Dstrncpy.S30 bsr $23, __stxncpy # do the work of the copy

12345678