Home
last modified time | relevance | path

Searched refs:async_work (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/char/tpm/
H A Dtpm-dev-common.c63 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 Dtpm-dev.h15 struct work_struct async_work; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c1516 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 Ddelayed-inode.c1303 struct btrfs_async_delayed_work *async_work; in btrfs_async_run_delayed_root() local
1312 async_work = container_of(work, struct btrfs_async_delayed_work, work); in btrfs_async_run_delayed_root()
1313 delayed_root = async_work->delayed_root; in btrfs_async_run_delayed_root()
1351 } while ((async_work->nr == 0 && total_done < BTRFS_DELAYED_WRITEBACK) in btrfs_async_run_delayed_root()
1352 || total_done < async_work->nr); in btrfs_async_run_delayed_root()
1357 kfree(async_work); in btrfs_async_run_delayed_root()
1364 struct btrfs_async_delayed_work *async_work; in btrfs_wq_run_delayed_node() local
1366 async_work = kmalloc(sizeof(*async_work), GFP_NOFS); in btrfs_wq_run_delayed_node()
1367 if (!async_work) in btrfs_wq_run_delayed_node()
1370 async_work->delayed_root = delayed_root; in btrfs_wq_run_delayed_node()
[all …]
H A Dspace-info.c1734 struct work_struct *async_work; in __reserve_bytes() local
1756 async_work = &fs_info->async_data_reclaim_work; in __reserve_bytes()
1758 async_work = &fs_info->async_reclaim_work; in __reserve_bytes()
1833 queue_work(system_unbound_wq, async_work); in __reserve_bytes()
/linux/fs/afs/
H A Dfile.c313 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()