Searched defs:work (Results 1 - 25 of 46) sorted by relevance

12

/arch/mips/include/asm/octeon/
H A Dcvmx-helper-util.h50 * @work: Work queue entry containing the packet to dump
53 extern int cvmx_helper_dump_packet(cvmx_wqe_t *work);
144 * Free the packet buffers contained in a work queue entry.
145 * The work queue entry is not freed.
147 * @work: Work queue entry with packet to free
149 static inline void cvmx_helper_free_packet_data(cvmx_wqe_t *work) argument
156 number_buffers = work->word2.s.bufs;
159 buffer_ptr = work->packet_ptr;
170 if (cvmx_ptr_to_phys(work) == start_of_buffer) {
/arch/sh/include/asm/
H A Dpush-switch.h15 struct work_struct work; member in struct:push_switch
/arch/mips/loongson/lemote-2f/
H A Dpm.c88 static void yeeloong_lid_update_task(struct work_struct *work) argument
/arch/powerpc/platforms/85xx/
H A Dsgy_cts1000.c34 static void gpio_halt_wfn(struct work_struct *work) argument
/arch/powerpc/platforms/powernv/
H A Dopal-memory-errors.c89 static void mem_error_handler(struct work_struct *work) argument
H A Dopal-hmi.c100 static void hmi_event_handler(struct work_struct *work) argument
H A Dopal-elog.c239 static void elog_work_fn(struct work_struct *work) argument
H A Dopal-dump.c393 static void dump_work_fn(struct work_struct *work) argument
/arch/sh/drivers/
H A Dpush-switch.c33 schedule_work(&psw->work);
36 static void switch_work_handler(struct work_struct *work) argument
38 struct push_switch *psw = container_of(work, struct push_switch, work);
80 INIT_WORK(&psw->work, switch_work_handler);
110 flush_work(&psw->work);
/arch/powerpc/platforms/cell/
H A Dcpufreq_spudemand.c38 struct delayed_work work; member in struct:spu_gov_info_struct
58 static void spu_gov_work(struct work_struct *work) argument
64 info = container_of(work, struct spu_gov_info_struct, work.work);
73 schedule_delayed_work_on(info->policy->cpu, &info->work, delay);
79 INIT_DEFERRABLE_WORK(&info->work, spu_gov_work);
80 schedule_delayed_work_on(info->policy->cpu, &info->work, delay);
85 cancel_delayed_work_sync(&info->work);
/arch/powerpc/sysdev/
H A Dpmi.c50 struct work_struct work; member in struct:pmi_data
96 schedule_work(&data->work);
112 static void pmi_notify_handlers(struct work_struct *work) argument
156 INIT_WORK(&data->work, pmi_notify_handlers);
/arch/s390/hypfs/
H A Dhypfs_dbfs.c34 static void data_free_delayed(struct work_struct *work) argument
39 df = container_of(work, struct hypfs_dbfs_file, data_free_work.work);
/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-util.c86 * @work: Work queue entry containing the packet to dump
89 int cvmx_helper_dump_packet(cvmx_wqe_t *work) argument
98 cvmx_dprintf("Packet Length: %u\n", work->len);
99 cvmx_dprintf(" Input Port: %u\n", work->ipprt);
100 cvmx_dprintf(" QoS: %u\n", work->qos);
101 cvmx_dprintf(" Buffers: %u\n", work->word2.s.bufs);
103 if (work->word2.s.bufs == 0) {
109 buffer_ptr.s.addr = cvmx_ptr_to_phys(work->packet_data);
110 if (likely(!work->word2.s.not_IP)) {
115 work
[all...]
H A Dcvmx-helper.c354 * port. This function determines the POW work queue entry
374 /* Process the headers and place the IP header in the work queue */
778 cvmx_wqe_t *work; local
915 work = cvmx_pow_work_request_sync(CVMX_POW_WAIT);
917 } while ((work == NULL) && (retry_cnt > 0));
924 if (work)
925 cvmx_helper_free_packet_data(work);
/arch/powerpc/kernel/
H A Dmce.c39 static void machine_check_process_queued_event(struct irq_work *work);
195 /* Queue irq work to process this event later. */
203 static void machine_check_process_queued_event(struct irq_work *work) argument
H A Drtasd.c278 static void prrn_work_fn(struct work_struct *work) argument
522 /* Cancel the rtas event scan work */
/arch/powerpc/platforms/powermac/
H A Dbacklight.c22 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) argument
133 /* we can receive multiple interrupts here, but the scheduled work
167 static void pmac_backlight_set_legacy_worker(struct work_struct *work) argument
/arch/um/include/shared/
H A Dnet_kern.h29 struct work_struct work; member in struct:uml_net_private
/arch/x86/platform/olpc/
H A Dolpc-xo15-sci.c129 static void process_sci_queue_work(struct work_struct *work) argument
H A Dolpc-xo1-sci.c205 static void process_sci_queue_work(struct work_struct *work) argument
/arch/arm/mach-s3c24xx/
H A Dmach-gta02.c181 static void gta02_charger_worker(struct work_struct *work) argument
/arch/s390/appldata/
H A Dappldata_base.c96 static void appldata_work_fn(struct work_struct *work);
107 /*************************** timer, work, DIAG *******************************/
111 * schedule work and reschedule timer
123 static void appldata_work_fn(struct work_struct *work) argument
158 /************************ timer, work, DIAG <END> ****************************/
343 // protect work queue callback
/arch/sparc/kernel/
H A Dleon_smp.c139 prom_printf("######## !!!! The irqmp-ctrl must have broadcast enabled, smp wont work !!!!! ####### nr cpus: %d\n",
276 struct leon_ipi_work *work; local
299 work = &per_cpu(leon_ipi_work, cpu);
300 work->single = work->msk = work->resched = 0;
313 struct leon_ipi_work *work = &per_cpu(leon_ipi_work, cpu); local
315 /* Mark work */
316 work->single = 1;
324 struct leon_ipi_work *work local
335 struct leon_ipi_work *work = &per_cpu(leon_ipi_work, cpu); local
346 struct leon_ipi_work *work = this_cpu_ptr(&leon_ipi_work); local
[all...]
H A Dsun4d_smp.c195 struct sun4d_ipi_work *work; local
200 work = &per_cpu(sun4d_ipi_work, cpu);
201 work->single = work->msk = work->resched = 0;
207 struct sun4d_ipi_work *work = this_cpu_ptr(&sun4d_ipi_work); local
209 if (work->single) {
210 work->single = 0;
213 if (work->msk) {
214 work
238 struct sun4d_ipi_work *work = &per_cpu(sun4d_ipi_work, cpu); local
249 struct sun4d_ipi_work *work = &per_cpu(sun4d_ipi_work, cpu); local
260 struct sun4d_ipi_work *work = &per_cpu(sun4d_ipi_work, cpu); local
[all...]
/arch/powerpc/oprofile/cell/
H A Dspu_task_sync.c126 static void wq_sync_spu_buff(struct work_struct *work) argument
641 /* remove scheduled work queue item rather then waiting

Completed in 503 milliseconds

12