Searched refs:async_work (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/char/tpm/ |
H A D | tpm-dev-common.c | 63 container_of(work, struct file_priv, async_work); in tpm_dev_async_work() 125 INIT_WORK(&priv->async_work, tpm_dev_async_work); in tpm_common_open() 214 queue_work(tpm_dev_wq, &priv->async_work); in tpm_common_write() 269 flush_work(&priv->async_work); in tpm_common_release()
|
H A D | tpm-dev.h | 15 struct work_struct async_work; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | macsec.c | 1516 struct mlx5e_macsec_async_work *async_work; in macsec_async_event() local 1524 async_work = container_of(work, struct mlx5e_macsec_async_work, work); in macsec_async_event() 1525 macsec = async_work->macsec; in macsec_async_event() 1528 mdev = async_work->mdev; in macsec_async_event() 1529 obj_id = async_work->obj_id; in macsec_async_event() 1548 kfree(async_work); in macsec_async_event() 1555 struct mlx5e_macsec_async_work *async_work; in macsec_obj_change_event() local 1571 async_work = kzalloc(sizeof(*async_work), GFP_ATOMIC); in macsec_obj_change_event() 1572 if (!async_work) in macsec_obj_change_event() 1575 async_work->macsec = macsec; in macsec_obj_change_event() [all …]
|
/linux/fs/btrfs/ |
H A D | delayed-inode.c | 1321 struct btrfs_async_delayed_work *async_work; in btrfs_async_run_delayed_root() local 1330 async_work = container_of(work, struct btrfs_async_delayed_work, work); in btrfs_async_run_delayed_root() 1331 delayed_root = async_work->delayed_root; in btrfs_async_run_delayed_root() 1369 } while ((async_work->nr == 0 && total_done < BTRFS_DELAYED_WRITEBACK) in btrfs_async_run_delayed_root() 1370 || total_done < async_work->nr); in btrfs_async_run_delayed_root() 1375 kfree(async_work); in btrfs_async_run_delayed_root() 1382 struct btrfs_async_delayed_work *async_work; in btrfs_wq_run_delayed_node() local 1384 async_work = kmalloc(sizeof(*async_work), GFP_NOFS); in btrfs_wq_run_delayed_node() 1385 if (!async_work) in btrfs_wq_run_delayed_node() 1388 async_work->delayed_root = delayed_root; in btrfs_wq_run_delayed_node() [all …]
|
H A D | space-info.c | 1668 struct work_struct *async_work; in __reserve_bytes() local 1690 async_work = &fs_info->async_data_reclaim_work; in __reserve_bytes() 1692 async_work = &fs_info->async_reclaim_work; in __reserve_bytes() 1767 queue_work(system_unbound_wq, async_work); in __reserve_bytes()
|
/linux/fs/afs/ |
H A D | rxrpc.c | 152 INIT_WORK(&call->async_work, type->async_rx ?: afs_process_async_call); in afs_alloc_call() 170 ASSERT(!work_pending(&call->async_work)); in afs_free_call() 451 if (cancel_work_sync(&call->async_work)) in afs_make_call() 686 if (!queue_work(afs_async_calls, &call->async_work)) in afs_wake_up_async_call() 697 struct afs_call *call = container_of(work, struct afs_call, async_work); in afs_process_async_call()
|
H A D | file.c | 313 struct afs_call *call = container_of(work, struct afs_call, async_work); in afs_fetch_data_async_rx() 323 if (!queue_work(afs_async_calls, &call->async_work)) in afs_fetch_data_immediate_cancel() 325 flush_work(&call->async_work); in afs_fetch_data_immediate_cancel()
|
H A D | internal.h | 131 struct work_struct async_work; /* async I/O processor */ member
|