Home
last modified time | relevance | path

Searched refs:wrk (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/linux/net/smc/
H A Dsmc_ism.c386 static void smcd_handle_sw_event(struct smc_ism_event_work *wrk) in smcd_handle_sw_event() argument
388 struct smcd_gid peer_gid = { .gid = wrk->event.tok, in smcd_handle_sw_event()
392 ev_info.info = wrk->event.info; in smcd_handle_sw_event()
393 switch (wrk->event.code) { in smcd_handle_sw_event()
395 smc_smcd_terminate(wrk->smcd, &peer_gid, ev_info.vlan_id); in smcd_handle_sw_event()
399 wrk->smcd->ops->signal_event) { in smcd_handle_sw_event()
401 wrk->smcd->ops->signal_event(wrk->smcd, in smcd_handle_sw_event()
414 struct smc_ism_event_work *wrk = in smc_ism_event_work() local
416 struct smcd_gid smcd_gid = { .gid = wrk->event.tok, in smc_ism_event_work()
419 switch (wrk->event.type) { in smc_ism_event_work()
[all …]
/openbmc/u-boot/drivers/mtd/ubi/
H A Dfastmap-wl.c14 static void update_fastmap_work_fn(struct work_struct *wrk) in update_fastmap_work_fn() argument
20 struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); in update_fastmap_work_fn()
291 struct ubi_work *wrk; in ubi_ensure_anchor_pebs() local
301 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in ubi_ensure_anchor_pebs()
302 if (!wrk) { in ubi_ensure_anchor_pebs()
309 wrk->anchor = 1; in ubi_ensure_anchor_pebs()
310 wrk->func = &wear_leveling_worker; in ubi_ensure_anchor_pebs()
311 schedule_ubi_work(ubi, wrk); in ubi_ensure_anchor_pebs()
359 int ubi_is_erase_work(struct ubi_work *wrk) in ubi_is_erase_work() argument
361 return wrk->func == erase_worker; in ubi_is_erase_work()
H A Dwl.c196 struct ubi_work *wrk; in do_work() local
214 wrk = list_entry(ubi->works.next, struct ubi_work, list); in do_work()
215 list_del(&wrk->list); in do_work()
225 err = wrk->func(ubi, wrk, 0); in do_work()
561 static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in __schedule_ubi_work() argument
564 list_add_tail(&wrk->list, &ubi->works); in __schedule_ubi_work()
582 static void schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in schedule_ubi_work() argument
585 __schedule_ubi_work(ubi, wrk); in schedule_ubi_work()
670 static int wear_leveling_worker(struct ubi_device *ubi, struct ubi_work *wrk, argument
676 int anchor = wrk->anchor;
[all …]
H A Dwl.h6 static void update_fastmap_work_fn(struct work_struct *wrk);
H A Dubi.h765 int (*func)(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown);
877 int ubi_is_erase_work(struct ubi_work *wrk);
/openbmc/qemu/bsd-user/
H A Dmain.c270 char **target_environ, **wrk; in main() local
295 for (wrk = environ; *wrk != NULL; wrk++) { in main()
298 while (wrk != environ) { in main()
299 wrk--; in main()
300 (void) envlist_setenv(envlist, *wrk); in main()
578 for (wrk = target_environ; *wrk; wrk++) { in main()
579 g_free(*wrk); in main()
/openbmc/linux/drivers/mtd/ubi/
H A Dwl.c191 struct ubi_work *wrk; in do_work() local
209 wrk = list_entry(ubi->works.next, struct ubi_work, list); in do_work()
210 list_del(&wrk->list); in do_work()
220 err = wrk->func(ubi, wrk, 0); in do_work()
542 static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in __schedule_ubi_work() argument
545 list_add_tail(&wrk->list, &ubi->works); in __schedule_ubi_work()
561 static void schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) in schedule_ubi_work() argument
564 __schedule_ubi_work(ubi, wrk); in schedule_ubi_work()
647 static int wear_leveling_worker(struct ubi_device *ubi, struct ubi_work *wrk, argument
657 kfree(wrk);
[all …]
H A Dfastmap-wl.c12 static void update_fastmap_work_fn(struct work_struct *wrk) in update_fastmap_work_fn() argument
14 struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); in update_fastmap_work_fn()
377 struct ubi_work *wrk; in ubi_ensure_anchor_pebs() local
405 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in ubi_ensure_anchor_pebs()
406 if (!wrk) { in ubi_ensure_anchor_pebs()
413 wrk->func = &wear_leveling_worker; in ubi_ensure_anchor_pebs()
414 __schedule_ubi_work(ubi, wrk); in ubi_ensure_anchor_pebs()
462 int ubi_is_erase_work(struct ubi_work *wrk) in ubi_is_erase_work() argument
464 return wrk->func == erase_worker; in ubi_is_erase_work()
H A Dwl.h5 static void update_fastmap_work_fn(struct work_struct *wrk);
H A Dubi.h803 int (*func)(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown);
916 int ubi_is_erase_work(struct ubi_work *wrk);
/openbmc/linux/net/core/
H A Dlink_watch.c205 LIST_HEAD(wrk); in __linkwatch_run_queue()
227 list_splice_init(&lweventlist, &wrk); in __linkwatch_run_queue()
229 while (!list_empty(&wrk) && do_dev > 0) { in __linkwatch_run_queue()
231 dev = list_first_entry(&wrk, struct net_device, link_watch_list); in __linkwatch_run_queue()
250 list_splice_init(&wrk, &lweventlist); in __linkwatch_run_queue()
/openbmc/ipmitool/lib/
H A Dipmi_pef.c465 uint8_t tbl_size, wrk; in ipmi_pef_print_serial_dest() local
494 wrk = (pinfo->dest_type & PEF_SERIAL_DEST_TYPE_MASK); in ipmi_pef_print_serial_dest()
496 ipmi_pef_bit_desc(&pef_b2s_serial_desttype, wrk)); in ipmi_pef_print_serial_dest()
501 switch (wrk) { in ipmi_pef_print_serial_dest()
586 uint8_t wrk, set; in ipmi_pef_print_entry() local
591 wrk = !!(pef->entry.config & PEF_CONFIG_ENABLED); in ipmi_pef_print_entry()
592 sprintf(buf, "%sactive", (wrk ? "" : "in")); in ipmi_pef_print_entry()
598 if (wrk != 0) { in ipmi_pef_print_entry()
673 uint8_t wrk, ch, medium, tbl_size; in ipmi_pef_list_policies() local
704 wrk = ptmp->entry.chan_dest; in ipmi_pef_list_policies()
[all …]
/openbmc/qemu/linux-user/
H A Dmain.c693 char **target_environ, **wrk; in main() local
715 for (wrk = environ; *wrk != NULL; wrk++) { in main()
718 while (wrk != environ) { in main()
719 wrk--; in main()
720 (void) envlist_setenv(envlist, *wrk); in main()
976 for (wrk = target_environ; *wrk; wrk++) { in main()
977 g_free(*wrk); in main()
/openbmc/linux/drivers/scsi/
H A Dstorvsc_drv.c479 struct storvsc_scan_work *wrk; in storvsc_device_scan() local
482 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_device_scan()
484 sdev = scsi_device_lookup(wrk->host, 0, wrk->tgt_id, wrk->lun); in storvsc_device_scan()
491 kfree(wrk); in storvsc_device_scan()
525 struct storvsc_scan_work *wrk; in storvsc_remove_lun() local
528 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_remove_lun()
529 if (!scsi_host_get(wrk->host)) in storvsc_remove_lun()
532 sdev = scsi_device_lookup(wrk->host, 0, wrk->tgt_id, wrk->lun); in storvsc_remove_lun()
538 scsi_host_put(wrk->host); in storvsc_remove_lun()
541 kfree(wrk); in storvsc_remove_lun()
[all …]
/openbmc/linux/drivers/hv/
H A Dhv_balloon.c456 struct work_struct wrk; member
462 struct work_struct wrk; member
1557 schedule_work(&dm_device.balloon_wrk.wrk); in balloon_onchannelcallback()
1597 schedule_work(&dm_device.ha_wrk.wrk); in balloon_onchannelcallback()
1998 INIT_WORK(&dm_device.balloon_wrk.wrk, balloon_up); in balloon_probe()
1999 INIT_WORK(&dm_device.ha_wrk.wrk, hot_add_req); in balloon_probe()
2052 cancel_work_sync(&dm->balloon_wrk.wrk); in balloon_remove()
2053 cancel_work_sync(&dm->ha_wrk.wrk); in balloon_remove()
2088 cancel_work_sync(&dm->balloon_wrk.wrk); in balloon_suspend()
2089 cancel_work_sync(&dm->ha_wrk.wrk); in balloon_suspend()
/openbmc/linux/arch/m68k/ifpsp060/
H A DMISC194 wrk/fskeleton.s: 2.2
195 wrk/iskeleton.s: 2.2
196 wrk/os.s : 2.1
/openbmc/linux/drivers/gpu/drm/i915/
H A Dintel_wakeref.c86 static void __intel_wakeref_put_work(struct work_struct *wrk) in __intel_wakeref_put_work() argument
88 struct intel_wakeref *wf = container_of(wrk, typeof(*wf), work.work); in __intel_wakeref_put_work()
H A Di915_request.c183 static void irq_execute_cb(struct irq_work *wrk) in irq_execute_cb() argument
185 struct execute_cb *cb = container_of(wrk, typeof(*cb), work); in irq_execute_cb()
192 __notify_execute_cb(struct i915_request *rq, bool (*fn)(struct irq_work *wrk)) in __notify_execute_cb() argument
210 static bool irq_work_imm(struct irq_work *wrk) in irq_work_imm() argument
212 wrk->func(wrk); in irq_work_imm()
H A Di915_sw_fence.c463 static void irq_i915_sw_fence_work(struct irq_work *wrk) in irq_i915_sw_fence_work() argument
466 container_of(wrk, typeof(*cb), work); in irq_i915_sw_fence_work()
/openbmc/linux/drivers/dma-buf/
H A Ddma-fence-array.c45 static void irq_dma_fence_array_work(struct irq_work *wrk) in irq_dma_fence_array_work() argument
47 struct dma_fence_array *array = container_of(wrk, typeof(*array), work); in irq_dma_fence_array_work()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_buffer_pool.c87 static void pool_free_work(struct work_struct *wrk) in pool_free_work() argument
90 container_of(wrk, typeof(*pool), work.work); in pool_free_work()
H A Dselftest_rps.c28 static void dummy_rps_work(struct work_struct *wrk) in dummy_rps_work() argument
223 void (*saved_work)(struct work_struct *wrk); in live_rps_clock_interval()
375 void (*saved_work)(struct work_struct *wrk); in live_rps_control()
603 void (*saved_work)(struct work_struct *wrk); in live_rps_frequency_cs()
742 void (*saved_work)(struct work_struct *wrk); in live_rps_frequency_srm()
1022 void (*saved_work)(struct work_struct *wrk); in live_rps_interrupt()
1132 void (*saved_work)(struct work_struct *wrk); in live_rps_power()
H A Dintel_engine_heartbeat.c135 static void heartbeat(struct work_struct *wrk) in heartbeat() argument
139 container_of(wrk, typeof(*engine), heartbeat.work.work); in heartbeat()
/openbmc/linux/drivers/gpu/drm/scheduler/
H A Dsched_entity.c166 static void drm_sched_entity_kill_jobs_work(struct work_struct *wrk) in drm_sched_entity_kill_jobs_work() argument
168 struct drm_sched_job *job = container_of(wrk, typeof(*job), work); in drm_sched_entity_kill_jobs_work()
/openbmc/linux/drivers/pci/controller/
H A Dpci-hyperv.c528 struct work_struct wrk; member
560 struct work_struct wrk; member
2588 dr_wrk = container_of(work, struct hv_dr_work, wrk); in pci_devices_present_work()
2724 INIT_WORK(&dr_wrk->wrk, pci_devices_present_work); in hv_pci_start_relations_work()
2740 queue_work(hbus->wq, &dr_wrk->wrk); in hv_pci_start_relations_work()
2842 hpdev = container_of(work, struct hv_pci_dev, wrk); in hv_eject_device_work()
2906 INIT_WORK(&hpdev->wrk, hv_eject_device_work); in hv_pci_eject_device()
2907 queue_work(hbus->wq, &hpdev->wrk); in hv_pci_eject_device()

12